GNOME Bugzilla – Bug 663152
Don't automatically open a new window when a removable media is inserted
Last modified: 2011-11-24 14:44:49 UTC
WIth gnome-shell 3.2.1, by default, when you plug a removable media, nautilus opens a new window showing its files, and a popup appears in the notification area asking you whether you want to open the media's files or eject it. I think that having both the notification and the nautilus window at the same time is a bit confusing. Wouldn't it be smarter to only show the notification and let users click on "open with file manager" to access the files? Or, as an alternative solution, have the nautilus window pop up like currently but make the notification temporary instead of permanent.
(In reply to comment #0) > Wouldn't it be smarter to only show the notification and let users click on > "open with file manager" to access the files? Yes, and this is indeed how it is supposed to work (see bug 653521). What version of gnome-settings-daemon do you have installed? Or maybe your distribution has applied patches which enable the automount plugin again?
(In reply to comment #1) > Yes, and this is indeed how it is supposed to work (see bug 653521). What > version of gnome-settings-daemon do you have installed? Or maybe your > distribution has applied patches which enable the automount plugin again? I have gnome-settings-daemon 3.2.1-0ubuntu3 on Ubuntu Oneiric. Being on Ubuntu, there is a heavy chance that it has been patched and doesn't behave like expected upstream.
Yes. Best is to have a look at org.gnome.desktop.media-handling.automount-open in dconf-editor, and use the "Set to Default" button to check what's the default value.
Due to a bug in dconf, I can't reach the "set to default" button for this key (dconf window grows too much), but the value is "true" and the key doesn't appear in bold, which means that it's already the default.
So that must be Ubuntu using a different policy. Hard to fix, since this setting might make more sense under Unity. The only solution is to use a real GNOME 3 distribution... :-p
(In reply to comment #5) > So that must be Ubuntu using a different policy. Hard to fix, since this > setting might make more sense under Unity. The only solution is to use a real > GNOME 3 distribution... :-p This is becoming more tempting every day...
Seems some people find it "cool" to troll ubuntu, that default comes from upstream though... Upstream git (nothing to do with Ubuntu): http://git.gnome.org/browse/gsettings-desktop-schemas/tree/schemas/org.gnome.desktop.media-handling.gschema.xml.in.in " <key name="automount-open" type="b"> <default>true</default> <_summary>Whether to automatically open a folder for automounted media</_summary>"
(In reply to comment #7) > Seems some people find it "cool" to troll ubuntu, that default comes from > upstream though... > > Upstream git (nothing to do with Ubuntu): > http://git.gnome.org/browse/gsettings-desktop-schemas/tree/schemas/org.gnome.desktop.media-handling.gschema.xml.in.in > > " <key name="automount-open" type="b"> > <default>true</default> > <_summary>Whether to automatically open a folder for automounted > media</_summary>" And now it becomes less tempting again :)
Sorry, it's not gratuitous trolling, our reaction is based on experience. It's not trolling to say that Ubuntu's priority is clearly not the Shell, and that many more or less trivial bugs appear because of that. The current bug is probably still a packaging problem in Ubuntu: see bug 653521. Agreed, it was hard to notice (since I was mistaken too about the schema's default), but the result is an Ubuntu-specific bug. In Ubuntu, the autostart .desktop file for the fallback gsd plugin is: > AutostartCondition=GNOME3 unless-session gnome-shell While upstream it is: > AutostartCondition=GNOME3 if-session gnome-fallback Both should probably work, but for some reason it doesn't (the Ubuntu patch is 42_onlyshowin_unity).
I confirm that "/usr/lib/gnome-settings-daemon/gnome-fallback-mount-helper" is automatically started in a gnome-shell session in Oneiric, and that killing it and setting "org.gnome.desktop.media-handling.automount-open" to "true" fixes the bug.
Seb: should I open an Ubuntu bug about the "gnome-fallback-mount-helper.desktop"?
Julien, you already opened a bug, I didn't close it, it's still unclear to me why gnome-session run the helper while "unless-session gnome-shell" is used, does moving the autostart desktop away workaround the issue?
(In reply to comment #12) > Julien, you already opened a bug, I didn't close it, it's still unclear to me > why gnome-session run the helper while "unless-session gnome-shell" is used, > does moving the autostart desktop away workaround the issue? Yes it does.