removing mydsl desktop iconsForum: X and Fluxbox Topic: removing mydsl desktop icons started by: AJamesLorenz Posted by AJamesLorenz on Aug. 17 2004,22:48
Ok, i'v been playing around with this one for a couple of days now. and i cannot figure it out.i'v edited .xtdesktop so that my icons and what not look exactly as i want them to. but everytime i restart and restore all of the mydsl icons come back and clutter up the screen again. any thoughts on how to stop them from over taking my screen everytime? all the other icons even the mydsl icons that i want on my desktop restore exactly as i want them to. just the ones that i delete show up to there default location. :-( thanks fuzzy Posted by optixz on Aug. 19 2004,15:05
once you edit your icons, do another backup.It sounds like you are restoring from a previous save with without all the changes you made. Hope this helps. Posted by clivesay on Aug. 19 2004,15:36
If you are restoring to a livecd, your backup tar.gz is just adding your custom icons but is not removing the base icons that are part of the CD. The only way I have found around this is by having a script that deletes the default icons in .xtdesktop/ before restoring your custom ones. I am not experienced enough with DSL to know if commands can be run from the filetool.lst or not? If they can, you would have something like: rm -f /home/knoppix/.xtdesktop/* before the line where you are restoring your icons. Someone will correct me if I am way off base! Chris Posted by cbagger01 on Aug. 19 2004,16:07
clivesay's method will work fine.Another way to do it is to modify your filetool.lst so that it does not back up the entire .xtdesktop directory. Instead, only backup the files that you wish to save, one-by-one. For example, if I did not want to backup all of the default desktop icons but instead just the icons for a program called Opera, I would do something like this: Remove the "/home/dsl/.xtdesktop" line from the filetool.lst Add the following lines: /home/dsl/.xtdesktop/opera.png /home/dsl/.xtdesktop/opera.lnk And when I run the backup program it will no longer grab all of the default icon and default lnk files. HTH Posted by clivesay on Aug. 19 2004,16:56
CB - I might be confusing myself here but even if you designate specific icons to restore, won't all of the original icons still exist when you boot up the liveCD and restore since they are part of the base DSL? I would think you would have to clear out the .xtdesktop/ dir before you added your custom icons from your backup.tar.gz? If I understand correctly, his problem is that the desktop contains his icons and settings as well as the original DSL icons and settings. Chris Posted by cbagger01 on Aug. 19 2004,22:14
Oops.I thought that the problem was that he was clobbering the default icons with his backup file, not the other way around. My bad. Do what clivesay says. Unlike some of us, he knows how to read. Posted by clivesay on Aug. 19 2004,23:04
CB -I just recognize the issue because I had to deal with it myself. Can you add a command to the filetool.lst that executes when restoring? I have never tried that. Chris Posted by cbagger01 on Aug. 19 2004,23:49
No, but you can use the bootlocal.sh script to do stuff like that.Just add your commands to the bootlocal.sh script and make sure that the file "bootlocal.sh" is mentioned inside your filetool.sh and you are in business. See here for some more info: < http://damnsmalllinux.org/cgi-bin....ocal.sh > Posted by AJamesLorenz on Aug. 20 2004,05:29
thanks a million guys!
Posted by clivesay on Aug. 20 2004,17:48
James - If you want to remove the icons from your copy of the mydsl files, check out this post by Kent. It is very detailed and works perfectly to create clean .dsl files after editing. It should probably be a sticky in the MyDSL extension area. I think it's invaluable information! < Editing .dsl files > Chris |