about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-04T18·00+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-04T18·00+0000
commit5dd3ebe3148b584c1fc012dd419cbe83ce5ad745 (patch)
treec301776e0c9dcf88f70c6dc520ba3eb6b53c4169 /configs
parentf68cd7113f3373b3fe80b7614f2afc05bedb98ab (diff)
xinitrc -> xsessionrc
At the moment, I'm unsure why this is working, but it is. More research
needs to be done.
Diffstat (limited to 'configs')
-rw-r--r--configs/linux/x_server/.xinitrc2
-rw-r--r--configs/linux/x_server/.xsessionrc23
2 files changed, 23 insertions, 2 deletions
diff --git a/configs/linux/x_server/.xinitrc b/configs/linux/x_server/.xinitrc
deleted file mode 100644
index 6622e8c5f68f..000000000000
--- a/configs/linux/x_server/.xinitrc
+++ /dev/null
@@ -1,2 +0,0 @@
-! Load keybindings
-xmodmap ~/.Xmodmap
diff --git a/configs/linux/x_server/.xsessionrc b/configs/linux/x_server/.xsessionrc
new file mode 100644
index 000000000000..b79bba539f5d
--- /dev/null
+++ b/configs/linux/x_server/.xsessionrc
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+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"
+
+# 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