I am using xfce 4.8 on Debian unstable. The places-plugin's version is 1.2.0-3. I mount my hard disks/partitions through the fstab. Thunar's panel doesn't show them. However, they are shown in Nautilus or the gtk "open dialog". This same behaviour is seen in xfdesktop and xfce4-places-plugin. I will create the relevant bug reports and mention them here.
(In reply to comment #0) > I am using xfce 4.8 on Debian unstable. The places-plugin's version is 1.2.0-3. > > I mount my hard disks/partitions through the fstab. Thunar's panel doesn't > show them. However, they are shown in Nautilus or the gtk "open dialog". > > This same behaviour is seen in xfdesktop and xfce4-places-plugin. I will create > the relevant bug reports and mention them here. Sorry. Copy/paste error. -I am using xfce 4.8 on Debian unstable. The places-plugin's version is 1.2.0-3. +I am using xfce 4.8 on Debian unstable.
The xfdesktop bug-> https://bugzilla.xfce.org/show_bug.cgi?id=7668 The xfce4-places-plugin bug-> https://bugzilla.xfce.org/show_bug.cgi?id=7666
IMHO, it's GTK+'s open dialog and Nautilus that are not behaving correctly. Thunar aims at hiding every volume/partition/mount that is considered system-internal. This includes entries in /etc/fstab that GIO (or udisks rather) does not detect as user-mountable. If you have your UID set correctly in /etc/fstab and whatever is necessary to allow your user to mount/unmount the partition from the command line without requiring authentication, and Thunar still does not show the partition, then either GIO or udisks are malfunctioning. I assume that g_unix_is_mount_path_system_internal() returns TRUE or g_unix_mount_point_is_user_mountable() returns FALSE for your partition. Either that, or g_volume_can_eject(), g_drive_is_media_removable(), g_mount_can_unmount() and g_volume_can_mount() all return FALSE. One of these functions is wrong. This should probably be forwarded to the GLib/GVfs/gnome-disk-utility/udisks (in decreasing priority) developers. Here's a reference to how we use these functions: http://git.xfce.org/xfce/thunar/tree/thunar/thunar-gio-extensions.c#n409
(In reply to comment #3) > If you have your UID set correctly in /etc/fstab and whatever is necessary to > allow your user to mount/unmount the partition from the command line without > requiring authentication, and Thunar still does not show the partition, then > either GIO or udisks are malfunctioning. Actually my user cannot unmount these volumes. I have to use sudo to unmount. > > I assume that > > g_unix_is_mount_path_system_internal() > > returns TRUE or > > g_unix_mount_point_is_user_mountable() > > returns FALSE for your partition. Either that, or > > g_volume_can_eject(), > g_drive_is_media_removable(), > g_mount_can_unmount() and > g_volume_can_mount() > > all return FALSE. One of these functions is wrong. This should probably be > forwarded to the GLib/GVfs/gnome-disk-utility/udisks (in decreasing priority) > developers. Here's a reference to how we use these functions: > > http://git.xfce.org/xfce/thunar/tree/thunar/thunar-gio-extensions.c#n409 I will check which of these functions return TRUE/FALSE and report later. If Thunar/xfdesktop/xfce4-places-plugin show these volumes it would be a major usability improvement for me. I now have to navigate manually to my mount points under "/media" which is a waste of time.
(In reply to comment #4) > (In reply to comment #3) > > If you have your UID set correctly in /etc/fstab and whatever is necessary to > > allow your user to mount/unmount the partition from the command line without > > requiring authentication, and Thunar still does not show the partition, then > > either GIO or udisks are malfunctioning. > > Actually my user cannot unmount these volumes. I have to use sudo to unmount. Our policy is not to display anything the current user cannot control. If a partition cannot be mounted and unmounted by the user logged in, it's not displayed. This at least will not change. You can maybe configure /etc/fstab so that your user can mount/unmount the partition without sudo. Maybe that works (if supported by the GIO stack).
(In reply to comment #5) > Our policy is not to display anything the current user cannot control. If a > partition cannot be mounted and unmounted by the user logged in, it's not > displayed. This at least will not change. Bummer. I suppose you want to display a button/option to mount/unmount the volume to the user and fstab-mounts render it unusable... But this can be detected and the button/option not shown. I feel that the team should reconsider the policy for this case... New Policy: Show (almost) everything but inform(visually?) the user that he doesn't have control over this or that.
I think that would cause all internal partitions to be displayed as well because, according to my knowledge, GIO always assumes they can be mounted by the user. I have a partition setup with separate partitions for /boot, /, /home etc. and all those partitions would show up as "200 MB Partition", "10 GB Partition" etc. That's hardly desirable.
(In reply to comment #7) > I have a partition setup with separate partitions for /boot, /, /home > etc. and all those partitions would show up as "200 MB Partition", "10 GB > Partition" etc. > > That's hardly desirable. Yes I see where you're coming from. This would be indeed be nasty. But one question (because I couldn't tell if you know or assume that Nautilus/gtk-open-dialog behave this way): If you have a Gtk "open/save common dialog" open do these partitions show up separately?
*** Bug 8861 has been marked as a duplicate of this bug. ***
Closing old bug.