Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Hiding/Removing Icons< Next Oldest | Next Newest >
novdar Offline





Group: Members
Posts: 7
Joined: Nov. 2005
Posted: Dec. 03 2005,00:03 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 03 2005,05:21 QUOTE

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.*


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
novdar Offline





Group: Members
Posts: 7
Joined: Nov. 2005
Posted: Dec. 04 2005,00:45 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 04 2005,01:55 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
novdar Offline





Group: Members
Posts: 7
Joined: Nov. 2005
Posted: Dec. 05 2005,04:58 QUOTE

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.
Back to top
Profile PM 
7 replies since Dec. 03 2005,00:03 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Hiding/Removing Icons

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code