Author Topic: Thunar keybindings  (Read 1407 times)

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Thunar keybindings
« on: September 25, 2011, 07:55:05 AM »
Just wanted to know how to add or edit keybindings to commands in Thunar -  specifically the "delete" command, ie. Ctrl-Shift-x for example.   
Linux Registered User # 529407


Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: Thunar keybindings
« Reply #1 on: September 26, 2011, 02:36:12 AM »
From here

Quote
How do I assign different keyboard shortcuts?

 If you want to rebind a shortcut, Thunar supports the standard GTK+ way of changing shortcuts: simply hover over the menu option with the mouse pointer and press the keyboard shortcut you want to rebind it to.

 To delete a keyboard assignment, press the Backspace key while you are on the menu entry.

 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


Hope that gets you a step further.
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: Thunar keybindings
« Reply #2 on: September 26, 2011, 07:22:50 AM »
Thanks longtom,

I had seen that before, but obviously didn't look at it properly!  Tried the instructions but didn't follow through!! 
Quote
Otherwise put the following in your ~/.gtkrc-2.0 file (create the file if it doesn't exist):
gtk-can-change-accels=1
That was the bit I missed.  Thanks for putting it up.  Amazing what you see second time around ::).
I'm actually using Openbox but it seems the process is the same regardless.  Anyway, works fine on my system.

Thanks again,
Taco.22
Linux Registered User # 529407