From f0d638e13c6ca22009d7841a8b6199595448d377 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 18 May 2022 15:46:29 +1200 Subject: Tidy X keyboard and preferences settings --- x/xsession.sh | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/x/xsession.sh b/x/xsession.sh index 5d07ef18..b2f6d656 100644 --- a/x/xsession.sh +++ b/x/xsession.sh @@ -28,13 +28,20 @@ for program in xrandr xwallpaper ; do ( setxkbmap \ -option caps:ctrl_modifier \ -option compose:ralt \ - -option terminate:ctrl_alt_bksp & + -option terminate:ctrl_alt_bksp \ + & -# Set fast mouse acceleration with a natural threshold -xset mouse 5/2 0 & - -# Disable screen saver and power management; my lock script handles this -xset s off -dpms +# Set a few X user preferences: +# +# - No power management +# - Quick curved mouse acceleration +# - No screen saver +# +xset \ + -dpms \ + mouse 5/2 0 \ + s off \ + & # Update browser, since .profile set this to a curses browser on login # shellcheck disable=SC2034 -- cgit v1.2.3