Linux Lite Forums

Full Version: How to not display a partition on desktop by default?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I have a partition that displays on the desktop by default (see pic below). I'd like to not display it. How should I do that?

Extra info:
  • The partition is unmounted by default (which is what I want). The icon still shows up as an unmounted partition though, which is what I'm trying to get rid of.

  • In case this has any bearing on anything, the partition is an ext4 that I had saved from a previous install https://www.linuxliteos.com/forums/insta...(an-ext4)/ . It contains data and backups that I don't want to lose, so I do want to keep the partition and everything in it - I just don't want it displayed on desktop. Thanks.


[Image: scaled_full_2b4313e276a32645db3e.jpg]
>Menu>Settings>Settings Manager>Desktop>Icons>Removable Devices> Uncheck >>Disks and Drives

TC
Thanks for taking the time to reply, [member=5916]trinidad[/member] . This method works but has the unfortunate side-effect of also not showing any USB drives that I insert.
Hi [member=6960]Vera[/member]  I think the problem here is that although the partition is internal it does not have a fixed mount point so the OS sees it as a removable drive. Trinidad's answer was correct but as you have found out it has the effect of not showing any removable drive on the desktop anymore.

I think the only way to achieve what you want is to add the partition to the fstab, it will be available to mount in your file manager but will not appear on your desktop as a removable drive.

The following link should help with editing the fstab Smile

Code:
https://help.ubuntu.com/community/Fstab

Hope this helps Smile
Thank you, [member=7644]DeepThought[/member] ! Brilliant - exactly what I needed. Although I knew that I hadn't specified a mount point, I thought that was an entirely separate issue. I didn't realize that this was in fact related to the issue of the partition being displayed.

So actually, I was going to open another post about the mount point issue, but you have managed to solve that question before I even asked it!! Thanks so much! OK then, marking this thread as solved.

Thank you to both, I really appreciate the help and care that my system and I are getting on the LL forums.
[member=6960]Vera[/member]  Glad it was of some help Smile