! 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 custom actions that only show up on the menu in specific directories
Status:
RESOLVED: MOVED
Severity:
enhancement

Comments

Description Jimi Bove 2018-11-29 22:28:48 CET
A dream of mine is to have context-specific custom actions in Thunar. That is, whenever I open a right-click menu, which options are displayed is determined not only by the type of the folder/file being right-clicked on (like right now), but also by the path of that folder/file, in a user-configurable way.

Here's a use-case idea I have as an example: I manage multiple WINE bottles, and I prefer to do it all myself rather than deal with someone else's bottle-managing tool. I store all of my bottles in a specific place: ~/.local/share/wineprefixes/. So I would love to be able to have a custom action, named "Run winecfg", that (perhaps by supporting regex or something) only shows up when the path of the selected folder/file includes "~/.local/share/wineprefixes/.+/". From there I could have it run a script that takes in the arguments, uses more regex to determine the exact bottle I'm in, and runs winecfg with $WINEPREFIX set accordingly.

I have ideas like this so often that if I went ahead on them *without* this UCA feature, my right-click menu would become even more ridiculously cluttered than it already is.
Comment 1 Git Bot editbugs 2020-05-26 23:40:16 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/225.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14926

Reported by:
Jimi Bove
Reported on: 2018-11-29
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information