Can I disable the F10 key for all apps without CCSM?

Solution 1:

CCSM is mostly a GUI front-end which writes its values to the gconf database.

You can use gconf-editor to edit the compiz unity plugin options:

enter image description here

As you can see in the image - the F10 key is associated with the panel option located in the gconf path /apps/compiz-1/plugins/unityshell/screen0/options/panel_first_menu

Thus you can change this to another key value - or write the value Disabled to disable the F10 key altogether.

If you want to reassign the key, you can use the modifiers in combination to perform multikey shortcuts:

  • <super> for the WIN key
  • <alt> for the ALT key
  • <shift> for the SHIFT key

For some options you need to logout and login for the changes to take effect.

If you want to reassign/disable from the command line you can use the syntax:

gconftool-2 --set '/apps/compiz-1/plugins/unityshell/screen0/options/panel_first_menu' --type string 'Disabled'