[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
Thanks, it's working fine here now. (I had to do a full reinstall of the gvfs packages after uninstalling my local version before the repository version would run would run again - I think systemd might be caching things somewhere.) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gvfs in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
This bug was fixed in the package gvfs - 1.28.2-1ubuntu2 --- gvfs (1.28.2-1ubuntu2) yakkety; urgency=medium * debian/patches/0001-monitor-Add-g_drive_is_removable-support.patch: Cherry-pick patch from upstream. Use udisk2's is-removable property to detect whether drives are removable or not. This fixes coldplugged USB devices not showing up in the Nautilus sidebar. (LP: #1618370) -- Iain Lane Wed, 21 Sep 2016 12:20:48 +0100 ** Changed in: gvfs (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gvfs in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
I came across this bug - I've cherry-picked the patch and uploaded it. Let this bug know if it doesn't work (once it's been automatically closed). ** Changed in: gvfs (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gvfs in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
** Changed in: gvfs (Ubuntu) Importance: Undecided => High ** Changed in: gvfs (Ubuntu) Status: New => Triaged ** Tags added: rls-y-incoming -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gvfs in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
How do I request a backport for the gvfs patch? I can't assign the upstream bug to the gvfs associated package in this bug and I can't delete the association with the 'nautilus' package, although it is not relevant. The rationale for backporting the gvfs patch is: 1. Upstream applied four patches to improve detection of drives in nautilus (four patches to add the g_drive_is_removable() function). 2. Three of the patches have been backported but the gvfs patch was missed. 3. The gvfs patch fixes the issue where USB drives are not shown in nautilus' sidebar if they are attached at reboot. 4. As far I can tell it doesn't introduce any new issues. (The purpose of the patch is essentially for gvfs to treat USB drives as external (removable) drives by using the information provided by udisks2.) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gvfs in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
** No longer affects: nautilus (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gvfs in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
** Changed in: nautilus Status: Confirmed => Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gvfs in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
Ok, I'm pretty certain that https://bug765457.bugzilla- attachments.gnome.org/attachment.cgi?id=327716 (from bug https://bugzilla.gnome.org/show_bug.cgi?id=765457) is the patch that fixes this issue, because I'm looking at nautilus' sidebar right now and my drives show up both after being hotplugged and after a reboot. There's a lot more info in the upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=770923 (which is now closed as not-a-gnome-bug), but to summarise: * Gnome modified nautilus v3.22 to (additionally) use the Removable property exposed by udisks2 when deciding to show volumes in the sidebar and Other Locations. * This required patches to gvfs, glib, gtk+ to support a new function, g_drive_is_removable(). See comment #8 at the upstream bug for the related bugs and patches. It also mentions nautilus but that's only for 'Other Locations', not the sidebar. * For 3.20, Debian has already backported these patches to glib and gtk+ (and possibly nautilus). * The only patch missing is the gvfs patch at https://bug765457 .bugzilla-attachments.gnome.org/attachment.cgi?id=327716. * The gvfs patch applies cleanly to Ubuntu's version of gvfs (1.28.2-1ubuntu1), and with it applied, my drive appears in the nautilus sidebar even after reboot. The only caveat I have is that it took me a while to figure out how to get the patched gfvs daemons running in Ubuntu, as "sudo make install" installs them to /usr/local/lib/libexec, but Ubuntu keeps running the daemons from /usr/lib/gvfs. I eventually found systemd files for the daemons in /usr/lib/systemd/user and modified the gfvs-udisks2-volume-monitor.service to run from /usr/local/libexec. It didn't work after the first reboot, so I changed it back (I commented out my new ExecStart line and restored the old one) and rebooted again. However, something persisted because ps xa now shows that all the gvfs daemons are being run from /usr/local/libexec (and not just the udisks one) and, most importantly, nautilus' sidebar is working fine. If anyone can tell me how I eventually managed to get the daemons running from the correct place and how to get them working again if Ubuntu changes its mind, that would be fantastic... ** Bug watch added: GNOME Bug Tracker #765457 https://bugzilla.gnome.org/show_bug.cgi?id=765457 ** Also affects: gvfs (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
** Changed in: nautilus Status: Invalid => Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
The patch for that commit works without any changes with the current gvfs in yakkety (1.28.2). With the patch applied I see the is_removable variable using the gvfs-mount -li command, eg: Drive(0): WDC WD40EZRX-00SPEB0 Type: GProxyDrive (GProxyVolumeMonitorUDisks2) ids: unix-device: '/dev/sda' themed icons: [drive-harddisk-usb] [drive-harddisk] [drive] symbolic themed icons: [drive-harddisk-usb-symbolic] [drive-harddisk-symbolic] [drive-symbolic] [drive-harddisk-usb] [drive-harddisk] [drive] is_removable=0 is_media_removable=0 has_media=1 Unfortunately that variable is set to zero for all my drives, irrespective of whether they are external or are plugged in at reboot, so now I don't see anything appear in the sidebar, not even the SD card. (Actually, I see something appear briefly when I insert the card and then it disappears.) Upstream, they think that is_removable is just a copy of /sys/block//removable, and for me that is set to zero for USB and SD devices (but not for CDs). For instance, with kernel 4.6.0-10, for a USB device /dev/sdb: $ readlink -f /sys/block/sdb/device /sys/devices/pci:00/:00:0c.0/usb2/2-1/2-1:1.0/host3/target3:0:0/3:0:0:0 $ cat /sys/block/sdb/removable 0 I wonder if that variable is supposed to represent removable media as opposed to a removable drive? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
right, gtk has the patch but we might need https://git.gnome.org/browse/gvfs/commit/?id=b7986553f as well there if somebody wants to try backporting that one... -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
** Changed in: nautilus Status: Unknown => Invalid ** Changed in: nautilus Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
you should report a new bug -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
Other Places doesn't work at all anymore - clicking on it does nothing. Should I report this as another bug, or is it a known issue? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
The upstream bug is marked a duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=765924, "Improve external drives detection" (which specifically mentions the issue of drives not being recognised if they are plugged in at login), and the fix according to this bug appears to be in commit https://git.gnome.org/browse/gtk%2B/commit/?id=55751fc. So I got the ubuntu source for gtk+3.0-3.29.9, and it looks like it already has that commit in it. Firstly, it includes these files: ./debian/patches/0001-Improve-external-drives-detection.patch ./.pc/0001-Improve-external-drives-detection.patch and secondly, the changes in that commit is in the source for the files: configure.ac gtk/gtkplacessidebar.c gtk/gtkplacesview.c Does that mean the patch that is supposed to fix this bug is already applied in Ubuntu's version of gtk+? If so, it doesn't work. ** Bug watch added: GNOME Bug Tracker #765924 https://bugzilla.gnome.org/show_bug.cgi?id=765924 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
Drat. So is the recommendation to use another file manager such as Nemo? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
Upstream says it's fixed in the newest not-stable-yet serie and can't easily be backported so I guess that's not going to be fixed for 16.10 but rather next cycle ** Changed in: nautilus (Ubuntu) Status: New => Fix Committed ** Also affects: nautilus via https://bugzilla.gnome.org/show_bug.cgi?id=770923 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
Reported at https://bugzilla.gnome.org/show_bug.cgi?id=770923. ** Bug watch added: GNOME Bug Tracker #770923 https://bugzilla.gnome.org/show_bug.cgi?id=770923 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance. ** Changed in: nautilus (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1618370] Re: nautilus does not show external drives in sidebar if plugged in on reboot
Now the mounted drive doesn't show anywhere in nautilus! I plugged the drive in this time, and although it appears in the unity launcher (megitsune), nautilus isn't showing it in either the sidebar or 'Other Locations'. ** Attachment added: "mount not showing at all.png" https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1618370/+attachment/4733907/+files/mount%20not%20showing%20at%20all.png -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/1618370 Title: nautilus does not show external drives in sidebar if plugged in on reboot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1618370/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs