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 Desktop Packages, 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 Status in Nautilus: Confirmed Status in gvfs package in Ubuntu: New Status in nautilus package in Ubuntu: Fix Committed Bug description: nautilus 3.20 should show external drivers in its sidebar (I believe this is the case since 3.19). It always shows my SD card drive in the sidebar, but it only shows external USB drives in the sidebar if I plug them in once I have logged into the desktop. If they are plugged in during a reboot and I log in, they only appear in 'Other Locations' (and the SD card does not appear there; I don't know if that's a bug or not). If I unmount the external drives and remount them, they still only appear in 'Other Locations'. I have to unmount them, remove them and plug them back in for them to appear in the sidebar. The attached shows nautilus with 3 drives plugged in. The SD card appears in the sidebar, but the USB drives (a btrfs and another with a btrfs and a ntfs partition) only are in 'Other Locations'. ProblemType: Bug DistroRelease: Ubuntu 16.10 Package: nautilus 1:3.20.2-0ubuntu1 Uname: Linux 4.7.2-040702-generic x86_64 ApportVersion: 2.20.3-0ubuntu7 Architecture: amd64 CurrentDesktop: Unity Date: Tue Aug 30 17:03:44 2016 GsettingsChanges: b'org.gnome.nautilus.window-state' b'geometry' b"'890x550+65+24'" InstallationDate: Installed on 2016-07-04 (56 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) JournalErrors: Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions. SourcePackage: nautilus UpgradeStatus: Upgraded to yakkety on 2016-07-24 (36 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/1618370/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

