X11
Pointer deceleration
xorg.conf.d
Section "InputClass"
Identifier "hi-res mouse"
MatchIsPointer "yes"
MatchProduct "ELECOM Scope Node Mouse"
Option "SendCoreEvents" "on"
Option "Emulate3Buttons" "on"
Option "AccelerationScheme" "predictable"
Option "ConstantDeceleration" "2.0"
Option "AdaptiveDeceleration" "1.0"
EndSection
or directly with xinput:
xinput --set-prop 'pointer:Razer Razer Viper Mini' 'Device Accel Constant Deceleration' 1.333333
Disabling vsync
For nvidia:
__GL_SYNC_TO_VBLANK=0
For the rest:
vblank_mode=0
Turning the bell off
Add ~/.xinitrc entry:
xset -b
Autologin without display manager
Add /etc/inittab entry:
7:2345:respawn:/bin/login -f USERNAME tty1 </dev/tty1 >/dev/tty1 2>&1
Install libpam-ck-connector and comment out nox11 oprion in /etc/pam.d/common-session:
session optional pam_ck_connector.so
Add .profile entry:
exec startx
or its more elaborated version:
X=/tmp/.x
if [ ! -f "$X" ]; then
touch "$X"
startx
fi
Preventing .xsession-errors from growing infinitely
Open /etc/X11/Xsession with editor and change the line
exec >>"$ERRFILE" 2>&1
to
exec >"$ERRFILE" 2>&1
Change screen brightness
xrandr --output OUTPUT --brightness 0