Monday, January 17, 2011

Declutter your Desktop

There are all sorts of good reasons not to store files on your desktop. But if you're like me, your Desktop will look like a mess in notime...
Go to Applications > System tools > Configuration Editor

In Configuration Editor go to apps > nautilus > preferences ( bookmark ! )and uncheck show_desktop .

Make a script like this :
touch IconsDesktop.sh 
nano IconsDesktop.sh

Paste these lines :
#!/bin/bash
key_value=$(gconftool --get /apps/nautilus/preferences/show_desktop)
echo $key_value | grep "false"
if [[ $? -eq 0 ]] ; then
gconftool --type Boolean --set /apps/nautilus/preferences/show_desktop true
else
gconftool --type Boolean --set /apps/nautilus/preferences/show_desktop false
fi


chmod +x IconsDesktop.sh
mkdir ~/Scripts
mv IconsDesktop.sh Scripts/

Rightclick gnomepanel and Add to Panel...> Custom Application Launcher > Add > Name ( IconsDesktop ) > Command > Browse ( browse to DesktopIcons.sh ) > Open > OK > Close.
Change the icon to your liking....

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.