Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: Terminator3000 on September 28, 2010, 09:13:20 PM

Title: Removing default desktop icons in LXDE
Post by: Terminator3000 on September 28, 2010, 09:13:20 PM
Ive installed Microcore with the LXDE desktop which is running very nicely.
However Id like to remove some of the default icons (Exit,Appbrowser,Control panel etc) Presently they keep coming back if I just delete them so there must be some kind of config file somewhere.

Tips welcome !
Title: Re: Removing default desktop icons in LXDE
Post by: bmarkus on September 29, 2010, 02:10:01 AM
Replace the /usr/local/bin/lxde symlink with the file, then comment out the relevant if...fi section like this:

Quote
...
...

if [ ! -f ~/.config/Desktop/terminal.desktop ]; then
    cp /usr/local/share/applications/terminal.desktop ~/Desktop
fi

if [ ! -f ~/.config/Desktop/appbrowser.desktop ]; then
    cp /usr/local/share/applications/appbrowser.desktop ~/Desktop
fi

if [ ! -f ~/.config/Desktop/cpanel.desktop ]; then
    cp /usr/local/share/applications/cpanel.desktop ~/Desktop
fi

#if [ ! -f ~/.config/Desktop/exit.desktop ]; then
#    cp /usr/local/share/applications/exit.desktop ~/Desktop
#fi

...
...

This will inhibit restore of selected default desktop icons, in the above example, Exit.

Next delete /home/tc/Desktop/......desktop and add /usr/local/bin/lxde to your backup.

Please note, you can not disable MyDocuments icon on this way.
Title: Re: Removing default desktop icons in LXDE
Post by: Terminator3000 on September 29, 2010, 11:12:33 AM
Thanks Ill try this but at the moment I cant get hash sign on my keyboard !! Still trying to find how to change keymap from us to uk/gb!  (Seperate post started)
Title: Re: Removing default desktop icons in LXDE
Post by: bmarkus on September 29, 2010, 11:18:01 AM
Thanks Ill try this but at the moment I cant get hash sign on my keyboard !! Still trying to find how to change keymap from us to uk/gb!  (Seperate post started)

You can use DEL instead of # :)
Title: Re: Removing default desktop icons in LXDE
Post by: tinypoodle on September 29, 2010, 11:47:48 AM
Thanks Ill try this but at the moment I cant get hash sign on my keyboard !!

I have always gone with the default us on uk keyboards on TC (as well as in some other distros).
Not really an issue beyond from learning where what is.
Perhaps looking at keymaps on the web (and possibly print them out) might help.

Here # is where kb shows the Pound sign (shift+3).

HTH
Title: Re: Removing default desktop icons in LXDE
Post by: Terminator3000 on September 29, 2010, 12:22:35 PM
Thanks I found # key above no3 but now no uk currency symbol!!

Regarding the desktop icons lxde file is read only and cant be changed (as far as I can see) so not sure what to do there.
Title: Re: Removing default desktop icons in LXDE
Post by: gerald_clark on September 29, 2010, 12:29:10 PM
Please reread the first line of post 2.
Title: Re: Removing default desktop icons in LXDE
Post by: Terminator3000 on September 29, 2010, 12:37:29 PM
Hi yes I tried replacing the file first to a backup then directly but it just becomes a standard file not a link.Rebooting deletes any new files and brings back the old ones (not added yet to .filetool.lst) I guess I'm not entirely sure what he means by

'replace  <path> symlink with the file'

ie which file, the same one ?    There are also 2 shortcut files in the directory 1 each in upper and lower case lxde.