gnome-open incorrectly uses eince to open pdf files even after I select Acroread as the default handler in nautilus

Bug #209714 reported by Håvard H. Garnes
38
Affects Status Importance Assigned to Milestone
libgnome (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs
xdg-utils (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After installing acroread, I set acroread to be the default pdf-viewer in nautulus. After this, Nautilus correctly opens all pdfs in acroread, but gnome-open opens all pdfs in evince. Gnome-open needs to follow Nautilus.

Related branches

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. What version of Ubuntu do you use? Did you try gvfs-open rather if that's hardy?

Changed in libgnome:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Håvard H. Garnes (hhgarnes) wrote :

I tried gvfs-open now, and it worked and opened acroread.

My bug-report originally comes from trying xdg-open, which in turn execs gnome-open. After installing gvfs-bin, xdg-open still execs gnome-open, so xdg-open still fails.

Adding xdg-utils to the bug.

Revision history for this message
Peter Valdemar Mørch (pmorch) wrote :

I can confirm this bug on Hardy. gnome-open does not have the same associations as nautilus - .doc and .xls files in my case ( See http://ubuntuforums.org/showthread.php?p=4642441 for details and a discussion )

Yes, gvfs-open seems to do the right thing (TM).

I found this here http://bugzilla.gnome.org/show_bug.cgi?id=343896 "but we
have to face the fact that libgnome and libgnomeui are on their way to being
deprecated. Maybe gnome-open should be moved to gnome-vfs along with this
enhancement request for it?"

gnome-open is undocumented ( https://bugs.launchpad.net/ubuntu/+source/libgnome/+bug/185171/+viewstatus ), but its name is so easy to remember. "gvfs-open" isn't. Also gnome-open gets 39,100 hits on google. gvfs-open gets 274. Not that this in itself is any authority, but it does indicate that gnome-open is in more widespread use than gvfs-open. I checked the source of xdg-open, and I concur - it just calls gnome-open (lending credence to gnome-open being in more prevalent use than gvfs-open)

What is the purpose of gnome-open? Isn't it supposed to do the same thing as gvfs-open? Do they do different things on purpose? What purpose? Isn't gnome-open just broken in Hardy? Or is it simply that gnome-open (from libgnome) is about to be deprecated and thus not properly maintained?

I can see that the bug is listed as "Incomplete". I hope this is enough information to move it to "Confirmed" status.

Revision history for this message
Sebastien Bacher (seb128) wrote :

changing to new, libgnome is not actively maintained and we don't intend to work on it. gvfs is the newer stack and only available since hardy so there is no wonder gnome-open which is there for years is used rather than it right now

Changed in libgnome:
status: Incomplete → New
Revision history for this message
ski (skibrianski) wrote :

A compounding problem - firefox is still using gnome-open in hardy RC, so opening files from firefox does not always work :-(

Changed in libgnome:
status: New → Confirmed
Revision history for this message
PC-load_letter (m-cohomology) wrote :

Confirmed here. I have epdfviewer as the default app to open pdf docs in Nautilus. but gnome-open will always use Evince.
To be honest, I couldn't care less about this bug but Gnome-Do apparently uses gnome-open to open docs. so I'll still suffer Evince until the bug is fixed or Gnome-do dropping gnome-open.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libgnome - 2.23.92-0ubuntu1

---------------
libgnome (2.23.92-0ubuntu1) intrepid; urgency=low

  * New upstream version:
    - Port gnome-open to GIO. (lp: #209714)
    - Build fix
  * debian/control.in:
    - updated libglib requirement

 -- Sebastien Bacher <email address hidden> Tue, 16 Sep 2008 16:49:53 +0200

Changed in libgnome:
status: Confirmed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote :

This was fixed in libgnome and no work is required in xdg-utils.

Changed in xdg-utils (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.