A GNOME shell extension provide capability to enable or disable desktop icons. Gnome tweak tool allows you to do the same function, but this extension brings a switch button in GNOME shell status menu for quicker and easier switching.
Desktop icon switch GNOME shell extension can be installed using “gnome-tweak-tool” or you can installed by following the instructions down below.
Download the DesktopIconsSwitch-3.tar.gz package for the extension, and extract it and move it to GNOME shell directory using commands down below.
Run Terminal “Ctrl+Alt+t”, then type,
tar -zxvf DesktopIconsSwitch-3.tar.gz
mv [email protected]/ ~/.local/share/gnome-shell/extensions/
Now open GNOME tweak tool, if you don’t have it, you can install it using this command,
GNOME tweak tool for Ubuntu and its derivatives
sudo apt-get install gnome-tweak-tool
GNOME tweak tool for Fedora and its derivatives
yum install gnome-tweak-tool
Finally, open GNOME tweak tool, select “shell extensions” and activate the Desktop Icon Switch extension.
[note]Extension tested on Ubuntu 12.10 Quantal Quetzal with GNOME shell 3.6.2[/note]