! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
thunar shows too much volumes
Status:
RESOLVED: WONTFIX

Comments

Description Yves-Alexis Perez editbugs 2011-04-29 15:03:03 CEST
Hey,

starting Xfce 4.8, Thunar shows a whole lot of volumes (in thunar and in xfdesktop4).

There's a way to hide them using udev rules and UDISKS_PRESENTATION_HIDE but it'd be best if this could be handled in Thunar itself.

udisks --dump reports that for those system volumes I have the following properties which could help (not sure how they are available programmatically though):


  system internal:             1
  removable:                   0
Comment 1 Jannis Pohlmann editbugs 2011-05-20 13:57:45 CEST
We could access UDISKS_PRESENTATION_HIDE but I'd rather rely on GIO to provide us with that information. IT doesn't seem like there is a GVolume property or function for this yet but proposing that would be the right thing to do.

On systems with udisks available we can probably add a workaround to check UDISKS_PRESENTATION_HIDE but it's just a hack.
Comment 2 Lionel Le Folgoc 2011-10-21 14:39:45 CEST
There's a function called g_unix_mount_is_system_internal () in gio unix, so maybe Thunar doesn't use it (I can't check right now, sorry).
Comment 3 Lionel Le Folgoc 2011-10-21 17:59:44 CEST
Actually, there's even better: g_unix_mount_guess_should_display() -- guesses whether a Unix mount should be displayed in the UI -- could probably be used, as it calls g_unix_mount_is_system_internal(), among other checks.
Comment 4 dg1727 2012-11-23 20:13:34 CET
Hi, 

(I'm using XFCE 4.10 on Xubuntu 12.10) 

There doesn't seem to be much description in this bug of which volumes are shown that shouldn't be.  Are they the internal volumes?  

For example, on a multi-boot Linux/Linux/Windows computer, the Windows partition, and Linux system partitions other than the current one, shouldn't be shown?  

This may be what the submitter of bug 9213 meant by "When starting my system I would expect that ... the internal drives are not mounted."
Comment 5 dg1727 2012-11-23 20:22:57 CET
My suggestion in comment 4 seems to conflict with bug 8292.  Maybe someone can help clarify this.
Comment 6 Harald Judt editbugs 2015-04-17 16:16:25 CEST
Reopen if the issue still exists in up-to-date versions.
Comment 7 Hakan Bayındır 2017-09-19 12:24:10 CEST
I'm having the same problem in Thunar 1.6.11. The bug is triggered after I enabled quotas on a disk. Users are seeing all system-mounted drives are removable "other device". Operating system is CentOS 7.4 1708 and running at latest patches.
Comment 8 Hakan Bayındır 2017-09-19 12:35:44 CEST
(In reply to Hakan Bayındır from comment #7)
> I'm having the same problem in Thunar 1.6.11. The bug is triggered after I
> enabled quotas on a disk. Users are seeing all system-mounted drives are
> removable "other device". Operating system is CentOS 7.4 1708 and running at
> latest patches.

Installing udisks has solved the problem, sorry for the false alarm.

Bug #7555

Reported by:
Yves-Alexis Perez
Reported on: 2011-04-29
Last modified on: 2017-09-19

People

Assignee:
Jannis Pohlmann
CC List:
6 users

Version

Attachments

Additional information