You are not logged in.
Ahoj
I would like to add some custom commands to the shortcut menu in my arch-based distro. To clarify, the shortcut menu I am referring to is the one which pops up when you right click inside a folder or desktop. And I would like to add the catfish file search as the command (similar to what is available in manjaro XFCE, which allows you to open a shortcut menu inside any folder and search it using catfish).
I don't know how to achieve this. Any ideas?
Offline
This has been asked before. It's also explained in the official documentation for Thunar.
Additionally, Xubuntu provides some pre-defined default actions in /etc/xdg/xdg-xubuntu/Thunar/uca.xml. Here's an excerpt from it for your specific case:
<action>
<icon>filefind</icon>
<name>Find in this folder</name>
<unique-id>3-3</unique-id>
<command>catfish --path=%f</command>
<description>Search for files within this folder</description>
<patterns>*</patterns>
<directories/>
</action>
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
Cheers for that , I didn't know they were referred to as a Custom Actions
Offline
> the one which pops up when you right click inside a folder or desktop.
different menus pop up in different locations for me when i right click. i guess i don't understand this case, yet.
Offline
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 525.07 KiB (Peak: 532.18 KiB) ]