! 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 !
Thunar new keyboard feature: associate keyboard space with action move to par...
Status:
RESOLVED: WORKSFORME

Comments

Description Phil4000n 2020-01-03 16:56:34 CET
In Thunar
Ability to association keyboad shortcut "SPACE" to move to parent folder, viz  the same as Alt+↑ keyboard shortcut.

MOTIVATION:
Using a laptop, which touchpad, the closest and easiest keyboard shortcut is the space bar
Comment 1 alexxcons editbugs 2020-01-03 22:27:10 CET
Quit thunar with "thunar -q"
Edit ~/.config/Thunar/accels.scm
Copy that line(to keep a backup) and uncomment the new one:
(gtk_accel_path "<Actions>/ThunarWindow/open-parent" "space")

Note that  space is already bound to "activate item", which imo is as well usefull and will be overwritten like that ..  I dont know where that can be re-bound.
Maybe better to use "<Primary>space"  or "<Alt>space".

Hint: If you add a new UserCustomAction with keyboard shortcut, it aswell will show here .. like that you can check the name used for every key..
Comment 2 Phil4000n 2020-01-04 00:47:56 CET
How marvelous, it works and it's so convenient.

But you went too fast for my knowledge:

        >Note that  space is already bound to "activate item", which imo is as well usefull and will be overwritten like that ..  I dont know where that can be re-bound.
????
Well, I didn't find "space" into the accels.scm before its modification.
What's the effect of "activate item"?

     >Maybe better to use "<Primary>space"  or "<Alt>space".
What is "<Primary>space", you mean the space bar or some special keyboard key + SPACE?
Comment 3 alexxcons editbugs 2020-01-04 17:23:53 CET
(In reply to phil4000n from comment #2)
> Well, I didn't find "space" into the accels.scm before its modification.
> What's the effect of "activate item"?
If the file is a folder, it will be opened in thunar. All other files will be opened with the default application for that file-type.
I as well did not find "space" inside that file .. so far I have no idea where the "activate" can be configured.

>      >Maybe better to use "<Primary>space"  or "<Alt>space".
> What is "<Primary>space", you mean the space bar or some special keyboard
> key + SPACE?
<Primary> seems to be "Strg". So "<Primary>space" describes pressing Strg+Space  ... <alt>space than is pretty much self-explaining.
Comment 4 Phil4000n 2020-01-04 17:35:48 CET
Google tells me Strg key on keyboard is German for "Steuerung", which is CTRL or control key.

It's really a great feature of Thunar to have shorcut keys.
However, this does not show, is not apparent with menu Edition>Preferences in which there is no "Shortcut keys" tab.
I recommend to add this feature or at least under the "Advanced" tab, a notice with a reference URL link explaining how to have such feature.
Comment 5 alexxcons editbugs 2020-01-04 18:26:21 CET
(In reply to phil4000n from comment #4)
> However, this does not show, is not apparent with menu Edition>Preferences
> in which there is no "Shortcut keys" tab.
> I recommend to add this feature or at least under the "Advanced" tab, a
> notice with a reference URL link explaining how to have such feature.
Actually I as well thought about such a feature a while ago ... just opened a bug for it: Bug #16334
I will not have time to work on it in the near future ... so if have time, a constribution would be very welcome !

Bug #16331

Reported by:
Phil4000n
Reported on: 2020-01-03
Last modified on: 2020-01-04

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
1.8.11

Attachments

Additional information