<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Wed Jun 19, 2013 6:51 am by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Wed Jun 19, 2013 6:51 am</pubDate>
  <lastBuildDate>Wed Jun 19, 2013 6:51 am</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>IceWM and the little black window startup problem</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=99350#99350</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=17553'&gt;Farcry&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed May 18, 2011 10:43 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Firstly, I'm ashamed to say it has taken me since LXF 103 to pursue Mike Saunders's strong recommendation to try IceWM. But he's so right and it is a cracking little window manager (even doing tiling as well!).&lt;br /&gt;
&lt;br /&gt;
Next, there is one irritating problem with IceWM which does seem to be a timing/race bug (in icewmtray?) going back ages (eg see &lt;a href=&quot;http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1878118&amp;amp;group_id=31&amp;amp;atid=100031&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1878118&amp;amp;group_id=31&amp;amp;atid=100031&lt;/a&gt;). It's also been reported in the Arch Linux forums at &lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?id=65608&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://bbs.archlinux.org/viewtopic.php?id=65608&lt;/a&gt; and &lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?id=78459.&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://bbs.archlinux.org/viewtopic.php?id=78459.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
What happens is that every so often the programs in the startup file get loaded, but their icons don't appear in the system tray. Instead a little indestructible black window appears. On restarting X, it always seems to correct itself. (For me it seems to happen after a power-on.)&lt;br /&gt;
&lt;br /&gt;
The solution from the second Arch thread above is to put a &amp;quot;sleep 1&amp;quot; before every command in the startup file which puts an icon in the system tray. For example:&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
sleep 1; parcellite &amp;amp;&lt;br /&gt;
sleep 1; xpad -N &amp;amp;&lt;br /&gt;
sleep 1; nm-applet --sm-disable &amp;amp;&lt;br /&gt;
sleep 1; trayclock &amp;amp;&lt;br /&gt;
sleep 1; conky &amp;amp;&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
However, I've actually found it better to create an additional script (say, called sleepy) and call it at the end of startup thus:&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;sleep 4 &amp;amp;&amp;amp; $&amp;#123;0%/*&amp;#125;/sleepy &amp;amp;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
Every program that puts an icon in the system tray is called in sleepy, without any other sleeps being required.&lt;br /&gt;
&lt;br /&gt;
Hope this might help someone else who is frustrated by such a silly problem in an otherwise excellent piece of software.&lt;br /&gt;
Mike - have you encountered this and come up with a better solution?!&lt;br /&gt;
&lt;img src=&quot;images/smiles/icon_wink.gif&quot; alt=&quot;Wink&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=99350#99350</comments>
                                        <author>Farcry</author>
                                        <pubDate>Wed May 18, 2011 10:43 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=99350#99350</guid>
                                      </item></channel></rss>