<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>The Rubylution: Tag xfce4</title>
    <link>http://rubylution.ping.de/articles/tag/xfce4?tag=xfce4</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Starts&amp;hellip; Now.</description>
    <item>
      <title>Open Containing Folder in Firefox under Linux</title>
      <description>&lt;p&gt;After Downloading a file in firefox and right-clicking on the filename in the download manager, you can choose the popup menu entry "Open Containing Folder". This should open a filebrowser for the directory this file was saved in. I have to admit, that this never worked for me under Linux, only under MacOS X and under Windows. I assume the reason for this is, that you have a lot of options under Linux, but no general default for a file manager. Firefox did never show a very smart reaction (and only displays an error) if no filebrowser could be found: Perhaps asking me what to do would be a good idea?&lt;/p&gt;

&lt;p&gt;I finally couldn't take it anymore and researched how to configure this feature. I wanted XFCE4's file manager Thunar to be opened, so this is what you have to do: Open the about:config dialog in you location toolbar (or pick it from the Help menu). Now right click onto the configuration entry list, and choose &lt;em&gt;New -&gt; Boolean&lt;/em&gt; from the popup menu. Create the following two entries and set them both to &lt;tt&gt;true&lt;/tt&gt;:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
network.protocol-handler.expose.file = true (Boolean)
network.protocol-handler.external.file = true (Boolean)
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now choose &lt;em&gt;New -&gt; String&lt;/em&gt; from the popup menu, and set the value to &lt;tt&gt;thunar&lt;/tt&gt;:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
network.protocol-handler.app.file = thunar (String)
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will start thunar with containing directory (with a file:// url) as an argument. You can as well use nautilus or konqueror or  whatever here. Another possibility is to use &lt;tt&gt;open&lt;/tt&gt;, which would cause firefox itself to open the directory as a file:// url.&lt;/p&gt;

&lt;p&gt;Now type &lt;tt&gt;network.protocol-handler&lt;/tt&gt; into the about:config filter. The resulting filtered list should now include these entries:&lt;/p&gt;

&lt;p&gt;&lt;img src="/files/open-containing-folder.png" alt="Configuration Entries in about:config"/&gt;&lt;/p&gt;

&lt;p&gt;Now try it with a downloaded file, I hope it works for you.&lt;/p&gt;</description>
      <pubDate>Tue, 11 Sep 2007 21:09:00 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:bb4fdf5f-1ea0-46f9-835a-bb92d3beb063</guid>
      <author>flori@ping.de (flori)</author>
      <link>http://rubylution.ping.de/articles/2007/09/11/open-containing-folder-in-firefox-under-linux</link>
      <category>xfce</category>
      <category>linux</category>
      <category>gentoo</category>
      <category>firefox</category>
      <category>xfce4</category>
      <enclosure type="image/png" length="78667" url="http://rubylution.ping.de/files/open-containing-folder.png"/>
    </item>
    <item>
      <title>Automatically changing Background Wallpaper in XFCE4</title>
      <description>&lt;p&gt;I recently switched from the good, old trusty &lt;a href="http://www.windowmaker.info/"&gt;WindowMaker&lt;/a&gt; to &lt;a href="http://www.xfce.org/"&gt;XFCE4&lt;/a&gt; as a window manager/desktop environment.&lt;/p&gt;

&lt;p&gt;Before the switch I used &lt;code&gt;xsetbg&lt;/code&gt; in the crontab to change my background from the standard wallpaper of my theme to another image every hour. Now I configured Desktop Preferences -&gt; Image -&gt; New list to create a list of desktop images to choose from. But how to swtich every hour or at all? &lt;code&gt;xsetbg&lt;/code&gt; stopped to work under XFCE4 for some reason. It's also strange, that you can configure a list in XFCE4, but it is only used once after login in.&lt;/p&gt;

&lt;h5&gt;The solution&lt;/h5&gt;

&lt;p&gt;Put this line into your crontab:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;0 * * * * killall -USR1 xfdesktop&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will reload xfdesktop's configuration and also switch to a new backdrop image. Yeah, it's that easy, but it took me a while to figure it out.&lt;/p&gt;

&lt;p&gt;There is also the &lt;code&gt;xfdesktop -reload&lt;/code&gt; command, but I had some problems to connect to the X server from the crond. Maybe this is caused by my paranoid X configuration, though.&lt;/p&gt;</description>
      <pubDate>Fri, 31 Aug 2007 15:41:00 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:9b74bf41-071f-4aab-a4eb-30a67f6ac060</guid>
      <author>flori@ping.de (flori)</author>
      <link>http://rubylution.ping.de/articles/2007/08/31/automatically-changing-background-wallpaper-in-xfce4</link>
      <category>xfce</category>
      <category>xfce4</category>
      <category>linux</category>
      <category>gentoo</category>
    </item>
  </channel>
</rss>
