Launchpad has imported 8 comments from the remote bug at
https://bugzilla.xfce.org/show_bug.cgi?id=7257.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-02-08T21:42:49+00:00 nirik wrote:

>From downstream report:

https://bugzilla.redhat.com/show_bug.cgi?id=674321

Basically exo causes problems for other desktops by setting up these
mime types.

>From the report:

--cut--
Something has added a "x-scheme-handler/file=exo-file-manager.desktop" record
in my ~/.local/share/applications/mimeapps.list file. This seriously messed up
overall functionality of gvfs-open (called through xdg-open). I only get a "The
location is not a folder" error (coming from Nautilus probably).

g_file_query_default_handler() is correct in this case and behaves according to
settings.

So my question is, why exo-file-manager.desktop contains this scheme handler in
a first case? Same situation with x-scheme-handler/trash.

As long as /usr/share/applications/mimeinfo.cache is composed from available
desktop files, this borked overall system functionality.

Version-Release number of selected component (if applicable):
exo-0.6.0-1.fc15.x86_64

How reproducible:
always

Steps to Reproduce:
1. install exo
2. gvfs-open /tmp/file.pdf
3. see a x-scheme-handler/file picked up before application/pdf
--cut--

So, things work fine for Xfce users, but people who switch desktops or
normally run gnome or the like are getting messed up. ;(

Not sure what the solution might be.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/exo/+bug/956255/comments/0

------------------------------------------------------------------------
On 2011-04-08T20:10:13+00:00 8-nick wrote:

Let Gnome users complain at bugzilla.gnome.org. They removed the on
place we could influence the behaviour of gio in a decent way. So
instead, knowing this would make things harder for not-fully-Xfce users,
I choose to make it work for us.

Make exo-open could be a bit more intelligent, if so, I can fix that,
but if Gnome decides to not care about others, I fix it the ugly way.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/exo/+bug/956255/comments/1

------------------------------------------------------------------------
On 2011-04-10T19:44:41+00:00 nirik wrote:

Another comment from the downstream report:

"One way to solve this for XFCE and other DEs would be (I think) having an
exo-file-scheme.desktop file which would carry "MimeType:
x-scheme-handler/file;" and an accompanying script/program which would dispatch
the call to "exo-open --launch FileManager ..." if running under XFCE or plain
"exo-open ..." if not. I checked that the latter indeed calls the appropriate
application.

Another way could be to find out if XFCE needs to have "MimeType:
x-scheme-handler/file;" defined at all, and if not, delete it."

Reply at:
https://bugs.launchpad.net/ubuntu/+source/exo/+bug/956255/comments/2

------------------------------------------------------------------------
On 2011-04-12T15:11:58+00:00 Tbzatek wrote:

(In reply to comment #1)
> Let Gnome users complain at bugzilla.gnome.org. They removed the on place we
> could influence the behaviour of gio in a decent way. So instead, knowing this
> would make things harder for not-fully-Xfce users, I choose to make it work 
> for
> us.

Could you please point me to the discussion so that we can find out the 
requirements?
 
> Make exo-open could be a bit more intelligent, if so, I can fix that, but if
> Gnome decides to not care about others, I fix it the ugly way.

I'm not aware of what exactly exo-open does, but the x-scheme-handler
takes priority on search - how do you handle finding the appropriate
application for the given type, avoiding hitting the scheme handler?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/exo/+bug/956255/comments/3

------------------------------------------------------------------------
On 2011-04-26T14:51:19+00:00 Tbzatek wrote:

There was a suggestion to replace "x-scheme-handler/file" with
"inode/directory" to change the search priorities.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/exo/+bug/956255/comments/4

------------------------------------------------------------------------
On 2011-05-02T16:26:04+00:00 8-nick wrote:

See also http://bugs.gentoo.org/365711.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/exo/+bug/956255/comments/5

------------------------------------------------------------------------
On 2011-05-08T21:06:44+00:00 8-nick wrote:

Dropped the mime-types for all the exo-open desktop files in 2e3744b. We
only use this for menus and stuff, should not be used for opening files
in thunar etc.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/exo/+bug/956255/comments/6

------------------------------------------------------------------------
On 2014-05-29T11:21:13+00:00 Xfce-bugs-g wrote:

Please re-open.

This bug was re-introduced later, see the log:
http://git.xfce.org/xfce/exo/log/exo-open/exo-file-manager.desktop.in

It looks like the suggestion from Tomas works:

> There was a suggestion to replace "x-scheme-handler/file" with
"inode/directory" to change the search priorities.


diff --git i/exo-open/exo-file-manager.desktop.in 
w/exo-open/exo-file-manager.desktop.in
index 3d7653e..8d0a6cf 100644
--- i/exo-open/exo-file-manager.desktop.in
+++ w/exo-open/exo-file-manager.desktop.in
@@ -7,6 +7,6 @@ StartupNotify=true
 Terminal=false
 Categories=Utility;X-XFCE;X-Xfce-Toplevel;
 OnlyShowIn=XFCE;
-X-XFCE-MimeType=x-scheme-handler/file;x-scheme-handler/trash;
+X-XFCE-MimeType=inode/directory;x-scheme-handler/trash;
 _Name=File Manager
 _Comment=Browse the file system


(for reference, the bug in Launchpad/Ubuntu: 
https://bugs.launchpad.net/ubuntu/natty/+source/exo/+bug/956255)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/exo/+bug/956255/comments/11


** Changed in: exo
       Status: Unknown => Fix Released

** Changed in: exo
   Importance: Unknown => Medium

** Bug watch added: Red Hat Bugzilla #674321
   https://bugzilla.redhat.com/show_bug.cgi?id=674321

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956255

Title:
  exo-file-manager.desktop breaks file opening in non-XFCE DEs

To manage notifications about this bug go to:
https://bugs.launchpad.net/exo/+bug/956255/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to