diff options
Diffstat (limited to 'configs/shared/x_server/.xsessionrc')
-rw-r--r-- | configs/shared/x_server/.xsessionrc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/configs/shared/x_server/.xsessionrc b/configs/shared/x_server/.xsessionrc new file mode 100644 index 000000000000..062293bf5a47 --- /dev/null +++ b/configs/shared/x_server/.xsessionrc @@ -0,0 +1,28 @@ +#!/bin/sh + +source ~/.profile + +export DESKTOP_SESSION=cinnamon # gnome for trusty. + +# NOTE: This may break your compose key. +# See http://g/i3-users/YBexXGbik7E for more details. +export GTK_IM_MODULE=xim + +# Desktop background color. +xsetroot -solid "#333333" + +# start the urxvt daemon +urxvtd -q -f -o + +# set kbds +xmodmap -e 'remove Lock = Caps_Lock' +xmodmap -e 'keysym Caps_Lock = Escape' + +# set key repeat preferences +xset r rate 250 60 + +# setup OSX style scrolling for gLinux Mouse +xinput --set-prop 'PixArt Lenovo USB Optical Mouse' 'libinput Natural Scrolling Enabled' 1 + +# increase mouse speed +xinput --set-prop 'PixArt Lenovo USB Optical Mouse' 'libinput Accel Speed' 1 |