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
 

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

reply to topic new topic new poll
Topic: Remove icon installed from mydsl extension, Firefox 1.0PR< Next Oldest | Next Newest >
thorzul Offline





Group: Members
Posts: 5
Joined: Feb. 2005
Posted: Mar. 14 2005,19:46 QUOTE

I installed the 1.0PR Firefox .dsl, and it creates an icon on the desktop. The original .9x Firefox is still installed, and it also has an icon on the desktop. I wanted to remove the 1.0PR icon and just use the original one (the graphic is better, some of the icon is transparent, instead of a blue border). I edited the firefox.lnk in .xtdesktop, changing the program that is called, and deleted the firefox-1.0PR.lnk and graphic.
However, as you can probably figure out, on a reboot restore DSL installs the .dsl applications listed in /cdrom and then restors the backup.tgz. And the firefox-1.0PR.lnk shows up again.

Is there a way to remove a file as part of the backup procedure - a kind of negation to filetool.lst? Such as being able to say:

/home/dsl/.xtdesktop
!/home/dsl/firefox-1.0PR.lnk

Which would restore the links in .xtdesktop, but remove the file 'firefox-1.0PR.lnk' if it exists.

Is there a way to do this?

I'm not adverse to using a script that would run on system startup to remove the link, but I'm looking for something a little more elegant.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 14 2005,19:54 QUOTE

/opt/bootlocal.sh is for commands to run at boottime, right after restore.  Put in something like "rm -f /home/dsl/.xtdesk/firefox-1.0PR.lnk".

You might instead rename your firefox ink file in your backups to firefox-1.0PR.lnk, which should overwrite the other one.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Mar. 14 2005,19:46 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Remove icon installed from mydsl extension

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