Re: [Sugar-devel] Launching Activity from within another activity

2019-06-04 Thread James Cameron
For the record, here's how it was solved; https://github.com/sugarlabs/terminal-activity/pull/35/commits/ae597e9c7cb1868a84f6abbb023d5493ac7c27cd On Mon, Jun 03, 2019 at 07:04:52PM +0530, Hrishi Patel wrote: > I had the same problem.  I was passing the "bundle_id" parameter as None, that >

Re: [Sugar-devel] Grayscale screen implementation query

2019-06-04 Thread Sumit Srivastava
Thanks, Alex! On Wed, 5 Jun 2019, 12:44 am Alex Perez, wrote: > Sumit, > > Sumit Srivastava wrote on 6/3/19 12:18 PM: > > Hi, all! > > Here's a query that has been directed at me on the internet, however I > don't have any idea about the grayscale implementation of the screen in > XO-1. How

Re: [Sugar-devel] Grayscale screen implementation query

2019-06-04 Thread James Cameron
Thanks for asking. A kernel configuration file is used to select colour or grayscale mode in the driver, and thus the display controller ASIC. This is in the kernel sources. The keyboard shim detects brightness control keys and manages the backlight power. When the backlight is turned off, the

Re: [Sugar-devel] Running Sugar Desktop on Ubuntu 18.04

2019-06-04 Thread James Cameron
Swarup and I worked through this. It was caused by missing PolicyKit action files, after native install of Sugar to /usr/local. Fix was to add symbolic links for the action files; sudo ln -sf /usr/local/share/polkit-1/actions/org.sugar.* \ /usr/share/polkit-1/actions/ On Mon, Jun 03, 2019

Re: [Sugar-devel] Grayscale screen implementation query

2019-06-04 Thread Walter Bender
http://wiki.laptop.org/go/Display is a good intro to the OLPC display. On Mon, Jun 3, 2019 at 3:18 PM Sumit Srivastava wrote: > Hi, all! > > Here's a query that has been directed at me on the internet, however I > don't have any idea about the grayscale implementation of the screen in > XO-1.

Re: [Sugar-devel] Regarding opening one Sugar activity from inside another

2019-06-04 Thread James Cameron
I'm only speculating, so you'll need to test and evaluate. launch_bundle does not take arguments for the activity, so Browse won't know to open the URL. Perhaps you should do something like this; 1. create a Journal object in the datastore, 2. set the metadata mime_type to text/uri-list, 3.