Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
thunar-docs:custom-actions [2015/09/27 15:47] jjfrv8 [Custom actions] |
thunar-docs:custom-actions [2015/09/28 12:16] (current) jjfrv8 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Custom actions ====== | + | ====== Custom Actions ====== |
Thunar allows users to add custom actions to the file and folder context menus (by the use of the ''thunar-uca'' plugin, part of the Thunar distribution, in the ''plugins/'' subdirectory). You can set up new actions in the {gui>Custom Actions} dialog, available via the {gui>Configure custom actions...} item in the {gui>Edit} menu. | Thunar allows users to add custom actions to the file and folder context menus (by the use of the ''thunar-uca'' plugin, part of the Thunar distribution, in the ''plugins/'' subdirectory). You can set up new actions in the {gui>Custom Actions} dialog, available via the {gui>Configure custom actions...} item in the {gui>Edit} menu. | ||
Line 5: | Line 5: | ||
This page serves as an introduction to the **Custom Actions** plugin, and includes a list of useful examples. | This page serves as an introduction to the **Custom Actions** plugin, and includes a list of useful examples. | ||
- | ===== Adding a custom action ===== | + | ===== Adding a Custom Action ===== |
This section provides a step-by-step introduction to the **Custom Actions** plugin, demonstrating how to add a **Print File** action, which uses xfprint to print text files. We start by opening the **Custom Actions** dialog as explained above. In the dialog, click on the first button in the list of buttons (the one labeled with the ''+''). The **Create Action** dialog will appear, as shown in the screenshot below. | This section provides a step-by-step introduction to the **Custom Actions** plugin, demonstrating how to add a **Print File** action, which uses xfprint to print text files. We start by opening the **Custom Actions** dialog as explained above. In the dialog, click on the first button in the list of buttons (the one labeled with the ''+''). The **Create Action** dialog will appear, as shown in the screenshot below. | ||
Line 40: | Line 40: | ||
**Note:** For this action, you'll need to have ''gnome-search-tool'' installed, which is part of the ''gnome-utils'' package. This program also has a [[http://linux.die.net/man/1/gnome-search-tool|lot of other nice command-line options]] which you could use to create even more specialized actions. | **Note:** For this action, you'll need to have ''gnome-search-tool'' installed, which is part of the ''gnome-utils'' package. This program also has a [[http://linux.die.net/man/1/gnome-search-tool|lot of other nice command-line options]] which you could use to create even more specialized actions. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
==== Finding files in the current folder with catfish ==== | ==== Finding files in the current folder with catfish ==== | ||
Line 53: | Line 48: | ||
**Note:** For this action, you'll need to have ''catfish'' installed, which is part of the ''catfish'' package. | **Note:** For this action, you'll need to have ''catfish'' installed, which is part of the ''catfish'' package. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
==== Finding files inside the selected folder with catfish ==== | ==== Finding files inside the selected folder with catfish ==== | ||
Line 90: | Line 80: | ||
* File pattern: * | * File pattern: * | ||
* Appears if selection contains: Directories, Audio Files | * Appears if selection contains: Directories, Audio Files | ||
- | |||
* Name: **Enqueue in XMMS** | * Name: **Enqueue in XMMS** | ||
* Command: ''xmms -e %F'' | * Command: ''xmms -e %F'' | ||
Line 119: | Line 108: | ||
**Hint:** ''`basename %f .png`.jpg'' (be careful--those are //back//ticks) will strip the old .png extension off of the original filename. | **Hint:** ''`basename %f .png`.jpg'' (be careful--those are //back//ticks) will strip the old .png extension off of the original filename. | ||
- | |||
- | |||
==== Losslessly Rotating JPEGs ==== | ==== Losslessly Rotating JPEGs ==== | ||
Line 173: | Line 160: | ||
* File pattern: * | * File pattern: * | ||
* Appears if selection contains: //any// | * Appears if selection contains: //any// | ||
- | |||
- | |||
==== Setting an image as the desktop background ==== | ==== Setting an image as the desktop background ==== |