PDA

View Full Version : [ubuntu] How Can I lock the desktop icons from being deleted?



mister_p_1998
June 7th, 2008, 11:06 AM
Jus built my son a nice Hardy machine, whch runs a treat with all the educational s/ware on it. Trouble is, he keeps deleting and moving the icons on the desktop, and dragging them onto the taskbar. I want to lock them so he cant do this. Ive tried making him a lower access user, doing Sudo Nautilus and making the icons read-only to him, but he can still delete them. How do I fix this?

Steve

abhiroopb
June 7th, 2008, 01:10 PM
http://library.gnome.org/admin/deployment-guide/

mister_p_1998
June 7th, 2008, 05:07 PM
http://library.gnome.org/admin/deployment-guide/

Nope, didnt work...
I enabled lockdown on the gnome panel, and the user can still delete Icons.

bazzer
June 9th, 2008, 11:51 AM
Well, you could log in as a superuser and change permissions for the items in the Desktop folder that end in '.desktop' to read only? Also, the desktop icons are placed in position with a file in ~/.nautilus/metafiles/
It's an XML file, so I guess if you set it to read only, it shouldn't change - meaning anything added to the desktop will 'fall off' when you log off. Your mileage may vary though.