Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Icon from mounted partition always appears in desktop

  1. #1
    Join Date
    Apr 2008
    Location
    Porto Alegre - Brazil
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Icon from mounted partition always appears in desktop

    Hi, I set my fstab to auto mount one of my partitions in ~/Music.
    It works perfectly, but there is always the icon in the desktop pointing to my partition with the name "40 GB FileSystem". The idea behind mounting it automatically to ~./Music was for the partition to be transparent to me...
    Is there a way to remove that icon from the desktop and from the Places menu?

  2. #2
    Join Date
    Mar 2010
    Beans
    87
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Icon from mounted partition always appears in desktop

    Open a terminal:

    $gconf-editor

    go to
    apps > nautilus > desktop > volumes_visible (unselect) to remove *ALL* volume icons.

  3. #3
    Join Date
    Apr 2008
    Location
    Porto Alegre - Brazil
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Icon from mounted partition always appears in desktop

    Quote Originally Posted by alem189 View Post
    Open a terminal:

    $gconf-editor

    go to
    apps > nautilus > desktop > volumes_visible (unselect) to remove *ALL* volume icons.
    Thanks for the quick answer,

    Does that affect network locations opened too?
    It's just that icon that I don't want to see because is automounted every time I boot is there a way to just mark that one not to be shown?...

  4. #4
    Join Date
    Mar 2010
    Beans
    87
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Icon from mounted partition always appears in desktop

    Well, another thing I think would work is mounting the partition in /mnt, and the symbolically linking to ~/Music to it. But maybe that won't work. You may find more useful information in this thread, which I got my first post from.

  5. #5
    Join Date
    Dec 2005
    Beans
    697

    Re: Icon from mounted partition always appears in desktop

    Quote Originally Posted by ressaw View Post
    Does that affect network locations opened too?
    It's just that icon that I don't want to see because is automounted every time I boot is there a way to just mark that one not to be shown?...
    AFAIK that shouldn't affect networks, just removable volumes (USB drive, CD, DVD, etc...)

  6. #6
    Join Date
    Apr 2008
    Location
    Porto Alegre - Brazil
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Icon from mounted partition always appears in desktop

    Is there no other way? Just to disable THAT mounted partition not to show?

    This is my fstab:

    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    /dev/sda1 / ext4 errors=remount-ro 0 1
    /dev/sdb1 /home ext4 defaults 0 2
    /dev/sda5 /home/ressaw/Music ext4 defaults 0 2

    As you can see, There are two hard drives. The one that is mounted in /home doesn't show in the desktop, only sda5. It makes no sense. Is there any difference between them?

  7. #7
    Join Date
    Dec 2005
    Beans
    697

    Re: Icon from mounted partition always appears in desktop

    Sorry, I have experience with multiple OSes on one drive, but no experience with one OS on multiple drives. I hope someone else can help you.

  8. #8
    Join Date
    Apr 2008
    Location
    Porto Alegre - Brazil
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Icon from mounted partition always appears in desktop

    Sorry to do this, but I think there should be an easy answer for this
    *bump*

  9. #9
    Join Date
    Jun 2006
    Beans
    Hidden!

    Re: Icon from mounted partition always appears in desktop

    I've just done this exact same thing for my Media partition. The only fix I've found is to mount the partition in /mnt and symlink it from my home directory.

    My fstab (edited for clarity):

    Code:
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    /dev/sda1       /               ext4    errors=remount-ro 0       1
    /dev/sda5       /home           ext4    defaults        0       2
    /dev/sda6       /mnt/meeja     vfat    uid=1000,gid=1000,utf8        0       2
    After editing that, I did:

    Code:
    ~$ sudo umount /home/truant/Media
    ~$ sudo mkdir /mnt/meeja
    ~$ sudo chmod 777 /mnt/meeja
    ~$ sudo mount -a
    To remove the old mount, create the new one, set it's permissions and mount the filesystem to it.

    Then just:

    Code:
    ~$ ln -s /mnt/meeja/ /home/truant/Media
    To create the link in my home directory. My media partition now doesn't show up on either my Desktop or Nautilus's sidebar.

    Hope this helps. Ask if anything is unclear.

  10. #10
    Join Date
    Apr 2008
    Location
    Porto Alegre - Brazil
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Icon from mounted partition always appears in desktop

    Perfect. It works.
    Thank you very much,

    but just for the sake of knowledge, what is the difference between mounting to the directory it was before and mounting it to /mnt/xxxx

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •