How to disable Ctrl+Alt+F8?

Is there a way to disable only key combination for Ctrl+Alt+F8?

I need to use this shortcut in another application and when I trigger it, I am getting switched to the blank console (other user space). I am the only user on a machine and don't need this shortcut ever.

Ideally, I would be able to preserve keyboard shortcuts 1 to 7.

1 Answer

Run the following command to find the keycode value of the desired key:

xev

With the small box in foreground, press the key and note the keycode value. Then run this:

xmodmap -e 'keycode number = NoSymbol'

That should disable the key. To make it permanent, put this command in the System, Preferences, Sessions, Startup Programs folder, Add.

7

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like