Article 573TW XFCE / thunar behavior question with mounts

XFCE / thunar behavior question with mounts

by
obobskivich
from LinuxQuestions.org on (#573TW)
This is a 'weird' thing I'm seeing with XFCE / thunar (running in Xubuntu 20.04) - I added a new (blank) hard drive to my computer, and I mounted it at /home/user/drive - that all works and the drive is fine as best as I can tell (I've loaded some data to it and it seems okay). However with XFCE setup to show icons for 'removable drives' the drive now appears on my desktop (even though in GNOME Disks I unselected 'show in user interface' and can confirm this is still not set), and when opening thunar the drive appears twice (one right after the other) under Devices - and one even shows a removable media eject button.

The drive is not a thumb drive/DVD-RAM - it's an NVME device (nvme0n1) formatted ext4.

I checked fstab and it looks the same as all my other internal disks - listed by UUID, lined up to /home/user/drive, but GNOME Disks added the flags 'nosuid' and 'nodev' which from some quick googling appears to just be a security/over-cautious feature (it shouldn't be telling the machine this is 'removable' media from what I can tell though).

I disabled 'show icons' on XFCE Desktop (so I have no icons for any removable storage - that's actually a fine change for me because seeing DVD/CD/USB devices pop up can be cluttered), but seeing it appear twice in thunar is a bit peculiar (and this is more what I'd like to change/"fix"). According to thunar the drive is mounted at both /home/user/drive (entry #1) and /media/user/drive (entry #2) - lsblk reports it as /dev/nvme0n1p1 -> /home/user/drive. Is there any way to 'correct' the behavior in thunar (and perhaps XFCE) showing this drive as if it were a removable device?latest?d=yIl2AUoC8zA latest?i=5h77YJ1NKFo:yuPXqYHWK9M:F7zBnMy latest?i=5h77YJ1NKFo:yuPXqYHWK9M:V_sGLiP latest?d=qj6IDK7rITs latest?i=5h77YJ1NKFo:yuPXqYHWK9M:gIN9vFw5h77YJ1NKFo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments