You are not logged in.

#1 2011-02-21 11:33:09

benob
Member
Registered: 2008-11-11
Posts: 187

xdg-open always opens nautilus

chromium, through xdg-open / gvfs-open always opens nautilus, not the application associated with the filetype (evince for pdf). I have another arch box where it works, so I guess something is wrong in my .config / .local files. I tried to delete .local/share/applications but the result is not better.

Any idea how to fix that (except deleting .* in my home), it's really annoying?

Offline

#2 2011-02-21 17:16:19

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: xdg-open always opens nautilus

See if installing perl-file-mimeinfo helps.

Offline

#3 2011-02-21 18:01:36

benob
Member
Registered: 2008-11-11
Posts: 187

Re: xdg-open always opens nautilus

It doesn't change anything.

Offline

#4 2011-02-21 18:26:05

benob
Member
Registered: 2008-11-11
Posts: 187

Re: xdg-open always opens nautilus

I tried to find out what was going on using strace. Here is the output:

strace -f /usr/bin/gvfs-open file.pdf 2>&1 | grep exec
...
execve("/usr/lib/xfce4/exo-1/exo-helper-1",
...

Why is gvfs-open resorting to xfce's opener while I am running gnome???

A bit earlier in the trace, gvfs loads /usr/lib/gio/modules/libexo-module-1.so which is certainly the culprit.

My question is then: how do I make gvfs-open use gnome's facilites?

--- edit ---

Looks like my problem:
https://qa.mandriva.com/show_bug.cgi?id=62203

--- edit 2 ---

Some more info:
http://penguincopter.blogspot.com/2010/ … ty-of.html

Last edited by benob (2011-02-21 18:38:56)

Offline

#5 2011-02-21 19:49:43

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: xdg-open always opens nautilus

I never used perl-file-mimeinfo, but manually edited ~/.local/share/applications/mimeinfo.cache and /usr/share/applications/mimeinfo.cache xdg-open goes awry.  Be care though, system updates overwrite  /usr/share/applications/mimeinfo.cache putting you back to square one.

Offline

#6 2011-02-23 17:56:30

benob
Member
Registered: 2008-11-11
Posts: 187

Re: xdg-open always opens nautilus

The issue seems to be the priority of the exo gvfs module. See this commit:
http://www.mail-archive.com/xfce4-commi … 12105.html

Uninstalling exo solves the issue under gnome but also breaks the behavior under xfce.

Offline

Board footer

Powered by FluxBB