about summary refs log blame commit diff
path: root/configs/shared/x_server/.xsessionrc.shared
blob: b19e3359efd0bb7e5147a47b5615d430efd557ef (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                     



                                                                             
 


                        





                                      
#!/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 tmux with a few commonly used sessions
# TODO: consider moving this else like ~/.profile, so it doesn't depend on X.
# This might be better for SSH.
tmux new -d -s main

# Start the Emacs server
emacs --daemon

# set kbds
xmodmap -e 'remove Lock = Caps_Lock'
xmodmap -e 'keysym Caps_Lock = Escape'

# set key repeat preferences
xset r rate 250 60