Move polkit and ksuperkey launch to .xinitrc
This commit is contained in:
@ -29,6 +29,10 @@ fi
|
||||
if hash gnome-keyring &>/dev/null; then
|
||||
gnome-keyring-daemon --start --components=pkcs11 &
|
||||
fi
|
||||
# gnome polkit
|
||||
if [[ -x /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 ]]; then
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
fi
|
||||
|
||||
# display timeout and sleep
|
||||
xset s 3600 3600
|
||||
@ -38,6 +42,12 @@ xset dpms 3600 3700 4000
|
||||
xset r rate 400 50
|
||||
kbdrate -d 400 -r 50
|
||||
|
||||
# simulate Alt+F1 with just pressing Super
|
||||
if hash ksuperkey &>/dev/null; then
|
||||
ksuperkey -e 'Super_L=Alt_L|F1' &
|
||||
ksuperkey -e 'Super_R=Alt_L|F1' &
|
||||
fi
|
||||
|
||||
# 1/1 mouse acceleration
|
||||
xset m 1/1
|
||||
|
||||
|
Reference in New Issue
Block a user