[Edit: Maybe I’m over complicating the description of what I’m looking for.

[Edit: Maybe I’m over complicating the description of what I’m looking for. Does anyone know what to put into a script to enable or disable the LL lock screen feature so I don’t have to go through the menus to do it?]

Hi all,

I was wondering if there is a “programmatic” way of enabling and disabling the lock screen when I’m using LL as my lock screen.  What I mean is, I certain times where I would like to make it so that in certain circumstances (when I’m in my car, when I’m home) the LL lock screen is disabled, but rather than having to navigate through the settings screens to enable or disable it each time, I would like to be able to either put a single icon on the desktop that will enable/disable or to be able to call that function from within Tasker to automate it.  The closest I can get is to launch a LL shortcut that takes me to the lock screen configuration settings, but what I would really like is to have either a shortcut or script that can act as a single-click method to enable or disable the lock screen.

Thank you.

7 Commentsto [Edit: Maybe I’m over complicating the description of what I’m looking for.

  1. I’m not sure what you’re asking, C S.

  2. C S says:

    Can’t you use Smart Locks on your phone to get around it. If not then Google this question off the Tasker Reddit. Lots of post like this there.

  3. Ah, I see. I can get this to work if I use the /system/ lock screen, but I want to use LL as my lock screen, and LL doesn’t honor the facilities used in Tasker to enable or disable lock screens (keyguard). That’s why this is a LL question and not a Tasker question. If I knew how to create a desktop shortcut to make a one-click enable or disable of the lock screen I built in LL, I could translate that over to Tasker easily enough.

  4. C S says:

    Lots of people ask this, here, on reddit, other places. Never found a post telling anyone how to do it.

  5. It seems like there could be a way to use a script for this, but I couldn’t find anything in the scripting documentation that looked like it would work.

  6. Yes, use the following script and replace “homeScreen” with “lockScreen”

    http://www.lightninglauncher.com/wiki/doku.php?id=script_change_homescreen

Leave a Reply

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