! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Add keyboard shortcuts for user customizable actions
Status:
RESOLVED: FIXED
Severity:
enhancement

Comments

Description Denis Fern 2006-06-20 13:51:07 CEST
The only reason that, sofar, keeps me from switching from ROX to Thunar is the dynamic keybindings that ROX sports.

This may seem trivial, but it is very important for me: My use of the GUI is mostly keyboard-driven, and thus having quick and useable shortcuts to every entry in the menus is crucial. This includes, especially, the custom actions, which would become a lot more useable if one could bind a ket to them.

GNOME, for example, has a can_change_accels entry in gconf that will allow this. ROX requires that you set something similar in some file -- I can't remember where now. The GIMP takes advantage of GNOME's can_change_accels entry, and that is what turns its interface from a hell to a breeze to use (because, in the end, when you end up using an application a lot you just learn the keybindings, and if you can define your own the speed to learn and use them is widely increased).

Another thing that would improve (but is less urgent to me) my experience with thunar is ROXs ability to resize the window by double-clicking on the background. This action has the file browser window adjust automatically to show as much files as possible, which is very handy.
Comment 1 Benedikt Meurer editbugs 2006-07-02 10:01:22 CEST
Thunar does that already:

http://thunar.xfce.org/pwiki/documentation/faq#how_do_i_assign_different_keyboard_shortcuts
Comment 2 Denis Fern 2006-07-02 14:16:14 CEST
(In reply to comment #1)
> Thunar does that already:
> 
> http://thunar.xfce.org/pwiki/documentation/faq#how_do_i_assign_different_keyboard_shortcuts
> 

It doesn't work in context menus, and therefore it doesn't work for custom actions (such as 'terminal here').
Comment 3 Benedikt Meurer editbugs 2006-07-02 14:17:28 CEST
You cannot currently assign keyboard shortcuts to custom actions.
Comment 4 Denis Fern 2006-07-02 16:42:09 CEST
(In reply to comment #3)
> You cannot currently assign keyboard shortcuts to custom actions.

Exactly. That's my point. :o)

Comment 5 Benedikt Meurer editbugs 2006-07-02 17:59:39 CEST
Then you should choose the right component and a subject that matches your request. ;)
Comment 6 Benedikt Meurer editbugs 2007-02-12 17:58:17 CET
*** Bug 2894 has been marked as a duplicate of this bug. ***
Comment 7 Jannis Pohlmann editbugs 2011-11-07 03:38:48 CET
Moving this to core instead of uca. Shortcuts for custom actions would be cool but if we make that possible, we probably also want shortcuts for menu items provided by other plugins, not just thunar-uca.

A possible (not 100% finished) solution can be found here:

http://git.xfce.org/xfce/thunar/commit/?h=jannis/file-menu-custom-actions&id=36dea6078ac20c1285342ff1d7d09a212e183f5b

Unfortunately, the internal names of menu items are unique but not persistent. Thus, reordering the items may result in switched keyboard shortcuts. If we can fix that, we're done.
Comment 8 Jannis Pohlmann editbugs 2011-11-07 03:39:33 CET
*** Bug 2959 has been marked as a duplicate of this bug. ***
Comment 9 liquider 2013-01-13 03:03:39 CET
Custom actions' internal names surely are (or can be made) persistent. They can simply be the <name>s from uca.xml?
Comment 10 Nick Schermer editbugs 2013-01-13 10:45:38 CET
*** Bug 9706 has been marked as a duplicate of this bug. ***
Comment 11 Nick Schermer editbugs 2013-01-15 20:38:48 CET
Pushed Jannis' code to master in dae9c33 with some small simplifications.

Bug #1941

Reported by:
Denis Fern
Reported on: 2006-06-20
Last modified on: 2013-01-15
Duplicates (3):
  • 2894 Keyboard shortcuts for User-defined actions
  • 2959 Feature request: gtk-accelerator for 'Open Terminal Here'
  • 9706 [wishlist] Ability to launch user custom actions with a shortcut

People

Assignee:
Jannis Pohlmann
CC List:
5 users

Version

Attachments

Additional information