diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-03-21 19:40:27 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-03-21 19:40:27 +0100 |
commit | 9653a82647b73c29b62d198b5eae381d079c175e (patch) | |
tree | 4df551b557c316a9aea02afacc30c249a7246a56 /bin | |
parent | 2e2c2f91e546743255775cf9f8e67f83521f8781 (diff) | |
download | surf-display-9653a82647b73c29b62d198b5eae381d079c175e.tar.gz surf-display-9653a82647b73c29b62d198b5eae381d079c175e.tar.bz2 surf-display-9653a82647b73c29b62d198b5eae381d079c175e.zip |
X11 lock down: Disable the Control keys via xmodmap.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/midori-display | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/midori-display b/bin/midori-display index 602715a..1584e51 100755 --- a/bin/midori-display +++ b/bin/midori-display @@ -132,6 +132,10 @@ if which xmodmap 1>/dev/null; then [ $count_buttons_pointer_button_map -lt 32 ]; then xmodmap -e "pointer = $POINTER_BUTTON_MAP" fi + + # furthermore... let's deactivate the "Control" modifier key to disable most hotkeys in Midori + xmodmap -e "clear Control" + else $OUTPUT "WARNING: Cannot strip down mouse/pointer button functionality. Make sure 'xmodmap' is installed." fi |