[Thunar-workers] [Thunar File Manager] page changed: documentation:custom_actions
thunar-workers at xfce.org
thunar-workers at xfce.org
Mon Mar 3 12:56:51 CET 2008
A page in your DokuWiki was added or changed. Here are the details:
Date : 2008/03/03 11:56
Browser : Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.13pre) Gecko/20070505 (Debian-1.8.0.15~pre080131b-0etch1) Galeon/2.0.2 (Debian package 2.0.2-4)
IP-Address : 72.235.175.12
Hostname : udp231988uds.hawaiiantel.net
Old Revision: http://thunar.xfce.org/pwiki/documentation/custom_actions?rev=1204544962
New Revision: http://thunar.xfce.org/pwiki/documentation/custom_actions
Edit Summary: Added note about spaces in file/folder names being handled sensibly
User : kernst
@@ -4,17 +4,16 @@
{{ documentation:thunar-custom-actions.png }}
This page serves as an introduction to the **Custom Actions** plugin, and includes a list of useful [[documentation:custom_actions#examples|Examples]].
-
===== 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.
{{ documentation:thunar-custom-actions-1.png }}
- On the first page, enter ''Print File'' as name and ''Print the selected using xfprint'' as description. Enter ''xfprint4 %f'' as command (the ''%f'' will be replaced with the path to the selected file, as explained in the dialog), and select an icon for the icon (in the screenshot the ''xfprint.svg'' icon was used).
+ On the first page, enter ''Print File'' as name and ''Print the selected using xfprint'' as description. Enter ''xfprint4 %f'' as command (the ''%f'' will be replaced with the path to the selected file, as explained in the dialog), and select an icon for the icon (in the screenshot the ''xfprint.svg'' icon was used). **NB:** Thunar seems to do the sensible thing when passing file/folder names with spaces in them, so don't worry excessively about putting single or double quotes around the "%" placeholder.
Now, continue with the second page (the **Appearance Conditions** page).
{{ documentation:thunar-custom-actions-2.png }}
--
This mail was generated by DokuWiki at
http://thunar.xfce.org/pwiki/
More information about the Thunar-workers
mailing list