xprofile: Hide xkbcomp output to be nice with some login managers

(LightDM for instance)
master
Pierre Neidhardt 2017-06-08 17:42:22 +01:00
parent d48f99dcd5
commit e44a13c3e5
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ URxvt.url-select.launcher: $BROWSER
EOF
## Load custom keymap and configure input devices.
xkbcomp -I"$HOME/.xkb" "$HOME/.xkb/usim.xkb" $DISPLAY
## Some login managers don't like output hence the redirection.
xkbcomp -I"$HOME/.xkb" "$HOME/.xkb/usim.xkb" $DISPLAY 2>/dev/null
xcape -e 'Control_L=Escape'
numlockx on
# xinput disable "SynPS/2 Synaptics TouchPad"