Midori-Display: Make sure x-server can be restarted with CTRL+ALT+BACKSPACE.

This commit is contained in:
Benjamin Schlüter 2017-05-30 18:31:24 +02:00
parent bbb96bb602
commit 519a6a0cb5
1 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,7 @@
# xprintidle
# xdotool
# xmodmap
# x11-xkb-utils
#
# recommendations:
# unclutter
@ -140,6 +141,10 @@ else
$OUTPUT "WARNING: Cannot strip down mouse/pointer button functionality. Make sure 'xmodmap' is installed."
fi
if which setxkbmap 1>/dev/null; then
setxkbmap -option "terminate:ctrl_alt_bksp"
fi
# if FAKE_HOSTNAME is not empty, use that string for hostname
THIS_HOSTNAME=$(hostname -f)
if [ -n "$FAKE_HOSTNAME" ]; then