X11 lock down: Disable the Control keys via xmodmap.
This commit is contained in:
parent
2e2c2f91e5
commit
9653a82647
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue