tvl-depot/configs/shared/x_server/.xsessionrc.shared
William Carroll e14b271d39 Start Tmux up when X initializes
As noted in the comments, this may not be the final destination for this
incantation. It may also be. Right now, I don't know.
2019-03-18 20:57:46 +00:00

24 lines
574 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
# set kbds
xmodmap -e 'remove Lock = Caps_Lock'
xmodmap -e 'keysym Caps_Lock = Escape'
# set key repeat preferences
xset r rate 250 60