This is the old ROX web-site. Please use the new website instead.

How do I set up keyboard short-cuts?

To set up global shortcuts (which work whatever you're doing) you need to have a ROX-Filer pinboard or panel active (ROX-Session can set these up for you). Any item on a pinboard or panel can have a keyboard shortcut set for it by choosing 'Edit Item' from the popup menu.

You can also set keyboard shortcuts for use in filer windows like this
  • Open the menu.
  • Point at a menu item, but don't click on it.
  • Press the key.
  • Close the menu.

Keys are automatically saved when the filer quits.

For Gtk+-2.0, the Gtk developers have simplified this system: You now need to be running ROX-Session (or some other XSettings manager). In the XSettings part of ROX-Session's Options box, make sure the option Allow keybindings to be changed from menus is turned on (it is on by default). If you are not running ROX-Session, you can instead add this line to your ~/.gtkrc-2.0 file:

gtk-can-change-accels = 1

Note that if you are running another XSettings manager (such as gnome-settings-daemon) then this may have no effect, and you'll have to make the change there (possibly by running gconf-editor and changing the registry key /apps/desktop/gnome/interface/can_change_accels to the number 1).

Shouldn't that be /desktop/gnome/interface/can_change_accels? It is on my Debian system anyway - Sam

OK, I lied; the new system isn't simpler.

Once user-defineable keybindings are enabled, you can set the short-cuts as for Gtk+-1.2.


I use SuSE 9 and it still doesn't work!

You also need to create an empty file called ~/.no-qtrc-to-gtkrc-mapping, then log out and log back in again.


Last edited on March 31, 2004 4:59 pm.