Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
xfce:thunar:custom-actions [2018/08/03 23:09] – [Move files into a new folder] alexxcons | xfce:thunar:custom-actions [2019/07/26 18:57] – Removed uca example xfprint (does that still exist?) with catfish alexxcons | ||
---|---|---|---|
Line 10: | Line 10: | ||
<figure " | <figure " | ||
- | {{: | + | {{: |
</ | </ | ||
- | On the first page, enter '' | + | On the first page, enter '' |
Now, continue with the second page (the {gui> | Now, continue with the second page (the {gui> | ||
- | We want to create an action that is only applicable to text files, so select the **Text Files** options and unselect the options for the other file types. Next you can specify a **File Pattern** to display the action only for text files that match a certain pattern. In the example, we set the file pattern to '' | + | We want to create an action that is only applicable to folders, so select the **Folders** options and unselect the options for the other file types. Next you can specify a **File Pattern** to display the action only for text files that match a certain pattern. In the example, we set the file pattern to '' |
- | That's all. Click **OK** to close the **Create Action** dialog. The new action, labeled **Print File** will appear in the **Custom Actions** list. | + | That's all. Click **OK** to close the **Create Action** dialog. The new action, labeled **Search with Catfish** will appear in the **Custom Actions** list. |
- | Now close the **Custom Actions** dialog, select a text file in Thunar and open the context menu (right-click on the file icon). The newly created **Print File** action will appear in the context menu, as shown in the screenshot below. | + | Now close the **Custom Actions** dialog, select a folder |
<figure " | <figure " | ||
- | {{thunar:thunar_custom-actions-dialog.png}} | + | {{:xfce:thunar:uca-list.png}} |
</ | </ | ||
- | You can use the [[https:// | + | ===== Use mnemonics to open Thunar Custom Actions ===== |
+ | |||
+ | When you create a Thunar Custom Action you can set the name with an underscore " | ||
===== Examples ===== | ===== Examples ===== | ||
Line 33: | Line 35: | ||
Here are a few useful examples of custom actions. Feel free to extend this list. | Here are a few useful examples of custom actions. Feel free to extend this list. | ||
- | ==== Finding files in the current folder ==== | + | ==== Finding files in the current folder |
* Name: **Search...** | * Name: **Search...** | ||
* Command: '' | * Command: '' | ||
Line 41: | Line 43: | ||
**Note:** For this action, you'll need to have '' | **Note:** For this action, you'll need to have '' | ||
- | ==== Finding files in the current folder with catfish ==== | ||
- | * Name: **Search files...** | ||
- | * Command: '' | ||
- | * File pattern: * | ||
- | * Appears if selection contains: Directories | ||
- | |||
- | **Note:** For this action, you'll need to have '' | ||
- | ==== Finding files inside the selected folder with catfish ==== | + | ==== Finding files inside the current/selected folder with catfish ==== |
* Name: **Search files inside...** | * Name: **Search files inside...** | ||
- | * Command: '' | + | * Command: '' |
* File pattern: * | * File pattern: * | ||
* Appears if selection contains: Directories | * Appears if selection contains: Directories | ||
Line 177: | Line 172: | ||
**Note:** The idea is to get a visual picture of the current directory and any subdirectories. You could also use fsview or filelight, but the visuals are crisper in baobab. | **Note:** The idea is to get a visual picture of the current directory and any subdirectories. You could also use fsview or filelight, but the visuals are crisper in baobab. | ||
- | ==== Using ' | + | ==== Using ' |
- | * Command: | + | * Name: **Open in Terminal** |
+ | * Command: | ||
+ | * File pattern: * | ||
+ | * Appearance Conditions: Text files | ||
Since nano isn't a GUI app, you must start it in a terminal window. | Since nano isn't a GUI app, you must start it in a terminal window. |