Ubuntu – how to disable Ctrl+Q system wide


How to disable Ctrl+Q system wide?

I read the other answers but they did not help. Reassigning the shortcut is not possible, since pressing the key combination quits the settings window, so it does not have any effect.

Thanks in advance.

Best Answer

open dash and choose desktop shortcut

Then go to shortcut tab and there press at +(add) sign to add a new shortcut

On the name write anything and for command write /bin/false which means do nothing in really then assign Ctrl+Q as its shortcut.

enter image description here

This actually make Ctrl+Q execute command /bin/false which means nothing

Related Question