Unlock to different desktops from the lock screen.

Unlock to different desktops from the lock screen.

Using LLX lock screen, how can I configure gestures or the unlocker to unlock to different desktops ?

Example, swipe right for my daytime desktop, swipe left for my running desktop.

I can configure gestures, let’s say right swipe, to directly load an application from the lock screen, and that works fine. However, I cannot seem to get any Lightning shortcuts to work from the lockscreen.  If they worked, I could have used goto desktop and page, or a desktop bookmark. It seems as if all the lightning shortcuts require the desktop to be unlocked first, wheras it does allow other apps to be loaded directly without issue.

I don’t use scripts, is there any other way I can work around this or is it a bug ?

Thanks

Nigel

]]>

21 Commentsto Unlock to different desktops from the lock screen.

  1. Anonymous says:

    < ![CDATA[

    Added – ticking the “Launch Unlock” option seems to make no difference to anything, whether ticked or unticked.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    When bookmarks are activated from the lockscreen they are “executed” inside its context, not the home screen context, and this explain why it does not work as expected.


    Doing things through a script would lead to the same result for the same reason. Maybe a workaround would be to detect this situation and redirects bookmarks from the lockscreen to the home screen, but I am not yet sure that it can be done.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Thanks for the reply Pierre. Interestingly the option to select a screen works fine. So I can swipe to have the screen selection displayed, you know the one where you have the small screen icons and can scroll and select the one, but I can’t swipe and go directly to a screen with the go-to desktop icon.


    Regards


    Nigel

    ]]>

  4. Anonymous says:

    < ![CDATA[

    All desktops are “shared” between the home screen, the lock screen and the app drawer (even if this one is artificially excluded from this list). This explain why you can view all desktops and select one. But unfortunately the lock screen is not aware of the home screen, and when it receives a “go to this desktop N” and “N” is not the lock screen desktop, then the lock screen silently skip the action.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Ah ok, I think I understand that. Is there any other way of achieving loading a different desktop from the lock screen ?


    I don’t do the scripts, but would it be possible to run a script on the gesture, where the script does two things, unlocks the screen and then goes to screen n ?


    Thanks,


    Nigel

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Maybe try this script (this is a hack):



    var DESKTOP = 0; // set this to your destination desktop identifier


    LL.unlock();


    var intent = new Intent();


    intent.setClassName( “net.pierrox.lightning_launcher_extreme”, “net.pierrox.lightning_launcher.activities.Dashboard”);


    intent.putExtra(“p”, DESKTOP);


    LL.startActivity(intent);



    The desktop identifier can be found by creating a script “alert(LL.getCurrentDesktop().getId());”, check Lightning menu, then go on the desktop and from the script menu execute this one.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Thanks Pierre, much appreciated, I will give that a try.


    Best regards


    Nigel

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Hi Pierre,


    I have tried the above. I created 2 scripts. Ran the lower one to obtain


    the desktop id, which was 4. Then inserted this into the other script. I


    have attached it to a right swipe, as a shortcut. When I right swipe, it


    doesn’t load desktop 4, but shows a blank screen.


    It is almost like the blank screen is another desktop, however I don’t have


    a blank desktop. The one I want to navigate to has no scrolling, it’s just


    a one page desktop.


    Any ideas ?


    Thanks


    Regards


    Nigel




    On Mon, Sep 1, 2014 at 9:15 PM, Nigel Pugh < ****@**> wrote:



    > Thanks Pierre, much appreciated, I will give that a try.


    > Best regards


    > Nigel

    ]]>

  9. Anonymous says:

    < ![CDATA[

    Just checked, the blank screen it loads is desktop I’d 0


    On 1 Sep 2014 21:51, “Nigel Pugh” < ****@**> wrote:



    > Hi Pierre,


    > I have tried the above. I created 2 scripts. Ran the lower one to obtain


    > the desktop id, which was 4. Then inserted this into the other script. I


    > have attached it to a right swipe, as a shortcut. When I right swipe, it


    > doesn’t load desktop 4, but shows a blank screen.


    > It is almost like the blank screen is another desktop, however I don’t


    > have a blank desktop. The one I want to navigate to has no scrolling, it’s


    > just a one page desktop.


    > Any ideas ?


    > Thanks


    > Regards


    > Nigel


    >


    >


    > On Mon, Sep 1, 2014 at 9:15 PM, Nigel Pugh < ****@**>


    > wrote:


    >


    >> Thanks Pierre, much appreciated, I will give that a try.


    >> Best regards


    >> Nigel

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Ok, I have got the solution 🙂 (just tested on my device to make sure it works)



    Instead of the line


    intent.putExtra(“p”, DESKTOP);


    use:


    intent[‘putExtra(java.lang.String,int)’](“p”, DESKTOP);

    ]]>

  11. Anonymous says:

    < ![CDATA[

    Hi Pierre, I have tried that, and it does load a desktop, however, it loads


    my home desktop number 4, when I am specifying number 8.


    The number 8 is defined in the script.



    var DESKTOP = 8; // set this to your destination desktop identifier


    LL.unlock();


    var intent = new Intent();


    intent.setClassName( “net.pierrox.lightning_launcher_extreme”,


    “net.pierrox.lightning_launcher.activities.Dashboard”);


    intent[‘putExtra(java.lang.String,int)’](“p”, DESKTOP);



    Any ideas ?


    Nigel



    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CIia38SFwsACFRLejAodTRgAJw&path=%2F112252356715774925798&dt=1409644112493&ub=6>


    Ok, I have got the solution 🙂 (just tested on my device to make sure it


    works)



    Instead of the line


    intent.putExtra(“p”, DESKTOP);


    use:


    intent[‘putExtra(java.lang.String,int)’](“p”, DESKTOP);


    Only members of the Lightning Launcher


    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CIia38SFwsACFRLejAodTRgAJw&path=%2Fcommunities%2F111427002111904170930&dt=1409644112493&ub=6>


    community can post or comment.


    View post


    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CIia38SFwsACFRLejAodTRgAJw&path=%2F110953785326772909177%2Fposts%2F4ovtoe6n78c&dt=1409644112493&ub=6>


    Reply to this email to comment. Pierre Hébert


    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CIia38SFwsACFRLejAodTRgAJw&path=%2F112252356715774925798&dt=1409644112493&ub=6>


    commented on your post. Mute Pierre Hébert


    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CIia38SFwsACFRLejAodTRgAJw&path=%2F112252356715774925798%2Fop%2Fmute&dt=1409644112493&ub=6>


    to stop receiving notifications from him. Mute


    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CIia38SFwsACFRLejAodTRgAJw&path=%2Fnotifications%2Fall%2FCgxncGx1c19zdHJlYW0aI3oxMjR4eDFpMm5lZXp2c2txMjNxeGx2cmpxZndldGhyazA0%3Fmute%3Dz124xx1i2neezvskq23qxlvrjqfwethrk04&dt=1409644112493&ub=6>


    updates to this post. This notification was sent to

    ]]>

  12. Anonymous says:

    < ![CDATA[

    Humm, strange, could you check that the desktop identifier is the right one ? (this is different from the number displayed in the desktop configuration screen).


    I wonder what tool you are using to reply? It repeats the whole conversation on each message, a bit like a mail tool, that’s a bit annoying.

    ]]>

  13. Anonymous says:

    < ![CDATA[

    Any takers on this ? The latest solution loads the home screen regardless of which screen identifier is in the script. I think we are almost there 😉

    ]]>

  14. Anonymous says:

    < ![CDATA[

    No more idea at the moment 🙁 It works fine on my device, I don’t really see what is going wrong 🙁


    Could you try the same script but launched from a regular desktop (unlocked) and see whether it brings you to the expected desktop ?

    ]]>

  15. Anonymous says:

    < ![CDATA[

    I have just tried, and whatever screen I am on, it remains on that screen


    after executing the script,


    Regards


    Nigel

    ]]>

  16. Anonymous says:

    < ![CDATA[

    Humm, weird… In your message from September 2, the last line from the script “LL.startActivity(intent);” is missing, could you check whether if it has just been truncated in your reply or if it is really missing from your script ?

    ]]>

  17. Anonymous says:

    < ![CDATA[

    Sorry Pierre, can’t believe I didn’t copy that line. Completely my fault.


    It works absolutely perfectly now, exactly what I need,


    Best regards


    Nigel



    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CMmizZrtz8ACFRTpjAodbD0AjQ&path=%2F112252356715774925798&dt=1410118618032&ub=6>


    Humm, weird… In your message from September 2, the last line from the


    script “LL.startActivity(intent);” is missing, could you check whether if


    it has just been truncated in your reply or if it is really missing from


    your script ?


    Only members of the Lightning Launcher


    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CMmizZrtz8ACFRTpjAodbD0AjQ&path=%2Fcommunities%2F111427002111904170930&dt=1410118618032&ub=6>


    community can post or comment.


    View post


    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CMmizZrtz8ACFRTpjAodbD0AjQ&path=%2F110953785326772909177%2Fposts%2F4ovtoe6n78c&dt=1410118618032&ub=6>


    Reply to this email to comment. Pierre Hébert


    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CMmizZrtz8ACFRTpjAodbD0AjQ&path=%2F112252356715774925798&dt=1410118618032&ub=6>


    commented on your post. Mute Pierre Hébert


    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CMmizZrtz8ACFRTpjAodbD0AjQ&path=%2F112252356715774925798%2Fop%2Fmute&dt=1410118618032&ub=6>


    to stop receiving notifications from him. Mute


    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CMmizZrtz8ACFRTpjAodbD0AjQ&path=%2Fnotifications%2Fall%2FCgxncGx1c19zdHJlYW0aI3oxMjR4eDFpMm5lZXp2c2txMjNxeGx2cmpxZndldGhyazA0%3Fmute%3Dz124xx1i2neezvskq23qxlvrjqfwethrk04&dt=1410118618032&ub=6>


    updates to this post. This notification was sent to ****@**


    Go to your notification delivery settings


    < https://plus.google.com/_/notifications/emlink?emr=16866230025099943700&emid=CMmizZrtz8ACFRTpjAodbD0AjQ&path=%2Fsettings%2Fplus&dt=1410118618032&ub=6>


    to update your address. Unsubscribe

    ]]>

  18. Anonymous says:

    < ![CDATA[

    Great, good news! Hopefully this hack will benefit others too 🙂

    ]]>

  19. Anonymous says:

    < ![CDATA[

    It’s working like a dream.


    Would it be possible to set the home page to the desktop you have selected,


    from within the script ?

    ]]>

  20. Anonymous says:

    < ![CDATA[

    You mean the position in the desktop ? Yes, probably but I need to test it and I am going to bed right now so you will get the answer tomorrow 😉

    ]]>

  21. Anonymous says:

    < ![CDATA[

    No rush Pierre, thank you for looking, it’s given me a whole load of new


    ideas now,


    Regards


    Nigel

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *