cf39cf760a
This change affects: - alias e - i3 KBDs - .xsessionrc It will be interesting to see how this works over SSH. In theory, the ALTERNATE_EDITOR variable should kick in and `vim` should be used. Time will tell if this is the preferred setup. Until then...
27 lines
615 B
Bash
27 lines
615 B
Bash
#!/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
|