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 [2019/11/22 02:55] – added bottom of page navigation kevinbowen | xfce:thunar:custom-actions [2020/08/10 00:26] – [Opening a terminal] alexxcons | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{ : | ||
====== Custom Actions ====== | ====== Custom Actions ====== | ||
Line 4: | 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 ===== | ||
Line 26: | Line 29: | ||
{{: | {{: | ||
</ | </ | ||
+ | |||
+ | [[|Back to Top]] | ||
+ | ---- | ||
===== Use mnemonics to open Thunar Custom Actions ===== | ===== Use mnemonics to open Thunar Custom Actions ===== | ||
When you create a Thunar Custom Action you can set the name with an underscore " | When you create a Thunar Custom Action you can set the name with an underscore " | ||
+ | ---- | ||
===== Examples ===== | ===== Examples ===== | ||
Line 43: | Line 50: | ||
**Note:** For this action, you'll need to have '' | **Note:** For this action, you'll need to have '' | ||
+ | ---- | ||
==== Finding files inside the current/ | ==== Finding files inside the current/ | ||
Line 51: | Line 59: | ||
**Note:** For this action, you'll need to have '' | **Note:** For this action, you'll need to have '' | ||
+ | |||
+ | ---- | ||
==== Working with archives | ==== Working with archives | ||
Line 69: | Line 79: | ||
**Hint:** You may prefer the [[http:// | **Hint:** You may prefer the [[http:// | ||
+ | |||
+ | ---- | ||
==== Playing music files ==== | ==== Playing music files ==== | ||
Line 81: | Line 93: | ||
**Hint:** Works exactly the same with Audacious. | **Hint:** Works exactly the same with Audacious. | ||
+ | |||
+ | ---- | ||
==== Burning an ISO file to a CD ==== | ==== Burning an ISO file to a CD ==== | ||
Line 87: | Line 101: | ||
* File pattern: *.iso | * File pattern: *.iso | ||
* Appears if selection contains: Other Files | * Appears if selection contains: Other Files | ||
+ | |||
+ | ---- | ||
==== Viewing images ==== | ==== Viewing images ==== | ||
Line 95: | Line 111: | ||
**Note:** This tip also works just as well with GThumb | **Note:** This tip also works just as well with GThumb | ||
+ | ---- | ||
==== Converting PNGs to JPEGs ==== | ==== Converting PNGs to JPEGs ==== | ||
Line 103: | Line 120: | ||
**Hint:** '' | **Hint:** '' | ||
+ | |||
+ | ---- | ||
==== Losslessly Rotating JPEGs ==== | ==== Losslessly Rotating JPEGs ==== | ||
Line 113: | Line 132: | ||
[[https:// | [[https:// | ||
- | ==== Opening | + | ---- |
- | * Name: **Open | + | |
- | * Command: '' | + | ==== Opening terminal |
+ | * Name: **Open terminal | ||
+ | * Command: '' | ||
* File pattern: * | * File pattern: * | ||
- | * Appears if selection contains: | + | * Appears if selection contains: |
- | **Note: | + | **Note: |
+ | **Note:** For each selected folder, a terminal | ||
+ | |||
+ | |||
+ | ---- | ||
==== Opening a root terminal ==== | ==== Opening a root terminal ==== | ||
Line 128: | Line 153: | ||
**Note:** You should rewrite the command with normal straight quotes. | **Note:** You should rewrite the command with normal straight quotes. | ||
+ | |||
+ | ---- | ||
==== Opening a root Thunar ==== | ==== Opening a root Thunar ==== | ||
Line 136: | Line 163: | ||
**Note:** Some distributions no longer include '' | **Note:** Some distributions no longer include '' | ||
+ | |||
+ | ---- | ||
+ | |||
==== Editing as root ==== | ==== Editing as root ==== | ||
* Name: **Edit as root** | * Name: **Edit as root** | ||
Line 143: | Line 173: | ||
**Note:** You'll need to replace put-your-favourite-text-editor-here with your favourite text editor (e.g. mousepad or geany). Also, see previous note about '' | **Note:** You'll need to replace put-your-favourite-text-editor-here with your favourite text editor (e.g. mousepad or geany). Also, see previous note about '' | ||
+ | |||
+ | ---- | ||
==== Creating a symbolic link ==== | ==== Creating a symbolic link ==== | ||
Line 157: | Line 189: | ||
* 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 ==== | ||
Line 163: | Line 197: | ||
* File pattern: * | * File pattern: * | ||
* Appears if selection contains: Image Files | * Appears if selection contains: Image Files | ||
+ | |||
+ | ---- | ||
==== Viewing the disk usage of the current directory ==== | ==== Viewing the disk usage of the current directory ==== | ||
Line 171: | Line 207: | ||
**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 ' | ||
Line 180: | Line 218: | ||
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. | ||
+ | |||
+ | ---- | ||
==== Comparing selected files/ | ==== Comparing selected files/ | ||
Line 188: | Line 228: | ||
**Note:** You will need the '' | **Note:** You will need the '' | ||
+ | |||
+ | ---- | ||
==== Changing OpenDocument-supported formats ==== | ==== Changing OpenDocument-supported formats ==== | ||
Line 203: | Line 245: | ||
You can go on, try '' | You can go on, try '' | ||
+ | |||
+ | ---- | ||
+ | |||
==== Download subtitles with periscope ==== | ==== Download subtitles with periscope ==== | ||
* Name: **Download subtitles** | * Name: **Download subtitles** | ||
Line 210: | Line 255: | ||
**Note:** You will need '' | **Note:** You will need '' | ||
+ | |||
+ | ---- | ||
+ | |||
==== Rename subtitles easily ==== | ==== Rename subtitles easily ==== | ||
* Name: **Rename subtitles** | * Name: **Rename subtitles** | ||
Line 218: | Line 266: | ||
**Note:** You will need '' | **Note:** You will need '' | ||
+ | |||
+ | ---- | ||
==== Move files into a new folder ==== | ==== Move files into a new folder ==== | ||
* Name: **Move into new folder** | * Name: **Move into new folder** | ||
* Description: | * Description: | ||
- | * Command: NEW_FOLDER=$(/ | + | * Command: |
* File pattern: * | * File pattern: * | ||
* Appears if selection contains: All | * Appears if selection contains: All |