<div dir="ltr">Hi Jerry,<div><br></div><div>My mistake, i missed write down the line added on /usr/share/sugar/data/mime.default file.</div><div><br></div><div>I added exactly this line: </div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">x-scheme-handler/http                   org.laptop.WebActivity</span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">However after that, links were still opened with Firefox, I agree with you, tat should be work, but i don't know why.</span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px"><br></span></div><div>Any way, I found a workaround, adding the settings of ~/.local/share/applications/mimeapps.list on sugar-session. For the right setting when sugar is starting.</div><div><br></div><div>And also added a script on /etc/lightdm/lightdm.conf to setting the right ones for Gnome, when it is starting.</div><div><br></div><div>Thanks.</div><div><br></div><div>Gustavo.</div><div><br></div><div> </div><div><span style="font-size:13px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 10, 2014 at 8:10 PM, Jerry Vonau <span dir="ltr"><<a href="mailto:me@jvonau.ca" target="_blank">me@jvonau.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On December 9, 2014 at 6:59 AM Gustavo Duarte <<a href="mailto:gus.duarte@gmail.com">gus.duarte@gmail.com</a>><br>
<span class="">> wrote:<br>
><br>
><br>
> I checked this file, and there are these entries, already, as is showed<br>
> bellow.<br>
><br>
> text/html                                  org.laptop.WebActivity<br>
> application/xhtml+xml             org.laptop.WebActivity<br>
> application/xml                        org.laptop.WebActivity<br>
><br>
> However, it doesn't work, Firefox is opened when I click on a link of<br>
> notification message.<br>
><br>
<br>
</span>Note that x-scheme-handler/http is not present, did you try adding:<br>
x-scheme-handler/http                   org.laptop.WebActivity<br>
to mime-defaults?<br>
<br>
The result *should be* the same as changing the default with xdg-mime but<br>
just for the sugar processes, that is your goal correct?<br>
<span class=""><br>
> May be this behaviour could be, due<br>
><br>
> 1) Sugar is running in Ubuntu.<br>
><br>
</span><span class="">> 2) Only happens on links inside notification messages, no other way to<br>
> test open a link comes on my mind, at this moment.<br>
><br>
> I'll try on Sugar running on XO/Fedora<br>
<br>
</span>From Sebastian reply,<br>
<br>
xdg-open <a href="http://sugarlabs.org/" target="_blank">http://sugarlabs.org/</a><br>
<br>
Prior to adding the above line the webpage would not load at all(closes<br>
terminal). This appears to work with the altered mime-defaults as above on<br>
XO's here but it doesn't look like the browse activity, more<br>
like epiphany.<br>
<span class="HOEnZb"><font color="#888888"><br>
Jerry<br>
</font></span></blockquote></div><br></div>