Removing the home directory icon and trash icon from desktop using custom script SuseStudio

I have just created an 11.3 64 bit image using susestudio. All seems well but would like to customize the desktop via my script that I have added. My question is how do I remove the home directory and the trash icon from the desktop? Or better said what is the path to removing the symbolic link, I cannot find the symbolic links in the desktop directory. It is empty, I do not see any symbolic links under /home/test/Desktop
???

Hi
That’s because they are both gconf settings, the keys to disable are /apps/nautilus/desktop/trash_icon_visible and /apps/nautilus/desktop/home_icon_visible both need to be set to false. So you would need script this instead.


gconftool-2 -s -t bool /apps/nautilus/desktop/trash_icon_visible false
gconftool-2 -s -t bool /apps/nautilus/desktop/home_icon_visible false

Look at using gconf-editor to browse and the man page for gconftool-2 :wink:

On 2011-03-22 15:36, metallica1973 wrote:
> I have just created an 11.3 64 bit image using susestudio

Shouldn’t you be asking this in the susestudio forum?


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

This did not work

gconftool-2 -s -t bool /apps/nautilus/desktop/trash_icon_visible false
gconftool-2 -s -t bool /apps/nautilus/desktop/home_icon_visible false

but this did

gconftool-2 --type boolean --set /apps/nautilus/desktop/trash_icon_visible false 
gconftool-2 --type boolean --set /apps/nautilus/desktop/home_icon_visible false

thanks for the help.

Thank goodness for this post or I would have never figured this out. Could they have made this any more difficult?