JfwHome

Ubuntu: Getting rid of icons for mounted network shares

by admin on Aug.04, 2009, under Linux

I have several network NFS shares that I mount in Ubuntu using /etc/fstab. While this works fine, recent versions (I think it has been annoying me since Edgy) of Ubuntu have an annoying habit of creating a desktop icon for each share.

Annoying!

Annoying!

A desktop icon is fine for an SD card, or a USB stick, but it’s not ideal when you have a ton of network shares.

It is easy to turn off all desktop icons for mounts using gconf-editor. But I still want some of them (such as the aforementioned USB sticks) to show — just not the NFS mounts.

As it turns out, the solution is actually obvious: semi-permanent items should be mounted in the right place, under /mnt. If you mount elsewhere, e.g. under /home, you get the annoying icon. Under /mnt? No icon.

Although this turned out to be quite obvious, it is new to me — for well over a year now I’ve just had all desktop mount icons turned off waiting for the solution.

:, , ,

2 Comments for this entry

  • Nick Bair

    Hey, don’t feel bad. I’ve had the same problem for years in Ubuntu. It *never* would have occurred to me to try a different mount point. I’ve searched for the answer in the past, but this post is the first time I’ve found it. Thanks for the post. And naming the mount “Annoying” for that picture was brilliant and hilarious.

  • SpeederD

    Wired and wireless works with 9.10 Remix without any tweak.

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Archives

All entries, chronologically...