Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have the hard disk icon for each of my partitions on my Gnome desktop.

I want a clean look, how do I hide them?

share|improve this question

4 Answers 4

up vote 8 down vote accepted
  1. Type "gconf-editor" into a terminal window to run the Configuration Editor.

  2. In the left hand tree, browse to apps / nautilus / desktop

  3. In the right hand side, untick the "volumnes_visible" option.

Close the configuration editor. You may have to restart for the changes to take effect.

You can find more information on How-To Geek.

share|improve this answer

Also take a look at Ubuntu Tweak. It's got a lot of settings that are in gconf-editor in a nice gui setup.

share|improve this answer
    
+1: a downvote with no explanation isn't very useful. Is it because Tweak doesn't work, or because it isn't part of the Gnome suite? It certainly can't be that the answer failed to address the question. –  msw Sep 23 '10 at 2:26
    
I'm not sure why I was downvoted, and decided to not comment snarkily last night, lest my reputation drop more. Thanks for the support, msw. And I think it does answer the question. It's not in the repos, but it's a nice all-in-one program to change settings without using gconf-editor. I do agree that gconf-editor is the more "correct" way to go about things though. –  gamerchick02 Sep 23 '10 at 14:18

To Hide Selected Partitions

If you wish to prevent certain partitions or drives appearing on the desktop, you can create a udev rule, for example /etc/udev/rules.d/10-local.rules:

KERNEL=="sdaX", ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sdaY", ENV{UDISKS_PRESENTATION_HIDE}="1"

Would show all partitions with the exception of sdaX and sdaY on your desktop.

Notice, if you are using udisk2 the above will not work, due to the UDISKS_PRESENTATION_HIDE no longer being supported, instead you must use UDISKS_IGNORE as follows

KERNEL=="sdaX", ENV{UDISKS_IGNORE}="1"
KERNEL=="sdaY", ENV{UDISKS_IGNORE}="1"

This answer was culled from: https://wiki.archlinux.org/index.php/Xfce4#Hide_Selected_Partitions and though it's Arch and xfce it applies since Ubuntu uses /etc/udev/rules.d And udisks is installed as part of gvfs if I'm not mistaken. :-).

share|improve this answer

ailurus which can be installed from this ppa makes it easy. Once you install it with

sudo add-apt-repository ppa:ailurus/ppa && sudo apt-get update && sudo apt-get install ailurus
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.