about summary refs log tree commit diff
path: root/configs/linux/x_server/.xsessionrc
blob: 7252c55224f0391d02ce0919739bfeab5fb898b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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"

# 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