! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
exo-preferred-applications not properly setting mime types
Status:
RESOLVED: DUPLICATE

Comments

Description Maurizio Galli 2020-01-18 07:41:28 CET
Unless I am mistaken, exo-preferred-applications is not setting MIME types in mimeapps.list. 

As a consequence if a web browser like Firefox set itself as default, it overrides some of the settings exo-preferred-applications. 

Firefox writes in $HOME/.config/mimeapps.list

[Default Applications]
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/ftp=firefox.desktop
x-scheme-handler/chrome=firefox.desktop
text/html=firefox.desktop
application/x-extension-htm=firefox.desktop
application/x-extension-html=firefox.desktop
application/x-extension-shtml=firefox.desktop
application/xhtml+xml=firefox.desktop
application/x-extension-xhtml=firefox.desktop
application/x-extension-xht=firefox.desktop

[Added Associations]
x-scheme-handler/http=firefox.desktop;
x-scheme-handler/https=firefox.desktop;
x-scheme-handler/ftp=firefox.desktop;
x-scheme-handler/chrome=firefox.desktop;
text/html=firefox.desktop;
application/x-extension-htm=firefox.desktop;
application/x-extension-html=firefox.desktop;
application/x-extension-shtml=firefox.desktop;
application/xhtml+xml=firefox.desktop;
application/x-extension-xhtml=firefox.desktop;
application/x-extension-xht=firefox.desktop;


Without this configuration, Firefox does not recognize being set by default.

The odd consequent behavior is that some applications would launch Firefox and others would launch the web browser set in exo.  This makes the exo-preferred-applications a bit "misleading" (https://bugzilla.xfce.org/show_bug.cgi?id=7277) or "broken".
Comment 1 Maurizio Galli 2020-01-20 10:10:48 CET

*** This bug has been marked as a duplicate of bug 16187 ***

Bug #16390

Reported by:
Maurizio Galli
Reported on: 2020-01-18
Last modified on: 2020-01-20

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Version:
0.12.11

Attachments

Additional information