3

I have a question about unmounting the drives in Linux.

Whenever I open any drives in system its shortcut/image will be shown in the desktop. To remove that, I need to right-click on it and select unmount.

Then only that shortcut disappears. This always happens. So whenever I open any drive all of them would be there in desktop. What I need is for this not to happen. What can I do to achieve that? Can anyone help?

I am using Ubuntu 12.04. Previously I used 10.10 then the same problem was also there.

M.A.R.
  • 147
  • 1
  • 2
  • 10
Sjk
  • 207
  • 2
  • 10
  • This is a duplicate of a question at askubuntu: http://askubuntu.com/questions/27392/hide-mounted-volume-icon-on-the-desktop I would recommend posting Ubuntu specific question there in the future. – Eric G Feb 23 '13 at 22:17
  • 1
    @EricG Ubuntu questions are on topic here—it's perfectly fine to post them on Super User. We don't migrate on-topic questions away; see [Is it okay to inform users to stop promoting Apple.SE when a question is fine to stay here?](http://meta.superuser.com/questions/2967/is-it-okay-to-inform-users-to-stop-promoting-apple-se-when-a-question-is-fine-to) (same for Ubuntu) – slhck Feb 23 '13 at 22:40
  • @slhck, the bigger issue was it was a duplicate question, but its not on the list for dup questions in th flag; I see this question is generally enough to work here too. – Eric G Feb 23 '13 at 22:48
  • @EricG Ask Ubuntu and Super User are absolutely unrelated in that regard. If there are questions about the same things on both sites, so be it. It's not an issue, really. – slhck Feb 23 '13 at 22:50

3 Answers3

2

This can be removed by Changing a value in Gnome-configuration-Editor

Run gconf-editor

if dont have it install it by apt-get install gconf-editor

after opening go to apps->nautilus->desktop and uncheck

Sreevisakh
  • 129
  • 1
  • 8
1

This was addressed on Ask Ubuntu a few times, here is a post with some screenshots that may be useful:

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

If you want your other volumes to be visible, you will have to add them manually:

  1. Right click on desktop and click 'Create Launcher...'
  2. Change the type to 'Location'
  3. Change the name to suit you.
  4. Browse for the volume.
  5. Change the icon to the 'block device' icon at /usr/share/icons/YOUR_THEME/devices/48/block-device.svg
  6. Click OK.

    launcher

slhck
  • 223,558
  • 70
  • 607
  • 592
Eric G
  • 1,016
  • 7
  • 22
  • but in nautilus folder only preference is present.I think i need to install something else.can u tell me what is it? – Sjk Feb 25 '13 at 11:32
0

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