Re: starting Idesk automatically in IceWM on Lenny
- To: firstname.lastname@example.org
- Subject: Re: starting Idesk automatically in IceWM on Lenny
- From: "Tim Clewlow" <email@example.com>
- Date: Wed, 14 Oct 2009 10:34:57 +1100
- Message-id: <firstname.lastname@example.org>
> On Tuesday 13 October 2009 10:43:21 Tim Clewlow wrote:
>> You can rearrange the order in which things are started in your
>> .xsession file, ie you dont have to start the window manager last.
>> Basically, when the script finishes, X will close - so dont let
>> script finish - thats what the long sleeping loop at the end is
>> I'm guessing your .xsession should look something like:
>> xrdb -merge ~/.Xdefaults &
>> icewm &
>> sleep 1
>> <other apps> &
>> idesk &
>> while [ 1 ] ; do
>> sleep 1000d
>> The line 'sleep 1' is intended to be a little delay to give icewm
>> time to start up before attempting to run idesk. It may not
>> be necessary, or it may be too small a delay, it all depends on
>> idesk determines if icewm is running, ie it may look for a lock
>> created really quickly by icewm, or it may look for a process that
>> may take some time to appear.
> Thanks for this and for the lucid explanation. Sadly, it didn't
> work any
> better than the others. Differently, but not better. IceWM started
> to open,
> then x crashed out. I also tried various changes to see if they
> would help.
> E.g., as you suggested I changed the sleep time. But I also
> commented out
> and commented back in the xrdb line. It made no difference which I
> So I am left with the best being to put startx in ~/.bash_profile
> and start
> idesk from the command line - but that is not acceptable.
> I am beginning to think that either it is simply not doable, or it
> is doable -
> but not by me. :-(
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
I installed icewm and idesk, created a directory ~/.idesktop and
then started X with .xsession containing the following:
xrdb -merge ~/.Xdefaults &
while [ 1 ] ; do
Idesk seems to start up fine, ie I had icewm running and an icon at
the top left that looks kind of like a house with the text 'Idesk'
The code that never executes at all is the fastest.