Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Hide Partitions/Drives from Nautilus (side panel)

  1. #1
    Join Date
    Sep 2007
    Location
    Alabama, USA
    Beans
    61
    Distro
    Ubuntu 10.04 Lucid Lynx

    Hide Partitions/Drives from Nautilus (side panel)

    I have 2 drives formatted NTFS, which I'm mounting with /etc/fstab to ~/Movies/ and ~/Music/ and an EXT4 partition on my primary drive for games, mounted to ~/Roms/ and I would like for these drives to NOT show up in the side panel of nautilus.

    I've been doing some looking around, and what I've found so far is that supposedly if you mount a partition/drive somewhere besides /media/ nautilus will ignore it. I'm finding this not to be the case, and it's driving me bonkers.

    here's my fstab:

    Code:
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    /dev/sda1       /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=c9af848e-ba1c-46bf-a687-d9d22fa89ebb none            swap    sw              0       0
    # Roms on /dev/sda3
    /dev/sda3	/home/john/Roms	ext4    errors=remount-ro 0       1
    # Music on /dev/sdb1
    /dev/sdb1	/home/john/Music	ntfs	rw,user,auto 0 0
    # Movies on /dev/sdc1
    /dev/sdc1	/home/john/Movies	ntfs    rw,user,auto 0 0
    I'd like all the drives mounted with fstab to be hidden from the nautilus side panel, but would like to keep any removable media still visible there.

  2. #2
    Join Date
    Mar 2009
    Beans
    927
    Distro
    Ubuntu 12.04 Precise Pangolin

    Arrow Do Not Mount at /media or /home

    I had a similar problem not long ago: I didn't want any nautilus sidebar objects or any desktop icons linking to my ~/Home partition, but couldn't find any way to get rid of them. I eventually discovered that if I mounted the partition somewhere other than /media or /home and symlinked to it, the nautilus buttons would disappear. Post here.
    Last edited by Penguin Guy; May 30th, 2010 at 04:06 PM. Reason: green arrow, title

  3. #3
    Join Date
    Sep 2007
    Location
    Alabama, USA
    Beans
    61
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hide Partitions/Drives from Nautilus (side panel)

    I'll just give this a little
    bump

  4. #4
    Join Date
    Nov 2005
    Location
    Netherlands
    Beans
    88
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hide Partitions/Drives from Nautilus (side panel)

    If you don't want a mount to show up in Nautilus just mount it under a subdir of /mnt and make a symlink to it from your homedir for easy access


    mkdir /mnt/movies
    sudo mount /dev/sdc1 /mnt/movies -o rw,user,auto
    ln -s /mnt/movies /home/john/movies
    Last edited by Jeroensum; May 30th, 2010 at 02:14 PM.
    Pwn the day

  5. #5
    Join Date
    Sep 2007
    Location
    Alabama, USA
    Beans
    61
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hide Partitions/Drives from Nautilus (side panel)

    yup, that does the trick.

    thanks =)

  6. #6
    Join Date
    Mar 2009
    Beans
    927
    Distro
    Ubuntu 12.04 Precise Pangolin

    Arrow Mark Thread as Solved

    Quote Originally Posted by ixifx View Post
    yup, that does the trick.

    thanks =)
    Glad you've found what you wanted, but it would be helpful to others if you could mark your thread as solved. Thanks.

  7. #7
    Join Date
    Sep 2007
    Location
    Alabama, USA
    Beans
    61
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hide Partitions/Drives from Nautilus (side panel)

    indeed it would.

    done and done =)

  8. #8
    Join Date
    Mar 2007
    Beans
    Hidden!

    Re: Hide Partitions/Drives from Nautilus (side panel)

    This works as long as linux can mount the partitions i have a ZFS (Open solaris) slice that does not mount and i can't hide it using this method, any other ideas?

  9. #9
    Join Date
    Mar 2009
    Beans
    927
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Hide Partitions/Drives from Nautilus (side panel)

    Quote Originally Posted by gsiliceo View Post
    This works as long as linux can mount the partitions i have a ZFS (Open solaris) slice that does not mount and i can't hide it using this method, any other ideas?
    It probably would have been a better idea to start a new thread rather than re-using this one. As for your problem, make sure you have an fstab entry for your partition - if you need help making one, please post the output of sudo fdisk -l and sudo blkid .

  10. #10
    Join Date
    Mar 2007
    Beans
    Hidden!

    Re: Hide Partitions/Drives from Nautilus (side panel)

    Is not adding to fstab the problem, ubuntu 10.04 cannot mount ZFS partitions doesn't matter what. But thanks
    I'm guessing it has something to do with a hidden nautilus configuration that allows you to disable its autofind partitions.

Page 1 of 3 123 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
  •