I can't disable showing drive's icons in Launcher bar. I have looked for that option both in CCSM (it used to be in Experimental tab) and in dconf-editor (desktop->unity) and it is missing.

Drive icons in the launcher

How can I remove launcher drive icons?

  • 2
    Doesen't sounds like you are using Unity. Wich Desktop do you have running? Feb 22, 2013 at 12:38
  • Do you mean the shortcuts appear on the Launcher(the left-hand side vertical menu containing some applications)?
    – jobin
    Feb 22, 2013 at 12:56
  • @Jobin ya like that only
    – Sjk
    Feb 23, 2013 at 14:40
  • @prophecy201..srry iam new to ubuntu.so if u ask like which desktop using i dnt knw.i just installed ubuntu 12.04.and the default one iam using
    – Sjk
    Feb 23, 2013 at 14:42
  • got answer from superuser.com/questions/555713/…
    – Sjk
    May 21, 2013 at 9:02

8 Answers 8


(For Ubuntu 12.10 or above)

You are right that there used to be a setting in CCSM to configure the behaviour of mounts appearing in the launcher but that option has been removed in 12.10 at the moment. I can't confirm whether it will be added back again before it is released to the public. See bug report #1053704.

Currently, you only have two options: Either to show the mount drives on the launcher or to blacklist it from the launcher. You can't configure the setting depending on whether they are actually mounted or not.

So, if you want to remove it from the launcher, the only option you have is to blacklist it from the launcher.

Blacklisting it from the launcher is actually very simple. Right-click on the mount and select Unlock from Launcher.

Remove mount from launcher

Do remember that blacklisting it from launcher means you will never see it again in the future even if you mount it unless you reset the settings.

You can also blacklist the mounts using dconf-editor or gsettings command but that requires you know the UUIDs of the mounts.

If you are using dconf-editor, scroll down to comcanonicalUnitydevices and enter the UUID of the mount in blacklist.


If you want to use gsettings, you can use a command of this format:

gsettings set com.canonical.Unity.Devices blacklist "['UUID of your mount']"

Just use the UUID of your mount inside the square bracket and the single quote marks.

If you are not sure of the UUID of your mount, you can use this command:

sudo blkid -o list

It will display the partition number, their label (if any) with their UUID.

Now, if you want to reset the settings, run this command in a terminal:

gsettings reset com.canonical.Unity.Devices blacklist

Works with Ubuntu 14.04 LTS.

  • 3
    What about usb drives, phones, cameras ? They're constantly keeps showing in the launcher every time I connect them. I don't need this? Nov 30, 2012 at 10:56
  • 8
    Blacklisting might be OK for permanently attached storage, but USB drives etc still appear. I want as permanent solution to this problem for all types of drive and for installed programs would be nice too.
    – Andrew
    Dec 17, 2012 at 8:13
  • @AndrewHeath is correct, this doesn't work on USB storage drives and devices, every time they are plugged in, all the partitions and volumes icons are still automatically displayed on the launcher.
    – Peachy
    Jan 2, 2013 at 7:01
  • 1
    Also doesn't work on CDs that are inserted. This is making me crazy!
    – Dave
    Jan 23, 2013 at 18:01
  • 2
    One more detail. When you do 'Unlock from Launcher' (which does work) it is actually 'UUID-Label' in dconf rather than just 'UUID'. I'm not sure how it was in 12.10, but this is now the case for 13.04.
    – Pavel A
    May 4, 2013 at 10:35

(For Ubuntu 11.10 and 12.04)

  1. Install compizconfig-settings-manager if you haven't already.
  2. Run CompizConfig Settings Manager and navigate to the Unity plugin.
  3. In the Experimental Tab, change the Show Devices combobox to Never.

    enter image description here

  • 8
    The option is missing from ccsm in Ubuntu 12.10. It's not in Ubuntu Tweak 0.8.2 either.
    – Bucic
    Nov 21, 2012 at 17:53
  • Sweet! That was very useful Apr 24, 2015 at 15:27
  • Does this still work in 16.10?
    – orschiro
    Feb 21, 2017 at 7:25

Install MyUnity by using sudo apt-get install myunity, then run MyUnity from dash and in the Launcher section, select Never from Show Devices Drop Down menu, That's it!

  • 1
    I actually followed the answer from Jakob's link, but I guess this would work as well.
    – Benno
    May 21, 2012 at 12:23
  • Ubuntu 13.10 seem to not have myunity in common repos, where will i find it?
    – Decebal
    Jan 9, 2014 at 7:57
  • This is the easy way
    – Sudheer
    Apr 22, 2014 at 15:57

Open dconf-editor: Hit Alt+F2, type dconf-editor and hit Enter.

In dconf-editor goto: comcanonicalunitydevices.

You will see blacklist with key ['UUID-Label']. Add your UUID and devices-Label in it.


To completely disable drive icons in the Launcher for all current drives and partitions, simply run the following command:

gconftool --set /apps/compiz-1/plugins/unityshell/screen0/options/devices_option  --type=int 0

Note that this does not immediately remove any icons currently displayed in the Launcher; it simply prevents icons from appearing in the first place. Thus, any drive icons that appeared before executing this command will never re-appear once they are removed one time. Removal of an icon can be achieved, for example, by an unlock (via the icon's right-click menu) or restart of Ubuntu.

To re-enable drive icons, run the same command with a 1 instead of a 0 at the end.

This command has worked for me in both 12.04 and 14.04. Unfortunately, it doesn't seem to prevent icons from appearing when I plug in external hard drives or flash drives via USB. Nonetheless, it does stop icons for my all of my primary hard drive's partitions from appearing.

I got the command from this answer to a similar question.

  1. Press Alt+F2 and enter gconf-editor.
  2. Navigate to /apps/nautilus/desktop.
  3. Deselect volumes_visible.


  • No such command in a clean Ubuntu 23.10 installation, Wikipedia says it’s discontinued.
    – Nickolay
    Nov 22, 2023 at 12:59

To turn off showing mounts in the Ubuntu 22.04, I used the solution described here. It is as running following command in the terminal:

gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false

IT isn't working for Ubuntu 18.04 LTS. cant see apps/nautilus/desktop folder there. For that you need to install this

sudo apt-get install gnome-tweak-tool

Than follow attached images Below

  1. Search for Gnomre-Tweaks in Apps
  2. Than do this from Setting

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .