Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-07-16 03:02:35

Mango
Member
Registered: 2022-07-16
Posts: 1

Add custom app commands [catfish search] to shortcut menu?

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

#2 2022-07-16 06:12:50

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: Add custom app commands [catfish search] to shortcut menu?

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! tongue

Offline

#3 2022-07-16 14:53:14

Mint
Member
Registered: 2022-07-16
Posts: 1

Re: Add custom app commands [catfish search] to shortcut menu?

Cheers for that , I didn't know they were referred to as a Custom Actions

Offline

#4 2022-07-16 23:36:57

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: Add custom app commands [catfish search] to shortcut menu?

> 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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 525.07 KiB (Peak: 532.18 KiB) ]