On 31 Mar 2014, at 13:57, Julien Wajsberg <[email protected]> wrote:

> Le 28/03/2014 20:03, Saulo a écrit :
>> Hi,
>> 
>>   I am trying to build B2G for my desktop following the instruction 
>> described here: 
>> https://developer.mozilla.org/en-US/Firefox_OS/Using_the_B2G_desktop_client 
>> but after the build when I execute b2g it is showing a locked screen where I 
>> am not able to unlock using the mouse cursor.
>> 
>>  So described in the Mozilla's tutorial the topic "Creating a 
>> custom-settings.json" tells me how to fix it creating a file called 
>> custom-settings.json and setting "lockscreen.enabled" and 
>> "lockscreen.locked" to false.
>> 
>>  But Gaia source code already have a file called "common-settings.json" with 
>> "lockscreen.enabled" and "lockscreen.locked" option so I am not sure if it 
>> is really necessary to create a new file called custom-settings... and even 
>> when using lockscreen as false it is showing a locked screen.
>> 
>>  Is someone building Gaia for desktop here? How can I solve this problem?
>> 
> 
> Hey !
> 
> I added the NO_LOCK_SCREEN environment variable to the Makefile
> especially for this :)
> 
> So you should generate a profile using:
> 
>  NO_LOCK_SCREEN=1 DEBUG=1 DESKTOP=0 PROFILE_FOLDER=profile-b2g-desktop make
> 
> And then use the profile generated in the folder profile-b2g-desktop.

I have added both NO_LOCK_SCREEN and PROFILE_FOLDER to our hacking Gaia 
article, as neither were mentioned:

https://developer.mozilla.org/en-US/Firefox_OS/Platform/Gaia/Hacking#Specify_custom_profile_folder
https://developer.mozilla.org/en-US/Firefox_OS/Platform/Gaia/Hacking#Disable_lockscreen
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to