[Xfce-bugs] [Bug 14926] New: Feature request: Thunar custom actions that only show up on the menu in specific directories

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Nov 29 22:28:48 CET 2018


https://bugzilla.xfce.org/show_bug.cgi?id=14926

            Bug ID: 14926
           Summary: Feature request: Thunar custom actions that only show
                    up on the menu in specific directories
    Classification: Xfce Core
           Product: Thunar
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: UCA
          Assignee: xfce-bugs at xfce.org
          Reporter: JimiJames.Bove at gmail.com
                CC: benny at xfce.org, hjudt at xfce.org
  Target Milestone: 1.8.3

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list