Bug#681451: gvfs-bin: gvfs-open (via xdg-open) opens pdfs in wrong application

Bill Wohler wohler at newt.com
Thu Nov 1 04:09:33 UTC 2012


Simon McVittie <smcv at debian.org> wrote:

> Bill, you could try this too, substituting your file for foo.pdf. I suspect
> your situation might be different, though.

Thanks, Simon, but I think I'm good. It was a remnant in my local file
that was getting in my way. Once I removed this line from
~/.local/share/applications/mimeapps.list, gnumeric was no longer used.

    application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=openoffice.org-calc.desktop;gnumeric.desktop;libreoffice-calc.desktop;file-roller.desktop;

> On Sun, 12 Aug 2012 at 14:27:24 -0700, Bill Wohler wrote:
> >     $ locate openoffice.org-calc.desktop
> >     /usr/share/app-install/desktop/openoffice.org-calc.desktop
> 
> "locate" won't necessarily find your personal files (many implementations
> index the filesystem as an unprivileged user).

Locate shows me files in ~wohler for whatever reason.

>                                                Try
> "find ~/.local ~/.config -name openoffice.org-calc.desktop"? I suspect
> you might find that you have a leftover copy of openoffice.org-calc.desktop in
> ~/.local/share/applications.

I don't.

> > I think what is happening is that /usr/share/app-install/desktop is not
> > in the search path and /usr/share/applications is
> 
> This is as it should be: /usr/share/app-install/desktop contains desktop files
> for applications that you don't necessarily have, but could if you installed
> them, so that it can be searched for queries of the form "which Debian
> packages could I install to have an application called Evince?" or, in
> principle, "which Debian packages could I install to be able to open an
> application/pdf?".
> 
> /usr/share/applications is the set of applications you actually have
> (system-wide - you might have more in ~/.local/share/applications).

Thanks for the explanation.

I just recently ran "svn" on an Ubuntu system at work and it said that
svn wasn't installed but that you might consider installing the the
"subversion" package. Very useful! That would be good to bring back into
Debian.

-- 
Bill Wohler <wohler at newt.com> aka <Bill.Wohler at nasa.gov>
http://www.newt.com/wohler/
GnuPG ID:610BD9AD



More information about the pkg-gnome-maintainers mailing list