On 07/21/17 07:51, Patrick O'Callaghan wrote: > On Fri, 2017-07-21 at 06:53 +0800, Ed Greshko wrote: >> On 07/21/17 06:25, Patrick O'Callaghan wrote: >>> On Fri, 2017-07-21 at 05:26 +0800, Ed Greshko wrote: >>>> On 07/20/17 20:33, Patrick O'Callaghan wrote: >>>>> I run KDE but use a number of Gnome applications including Evolution. >>>>> I'm currently using Opera as my default web browser, but can't get >>>>> Evolution to recognise this. Running gnome-control-center offers me a >>>>> list of possible browsers but Opera is not one of them and I don't see >>>>> where I can add it as an option. >>>>> >>>>> I cannot make head or tail of gsettings (nothing under the evolution- >>>>> related schemas says anything about browsers), so I try xdg-settings: >>>>> >>>>> $ xdg-settings get default-web-browser >>>>> opera.desktop >>>>> >>>>> Looks fine, right? But clicking on a link in Evolution opens Firefox. >>>>> So my question is, if xdg-settings is meant to be the solution to DE >>>>> incompatibility issues, why does this not work? >>>>> >>>> No, that is not enough.... >>>> >>>> What do you have for.... >>>> >>>> xdg-settings get default-url-scheme-handler http >>>> xdg-settings get default-url-scheme-handler https >>> They also show firefox.desktop, however if I try to change it: >>> >>> $ xdg-settings set default-url-scheme-handler http opera.desktop >>> $ xdg-settings get default-url-scheme-handler http >>> firefox.desktop >>> >>> IOW I can't change it. (And yes, the opera.desktop file exists.) >>> >> Does the opera.desktop file contain a MimeType line and does it include >> x-scheme-handler/http;x-scheme-handler/https; on that line? >> >> If it doesn't, add it. >> >> Then, as root run... update-desktop-database -q >> >> And try again the xdg-settings set commands. > Did all that and it made no difference. I also logged out and in again > just in case. > OK.... I've just been trying it with opera and haven't been able to get it right yet either. But, that is the issue. One needs to get the x-scheme-handler to report opera.desk top. The problem is that application information is kept in multiple places and I forget the order that information is parsed. I suppose it may be time to look at the /usr/bin/xdg-settings script again. :-( -- Fedora Users List - The place to go to speculate endlessly
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx