al-skel/home/.xprofile

31 lines
695 B
Bash

# ~/.xprofile
# vim:ft=sh
# sourced at boot by both xinit and most display managers like lightdm
export XDG_CONFIG_HOME="$HOME/.config"
[ -d /sbin ] && PATH="$PATH:/sbin"
[ -d /usr/sbin ] && PATH="$PATH:/usr/sbin"
[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH"
# restore the background
nitrogen --restore &
# keyring and polkit daemons
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
gnome-keyring-daemon --start --components=pkcs11 &
# pressing super alone simulates Alt-F1
ksuperkey -e 'Super_L=Alt_L|F1' &
ksuperkey -e 'Super_R=Alt_L|F1' &
# display timeout and sleep
xset s 1200 1300
xset dpms 1200 1300 1400
# keyboard repeat rate
kbdrate -d 400 -r 50
xset r rate 350 60