<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gHacks technology news &#187; thunar</title>
	<atom:link href="http://www.ghacks.net/tag/thunar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 22:37:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create custom actions with the Thunar file manager</title>
		<link>http://www.ghacks.net/2009/05/16/create-custom-actions-with-the-thunar-file-manager/</link>
		<comments>http://www.ghacks.net/2009/05/16/create-custom-actions-with-the-thunar-file-manager/#comments</comments>
		<pubDate>Sat, 16 May 2009 16:04:52 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Desktop Manager]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[file manager]]></category>
		<category><![CDATA[thunar]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2009/05/16/create-custom-actions-with-the-thunar-file-manager/</guid>
		<description><![CDATA[The Thunar file managers is one of the best graphical file manager available for the Linux operating system. Thunar is the file manage of choice for the Xfce 4 desktop as well as Enlightenment E17. Written in GTK+ 2, Thunar can be used in nearly any X Windows graphical environment with GTK+ 2 support.
One of [...]]]></description>
			<content:encoded><![CDATA[<p>The Thunar file managers is one of the best graphical file manager available for the Linux operating system. Thunar is the file manage of choice for the Xfce 4 desktop as well as Enlightenment E17. Written in GTK+ 2, Thunar can be used in nearly any X Windows graphical environment with GTK+ 2 support.</p>
<p>One of the most under-appreciated aspects of Thunar is the ability to create custom actions. A custom action is a user-configure item that interacts with Thunar plugins so you can quickly take action on files within a directory. Say, for instance, you want to quickly print a file. Instead of having to open that file in the dedicated application, you simple right click a file and you will see a newly created Print File custom action that I am going to show you how to create.</p>
<p><span id="more-12871"></span>Creating custom actions for Thunar will really make this file manager useful. Depending on how resourceful you are, you could create some really handy actions. Some of the more useful actions you can create are:</p>
<ul>
<li>Print a file.</li>
<li>Finding files in current folder. NOTE: For this action you will need the gnome-search-tool installed.</li>
<li>Manipulating archives.</li>
<li>Playing audio files.</li>
<li>Burning iso CDs from file.</li>
<li>Set as background.</li>
</ul>
<p>And so much more.</p>
<p>So now let&#8217;s take a look at how to create customized actions.</p>
<div id="attachment_12865" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2009/05/thunar.png"><img class="size-medium wp-image-12865" src="http://www.ghacks.net/wp-content/uploads/2009/05/thunar-500x345.png" alt="Figure 1" width="300" height="207" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>The first thing you need to do is open up Thunar. This will depend upon the window manager/desktop you are using. If you can&#8217;t figure out how to open up your file manager (it should be obvious) you can always open up a terminal window and issue the command <em>thunar</em>. When Thunar opens (see Figure 1) click on the Edit menu to reveal the Configure Custom Actions entry. Click on that entry to open the Custom Actions window.</p>
<div id="attachment_12867" class="wp-caption alignright" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2009/05/thunar_actions1.png"><img class="size-full wp-image-12867" src="http://www.ghacks.net/wp-content/uploads/2009/05/thunar_actions1.png" alt="Figure 2" width="300" height="229" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>By default you will most likely only see one action included, Open Terminal Here. As you can see, in Figure 2, I have two other custom actions created: Print File and Set As Background.</p>
<p>First let&#8217;s create the Print File action. Click on the &#8220;+&#8221; symbol to open the Add Action window (see Figure 3).</p>
<p>For the most part the configurations for the new action should be obvious. In the case of the Print File action we will be using the &#8220;lp&#8221; command in order to make this happen.</p>
<div id="attachment_12868" class="wp-caption alignleft" style="width: 265px"><a href="http://www.ghacks.net/wp-content/uploads/2009/05/thunar_print.png"><img class="size-full wp-image-12868" src="http://www.ghacks.net/wp-content/uploads/2009/05/thunar_print.png" alt="Figure 3" width="255" height="288" /></a><p class="wp-caption-text">Figure 3</p></div>
<p>For the custom actions you can use anything for the Name and description. Remember, though, the Name will be what appears in the Right Click menu so you will want to keep that obvious and to the point.</p>
<p>Also notice the &#8220;%f&#8221; in the command line. As you can see the New (or edit) action window includes a listing of what each of these switches does.  This switch is crucial to the action, because without it the customized action will have no idea what file it is working on.</p>
<p>If you click on the Icon button a window will open with quite a few icons to choose from. If you don&#8217;t find what you are looking for in the window that opens, click the &#8220;Select Icon From&#8221; drop down and switch to a different listing. You should be able to find a suitable icon for your action.</p>
<p>Before you click OK click on the Appearance Condition tab. In this tab you have to select the file types which this action applies to. Obviously you will want to select Text Files. You could also select Image Files to print images as well.</p>
<div id="attachment_12870" class="wp-caption alignright" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2009/05/thunar_menu.png"><img class="size-medium wp-image-12870" src="http://www.ghacks.net/wp-content/uploads/2009/05/thunar_menu-500x343.png" alt="Figure 4" width="300" height="206" /></a><p class="wp-caption-text">Figure 4</p></div>
<p>After you fill out the necessary information, click OK and your action is complete. Now, navigate to a file within Thunar you want to print, right click the file, and behold the new menu entry &#8220;Print File&#8221; (see Figure 4).</p>
<p>Now let&#8217;s create an action that will make setting a background quick and painless. This will work for Window managers like Window Maker, Fluxbox, etc. This action requires the fbsetbg command. You will create this action similarly to the Print File command. In the &#8220;command&#8221; field you will enter:</p>
<p><em>fbsetbg %f</em></p>
<p>You will also want to select only Image Files from the Appearance Conditions tab. Click OK when you have completed this action. Now when you right click on any image within Thunar you will see an entry similar to what you configured for the Name of the set background action. In my case I named the action &#8220;Set As Background&#8221;. So when I right click an image in Thunar I see &#8220;Set As Background&#8221; listed. By clicking that the desktop wallpaper instantly changes to the image desired.</p>
<p><strong>Final thoughts</strong></p>
<p>The Thunar file manager is an outstanding entry in the file manager space. It is fast, reliable, user-friendly, and (with the help of custom actions) customizable. See what types of custom actions you can come up with. If you have a really handy one, share it with your fellow ghacks readers.</p>

	Tags: <a href="http://www.ghacks.net/tag/file-manager/" title="file manager" rel="tag">file manager</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/thunar/" title="thunar" rel="tag">thunar</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/16/linux-tips-view-hidden-files/" title="Linux Tips: View hidden files (April 16, 2009)">Linux Tips: View hidden files</a> (0)</li>
	<li><a href="http://www.ghacks.net/2008/02/07/yoggie-pico-personal-mobile-security-computer/" title="Yoggie PICO Personal Mobile Security Computer (February 7, 2008)">Yoggie PICO Personal Mobile Security Computer</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/10/30/with-ubuntu-9-10-arrives-wubi-9-10/" title="With Ubuntu 9.10 Arrives Wubi 9.10 (October 30, 2009)">With Ubuntu 9.10 Arrives Wubi 9.10</a> (2)</li>
	<li><a href="http://www.ghacks.net/2006/08/17/windows-file-manager-free-commander/" title="Windows File Manager Free Commander (August 17, 2006)">Windows File Manager Free Commander</a> (3)</li>
	<li><a href="http://www.ghacks.net/2006/12/07/widgets-for-linux-superkaramba/" title="Widgets for Linux: SuperKaramba (December 7, 2006)">Widgets for Linux: SuperKaramba</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/05/16/create-custom-actions-with-the-thunar-file-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Tips: View hidden files</title>
		<link>http://www.ghacks.net/2009/04/16/linux-tips-view-hidden-files/</link>
		<comments>http://www.ghacks.net/2009/04/16/linux-tips-view-hidden-files/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 16:22:50 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[dolphin]]></category>
		<category><![CDATA[hidden files]]></category>
		<category><![CDATA[linux file manager]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[thunar]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=12052</guid>
		<description><![CDATA[In the Linux operating system, a hidden file is any file that begins with a &#8220;.&#8221;. When a file is hidden it can not been seen with the bare ls command or an un-configured file manager. In most cases you won&#8217;t need to see those hidden files as much of them are configuration files/directories for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ghacks.net/wp-content/uploads/2009/04/penguin_small1.gif"><img class="alignleft size-full wp-image-12058" src="http://www.ghacks.net/wp-content/uploads/2009/04/penguin_small1.gif" alt="penguin_small1" width="100" height="110" /></a>In the Linux operating system, a hidden file is any file that begins with a &#8220;.&#8221;. When a file is hidden it can not been seen with the bare <em>ls</em> command or an un-configured file manager. In most cases you won&#8217;t need to see those hidden files as much of them are configuration files/directories for your desktop. There are times, however, that you will need to see them in order to edit them or even navigate through the directory structure.To do this you will need to know the correct options (for <em>ls</em>) or how to see them in your file manager of choice.</p>
<p><span id="more-12052"></span>In this Linux Tips article I will show you how to view hidden files with <em>ls</em>, Thunar, Nautilus, and Dolphin.</p>
<p><strong>LS</strong></p>
<p>If you need to see hidden files using the <em>ls</em> command you need to add the <em>-a</em> switch. But if you just add the <em>-a</em> switch most likely your files will fly by you and you will miss what you are looking for. To avoid this pipe the command through the <em>less</em> command like so:</p>
<p><em>ls -a | less</em></p>
<p>The above command will allow you to page through the contents so you can actually see what is there. You can scroll either up or down using the arrow keys or you can scroll down one page at a time with the space bar.</p>
<p><strong>Thunar</strong></p>
<div id="attachment_12051" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2009/04/thunar_hidden.png"><img class="size-medium wp-image-12051" src="http://www.ghacks.net/wp-content/uploads/2009/04/thunar_hidden-500x397.png" alt="Figure 1" width="300" height="238" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>If you don&#8217;t know, Thunar is the file manager for the Enlightenment desktop. In order to see hidden files in Thunar click the View menu and check the Show Hidden Files box (as shown in Figure 1.) Or you can hit the key combination Ctrl-H.</p>
<p>If you use the key combination you must make sure you are focused on the Thunar window. When you set Thunar to view hidden files it will always do so until you unset this option.</p>
<p><strong>Nautlius</strong></p>
<div id="attachment_12054" class="wp-caption alignright" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2009/04/nautlius_hidden.png"><img class="size-medium wp-image-12054" src="http://www.ghacks.net/wp-content/uploads/2009/04/nautlius_hidden-500x350.png" alt="Figure 2" width="300" height="210" /></a><p class="wp-caption-text">Figure 2</p></div>
<p>Nautilus is the file manager for the GNOME desktop. With the Nautilus file manager viewing hidden files is done in the same way. From the View menu select the Show Hidden Files option (see Figure 2) or hit the key combination Ctrl-H. Like Thunar, if you use the key combination you must be focused on the Nautilus window.</p>
<p>And like Thunar, the hidden file option will stick until it is unset.</p>
<p><strong>Dolphin</strong></p>
<div id="attachment_12055" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2009/04/dolphin_hidden.png"><img class="size-medium wp-image-12055" src="http://www.ghacks.net/wp-content/uploads/2009/04/dolphin_hidden-500x347.png" alt="Figure 3" width="300" height="208" /></a><p class="wp-caption-text">Figure 3</p></div>
<p>Dolphin is the KDE file manager that replaced Konqueror. In order to view hidden files in this file manager you select the View Hidden Files option from the View menu. You can also enable this action by hitting the Ctrl-. key combination. And like both Thunar and Nautilus, in order to use the key combination Dolphin must be in focus or the combination will not work.</p>
<p>Again, like the other graphical file managers, this option will remain until unset.</p>
<p><strong>Final Thoughts </strong></p>
<p>Hidden files are an important part of the Linux operating system. Although you can go your entire Linux lifetime without ever having to view a single hidden file, on that one occasion that you will need to do so, it&#8217;s good to know how.</p>

	Tags: <a href="http://www.ghacks.net/tag/dolphin/" title="dolphin" rel="tag">dolphin</a>, <a href="http://www.ghacks.net/tag/hidden-files/" title="hidden files" rel="tag">hidden files</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/linux-file-manager/" title="linux file manager" rel="tag">linux file manager</a>, <a href="http://www.ghacks.net/tag/nautilus/" title="nautilus" rel="tag">nautilus</a>, <a href="http://www.ghacks.net/tag/thunar/" title="thunar" rel="tag">thunar</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/02/03/get-to-know-linux-the-nautilus-file-manager/" title="Get to Know Linux: The Nautilus File Manager (February 3, 2009)">Get to Know Linux: The Nautilus File Manager</a> (11)</li>
	<li><a href="http://www.ghacks.net/2009/01/26/easy-cd-burning-in-gnome/" title="Easy CD Burning in GNOME (January 26, 2009)">Easy CD Burning in GNOME</a> (5)</li>
	<li><a href="http://www.ghacks.net/2009/05/16/create-custom-actions-with-the-thunar-file-manager/" title="Create custom actions with the Thunar file manager (May 16, 2009)">Create custom actions with the Thunar file manager</a> (0)</li>
	<li><a href="http://www.ghacks.net/2008/02/07/yoggie-pico-personal-mobile-security-computer/" title="Yoggie PICO Personal Mobile Security Computer (February 7, 2008)">Yoggie PICO Personal Mobile Security Computer</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/10/30/with-ubuntu-9-10-arrives-wubi-9-10/" title="With Ubuntu 9.10 Arrives Wubi 9.10 (October 30, 2009)">With Ubuntu 9.10 Arrives Wubi 9.10</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/16/linux-tips-view-hidden-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
