X and Fluxbox :: .fluxbox/slitlist gets overwritten! ?!



I am regularly remastering my dsl.  Works great for me in every way, I'm so satisfied, kudos to the developers!  I have one nagging issue:

My /home/dsl directory is initially empty, and it gets automatically repopulated with the contents of /etc/skel.  This works fine, except ONE FILE doesn't get properly repopulated:  /home/dsl/.fluxbox/slitlist.  Every time I boot, I get the default slit with six items (wmnetwork, wmcpuload, asmem, dmix, and mount).  My /etc/skel/.fluxbox/slitlist only has three items, but my /home/dsl/.fluxbox/slitlist gets all six items in it!

I tried editing /home/dsl/.fluxbox/slitlist, saving it, changing it to read-only, changing /home/dsl/.fluxbox to read-only, then exiting the desktop.  At the text-mode prompt, I verify that /home/dsl/.fluxbox/slitlist is still my edited version.  Then I exit the text-mode prompt, which runs the desktop again -- and voila!  My slit is back to the default!  I check the slitlist file and it is back to the default six items.

It seems that the /home/dsl/.fluxbox/slitlist file is somehow  getting overwritten by fluxbox itself when the desktop is brought up.

How can I force the desktop to obey my slitlist?

Dave

What do you want it to do?  In fluxbox stable, the only purpose of the slitlist is to show the order in which the apps are arranged.  If you're looking for a way to control which apps are being loaded, look in /home/dsl/.xinitrc
Hmmm.... This is all I have in my .xinitrc:

Code Sample

# put X windows programs that you want started here.
# Be sure to add at the end of each command the &
if egrep -qv noicons /proc/cmdline 2>/dev/null; then
 enhance &>/dev/null &
fi
#dillo /usr/share/doc/dsl/getting_started.html &>/dev/null &
fluxbox 2>/dev/null

I can't see where in this the slit is getting populated.  That's why I thought it must be in slitlist.

Dave

Well, then...you have what I would call an "old" version of DSL, unless you carried your .xinitrc file over from an older installation. I think enhance was removed from .xinitrc somewhere between 1.5 and 2.0

In this case, the "enhance" script (/usr/bin/enhance) is what controls which dockapps are being started.  You can either edit this script, or replace the enhance command in .xinitrc with the apps you want to load.

That did it!  Thanks!!  :laugh:
Next Page...
original here.