Re: [Sugar-devel] Hacking onto the "appearing" and "hiding" of OSK
Hi all. Just wanted to know that whether the signals used in the "Write" activity 'size-allocate', 'request-clear-area', 'unset-clear-area', are usable anywhere else too? I can see that these signals are being listened by "class DocumentView(Abi.Widget)"; however, the source of this signals is unknown (or at least inconspicuous). Is "Abi.Widget" the source of these signals? If yes, that would mean that these signals cannot be used anywhere else on a generic basis, right? On Tue, Jan 29, 2013 at 6:10 PM, Gonzalo Odiard wrote: > > On Tue, Jan 29, 2013 at 2:17 AM, Ajay Garg wrote: > >> I agree with Gonzalo and Gary; this is just a makeshift solution for the >> time-being, so that activities like Speak, Chat, Terminal are not rendered >> completely unusable in ebook-mode. >> >> > In my opinion, in this case, your hack, is exposed to the user, in a way > that is worst than do not have a solution at all. In fact we spent a lot of > time trying to do terminal work with osk (right now, if the cursor is > behind the osk, the text area is resized and scrolled), but need more work. > Be prepared to invest time to do it right, a quick hack will not be a good > solution. Another problem using the terminal with the osk you will find, is > the lack of auto-completion and a few keys useful in the terminal but not > in normal use. > > May be Speak can be best solved, if you move the text input to the top of > the canvas, like we did in Record activity. Chat is a little more > difficult, you can move the input to the top, but the history will be > hidden. (Btw, I don't know why all the chat interfaces show the history > from bottom to top instead of top to bottom) > Anyway, these are suggestions, should be better have a agreement with the > Design Team, Gary & Manuq. > > Gonzalo > > ___ > Devel mailing list > Devel@lists.laptop.org > http://lists.laptop.org/listinfo/devel > > -- Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] "Activating" a XO-1.5
Yes.. 24 hours.. That's a long wait .. 2013/2/18, Ajay Garg : > Thanks a ton Ignacio > !! :) :) :) > > Just one last query : > A link has been generated, which says > > " > Your developer key will be ready in 23 hours, 55 minutes. > Please check back later. > " > > So, I visit the same link after 24 hours, right? > > > Thanks again !! > > On Mon, Feb 18, 2013 at 10:53 PM, Ignacio Rodríguez > wrote: > >> http://www.ceibal.edu.uy/Articulos/PublishingImages/bot.JPG >> >> < key >> >> 2013/2/18, Ajay Garg : >> > On Mon, Feb 18, 2013 at 10:43 PM, Ignacio Rodríguez >> > wrote: >> > >> >> Start the XO with the "<--" key (In the screen) pressed. >> >> >> > >> > Sorry Ignacio. >> > I am unable to understand. >> > >> > Which key is this? >> > >> > >> > >> > >> >> >> >> 2013/2/18, Ajay Garg : >> >> > Thanks Ignacio :) >> >> > When I visit the link, it accepts the "Laptop-Serial" as >> "SHC", >> >> but >> >> > doesn't accept anything for "Laptop-UUID". >> >> > >> >> > Where can I find the laptop-UUID ? :P >> >> > >> >> > On Mon, Feb 18, 2013 at 10:27 PM, Ignacio Rodríguez >> >> > wrote: >> >> > >> >> >> No :P >> >> >> You can use: https://activation.laptop.org/devkey/post/ >> >> >> >> >> >> 2013/2/18, Ajay Garg : >> >> >> > Hi Ignacio. >> >> >> > >> >> >> > But i need to boot the XO once at least, so as to obtain the >> >> >> > developer >> >> >> key? >> >> >> > >> >> >> > On Mon, Feb 18, 2013 at 9:28 PM, Ignacio Rodríguez >> >> >> > wrote: >> >> >> > >> >> >> >> The xo is from Uruguay? >> >> >> >> .. >> >> >> >> Maybe you need a developer key.. See: >> >> >> >> http://wiki.laptop.org/go/Developer_key >> >> >> >> >> >> >> >> 2013/2/18, Ajay Garg : >> >> >> >> > Hi all. >> >> >> >> > >> >> >> >> > I have received a new XO-1.5. When I boot it, it shows >> >> "activation >> >> >> >> lease >> >> >> >> > not found". >> >> >> >> > >> >> >> >> > As per http://wiki.laptop.org/go/XO_1.5_B2, i tried the >> following >> >> >> steps >> >> >> >> :: >> >> >> >> > >> >> >> >> > a) >> >> >> >> > Downloaded the signed-image >> >> >> >> > >> >> http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd, >> >> >> >> > and >> >> >> >> > copied it to the root-directory on my USB-drive. >> >> >> >> > >> >> >> >> > b) >> >> >> >> > Downloaded the corresponding >> >> >> >> > >> >> >> >> >> >> >> >> >> >> http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd.zsp.fs1.zip >> >> >> >> ; >> >> >> >> > renamed it to "fs.zip", and copied it to the root directory of >> my >> >> >> >> > USB-drive. >> >> >> >> > >> >> >> >> > c) >> >> >> >> > Inserted the USB-drive into the XO-1.5 >> >> >> >> > >> >> >> >> > d) >> >> >> >> > Powered on the XO. >> >> >> >> > >> >> >> >> > e) >> >> >> >> > Immediately, pressed the 4 game-keys. >> >> >> >> > >> >> >> >> > f) >> >> >> >> > Upon seeing the message "Release the game keys to continue", >> >> >> unpressed >> >> >> >> the >> >> >> >> > keys. >> >> >> >> > Image installed successfully. >> >> >> >> > >> >> >> >> > g) >> >> >> >> > A firmware was flashed. >> >> >> >> > >> >> >> >> > h) >> >> >> >> > Removed the USB-drive. >> >> >> >> > >> >> >> >> > i) >> >> >> >> > Rebooted the XO. >> >> >> >> > >> >> >> >> > j) >> >> >> >> > Again, the message "Activation lease not found" was seen; the >> >> >> >> > image >> >> >> >> failed >> >> >> >> > to boot into sugar :-( :-( >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > What step have I done wrong? >> >> >> >> > >> >> >> >> > Looking forward to some help, as I need to get the XO-1.5 >> >> >> >> > running >> >> >> >> > :-\ >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > Regards, >> >> >> >> > >> >> >> >> > Ajay Garg >> >> >> >> > Dextrose Developer >> >> >> >> > Activity Central: http://activitycentral.com >> >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> Saludos >> >> >> >> Juan Ignacio Rodríguez >> >> >> >> *CeibalJAM!* >> >> >> >> *Somos Azucar* >> >> >> >> >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > Regards, >> >> >> > >> >> >> > Ajay Garg >> >> >> > Dextrose Developer >> >> >> > Activity Central: http://activitycentral.com >> >> >> > >> >> >> >> >> >> >> >> >> -- >> >> >> Saludos >> >> >> Juan Ignacio Rodríguez >> >> >> *CeibalJAM!* >> >> >> *Somos Azucar* >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > Regards, >> >> > >> >> > Ajay Garg >> >> > Dextrose Developer >> >> > Activity Central: http://activitycentral.com >> >> > >> >> >> >> >> >> -- >> >> Saludos >> >> Juan Ignacio Rodríguez >> >> *CeibalJAM!* >> >> *Somos Azucar* >> >> >> > >> > >> > >> > -- >> > Regards, >> > >> > Ajay Garg >> > Dextrose Developer >> > Activity Central: http://activitycentral.com >> > >> >> >> -- >> Saludos >> Juan Ignacio Rodríguez >> *CeibalJAM!* >> *Somos Azucar* >> > > > > -- > Regards, > > Ajay Garg > Dextrose Developer > Activity Central: http://activitycentral.com > -- Saludos Juan Igna
Re: [Sugar-devel] "Activating" a XO-1.5
http://www.ceibal.edu.uy/Articulos/PublishingImages/bot.JPG < key 2013/2/18, Ajay Garg : > On Mon, Feb 18, 2013 at 10:43 PM, Ignacio Rodríguez > wrote: > >> Start the XO with the "<--" key (In the screen) pressed. >> > > Sorry Ignacio. > I am unable to understand. > > Which key is this? > > > > >> >> 2013/2/18, Ajay Garg : >> > Thanks Ignacio :) >> > When I visit the link, it accepts the "Laptop-Serial" as "SHC", >> but >> > doesn't accept anything for "Laptop-UUID". >> > >> > Where can I find the laptop-UUID ? :P >> > >> > On Mon, Feb 18, 2013 at 10:27 PM, Ignacio Rodríguez >> > wrote: >> > >> >> No :P >> >> You can use: https://activation.laptop.org/devkey/post/ >> >> >> >> 2013/2/18, Ajay Garg : >> >> > Hi Ignacio. >> >> > >> >> > But i need to boot the XO once at least, so as to obtain the >> >> > developer >> >> key? >> >> > >> >> > On Mon, Feb 18, 2013 at 9:28 PM, Ignacio Rodríguez >> >> > wrote: >> >> > >> >> >> The xo is from Uruguay? >> >> >> .. >> >> >> Maybe you need a developer key.. See: >> >> >> http://wiki.laptop.org/go/Developer_key >> >> >> >> >> >> 2013/2/18, Ajay Garg : >> >> >> > Hi all. >> >> >> > >> >> >> > I have received a new XO-1.5. When I boot it, it shows >> "activation >> >> >> lease >> >> >> > not found". >> >> >> > >> >> >> > As per http://wiki.laptop.org/go/XO_1.5_B2, i tried the following >> >> steps >> >> >> :: >> >> >> > >> >> >> > a) >> >> >> > Downloaded the signed-image >> >> >> > >> http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd, >> >> >> > and >> >> >> > copied it to the root-directory on my USB-drive. >> >> >> > >> >> >> > b) >> >> >> > Downloaded the corresponding >> >> >> > >> >> >> >> >> >> http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd.zsp.fs1.zip >> >> >> ; >> >> >> > renamed it to "fs.zip", and copied it to the root directory of my >> >> >> > USB-drive. >> >> >> > >> >> >> > c) >> >> >> > Inserted the USB-drive into the XO-1.5 >> >> >> > >> >> >> > d) >> >> >> > Powered on the XO. >> >> >> > >> >> >> > e) >> >> >> > Immediately, pressed the 4 game-keys. >> >> >> > >> >> >> > f) >> >> >> > Upon seeing the message "Release the game keys to continue", >> >> unpressed >> >> >> the >> >> >> > keys. >> >> >> > Image installed successfully. >> >> >> > >> >> >> > g) >> >> >> > A firmware was flashed. >> >> >> > >> >> >> > h) >> >> >> > Removed the USB-drive. >> >> >> > >> >> >> > i) >> >> >> > Rebooted the XO. >> >> >> > >> >> >> > j) >> >> >> > Again, the message "Activation lease not found" was seen; the >> >> >> > image >> >> >> failed >> >> >> > to boot into sugar :-( :-( >> >> >> > >> >> >> > >> >> >> > >> >> >> > What step have I done wrong? >> >> >> > >> >> >> > Looking forward to some help, as I need to get the XO-1.5 >> >> >> > running >> >> >> > :-\ >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > Regards, >> >> >> > >> >> >> > Ajay Garg >> >> >> > Dextrose Developer >> >> >> > Activity Central: http://activitycentral.com >> >> >> > >> >> >> >> >> >> >> >> >> -- >> >> >> Saludos >> >> >> Juan Ignacio Rodríguez >> >> >> *CeibalJAM!* >> >> >> *Somos Azucar* >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > Regards, >> >> > >> >> > Ajay Garg >> >> > Dextrose Developer >> >> > Activity Central: http://activitycentral.com >> >> > >> >> >> >> >> >> -- >> >> Saludos >> >> Juan Ignacio Rodríguez >> >> *CeibalJAM!* >> >> *Somos Azucar* >> >> >> > >> > >> > >> > -- >> > Regards, >> > >> > Ajay Garg >> > Dextrose Developer >> > Activity Central: http://activitycentral.com >> > >> >> >> -- >> Saludos >> Juan Ignacio Rodríguez >> *CeibalJAM!* >> *Somos Azucar* >> > > > > -- > Regards, > > Ajay Garg > Dextrose Developer > Activity Central: http://activitycentral.com > -- Saludos Juan Ignacio Rodríguez *CeibalJAM!* *Somos Azucar* ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] "Activating" a XO-1.5
Start the XO with the "<--" key (In the screen) pressed. 2013/2/18, Ajay Garg : > Thanks Ignacio :) > When I visit the link, it accepts the "Laptop-Serial" as "SHC", but > doesn't accept anything for "Laptop-UUID". > > Where can I find the laptop-UUID ? :P > > On Mon, Feb 18, 2013 at 10:27 PM, Ignacio Rodríguez > wrote: > >> No :P >> You can use: https://activation.laptop.org/devkey/post/ >> >> 2013/2/18, Ajay Garg : >> > Hi Ignacio. >> > >> > But i need to boot the XO once at least, so as to obtain the developer >> key? >> > >> > On Mon, Feb 18, 2013 at 9:28 PM, Ignacio Rodríguez >> > wrote: >> > >> >> The xo is from Uruguay? >> >> .. >> >> Maybe you need a developer key.. See: >> >> http://wiki.laptop.org/go/Developer_key >> >> >> >> 2013/2/18, Ajay Garg : >> >> > Hi all. >> >> > >> >> > I have received a new XO-1.5. When I boot it, it shows "activation >> >> lease >> >> > not found". >> >> > >> >> > As per http://wiki.laptop.org/go/XO_1.5_B2, i tried the following >> steps >> >> :: >> >> > >> >> > a) >> >> > Downloaded the signed-image >> >> > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd, >> >> > and >> >> > copied it to the root-directory on my USB-drive. >> >> > >> >> > b) >> >> > Downloaded the corresponding >> >> > >> >> >> http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd.zsp.fs1.zip >> >> ; >> >> > renamed it to "fs.zip", and copied it to the root directory of my >> >> > USB-drive. >> >> > >> >> > c) >> >> > Inserted the USB-drive into the XO-1.5 >> >> > >> >> > d) >> >> > Powered on the XO. >> >> > >> >> > e) >> >> > Immediately, pressed the 4 game-keys. >> >> > >> >> > f) >> >> > Upon seeing the message "Release the game keys to continue", >> unpressed >> >> the >> >> > keys. >> >> > Image installed successfully. >> >> > >> >> > g) >> >> > A firmware was flashed. >> >> > >> >> > h) >> >> > Removed the USB-drive. >> >> > >> >> > i) >> >> > Rebooted the XO. >> >> > >> >> > j) >> >> > Again, the message "Activation lease not found" was seen; the image >> >> failed >> >> > to boot into sugar :-( :-( >> >> > >> >> > >> >> > >> >> > What step have I done wrong? >> >> > >> >> > Looking forward to some help, as I need to get the XO-1.5 running >> >> > :-\ >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > Regards, >> >> > >> >> > Ajay Garg >> >> > Dextrose Developer >> >> > Activity Central: http://activitycentral.com >> >> > >> >> >> >> >> >> -- >> >> Saludos >> >> Juan Ignacio Rodríguez >> >> *CeibalJAM!* >> >> *Somos Azucar* >> >> >> > >> > >> > >> > -- >> > Regards, >> > >> > Ajay Garg >> > Dextrose Developer >> > Activity Central: http://activitycentral.com >> > >> >> >> -- >> Saludos >> Juan Ignacio Rodríguez >> *CeibalJAM!* >> *Somos Azucar* >> > > > > -- > Regards, > > Ajay Garg > Dextrose Developer > Activity Central: http://activitycentral.com > -- Saludos Juan Ignacio Rodríguez *CeibalJAM!* *Somos Azucar* ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] "Activating" a XO-1.5
No :P You can use: https://activation.laptop.org/devkey/post/ 2013/2/18, Ajay Garg : > Hi Ignacio. > > But i need to boot the XO once at least, so as to obtain the developer key? > > On Mon, Feb 18, 2013 at 9:28 PM, Ignacio Rodríguez > wrote: > >> The xo is from Uruguay? >> .. >> Maybe you need a developer key.. See: >> http://wiki.laptop.org/go/Developer_key >> >> 2013/2/18, Ajay Garg : >> > Hi all. >> > >> > I have received a new XO-1.5. When I boot it, it shows "activation >> lease >> > not found". >> > >> > As per http://wiki.laptop.org/go/XO_1.5_B2, i tried the following steps >> :: >> > >> > a) >> > Downloaded the signed-image >> > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd, >> > and >> > copied it to the root-directory on my USB-drive. >> > >> > b) >> > Downloaded the corresponding >> > >> http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd.zsp.fs1.zip >> ; >> > renamed it to "fs.zip", and copied it to the root directory of my >> > USB-drive. >> > >> > c) >> > Inserted the USB-drive into the XO-1.5 >> > >> > d) >> > Powered on the XO. >> > >> > e) >> > Immediately, pressed the 4 game-keys. >> > >> > f) >> > Upon seeing the message "Release the game keys to continue", unpressed >> the >> > keys. >> > Image installed successfully. >> > >> > g) >> > A firmware was flashed. >> > >> > h) >> > Removed the USB-drive. >> > >> > i) >> > Rebooted the XO. >> > >> > j) >> > Again, the message "Activation lease not found" was seen; the image >> failed >> > to boot into sugar :-( :-( >> > >> > >> > >> > What step have I done wrong? >> > >> > Looking forward to some help, as I need to get the XO-1.5 running :-\ >> > >> > >> > >> > >> > >> > Regards, >> > >> > Ajay Garg >> > Dextrose Developer >> > Activity Central: http://activitycentral.com >> > >> >> >> -- >> Saludos >> Juan Ignacio Rodríguez >> *CeibalJAM!* >> *Somos Azucar* >> > > > > -- > Regards, > > Ajay Garg > Dextrose Developer > Activity Central: http://activitycentral.com > -- Saludos Juan Ignacio Rodríguez *CeibalJAM!* *Somos Azucar* ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] "Activating" a XO-1.5
The xo is from Uruguay? .. Maybe you need a developer key.. See: http://wiki.laptop.org/go/Developer_key 2013/2/18, Ajay Garg : > Hi all. > > I have received a new XO-1.5. When I boot it, it shows "activation lease > not found". > > As per http://wiki.laptop.org/go/XO_1.5_B2, i tried the following steps :: > > a) > Downloaded the signed-image > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd, and > copied it to the root-directory on my USB-drive. > > b) > Downloaded the corresponding > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd.zsp.fs1.zip; > renamed it to "fs.zip", and copied it to the root directory of my > USB-drive. > > c) > Inserted the USB-drive into the XO-1.5 > > d) > Powered on the XO. > > e) > Immediately, pressed the 4 game-keys. > > f) > Upon seeing the message "Release the game keys to continue", unpressed the > keys. > Image installed successfully. > > g) > A firmware was flashed. > > h) > Removed the USB-drive. > > i) > Rebooted the XO. > > j) > Again, the message "Activation lease not found" was seen; the image failed > to boot into sugar :-( :-( > > > > What step have I done wrong? > > Looking forward to some help, as I need to get the XO-1.5 running :-\ > > > > > > Regards, > > Ajay Garg > Dextrose Developer > Activity Central: http://activitycentral.com > -- Saludos Juan Ignacio Rodríguez *CeibalJAM!* *Somos Azucar* ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] "Activating" a XO-1.5
On Mon, Feb 18, 2013 at 11:11 PM, Ignacio Rodríguez wrote: > Yes.. 24 hours.. That's a long wait .. > hehe.. I would have been wandering many days without you :) Thanks a ton again ! > > 2013/2/18, Ajay Garg : > > Thanks a ton Ignacio > > !! :) :) :) > > > > Just one last query : > > A link has been generated, which says > > > > " > > Your developer key will be ready in 23 hours, 55 minutes. > > Please check back later. > > " > > > > So, I visit the same link after 24 hours, right? > > > > > > Thanks again !! > > > > On Mon, Feb 18, 2013 at 10:53 PM, Ignacio Rodríguez > > wrote: > > > >> http://www.ceibal.edu.uy/Articulos/PublishingImages/bot.JPG > >> > >> < key > >> > >> 2013/2/18, Ajay Garg : > >> > On Mon, Feb 18, 2013 at 10:43 PM, Ignacio Rodríguez > >> > wrote: > >> > > >> >> Start the XO with the "<--" key (In the screen) pressed. > >> >> > >> > > >> > Sorry Ignacio. > >> > I am unable to understand. > >> > > >> > Which key is this? > >> > > >> > > >> > > >> > > >> >> > >> >> 2013/2/18, Ajay Garg : > >> >> > Thanks Ignacio :) > >> >> > When I visit the link, it accepts the "Laptop-Serial" as > >> "SHC", > >> >> but > >> >> > doesn't accept anything for "Laptop-UUID". > >> >> > > >> >> > Where can I find the laptop-UUID ? :P > >> >> > > >> >> > On Mon, Feb 18, 2013 at 10:27 PM, Ignacio Rodríguez > >> >> > wrote: > >> >> > > >> >> >> No :P > >> >> >> You can use: https://activation.laptop.org/devkey/post/ > >> >> >> > >> >> >> 2013/2/18, Ajay Garg : > >> >> >> > Hi Ignacio. > >> >> >> > > >> >> >> > But i need to boot the XO once at least, so as to obtain the > >> >> >> > developer > >> >> >> key? > >> >> >> > > >> >> >> > On Mon, Feb 18, 2013 at 9:28 PM, Ignacio Rodríguez > >> >> >> > wrote: > >> >> >> > > >> >> >> >> The xo is from Uruguay? > >> >> >> >> .. > >> >> >> >> Maybe you need a developer key.. See: > >> >> >> >> http://wiki.laptop.org/go/Developer_key > >> >> >> >> > >> >> >> >> 2013/2/18, Ajay Garg : > >> >> >> >> > Hi all. > >> >> >> >> > > >> >> >> >> > I have received a new XO-1.5. When I boot it, it shows > >> >> "activation > >> >> >> >> lease > >> >> >> >> > not found". > >> >> >> >> > > >> >> >> >> > As per http://wiki.laptop.org/go/XO_1.5_B2, i tried the > >> following > >> >> >> steps > >> >> >> >> :: > >> >> >> >> > > >> >> >> >> > a) > >> >> >> >> > Downloaded the signed-image > >> >> >> >> > > >> >> http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd, > >> >> >> >> > and > >> >> >> >> > copied it to the root-directory on my USB-drive. > >> >> >> >> > > >> >> >> >> > b) > >> >> >> >> > Downloaded the corresponding > >> >> >> >> > > >> >> >> >> > >> >> >> > >> >> > >> > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd.zsp.fs1.zip > >> >> >> >> ; > >> >> >> >> > renamed it to "fs.zip", and copied it to the root directory > of > >> my > >> >> >> >> > USB-drive. > >> >> >> >> > > >> >> >> >> > c) > >> >> >> >> > Inserted the USB-drive into the XO-1.5 > >> >> >> >> > > >> >> >> >> > d) > >> >> >> >> > Powered on the XO. > >> >> >> >> > > >> >> >> >> > e) > >> >> >> >> > Immediately, pressed the 4 game-keys. > >> >> >> >> > > >> >> >> >> > f) > >> >> >> >> > Upon seeing the message "Release the game keys to continue", > >> >> >> unpressed > >> >> >> >> the > >> >> >> >> > keys. > >> >> >> >> > Image installed successfully. > >> >> >> >> > > >> >> >> >> > g) > >> >> >> >> > A firmware was flashed. > >> >> >> >> > > >> >> >> >> > h) > >> >> >> >> > Removed the USB-drive. > >> >> >> >> > > >> >> >> >> > i) > >> >> >> >> > Rebooted the XO. > >> >> >> >> > > >> >> >> >> > j) > >> >> >> >> > Again, the message "Activation lease not found" was seen; the > >> >> >> >> > image > >> >> >> >> failed > >> >> >> >> > to boot into sugar :-( :-( > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > What step have I done wrong? > >> >> >> >> > > >> >> >> >> > Looking forward to some help, as I need to get the XO-1.5 > >> >> >> >> > running > >> >> >> >> > :-\ > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > Regards, > >> >> >> >> > > >> >> >> >> > Ajay Garg > >> >> >> >> > Dextrose Developer > >> >> >> >> > Activity Central: http://activitycentral.com > >> >> >> >> > > >> >> >> >> > >> >> >> >> > >> >> >> >> -- > >> >> >> >> Saludos > >> >> >> >> Juan Ignacio Rodríguez > >> >> >> >> *CeibalJAM!* > >> >> >> >> *Somos Azucar* > >> >> >> >> > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > -- > >> >> >> > Regards, > >> >> >> > > >> >> >> > Ajay Garg > >> >> >> > Dextrose Developer > >> >> >> > Activity Central: http://activitycentral.com > >> >> >> > > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> Saludos > >> >> >> Juan Ignacio Rodríguez > >> >> >> *CeibalJAM!* > >> >> >> *Somos Azucar* > >> >> >> > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Regards, > >> >> > > >> >> > Ajay Garg > >> >> > Dextrose De
Re: [Sugar-devel] "Activating" a XO-1.5
Thanks a ton Ignacio !! :) :) :) Just one last query : A link has been generated, which says " Your developer key will be ready in 23 hours, 55 minutes. Please check back later. " So, I visit the same link after 24 hours, right? Thanks again !! On Mon, Feb 18, 2013 at 10:53 PM, Ignacio Rodríguez wrote: > http://www.ceibal.edu.uy/Articulos/PublishingImages/bot.JPG > > < key > > 2013/2/18, Ajay Garg : > > On Mon, Feb 18, 2013 at 10:43 PM, Ignacio Rodríguez > > wrote: > > > >> Start the XO with the "<--" key (In the screen) pressed. > >> > > > > Sorry Ignacio. > > I am unable to understand. > > > > Which key is this? > > > > > > > > > >> > >> 2013/2/18, Ajay Garg : > >> > Thanks Ignacio :) > >> > When I visit the link, it accepts the "Laptop-Serial" as > "SHC", > >> but > >> > doesn't accept anything for "Laptop-UUID". > >> > > >> > Where can I find the laptop-UUID ? :P > >> > > >> > On Mon, Feb 18, 2013 at 10:27 PM, Ignacio Rodríguez > >> > wrote: > >> > > >> >> No :P > >> >> You can use: https://activation.laptop.org/devkey/post/ > >> >> > >> >> 2013/2/18, Ajay Garg : > >> >> > Hi Ignacio. > >> >> > > >> >> > But i need to boot the XO once at least, so as to obtain the > >> >> > developer > >> >> key? > >> >> > > >> >> > On Mon, Feb 18, 2013 at 9:28 PM, Ignacio Rodríguez > >> >> > wrote: > >> >> > > >> >> >> The xo is from Uruguay? > >> >> >> .. > >> >> >> Maybe you need a developer key.. See: > >> >> >> http://wiki.laptop.org/go/Developer_key > >> >> >> > >> >> >> 2013/2/18, Ajay Garg : > >> >> >> > Hi all. > >> >> >> > > >> >> >> > I have received a new XO-1.5. When I boot it, it shows > >> "activation > >> >> >> lease > >> >> >> > not found". > >> >> >> > > >> >> >> > As per http://wiki.laptop.org/go/XO_1.5_B2, i tried the > following > >> >> steps > >> >> >> :: > >> >> >> > > >> >> >> > a) > >> >> >> > Downloaded the signed-image > >> >> >> > > >> http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd, > >> >> >> > and > >> >> >> > copied it to the root-directory on my USB-drive. > >> >> >> > > >> >> >> > b) > >> >> >> > Downloaded the corresponding > >> >> >> > > >> >> >> > >> >> > >> > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd.zsp.fs1.zip > >> >> >> ; > >> >> >> > renamed it to "fs.zip", and copied it to the root directory of > my > >> >> >> > USB-drive. > >> >> >> > > >> >> >> > c) > >> >> >> > Inserted the USB-drive into the XO-1.5 > >> >> >> > > >> >> >> > d) > >> >> >> > Powered on the XO. > >> >> >> > > >> >> >> > e) > >> >> >> > Immediately, pressed the 4 game-keys. > >> >> >> > > >> >> >> > f) > >> >> >> > Upon seeing the message "Release the game keys to continue", > >> >> unpressed > >> >> >> the > >> >> >> > keys. > >> >> >> > Image installed successfully. > >> >> >> > > >> >> >> > g) > >> >> >> > A firmware was flashed. > >> >> >> > > >> >> >> > h) > >> >> >> > Removed the USB-drive. > >> >> >> > > >> >> >> > i) > >> >> >> > Rebooted the XO. > >> >> >> > > >> >> >> > j) > >> >> >> > Again, the message "Activation lease not found" was seen; the > >> >> >> > image > >> >> >> failed > >> >> >> > to boot into sugar :-( :-( > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > What step have I done wrong? > >> >> >> > > >> >> >> > Looking forward to some help, as I need to get the XO-1.5 > >> >> >> > running > >> >> >> > :-\ > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > Regards, > >> >> >> > > >> >> >> > Ajay Garg > >> >> >> > Dextrose Developer > >> >> >> > Activity Central: http://activitycentral.com > >> >> >> > > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> Saludos > >> >> >> Juan Ignacio Rodríguez > >> >> >> *CeibalJAM!* > >> >> >> *Somos Azucar* > >> >> >> > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Regards, > >> >> > > >> >> > Ajay Garg > >> >> > Dextrose Developer > >> >> > Activity Central: http://activitycentral.com > >> >> > > >> >> > >> >> > >> >> -- > >> >> Saludos > >> >> Juan Ignacio Rodríguez > >> >> *CeibalJAM!* > >> >> *Somos Azucar* > >> >> > >> > > >> > > >> > > >> > -- > >> > Regards, > >> > > >> > Ajay Garg > >> > Dextrose Developer > >> > Activity Central: http://activitycentral.com > >> > > >> > >> > >> -- > >> Saludos > >> Juan Ignacio Rodríguez > >> *CeibalJAM!* > >> *Somos Azucar* > >> > > > > > > > > -- > > Regards, > > > > Ajay Garg > > Dextrose Developer > > Activity Central: http://activitycentral.com > > > > > -- > Saludos > Juan Ignacio Rodríguez > *CeibalJAM!* > *Somos Azucar* > -- Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] "Activating" a XO-1.5
On Mon, Feb 18, 2013 at 10:43 PM, Ignacio Rodríguez wrote: > Start the XO with the "<--" key (In the screen) pressed. > Sorry Ignacio. I am unable to understand. Which key is this? > > 2013/2/18, Ajay Garg : > > Thanks Ignacio :) > > When I visit the link, it accepts the "Laptop-Serial" as "SHC", > but > > doesn't accept anything for "Laptop-UUID". > > > > Where can I find the laptop-UUID ? :P > > > > On Mon, Feb 18, 2013 at 10:27 PM, Ignacio Rodríguez > > wrote: > > > >> No :P > >> You can use: https://activation.laptop.org/devkey/post/ > >> > >> 2013/2/18, Ajay Garg : > >> > Hi Ignacio. > >> > > >> > But i need to boot the XO once at least, so as to obtain the developer > >> key? > >> > > >> > On Mon, Feb 18, 2013 at 9:28 PM, Ignacio Rodríguez > >> > wrote: > >> > > >> >> The xo is from Uruguay? > >> >> .. > >> >> Maybe you need a developer key.. See: > >> >> http://wiki.laptop.org/go/Developer_key > >> >> > >> >> 2013/2/18, Ajay Garg : > >> >> > Hi all. > >> >> > > >> >> > I have received a new XO-1.5. When I boot it, it shows > "activation > >> >> lease > >> >> > not found". > >> >> > > >> >> > As per http://wiki.laptop.org/go/XO_1.5_B2, i tried the following > >> steps > >> >> :: > >> >> > > >> >> > a) > >> >> > Downloaded the signed-image > >> >> > > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd, > >> >> > and > >> >> > copied it to the root-directory on my USB-drive. > >> >> > > >> >> > b) > >> >> > Downloaded the corresponding > >> >> > > >> >> > >> > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd.zsp.fs1.zip > >> >> ; > >> >> > renamed it to "fs.zip", and copied it to the root directory of my > >> >> > USB-drive. > >> >> > > >> >> > c) > >> >> > Inserted the USB-drive into the XO-1.5 > >> >> > > >> >> > d) > >> >> > Powered on the XO. > >> >> > > >> >> > e) > >> >> > Immediately, pressed the 4 game-keys. > >> >> > > >> >> > f) > >> >> > Upon seeing the message "Release the game keys to continue", > >> unpressed > >> >> the > >> >> > keys. > >> >> > Image installed successfully. > >> >> > > >> >> > g) > >> >> > A firmware was flashed. > >> >> > > >> >> > h) > >> >> > Removed the USB-drive. > >> >> > > >> >> > i) > >> >> > Rebooted the XO. > >> >> > > >> >> > j) > >> >> > Again, the message "Activation lease not found" was seen; the image > >> >> failed > >> >> > to boot into sugar :-( :-( > >> >> > > >> >> > > >> >> > > >> >> > What step have I done wrong? > >> >> > > >> >> > Looking forward to some help, as I need to get the XO-1.5 running > >> >> > :-\ > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > Regards, > >> >> > > >> >> > Ajay Garg > >> >> > Dextrose Developer > >> >> > Activity Central: http://activitycentral.com > >> >> > > >> >> > >> >> > >> >> -- > >> >> Saludos > >> >> Juan Ignacio Rodríguez > >> >> *CeibalJAM!* > >> >> *Somos Azucar* > >> >> > >> > > >> > > >> > > >> > -- > >> > Regards, > >> > > >> > Ajay Garg > >> > Dextrose Developer > >> > Activity Central: http://activitycentral.com > >> > > >> > >> > >> -- > >> Saludos > >> Juan Ignacio Rodríguez > >> *CeibalJAM!* > >> *Somos Azucar* > >> > > > > > > > > -- > > Regards, > > > > Ajay Garg > > Dextrose Developer > > Activity Central: http://activitycentral.com > > > > > -- > Saludos > Juan Ignacio Rodríguez > *CeibalJAM!* > *Somos Azucar* > -- Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: 13.1.0 release candidate 6 (build 30) released
I do not see one so I filed #12560. On Sun, Feb 17, 2013 at 5:18 PM, James Cameron wrote: > On Fri, Feb 15, 2013 at 09:55:44AM -0500, Samuel Greenfeld wrote: > > Do not install Q7B16 when using this build on a XO-4 as that can > > cause the wifi card to fail to resume after suspend cycles. > > Is there a ticket for this one? > > -- > James Cameron > http://quozl.linux.org.au/ > ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] "Activating" a XO-1.5
Thanks Ignacio :) When I visit the link, it accepts the "Laptop-Serial" as "SHC", but doesn't accept anything for "Laptop-UUID". Where can I find the laptop-UUID ? :P On Mon, Feb 18, 2013 at 10:27 PM, Ignacio Rodríguez wrote: > No :P > You can use: https://activation.laptop.org/devkey/post/ > > 2013/2/18, Ajay Garg : > > Hi Ignacio. > > > > But i need to boot the XO once at least, so as to obtain the developer > key? > > > > On Mon, Feb 18, 2013 at 9:28 PM, Ignacio Rodríguez > > wrote: > > > >> The xo is from Uruguay? > >> .. > >> Maybe you need a developer key.. See: > >> http://wiki.laptop.org/go/Developer_key > >> > >> 2013/2/18, Ajay Garg : > >> > Hi all. > >> > > >> > I have received a new XO-1.5. When I boot it, it shows "activation > >> lease > >> > not found". > >> > > >> > As per http://wiki.laptop.org/go/XO_1.5_B2, i tried the following > steps > >> :: > >> > > >> > a) > >> > Downloaded the signed-image > >> > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd, > >> > and > >> > copied it to the root-directory on my USB-drive. > >> > > >> > b) > >> > Downloaded the corresponding > >> > > >> > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd.zsp.fs1.zip > >> ; > >> > renamed it to "fs.zip", and copied it to the root directory of my > >> > USB-drive. > >> > > >> > c) > >> > Inserted the USB-drive into the XO-1.5 > >> > > >> > d) > >> > Powered on the XO. > >> > > >> > e) > >> > Immediately, pressed the 4 game-keys. > >> > > >> > f) > >> > Upon seeing the message "Release the game keys to continue", > unpressed > >> the > >> > keys. > >> > Image installed successfully. > >> > > >> > g) > >> > A firmware was flashed. > >> > > >> > h) > >> > Removed the USB-drive. > >> > > >> > i) > >> > Rebooted the XO. > >> > > >> > j) > >> > Again, the message "Activation lease not found" was seen; the image > >> failed > >> > to boot into sugar :-( :-( > >> > > >> > > >> > > >> > What step have I done wrong? > >> > > >> > Looking forward to some help, as I need to get the XO-1.5 running :-\ > >> > > >> > > >> > > >> > > >> > > >> > Regards, > >> > > >> > Ajay Garg > >> > Dextrose Developer > >> > Activity Central: http://activitycentral.com > >> > > >> > >> > >> -- > >> Saludos > >> Juan Ignacio Rodríguez > >> *CeibalJAM!* > >> *Somos Azucar* > >> > > > > > > > > -- > > Regards, > > > > Ajay Garg > > Dextrose Developer > > Activity Central: http://activitycentral.com > > > > > -- > Saludos > Juan Ignacio Rodríguez > *CeibalJAM!* > *Somos Azucar* > -- Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] "Activating" a XO-1.5
Hi Ignacio. But i need to boot the XO once at least, so as to obtain the developer key? On Mon, Feb 18, 2013 at 9:28 PM, Ignacio Rodríguez wrote: > The xo is from Uruguay? > .. > Maybe you need a developer key.. See: > http://wiki.laptop.org/go/Developer_key > > 2013/2/18, Ajay Garg : > > Hi all. > > > > I have received a new XO-1.5. When I boot it, it shows "activation > lease > > not found". > > > > As per http://wiki.laptop.org/go/XO_1.5_B2, i tried the following steps > :: > > > > a) > > Downloaded the signed-image > > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd, and > > copied it to the root-directory on my USB-drive. > > > > b) > > Downloaded the corresponding > > > http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd.zsp.fs1.zip > ; > > renamed it to "fs.zip", and copied it to the root directory of my > > USB-drive. > > > > c) > > Inserted the USB-drive into the XO-1.5 > > > > d) > > Powered on the XO. > > > > e) > > Immediately, pressed the 4 game-keys. > > > > f) > > Upon seeing the message "Release the game keys to continue", unpressed > the > > keys. > > Image installed successfully. > > > > g) > > A firmware was flashed. > > > > h) > > Removed the USB-drive. > > > > i) > > Rebooted the XO. > > > > j) > > Again, the message "Activation lease not found" was seen; the image > failed > > to boot into sugar :-( :-( > > > > > > > > What step have I done wrong? > > > > Looking forward to some help, as I need to get the XO-1.5 running :-\ > > > > > > > > > > > > Regards, > > > > Ajay Garg > > Dextrose Developer > > Activity Central: http://activitycentral.com > > > > > -- > Saludos > Juan Ignacio Rodríguez > *CeibalJAM!* > *Somos Azucar* > -- Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
"Activating" a XO-1.5
Hi all. I have received a new XO-1.5. When I boot it, it shows "activation lease not found". As per http://wiki.laptop.org/go/XO_1.5_B2, i tried the following steps :: a) Downloaded the signed-image http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd, and copied it to the root-directory on my USB-drive. b) Downloaded the corresponding http://download.laptop.org/xo-1.5/os/candidate/13.1.0-21/31021o1.zd.zsp.fs1.zip; renamed it to "fs.zip", and copied it to the root directory of my USB-drive. c) Inserted the USB-drive into the XO-1.5 d) Powered on the XO. e) Immediately, pressed the 4 game-keys. f) Upon seeing the message "Release the game keys to continue", unpressed the keys. Image installed successfully. g) A firmware was flashed. h) Removed the USB-drive. i) Rebooted the XO. j) Again, the message "Activation lease not found" was seen; the image failed to boot into sugar :-( :-( What step have I done wrong? Looking forward to some help, as I need to get the XO-1.5 running :-\ Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Is it possible to hack the "rotate" key?
On Mon, Feb 18, 2013 at 7:58 PM, Paul Fox wrote: > ajay wrote: > > Thanks Gary and Paul. > > I tested "Moon" on build 28 on XO-4; and the rotation caused the canvas > to > > be redrawn appropriately. > > > > okay. was that unexpected? > > No.. just wanted to state it explicitly that it worked :) > > > > > Paul, > > > > I have two queries :: > > > > a) > > In "Moon"'s code (as already told by Gary), the "size-changed" signal is > > used to call the callback that redraws the canvas. > > So, in this case, is the "size-changed" signal a result of the > > rotate-key-event (KEY_SWITCHVIDEOMODE), or "size-changed" signal is > > generated via some another mechanism? > > i don't know. > ok :) > > > > > b) > > Is the behaviour of olpc-kbdshim the same for a XO-1.75 and a XO-4 (as > far > > as "that code is written to either run a command > > attached to the event (currently /usr/bin/olpc-rotate), or pass the > event > > through, but not both" is concerned)? > > yes. and for XO-1 and XO-1.5 as well. > Great.. thanks !!! > > paul > > > > > > > > > > > On Mon, Feb 18, 2013 at 7:18 PM, Paul Fox wrote: > > > > > ajay wrote: > > > > Hi all. > > > > > > > > Is it possible to hack the "rotate" key in XO? > > > > > > > > I wish to have the following working :: > > > > > > > > * Press the "rotate" key. This will rotate the window. > > > > * Just after that, have a callback function being called in > "sugar" > > > > (this of course being possible only if the "rotate" key could be > > > hacked). > > > > > > > > > > as gary points out, the rotate key event (KEY_SWITCHVIDEOMODE) is > > > caught by olpc-kbdshim. that code is written to either run a command > > > attached to the event (currently /usr/bin/olpc-rotate), or pass the > > > event through, but not both. > > > > > > if there were consensus that running the command _and_ passing the > > > event was safe and reasonable, maybe we could do that, though it > > > doesn't feel right to me. > > > > > > but i also think gary's on the right track by suggesting you look at > > > other window events to learn of the rotation changes -- after all, > > > rotation doesn't require a button press. it can be caused by manual > > > xrandr invocation, or simply by someone typing "olpc-rotate left". > > > > > > paul > > > > > > > > > > > > > > > I will be thankful for any pointers. > > > > > > > > > > > > > > > > Regards, > > > > > > > > Ajay Garg > > > > Dextrose Developer > > > > Activity Central: http://activitycentral.com > > > > part 2 text/plain 129 > > > > ___ > > > > Devel mailing list > > > > Devel@lists.laptop.org > > > > http://lists.laptop.org/listinfo/devel > > > > > > =- > > > paul fox, p...@laptop.org > > > ___ > > > Devel mailing list > > > Devel@lists.laptop.org > > > http://lists.laptop.org/listinfo/devel > > > > > > > > > > > -- > > Regards, > > > > Ajay Garg > > Dextrose Developer > > Activity Central: http://activitycentral.com > > =- > paul fox, p...@laptop.org > ___ > Devel mailing list > Devel@lists.laptop.org > http://lists.laptop.org/listinfo/devel > -- Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Is it possible to hack the "rotate" key?
ajay wrote: > Thanks Gary and Paul. > I tested "Moon" on build 28 on XO-4; and the rotation caused the canvas to > be redrawn appropriately. > okay. was that unexpected? > > Paul, > > I have two queries :: > > a) > In "Moon"'s code (as already told by Gary), the "size-changed" signal is > used to call the callback that redraws the canvas. > So, in this case, is the "size-changed" signal a result of the > rotate-key-event (KEY_SWITCHVIDEOMODE), or "size-changed" signal is > generated via some another mechanism? i don't know. > > b) > Is the behaviour of olpc-kbdshim the same for a XO-1.75 and a XO-4 (as far > as "that code is written to either run a command > attached to the event (currently /usr/bin/olpc-rotate), or pass the event > through, but not both" is concerned)? yes. and for XO-1 and XO-1.5 as well. paul > > > > > On Mon, Feb 18, 2013 at 7:18 PM, Paul Fox wrote: > > > ajay wrote: > > > Hi all. > > > > > > Is it possible to hack the "rotate" key in XO? > > > > > > I wish to have the following working :: > > > > > > * Press the "rotate" key. This will rotate the window. > > > * Just after that, have a callback function being called in "sugar" > > > (this of course being possible only if the "rotate" key could be > > hacked). > > > > > > > as gary points out, the rotate key event (KEY_SWITCHVIDEOMODE) is > > caught by olpc-kbdshim. that code is written to either run a command > > attached to the event (currently /usr/bin/olpc-rotate), or pass the > > event through, but not both. > > > > if there were consensus that running the command _and_ passing the > > event was safe and reasonable, maybe we could do that, though it > > doesn't feel right to me. > > > > but i also think gary's on the right track by suggesting you look at > > other window events to learn of the rotation changes -- after all, > > rotation doesn't require a button press. it can be caused by manual > > xrandr invocation, or simply by someone typing "olpc-rotate left". > > > > paul > > > > > > > > > > > I will be thankful for any pointers. > > > > > > > > > > > > Regards, > > > > > > Ajay Garg > > > Dextrose Developer > > > Activity Central: http://activitycentral.com > > > part 2 text/plain 129 > > > ___ > > > Devel mailing list > > > Devel@lists.laptop.org > > > http://lists.laptop.org/listinfo/devel > > > > =- > > paul fox, p...@laptop.org > > ___ > > Devel mailing list > > Devel@lists.laptop.org > > http://lists.laptop.org/listinfo/devel > > > > > > -- > Regards, > > Ajay Garg > Dextrose Developer > Activity Central: http://activitycentral.com =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Is it possible to hack the "rotate" key?
Thanks Gary and Paul. I tested "Moon" on build 28 on XO-4; and the rotation caused the canvas to be redrawn appropriately. Paul, I have two queries :: a) In "Moon"'s code (as already told by Gary), the "size-changed" signal is used to call the callback that redraws the canvas. So, in this case, is the "size-changed" signal a result of the rotate-key-event (KEY_SWITCHVIDEOMODE), or "size-changed" signal is generated via some another mechanism? b) Is the behaviour of olpc-kbdshim the same for a XO-1.75 and a XO-4 (as far as "that code is written to either run a command attached to the event (currently /usr/bin/olpc-rotate), or pass the event through, but not both" is concerned)? On Mon, Feb 18, 2013 at 7:18 PM, Paul Fox wrote: > ajay wrote: > > Hi all. > > > > Is it possible to hack the "rotate" key in XO? > > > > I wish to have the following working :: > > > > * Press the "rotate" key. This will rotate the window. > > * Just after that, have a callback function being called in "sugar" > > (this of course being possible only if the "rotate" key could be > hacked). > > > > as gary points out, the rotate key event (KEY_SWITCHVIDEOMODE) is > caught by olpc-kbdshim. that code is written to either run a command > attached to the event (currently /usr/bin/olpc-rotate), or pass the > event through, but not both. > > if there were consensus that running the command _and_ passing the > event was safe and reasonable, maybe we could do that, though it > doesn't feel right to me. > > but i also think gary's on the right track by suggesting you look at > other window events to learn of the rotation changes -- after all, > rotation doesn't require a button press. it can be caused by manual > xrandr invocation, or simply by someone typing "olpc-rotate left". > > paul > > > > > > > I will be thankful for any pointers. > > > > > > > > Regards, > > > > Ajay Garg > > Dextrose Developer > > Activity Central: http://activitycentral.com > > part 2 text/plain 129 > > ___ > > Devel mailing list > > Devel@lists.laptop.org > > http://lists.laptop.org/listinfo/devel > > =- > paul fox, p...@laptop.org > ___ > Devel mailing list > Devel@lists.laptop.org > http://lists.laptop.org/listinfo/devel > -- Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Is it possible to hack the "rotate" key?
ajay wrote: > Hi all. > > Is it possible to hack the "rotate" key in XO? > > I wish to have the following working :: > > * Press the "rotate" key. This will rotate the window. > * Just after that, have a callback function being called in "sugar" > (this of course being possible only if the "rotate" key could be hacked). > as gary points out, the rotate key event (KEY_SWITCHVIDEOMODE) is caught by olpc-kbdshim. that code is written to either run a command attached to the event (currently /usr/bin/olpc-rotate), or pass the event through, but not both. if there were consensus that running the command _and_ passing the event was safe and reasonable, maybe we could do that, though it doesn't feel right to me. but i also think gary's on the right track by suggesting you look at other window events to learn of the rotation changes -- after all, rotation doesn't require a button press. it can be caused by manual xrandr invocation, or simply by someone typing "olpc-rotate left". paul > > > I will be thankful for any pointers. > > > > Regards, > > Ajay Garg > Dextrose Developer > Activity Central: http://activitycentral.com > part 2 text/plain 129 > ___ > Devel mailing list > Devel@lists.laptop.org > http://lists.laptop.org/listinfo/devel =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Is it possible to hack the "rotate" key?
Hi Ajay, On 18 Feb 2013, at 11:12, Ajay Garg wrote: > Hi all. > > Is it possible to hack the "rotate" key in XO? > > I wish to have the following working :: > > * Press the "rotate" key. This will rotate the window. > * Just after that, have a callback function being called in "sugar" > (this of course being possible only if the "rotate" key could be hacked). > > > > I will be thankful for any pointers. This is a little out of my league, but I think you'll need to take a look at olpc-kbdshim [1] so see how things are currently triggered, in particular the olpc-rotate script. If you want to pickup aspect ration changes on the Sugar side, perhaps hook a gtk.gdk.screen_get_default().connect('size-changed', ) callback intp the sugar toolkit. I've implemented something simple like this in the Moon activity, so that it uses different layouts for landscape and portrait screen orientations [3]. Regards, --Gary [1] http://dev.laptop.org/git/users/pgf/olpc-kbdshim/ [2] http://dev.laptop.org/git/users/pgf/olpc-kbdshim/tree/olpc-rotate [3] http://git.sugarlabs.org/moon/mainline/blobs/master/moon.py > Regards, > > Ajay Garg > Dextrose Developer > Activity Central: http://activitycentral.com > ___ > Devel mailing list > Devel@lists.laptop.org > http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Is it possible to hack the "rotate" key?
Hi all. Is it possible to hack the "rotate" key in XO? I wish to have the following working :: * Press the "rotate" key. This will rotate the window. * Just after that, have a callback function being called in "sugar" (this of course being possible only if the "rotate" key could be hacked). I will be thankful for any pointers. Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel