On 06/03/18 20:33, Peter Flynn wrote:
>> On Monday 27 Mar 2017 20:47:29 Peter Flynn wrote:
>>> On 03/27/2017 07:56 PM, Mick wrote:
>>>> On Monday 27 Mar 2017 19:39:21 Peter Flynn wrote:
>>>>> On 27/03/17 00:47, Carsten Haitzler (The Rasterman) wrote:
>>>>>> On Sun, 26 Mar 2017 16:55:45 -0400 Christopher Barry
>>>>>>
>>>>>>> Okay, this is annoying...
>>>>>>>
>>>>>>> claws-mail uses xdg-open to decide what app to use when 
>>>>>>> opening files (rather than 'alternatives', which is the 
>>>>>>> standard Debian way to do this), so clicking on a link in 
>>>>>>> email always opens Chromium rather than Firefox which is my 
>>>>>>> system default browser. When I try to see/change it in
>>>>>>> Enlightenment, I get the following.
>>>>>>>
>>>>>>> $ xdg-settings get default-web-browser
>>>>>>> xdg-settings: unknown desktop environment
>>>>>>>
>>>>>>> Any ideas on how to change this setting to point to Firefox?
>>>>>>
>>>>>> settings -> apps -> default applications -> browser
>>>>>
>>>>> And does that *really* change xdg settings?
>>>>>
>>>>> The *big* problem for me is that when I click on a mailto:
>>>>> link in chromium-browser, it just opens another browser window,
>>>>> or sometimes pops up a window saying it wants to run some 
>>>>> unspecified program recommended by xdg, which never does 
>>>>> anything. If anyone knows how to force chromium-browser to
>>>>> open Thunderbird, I'd be grateful.>>>
>>>> Have you tried setting something in Handlers to see if it takes?
>>>> https://support.google.com/chrome/answer/114662?visit_id=0-636262376794060954-3121866498&p=ib_protocol_handler&rd=2
>>>>  
>>> Unfortunately that's for requesting *web* services to respond to 
>>> protocol calls (eg make mailto: open Hotmail). It's set by
>>> default, but it doesn't do anything that I can see for *programs*
>>> (eg Tbird).
>>
>> Yes, I noticed the same just now.  I cannot add anything to it ...
>> I suspect Chromium/Chrome use xdg-open, so:
>> 'xdg-mime query default message/rfc822'
>> should show your default application for e.g. viewing messages.
> 
> Hah. Fixed.
> 
> Nothing to do with handlers, nothing to do with MIME types.
> 
> Everything to do with xdg and its default action, which is to open a
> *browser* instead of a *mailer* for mailto: actions. This is entirely
> wrong, and I am shocked that the xdg project would make such an
> elementary error. It also happens because xdg doesn't know about e.
> 
> Solution: edit /usr/bin/xdg-email and at the bottom, inside the case
> command, add
> 
>     enlightenment)
>     open_gnome "${mailto}"
>     ;;
> 
> before the generic entry. Save and exit.
> 
> ///Peter
> 

Thanks as the maintainer of xdg-utils in a major distro i'll have a look
at this and get it fixed, i've contributed most of the xdg-utils code
for enlightenment, the bug is now tracked here
https://bugzilla.opensuse.org/show_bug.cgi?id=1084236 so I remember to
go fix it.

-- 

Simon Lees (Simotek)                            http://simotek.net

Emergency Update Team                           keybase.io/simotek
SUSE Linux                           Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to