My ubuntu desktop has recently started to get really cluttered, so I was looking around if I could have show/hide Desktop Icons (like windows
) and I came across an article. I thought I'd share it with our community.
It was easy basically make an empty file, (I made mine in home folder, You can keep it where ever you want),
then paste the following,
#!/bin/bash
if ( `gconftool --get /apps/nautilus/preferences/show_desktop` == "true" ) then
gconftool --set /apps/nautilus/preferences/show_desktop \
--type boolean false
else
gconftool --set /apps/nautilus/preferences/show_desktop \
--type boolean true
fi
# EOF
close and save.
Then right-click on an empty space in your top or bottom gnome panel, select the "Add to panel" menu entry. Fill in the form in a similar way as illustrated below, making sure that you give the path to the script you just saved (also make sure the script has +x rights -i.e -right click on the script file that you have created goto properties>permissions. and check the allow to execute as a program option for the file ).
http://img2.imageshack.us/img2/4146/toggledesktopproperties.png
you can download the icon here
http://img44.imageshack.us/img44/7699/toggledesktopicon.png
I have tested this with ubuntu 9.04 but should work with any debian based linux system. Please leave your feedback. I am not the original creater of this script, all the credit goes to the original creator.
It was easy basically make an empty file, (I made mine in home folder, You can keep it where ever you want),
then paste the following,
#!/bin/bash
if ( `gconftool --get /apps/nautilus/preferences/show_desktop` == "true" ) then
gconftool --set /apps/nautilus/preferences/show_desktop \
--type boolean false
else
gconftool --set /apps/nautilus/preferences/show_desktop \
--type boolean true
fi
# EOF
close and save.
Then right-click on an empty space in your top or bottom gnome panel, select the "Add to panel" menu entry. Fill in the form in a similar way as illustrated below, making sure that you give the path to the script you just saved (also make sure the script has +x rights -i.e -right click on the script file that you have created goto properties>permissions. and check the allow to execute as a program option for the file ).
http://img2.imageshack.us/img2/4146/toggledesktopproperties.png
you can download the icon here
http://img44.imageshack.us/img44/7699/toggledesktopicon.png
I have tested this with ubuntu 9.04 but should work with any debian based linux system. Please leave your feedback. I am not the original creater of this script, all the credit goes to the original creator.