Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
xfce:thunar:custom-actions [2021/12/14 03:06] – [Work with archives (tar, gzip, etc)] Fix link andreldm | xfce:thunar:custom-actions [2024/03/29 19:47] (current) – Using dbus-launch seems to be the best way to get proper support for D-Bus services and as few warnings as possible gael | ||
---|---|---|---|
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 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 286: | Line 297: | ||
**Note:** Required to download [[https:// | **Note:** Required to download [[https:// | ||
+ | ---- | ||
+ | ==== Use 'bulk rename' | ||
+ | * Name: **Open in bulk renamer** | ||
+ | * Description: | ||
+ | * Command: ''< | ||
+ | * File pattern: * | ||
+ | * 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 | ||
[[|Back To Top]] | [[|Back To Top]] | ||
---- | ---- | ||
[[: | [[: |