Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
xfce:thunar:custom-actions [2022/05/31 12:17] – Added: Use 'bulk rename' on a single file alexxcons | xfce:thunar:custom-actions [2025/06/16 11:26] (current) – [Create Shared Thumbnails] alexxcons | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | {{ :xfce:xfce.thunar.png?no link|}} | + | {{ : |
====== Thunar - Custom Actions ====== | ====== Thunar - Custom Actions ====== | ||
Line 25: | Line 25: | ||
* **[[# | * **[[# | ||
* **[[#Change OpenDocument-supported formats|Change OpenDocument-supported formats]]** | * **[[#Change OpenDocument-supported formats|Change OpenDocument-supported formats]]** | ||
- | * **[[# | + | * **[[# |
* **[[#Rename subtitles easily|Rename subtitles easily]]** | * **[[#Rename subtitles easily|Rename subtitles easily]]** | ||
* **[[#Move files into a new folder|Move files into a new folder]]** | * **[[#Move files into a new folder|Move files into a new folder]]** | ||
* **[[#Create Shared Thumbnails|Create Shared Thumbnails]]** | * **[[#Create Shared Thumbnails|Create Shared Thumbnails]]** | ||
+ | * **[[#Use 'bulk rename' | ||
+ | * **[[#Trust multiple desktop files at once|Trust multiple desktop files at once]]** | ||
* **[[https:// | * **[[https:// | ||
Line 35: | Line 37: | ||
===== 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** | + | This section provides a step-by-step introduction to the **Custom Actions** plugin, demonstrating how to add a simple |
- | <figure " | + | <figure " |
- | {{: | + | {{: |
</ | </ | ||
- | On the first page, enter '' | + | On the first page, enter '' |
- | r | + | |
+ | Optionally, you can specify a {gui> | ||
< | < | ||
Line 65: | Line 69: | ||
Now close the **Custom Actions** dialog, select a folder in Thunar and open the context menu (right-click on the file icon). The newly created **Search with Catfish** action will appear in the context menu, as shown in the screenshot below. | Now close the **Custom Actions** dialog, select a folder in Thunar and open the context menu (right-click on the file icon). The newly created **Search with Catfish** action will appear in the context menu, as shown in the screenshot below. | ||
- | <figure " | + | <figure " |
- | {{: | + | {{: |
</ | </ | ||
Line 139: | Line 143: | ||
==== Rotate JPEGs ==== | ==== Rotate JPEGs ==== | ||
* Name: **Rotate Clockwise** | * Name: **Rotate Clockwise** | ||
- | * Command: ''< | + | |
+ | | ||
+ | * Command(counterclockwise): | ||
* File pattern: *.jpg; | * File pattern: *.jpg; | ||
* Appears if selection contains: JPEG Image Files | * Appears if selection contains: JPEG Image Files | ||
- | **Note: | + | **Note: |
- | + | ||
- | [[https:// | + | |
---- | ---- | ||
Line 163: | Line 167: | ||
==== Open root terminal here ==== | ==== Open root terminal here ==== | ||
* Name: **Open root terminal here** | * Name: **Open root terminal here** | ||
- | * Command: ''< | + | * Command(1): ''< |
+ | * Command(2): ''< | ||
* File pattern: * | * File pattern: * | ||
* Appears if selection contains: Directories | * Appears if selection contains: Directories | ||
+ | |||
+ | **Note:** Use either pkexec or gksu, depending on what is available for your distro. | ||
**Note:** You should rewrite the command with normal straight quotes. | **Note:** You should rewrite the command with normal straight quotes. | ||
Line 172: | Line 179: | ||
==== Open thunar as root here ==== | ==== Open thunar as root here ==== | ||
* Name: **Open thunar as root here** | * Name: **Open thunar as root here** | ||
- | * Command: '' | + | * Command(1): '' |
+ | * Command(2): '' | ||
+ | * Command(3): '' | ||
* File pattern: * | * File pattern: * | ||
* Appears if selection contains: Directories | * Appears if selection contains: Directories | ||
- | **Note:** Some distributions no longer include '' | + | **Note:** Some distributions no longer include '' |
---- | ---- | ||
==== Edit file as root ==== | ==== Edit file as root ==== | ||
* Name: **Edit as root** | * Name: **Edit as root** | ||
- | * Command: '' | + | * Command(1): '' |
+ | * Command(2): '' | ||
* File pattern: * | * File pattern: * | ||
* Appears if selection contains: Text files | * Appears if selection contains: Text files | ||
Line 217: | Line 227: | ||
* File pattern: * | * File pattern: * | ||
* Appearance Conditions: Text files | * Appearance Conditions: Text files | ||
+ | |||
---- | ---- | ||
Line 246: | Line 257: | ||
---- | ---- | ||
- | ==== Download subtitles | + | ==== Download |
* Name: **Download subtitles** | * Name: **Download subtitles** | ||
- | * Command: ''< | + | * Command: ''< |
* File pattern: * | * File pattern: * | ||
* Appears if selection contains: Video Files | * Appears if selection contains: Video Files | ||
- | **Note:** You will need '' | + | **Note:** You will need to follow the instructions on [[https://github.com/emericg/OpenSubtitlesDownload|OpenSubtitlesDownload]] which requires |
---- | ---- | ||
Line 285: | Line 296: | ||
* Appears if selection contains: Folders | * Appears if selection contains: Folders | ||
- | **Note:** Required to download [[https:// | + | **Note:** Required to download |
+ | |||
+ | * {{ : | ||
+ | |||
+ | |||
+ | <note important> | ||
---- | ---- | ||
==== Use 'bulk rename' | ==== Use 'bulk rename' | ||
Line 293: | Line 309: | ||
* File pattern: * | * File pattern: * | ||
* Appears if selection contains: any | * Appears if selection contains: any | ||
+ | * Range: 1-1 | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Trust multiple desktop files at once ==== | ||
+ | * Name: **Trust Desktop Files** | ||
+ | * Description: | ||
+ | * Command: ''< | ||
+ | * File pattern: *.desktop | ||
+ | * Appears if selection contains: other files | ||
* Range: 1-1 | * Range: 1-1 | ||
[[|Back To Top]] | [[|Back To Top]] | ||
---- | ---- | ||
- | [[: | + | [[: |