[SOLVED] How to get rid of those desktop icons?

Forums for the KDE Edition
Forum rules
Before you post please read this

[SOLVED] How to get rid of those desktop icons?

Postby Schoelje on Sat Jul 14, 2012 6:20 pm

I'm trying to build LMDE with KDE desktop (viewtopic.php?f=61&t=106426), but how can I get rid of those pesky desktop icons (Home and Trash) for each new user that is being created.

I searched everywhere for a config file or script that creates (or copies) the home.desktop and trash.desktop file to the new user's desktop, but I could not find any.

The goal is that every time a new user is created his desktop will be immaculately clean...no icons, just the folderview and a wallpaper.

Who can help?

[SOLVED]
Code: Select all
sudo rm -v /usr/share/kde4/apps/kio_desktop/directory.trash
sudo rm -rv /usr/share/kde4/apps/kio_desktop/DesktopLinks
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands

Linux Mint is funded by ads and donations.
 

Re: [SOLVED] How to get rid of those desktop icons?

Postby dagon on Tue Jul 17, 2012 7:39 am

Schoelje wrote:[SOLVED]
Code: Select all
sudo rm -v /usr/share/kde4/apps/kio_desktop/directory.trash
sudo rm -rv /usr/share/kde4/apps/kio_desktop/DesktopLinks

I don't think that will work. Just removing a file in there could backfire as it might get recreated when you update the system sometime in the future.

Go to the source instead. New users are created from a template in /etc/skel
http://www.skolelinux.no/~klaus/newnotater/x2895.html
Image
User avatar
dagon
Level 7
Level 7
 
Posts: 1690
Joined: Mon Dec 06, 2010 4:33 am
Location: Kungälv, Sweden

Re: [SOLVED] How to get rid of those desktop icons?

Postby Schoelje on Tue Jul 17, 2012 8:25 am

Yes, you are right.
Removing the files instead of using skel is what the Mint team had decided for their distributions.
But if you reinstall kde-runtime-data, the files are recreated.
Creating /etc/skel/Desktop (but musn't be empty, so I included the .desktop file) does prevent the creation of the desktop icons
Thanks!
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands


Return to KDE

Who is online

Users browsing this forum: No registered users and 9 guests