aptosid.com

Bug Reports 2011-03 - aptosid manual overrides expected URLs

mithat - 02.08.2012, 20:47
Post subject: aptosid manual overrides expected URLs
I am running aptosid Xfce.

Some applications that are supposed to open a URL in a web browser open the aptosid manual instead. Specific example: in Synapse > Preferences > Plugins, if you click an "About this plugin" icon, the aptosid manual is opened rather than a page describing the plugin.

I experience the same behavior when x-www-browser and gnome-www-browser are changed from iceweasel to google-chrome. The specified browser is opened, but the aptosid manual is loaded rather than the intended URL.

Uninstalling aptosid-manual-common (along with aptosid-manual-de and aptosid-manual-en) results in the desired behavior.
slh - 03.08.2012, 13:23
Post subject: RE: aptosid manual overrides expected URLs
We cannot reproduce this issue and right now neither can imagine how this would be possible.


mithat - 03.08.2012, 17:47
Post subject: RE: aptosid manual overrides expected URLs
After much hair-pulling, I was able to figure out that somehow my ~/.local/share/applications/mimeapps.list managed to acquire a bunch of entries for aptosid-aptosid-manual.desktop. Specifically:
      Code:
$ cat mimeapps.list | grep aptosid
x-scheme-handler/http=aptosid-aptosid-manual.desktop
x-scheme-handler/https=aptosid-aptosid-manual.desktop
x-scheme-handler/ftp=aptosid-aptosid-manual.desktop
x-scheme-handler/chrome=aptosid-aptosid-manual.desktop
application/x-extension-htm=aptosid-aptosid-manual.desktop
application/x-extension-shtml=aptosid-aptosid-manual.desktop
application/xhtml+xml=aptosid-aptosid-manual.desktop
application/x-extension-xhtml=aptosid-aptosid-manual.desktop
application/x-extension-xht=aptosid-aptosid-manual.desktop
x-scheme-handler/ftp=iceweasel.desktop;aptosid-aptosid-manual.desktop;
x-scheme-handler/chrome=iceweasel.desktop;aptosid-aptosid-manual.desktop;
text/html=geany.desktop;iceweasel.desktop;aptosid-aptosid-manual.desktop;
application/x-extension-htm=iceweasel.desktop;aptosid-aptosid-manual.desktop;
application/x-extension-html=iceweasel.desktop;aptosid-aptosid-manual.desktop;
application/x-extension-shtml=iceweasel.desktop;aptosid-aptosid-manual.desktop;
application/xhtml+xml=iceweasel.desktop;aptosid-aptosid-manual.desktop;
application/x-extension-xhtml=iceweasel.desktop;aptosid-aptosid-manual.desktop;
application/x-extension-xht=iceweasel.desktop;aptosid-aptosid-manual.desktop;

No idea how that happened. I renamed the old mimeapps.list to deactivate it and am testing things with a virgin mimeapps.list file. So far so good.
slh - 03.08.2012, 20:04
Post subject: RE: aptosid manual overrides expected URLs
That explains why it broke, but I'm not quite sure what could have triggered these mime overrides to get added[1]. Please keep and eye on it and keep us posted.

[1] There are plans to generate MIME equivalents from *.desktop files automatically, but this hasn't landed in Debian unstable yet and nothing in aptosid-manual should trigger that from happening for our packages.
All times are GMT - 12 Hours
Powered by PNphpBB2 © 2003-2010 The Zafenio Group
Credits