Hi Jerry,
My mistake, i missed write down the line added on
/usr/share/sugar/data/mime.default file.
I added exactly this line:
x-scheme-handler/http org.laptop.WebActivity
However after that, links were still opened with Firefox, I agree with you,
tat should be work, but i
Just other info:
I tried, add line x-scheme-handler/http
org.laptop.WebActivity on /usr/share/sugar/data/mime.default on a XO
1.75 with Sugar 0.98 and the same results. URL Links are opened with
Firefox.
Seems x-scheme-handler mime types aren't well managed by Sugar.
Regards.
On Thu, Dec
Otra alternativa es que manejes el evento activate-link
https://developer.gnome.org/gtk3/stable/GtkLinkButton.html
Gonzalo
On Thu, Dec 11, 2014 at 10:07 AM, Gustavo Duarte gus.dua...@gmail.com
wrote:
Just other info:
I tried, add line x-scheme-handler/http
org.laptop.WebActivity on
On December 9, 2014 at 6:59 AM Gustavo Duarte gus.dua...@gmail.com
wrote:
I checked this file, and there are these entries, already, as is showed
bellow.
text/html org.laptop.WebActivity
application/xhtml+xml org.laptop.WebActivity
I checked this file, and there are these entries, already, as is showed bellow.
text/html org.laptop.WebActivity
application/xhtml+xml org.laptop.WebActivity
application/xmlorg.laptop.WebActivity
However, it doesn't work,
2) Only happens on links inside notification messages, no other way to
test open a link comes on my mind, at this moment.
I'll try on Sugar running on XO/Fedora
Perhaps the following command is a way to test the default URL handler.
xdg-open http://sugarlabs.org/
Maybe it will shed some
Unfortunately, this settings on activity.info doesn't work.
Now i'm wonder, where should be the best place to configure these mime
entries, in which point of Sugar session starting procedure ?
Inside sugar-session script, it would be a right place ?
Because this mime types settings is valid
Did you try in /usr/share/sugar/data/mime-defaults by any chance?
On Mon, Dec 8, 2014 at 7:27 AM, Gustavo Duarte gus.dua...@gmail.com wrote:
Unfortunately, this settings on activity.info doesn't work.
Now i'm wonder, where should be the best place to configure these mime
entries, in which
Ahh no, I didn't know this file, sound a good option, i'll try and let
you know the results.
Thanks
Gustavo.
On Mon, Dec 8, 2014 at 11:17 AM, Walter Bender walter.ben...@gmail.com wrote:
Did you try in /usr/share/sugar/data/mime-defaults by any chance?
On Mon, Dec 8, 2014 at 7:27 AM, Gustavo
We have that file in sugar module in the data directory.
Gonzalo
On Mon, Dec 8, 2014 at 12:48 PM, Gustavo Duarte gus.dua...@gmail.com
wrote:
Ahh no, I didn't know this file, sound a good option, i'll try and let
you know the results.
Thanks
Gustavo.
On Mon, Dec 8, 2014 at 11:17 AM,
Good point, i'll try it and let you know.
El 07/12/2014 02:38, Jerry Vonau m...@jvonau.ca escribió:
Just a thought, wonder if adding x-scheme-handler/http to mime_types= in
browse's activity.info file would allow sugar to override what the system
is providing? Another place for that definition
Add an actions, isn't an option, because the notification-daemon
(Ubuntu 12.04 precise) does't support actions.
From freedesktop specs https://developer.gnome.org/notification-spec/
Actions
The actions send a request message back to the notification client
when invoked. This functionality may
Hi Gustavo,
On December 6, 2014 at 10:42 AM Gustavo Duarte gus.dua...@gmail.com
wrote:
Add an actions, isn't an option, because the notification-daemon
(Ubuntu 12.04 precise) does't support actions.
From freedesktop specs https://developer.gnome.org/notification-spec/
Actions
The
Finally I found the setting needed to open links with Browser Activity
by default.
xdg-mime default sugar-browser.desktop x-scheme-handler/http
and
xdg-mime default sugar-browser.desktop x-scheme-handler/https
Adding this settings, links on notifications messages should be opened
by
Just a thought, wonder if adding x-scheme-handler/http to mime_types= in
browse's activity.info file would allow sugar to override what the system
is providing? Another place for that definition might be in
/usr/share/sugar/data/mime.defaults.
Jerry
On December 6, 2014 at 8:57 PM Gustavo
Hi Guys,
I need build an app, which shows a message to kids with some text and
one link which could be opened by Browser activity, like a
notification.
I know that already exist a way, to show notifications which will be
placed on the top bar, by dbus, org.freedesktop.Notifications,
however it
I think the firs option is the best. That addition was discussed a few times
but never implemented in Sugar.
Please share your code then can be added in the next version of Sugar.
Gonzalo
On Fri, Dec 5, 2014 at 11:54 AM, Gustavo Duarte gus.dua...@gmail.com
wrote:
Hi Guys,
I need build an
Hi Gonzalo,
Do you remember, if is there a thread where it addition was discussed ?
Or do you suggest me a start point to achieve that ?
Thanks
Gustavo.
On Fri, Dec 5, 2014 at 1:27 PM, Gonzalo Odiard godi...@sugarlabs.org wrote:
I think the firs option is the best. That addition was discussed
On Fri, Dec 5, 2014 at 1:35 PM, Gustavo Duarte gus.dua...@gmail.com wrote:
Hi Gonzalo,
Do you remember, if is there a thread where it addition was discussed ?
I didn't found it.
Or do you suggest me a start point to achieve that ?
You can look at:
jarabe/model/notifications.py
Hi,
If my memory is right, the freedesktop notification spec includes
actions. You can have multiple of these and they are displayed like
buttons [1]. When they are clicked you get a callback event.
I would prefer to implement the standard ranter than something proprietary.
That is just my
+1
On Fri, Dec 5, 2014 at 4:57 PM, Sam P. sam.parkins...@gmail.com wrote:
Hi,
If my memory is right, the freedesktop notification spec includes
actions. You can have multiple of these and they are displayed like
buttons [1]. When they are clicked you get a callback event.
I would prefer
Greats !! Thanks for these tips.
El 05/12/2014 17:59, Gonzalo Odiard godi...@sugarlabs.org escribió:
+1
On Fri, Dec 5, 2014 at 4:57 PM, Sam P. sam.parkins...@gmail.com wrote:
Hi,
If my memory is right, the freedesktop notification spec includes
actions. You can have multiple of these and
22 matches
Mail list logo