X and Fluxbox :: Hiding/Removing Icons



Looking for some help. I want to remove some icons from the desktop.  I switched to JWM which looks great.  I was able to put a new Background in the '.fluxbox/backgrounds' directory but I cannot seem to delete icons I do not want from the '.xtdesktop' directory.   I mean they go away when I use 'rm' but after a restart they come back.  I created a test file in the '.xtdesktop' directory and it survived a reboot.  I am not sure how to get rid of the icons I don't like like "Aterm". I am running DSL2 Embedded.  Thanks.
The icons are copied into /home/dsl/.xtdesktop when you boot a liveCD or frugal system.  Doesn't matter how many times you delete, they will always come back unless you remaster.  I assume it works the same in embedded.

You can have the files automatically deleted so they are gone before you see them.  Add commands to remove the unwanted files in /opt/bootlocal.sh or /home/dsl/.bash_profile and back up that file:

rm /home/dsl/.xtdesktop/Xterm.*

mikshaw,  thanks.  I was poking around today and thought I would have to remaster the KNOPPIX image.  Issuing the 'rm' command at runtime is certainly easier.  I might still go down the path of remastering the the KNOPPIX image, I found the desktop stuff in the /etc path.

I really appreciate you taking the time to point me in the right direction.  I am going to assume that I can also issue any other commad in the places you referenced.  I plan to mount another device automatically and start a service.  

DSL is pretty damn awesome.  I was playing around with SLAX but even as a local full install (not even frugal like) it was too slow.  DSL is incredible especially after boosting up the embedded version's ram to 256.

With that particular issue (removing icons), the command can be done from any standard startup script, but the two mentioned are more appropriate because they run only once in a typical DSL system.  Determining which script to use for which command mostly depends on which user needs to run the command and when it needs to run.

/opt/bootlocal.sh runs (as root) at the end of the boot process...used for anything automatically run as root (services, daemons).
/home/dsl/.bash_profile runs (as dsl) when dsl logs in...used for anything automatically run once as dsl that does not require a graphical system.
/home/dsl/.xinitrc runs when the graphical system starts...used for anything that requires a graphical interface.
/home/dsl/.bashrc runs every time you open a new shell...can be used for various things, but typically used to set aliases and bash prompt.  It runs MANY times during a typical session, so you don't want to use it for starting applications.

mikshaw.  I added the 'rm' script to .bash_profile but it still prompts to confirm the delete before the GUI started.  How can I overcome this prompting?  Also how would I place commands to change the properties of other .lnk files I want to remain on the desktop.  Thanks.
Next Page...
original here.