[Bug 904229] New: let D-BUS org.freedesktop.FileManager1 point to xdg-open
http://bugzilla.opensuse.org/show_bug.cgi?id=904229 Bug ID: 904229 Summary: let D-BUS org.freedesktop.FileManager1 point to xdg-open Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: colAflash@gmx.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Package nautilus-3.14.0-1.5.x86_64.rpm installs the file /usr/share/dbus-1/services/org.freedesktop.FileManager1.service Content: ---------- [D-BUS Service] Name=org.freedesktop.FileManager1 Exec=/usr/bin/nautilus --gapplication-service ---------- Let's change this to: ---------- [D-BUS Service] Name=org.freedesktop.FileManager1 Exec=/usr/bin/xdg-open ---------- By this, it will respect the filemanager set in ~/.local/share/applications/mimeapps.list or via KDE => Systemsettings => File-Associations => inode/directory If org.freedesktop.FileManager1.service statically points to nautilus, nautilus will always be used. Also if another filemanager is set to be default. This also affect which filemanager Mozilla Firefox uses when opening the folder a file has been downloaded to. (Firefox uses D-Bus to open a filemanager) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=904229
Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=904229
--- Comment #1 from Moritz Duge
http://bugzilla.opensuse.org/show_bug.cgi?id=904229
Dominique Leuenberger
Package nautilus-3.14.0-1.5.x86_64.rpm installs the file
/usr/share/dbus-1/services/org.freedesktop.FileManager1.service
Content: ---------- [D-BUS Service] Name=org.freedesktop.FileManager1 Exec=/usr/bin/nautilus --gapplication-service ----------
Let's change this to: ---------- [D-BUS Service] Name=org.freedesktop.FileManager1 Exec=/usr/bin/xdg-open ----------
This has negative side effects: the DBUS service does not only implement a launch interface, but is bidirectional with the caller. obex/bluetooth interation for example does not only start the file browser, but interacts through the dbus interface to actually also move to the right file (SelectItem).
If org.freedesktop.FileManager1.service statically points to nautilus, nautilus will always be used. Also if another filemanager is set to be default.
So far, nautilus is the ONLY file browser that implemented that dbus interface.
This also affect which filemanager Mozilla Firefox uses when opening the folder a file has been downloaded to. (Firefox uses D-Bus to open a filemanager)
Correct - That's an old reported issue on FF (https://bugzilla.mozilla.org/show_bug.cgi?id=266600 - roughly 10 years :) ) so in essence: - Changing the dbus service to xdg-open is a no-go - Having inode/directory linked to dolphin is hopefully something dolphin specifies in its .desktop file (it should!) - Dolphin is responsible to update the mime cache on install (%mime_database_post/postun) FF first attempts the DBUS Service; so if nautilus (the only file manager supporting this dbus api) is installed, it will have precedence. if nautilus is not installed, FF queries the mime cache apparently by itself and launches what is registered as mime handler for inode/directory. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=904229
Stephen Parry
http://bugzilla.opensuse.org/show_bug.cgi?id=904229
--- Comment #3 from Stephen Parry
From a non-expert, I have been pointed here by someone on the forum. FF has suddenly started opening nautilus instead of my preferred Dolphin. Dropbox is now doing this also. It is extremely annoying. My forum advisor suggested sudo update-mime-database /usr/share/mime/ But this has not cured it. Is the only option to uninstall nautilus?
https://forums.opensuse.org/showthread.php/504039-Firefox-has-started-a-very... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=904229
--- Comment #4 from kolA flash
participants (1)
-
bugzilla_noreply@novell.com