Skip navigation.
Home

Keyboard shortcuts inside applications

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 (and some other applications) 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.

The GTK developers have decided to disable this feature by default. To turn it on:

  • If you are running ROX-Session it will be on by default. It can use controlled using the Keyboard configuration applet.
  • If you are running GNOME, use gconf-editor to turn on the /desktop/gnome/interface/can_change_accels option.
  • If you are using some other XSettings manager, you will have to find how it lets you configure this (anyone know how to do this with xfce-settings-show?)
  • If you are not running an XSettings manager, you can instead add this line to your ~/.gtkrc-2.0 file:
    gtk-can-change-accels = 1

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.

changing accels in Xfce

I've been looking all over for this, and your piece + google helped me find it - yay!

From the Thunar FAQ (http://thunar.xfce.org/pwiki/documentation/faq):

How do I assign different keyboard shortcuts?

[snip]

If the shortcut doesn’t change, then you need to enable the feature in GTK+. This can be achieved in 3 ways:

*
If you are running Xfce 4.3 or above then you can enable Editable menu accelerators in the User Interface Preferences dialog.
*
If you are running GNOME then you can enable Editable menu accelerators in the Menu and Toolbars control center dialog.
*
Otherwise put the following in your ~/.gtkrc-2.0 file (create the file if it doesn’t exist):

gtk-can-change-accels=1

Syndicate content