[ubuntu-za] Strange Nautilus behaviour.

Bill Cairns cairnsww at gmail.com
Fri Dec 30 09:37:39 UTC 2011


Some time back I must have made a mistake when I opened a .pdf file
with Calibre - I must have left the "Always use this application for
pdf files" box ticked. No big deal except that Nautilus won'tt change
it back again to evince. It has associated .pdf with Calibre and
that's that.

But the problem goes further than that. I created a file - a.xyz - and
double clicked it under Nautilus. It decided that Open Office Writer
was the correct application for .xyz files and opened the file
accordingly. I tried to change the default application to Geany (why
not?), but it stubbornly insists that Open Offcie Writer was designed
for .xyz files. So the implication is that Nautilus is not letting me
change any associations.

I have (temporarily?) fixed my .pdf problem by manually editing the
file ~/.local/share/applications/mimeapps.list and changing the line -

application/pdf=userapp-calibre-HB71IV.desktop;evince.desktop;gimp.desktop;FBReader.desktop;inkscape.desktop;gpdftext.desktop;

to -

application/pdf=evince.desktop;gimp.desktop;FBReader.desktop;inkscape.desktop;gpdftext.desktop;

But I am a bit wary of that file as I don't quite understand how it
works (I don't think that Gimp should be there!). There is no "xyz" in
this file which makes me a bit suspicious.

Any ideas about why Nautilis is not doing this itself?

Thanks,
  Bill



More information about the ubuntu-za mailing list