[Thunar-workers] [Thunar File Manager] page changed: documentation:custom_actions
thunar-workers at xfce.org
thunar-workers at xfce.org
Tue Jan 26 02:18:54 CET 2010
A page in your DokuWiki was added or changed. Here are the details:
Date : 2010/01/26 01:18
Browser : Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.8 (KHTML, like Gecko) Chrome/4.0.299.0 Safari/532.8
IP-Address : 88.101.252.231
Hostname : 231.252.broadband6.iol.cz
Old Revision: http://thunar.xfce.org/pwiki/documentation/custom_actions?rev=1260592044
New Revision: http://thunar.xfce.org/pwiki/documentation/custom_actions
Edit Summary: Added: Finding files in the current folder with catfish, Opening a root terminal, Opening a root Thunar, Editing as root, Comparing selected files/directories, Changing OpenOffice.org supported formats
User : churchyard
@@ -38,8 +38,16 @@
* File pattern: *
* Appears if selection contains: Directories
**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 ====
+ * Name: **Search files...**
+ * Command: ''catfish --fileman=thunar --path=%f''
+ * File pattern: *
+ * Appears if selection contains: Directories
+
+ **Note:** For this action, you'll need to have ''catfish'' installed, which is part of the ''catfish'' package.
==== Working with archives (tar, gzip, etc) ====
* Name: **Extract here (bzip2)**
* Command: ''tar xjf %n''
@@ -55,9 +63,9 @@
* Command: ''tar czvf %n.tar.gz %n''
* File pattern: *
* Appears if selection contains: Directories
- **Hint:** You may prefer the [[http://thunar.xfce.org/plugins.html#thunar-archive-plugin|Thunar Archive Plugin]], which does pretty much the same thing with less manual setup required on your part. It's either included with your distribution (in the case of [[http://xubuntu.org/|Xubuntu]]), or available as a separate package (''thunar-archive-plugin'' in Debian Etch). You might also need the ''xarchiver'' package for things to work quite right.
+ **Hint:** You may prefer the [[http://thunar.xfce.org/plugins.html#thunar-archive-plugin|Thunar Archive Plugin]], which does pretty much the same thing with less manual setup required on your part. It's either included with your distribution (in the case of [[http://xubuntu.org/|Xubuntu]]), or available as a separate package (''thunar-archive-plugin'' in Debian Etch). You might also need the ''xarchiver'' or "squeeze" package for things to work quite right.
==== Playing music files ====
* Name: **Play with XMMS**
* Command: ''xmms %F''
@@ -68,8 +76,9 @@
* Command: ''xmms -e %F''
* File pattern: *
* Appears if selection contains: Directories, Audio Files
+ **Hint:** Works exactly the same with Audacious.
==== Burning an ISO file to a CD ====
* Name: **Burn with K3B**
* Command: ''%%k3b --cdimage %f%%''
@@ -107,8 +116,30 @@
* File pattern: *
* Appears if selection contains: Directories
**Note:** You might need to type ''xfce4-terminal'' instead of just ''terminal'' for some distributions.
+
+ ==== Opening a root terminal ====
+ * Name: **Open a root terminal here**
+ * Command: ''gksu "xfce4-terminal --default-working-directory=%f"''
+ * File pattern: *
+ * Appears if selection contains: Directories
+
+ **Note:** You should rewrite the command with normal straight quotes.
+
+ ==== Opening a root Thunar ====
+ * Name: **Open a root Thunar here**
+ * Command: ''gksu thunar %f''
+ * File pattern: *
+ * Appears if selection contains: Directories
+
+ ==== Editing as root ====
+ * Name: **Edit as root**
+ * Command: ''gksu put-your-favourite-text-editor-here %f''
+ * File pattern: *
+ * Appears if selection contains: Text files
+
+ **Note:** You'll need to replace put-your-favourite-text-editor-here with your favourite text editor (e.g. mousepad or geany).
==== Creating a symbolic link ====
* Name: **Create symlink**
* Command: ''ln -s %f "%n (symlink)"''
@@ -137,10 +168,33 @@
* Command: ''baobab %d''
* File pattern: *
* Appears if selection contains: Tick all the boxes
- 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 'nano' text editor ====
* Command: ''terminal -x nano %f''
Since nano isn't a GUI app, you must start it in a terminal window.
+
+ ==== Comparing selected files/directories ====
+ * Name: **Compare**
+ * Command: ''meld %F''
+ * File pattern: *
+ * Appears if selection contains: Directories and Text files
+
+ **Note:** You will need ''meld'' package.
+
+ ==== Changing OpenOffice.org supported formats ====
+ **Note:** You will need ''unoconv'' package for all following actions.
+
+ * Name: **Convert to ODT**
+ * Command: ''unoconv -f odt %F''
+ * File pattern: *.doc;*.docx
+ * Appears if selection contains: Other files
+
+ * Name: **Export to PDF**
+ * Command: ''unoconv -f pdf %F''
+ * File pattern: *.doc;*.docx;*.odt;*.odp;*.pps;*.ppt;*.xls;*.xlsx;*.ods;*.pptx
+ * Appears if selection contains: Other files
+
+ You can go on, try ''man unoconv'' for details.
--
This mail was generated by DokuWiki at
http://thunar.xfce.org/pwiki/
More information about the Thunar-workers
mailing list