[Q] Tasker task for turning screen off while on lockscreen - Android Q&A, Help & Troubleshooting

Here's what I'm looking for. A Tasker task that when I'm on the lockscreen, I can tap or double tap to turn the screen off. I've looked in the Tasker tasks and I'm unable to find anything for this. I already use the Nova gesture+ScreenOff app to turn the screen off when I'm unlocked and at the homescreen, which works perfectly. The only thing Nova can't do it turn the screen off from the lockscreen.
Any ideas how?

Grady said:
Here's what I'm looking for. A Tasker task that when I'm on the lockscreen, I can tap or double tap to turn the screen off. I've looked in the Tasker tasks and I'm unable to find anything for this. I already use the Nova gesture+ScreenOff app to turn the screen off when I'm unlocked and at the homescreen, which works perfectly. The only thing Nova can't do it turn the screen off from the lockscreen.
Any ideas how?
Click to expand...
Click to collapse
Can you explain the logic for doing so? If you're on the lockscreen, the display is bound to turn off based on your timeout setting. Usually after 15s or 30s
Sent from my SCH-I535 using xda app-developers app

Related

[Q] shortcut to lockscreen?

Hello,
Is it possible to create a shortcut to lockscreen and place it e.g. on my homescreen?
I'd like to only show the lockscreen, without turning off the screen.
There are many applications on market, but they all lock device and turn the screen off.
If there is such an option in tasker, I must have missed it.
Thanks for any help,
Paul
keekooceeaou said:
Hello,
Is it possible to create a shortcut to lockscreen and place it e.g. on my homescreen?
I'd like to only show the lockscreen, without turning off the screen.
There are many applications on market, but they all lock device and turn the screen off.
If there is such an option in tasker, I must have missed it.
Thanks for any help,
Paul
Click to expand...
Click to collapse
You mean,you want to lock the device but not turn the screen off with a shortcut?
Yes, exactly.
I'd like to utilize the lockscreen as a "gesture shortcut" application (why install another app, when CM lockscreen has all I need?).

stop notifications from lighting up screen?

notifications waking up the screen are killing me.. if my phones in my pocket and the screen wakes up, then every step i take, my thigh hits the screen and keeps it awake for hours till i check the phone or it dies first..
sometimes when i get certain notifications, such as low battery, it keeps the screen on indefinitely (ironicly battery warning is a huge battery killer lol..), so does charger connected/disconnected.
anyways there's my rant, my question is,
; has anybody come across a way to stop the screen from turning on when getting a notification? it already lights up, vibrates, has a smart reminder option, and a led indicator, I'd really love to stop the screen from lighting up.
ill give 'Thanks' to anyone throwing out suggestions
Sent from my GT-I9300 using xda app-developers app
are you talking about the sms app? use a custom one
SMS app is one culprit, so is email, Google talk, battery notifications, LINE messager, and a zillion other 3rd party apps.. itd be much more realistic to find a lock screen off solution, or remove the service that lets apps lightup the screen
Sent from my GT-I9300 using xda app-developers app
Easy fix, get SMS popup app, go into the stock SMS app and disable notifications, now go into the SMS popup app and in notifications , click and enable notifications. Now go into additional settings and unchecked screen on for pop-up . That's it, you'll get notifications without the screen turning on.
RoloRacer on JellyBeer 4.2.2
roloracer said:
Easy fix, get SMS popup app, go into the stock SMS app and disable notifications, now go into the SMS popup app and in notifications , click and enable notifications. Now go into additional settings and unchecked screen on for pop-up . That's it, you'll get notifications without the screen turning on.
RoloRacer on JellyBeer 4.2.2
Click to expand...
Click to collapse
only for the sms
Glebun said:
only for the sms
Click to expand...
Click to collapse
Nope, I use it on my galaxy note to have working bln and my screen never turns on, emails, IM, Facebook, nothing, it always stays off.
RoloRacer on JellyBeer 4.2.2
interesting. let's wait till OP tries it
Soraxd,
What lock screen do you use?
I have a good workaround, but it involves using WidgetLocker lock screen which is hands down the most killer optioned lock screen around.
Let me know if your interested.
themadproducer said:
Soraxd,
What lock screen do you use?
I have a good workaround, but it involves using WidgetLocker lock screen which is hands down the most killer optioned lock screen around.
Let me know if your interested.
Click to expand...
Click to collapse
i am interested, ? actually purchased widget locker in the past. it just seems to unlock slower than stock lockscreen, so i stopped using it when i got my s3. what's the option?
in the mean time ill try the SMS app and report back
Sent from my GT-I9300 using xda app-developers app
soraxd,
Workaround...works pretty much flawless on my S3 with ICS.
Install Widget Locker. You mentioned that it was not as fast as your stock lock screen. On my old retired HD2 and my 6 month old S3, W.L. is actually faster than stock. The key thing is that you have the settings maximized...which include disabling the stock lockscreen from withing ICS/JB settings. (I can give you more info if it runs slow for you) I just set my wife's new S3 with the same configuration and it works perfect. I can unlock and relock W.L. pretty darn quickly...no delays at all.
Then in W.L., I use a simple Iphone style unlock to slide and have that at the bottom of my W.L. screen so my thumb can easily reach. I have many widgets on the screen. (agenda/last caller/clock etc) Then I use a free app named Invisible Lock Widget. You drop this widget into W.L., and you LAYER IT OVER all other widgets except the slide to unlock. (This is one of W.L.'s coolest features)
First off, W.L. should be set for 10secs time out...so less chance of your leg re-triggering it in the first place. 2nd thing, when your leg triggers the screen because it has turned on due to a notification or what-have-you, then Invisible Lock Widget actually re-locks the screen. It's that simple. Sometimes I press the menu button to turn my screen on to look at the time, and 2secs later I click the screen and it quickly and easily turns off thanks to I.L.W. Once you get used to it, you will find it is very convenient and efficient. Like I said, it's a work around and also has other benefits.
Widget locker can be set to suppress the "power button long press menu" if it gets triggered in your pocket. It cannot suppress the "low battery" warning popups that show up above W.L. but the dev might be adding that. (I requested it) I have a Tasker workaround for that. If your running Tasker, I will share that with you. It works like a charm. With all these little workarounds, I no longer do the "Pocket Launch thing".

[Tip] Lock screen with double tap on non-stock launcher

As you know, if you change from the stock launcher to a third party launcher you can only double tap on the notification bar to lock by default.
However, if you use a launcher that supports gestures (Nova Prime, Apex etc) you can download this app:
https://play.google.com/store/apps/details?id=com.katecca.screenofflock
And then have your launcher launch the app when you double tap.
I tried this on my Optimus G and it works like a charm.
All thanks goes to the creators of the apps ^^
Great find, I dug and dug in Nova actions trying to find an answer for this. Thanks
Sent from my LG-D800 using Tapatalk 4
Or if you have Tasker you can use that with Nova. Create a Tasker Task with Display --> System Lock. Then in Double Tap under Gestures and Buttons goto Shortcuts --> Task Shortcut and select the Task created.
Thank you, I tried a similar app from a different developer in the play store and it did not work properly. This is great!!
great/ i really needed this ;D
The animation for the screen off is not smooth.
I like to use smart launcher. Sucks that double tap to sleep won't work. Can't wait for some custom kernels
Sent from my LG-D801 using Tapatalk 2
Nice find, thanks!
I use this along with Nova and WidgetLocker. Is there a way to turn the screen off from the lockscreen? Currently, I still have to double tap the status bar at the top to turn the screen off while on the lockscreen.
kimocal said:
Or if you have Tasker you can use that with Nova. Create a Tasker Task with Display --> System Lock. Then in Double Tap under Gestures and Buttons goto Shortcuts --> Task Shortcut and select the Task created.
Click to expand...
Click to collapse
I just bought tasker 5 minutes ago. I'm still learning the ropes. Do you mind elaborating on this step by step. I don't see gestures and I'm a little lost lol.
Sorry for the rookieness.
***edit***
Figured it out lol. Thanks for the tip.
Sent from my LG-D801 using Tapatalk 4
vahdyx said:
***edit***
Figured it out lol. Thanks for the tip.
Click to expand...
Click to collapse
Tasker is the ultimate app. Check out the Pocketables Tasker tutorials if you haven't already. Tons of other info online.
kimocal said:
Tasker is the ultimate app. Check out the Pocketables Tasker tutorials if you haven't already. Tons of other info online.
Click to expand...
Click to collapse
I haven't thanks man. That'll help out a lot.
Sent from my LG-D801 using Tapatalk 4
Great tip for Nova Prime users. Works perfectly. Thanks!
Here's what I'm looking for. A Tasker task that when I'm on the lockscreen, I can tap or double tap to turn the screen off. I've looked in the Tasker tasks and I'm unable to find anything for this. I already use the Nova gesture+ScreenOff app, which works perfectly. The only thing it can't do it turn the screen off from the lockscreen.
Grady said:
Here's what I'm looking for. A Tasker task that when I'm on the lockscreen, I can tap or double tap to turn the screen off. I've looked in the Tasker tasks and I'm unable to find anything for this. I already use the Nova gesture+ScreenOff app, which works perfectly. The only thing it can't do it turn the screen off from the lockscreen.
Click to expand...
Click to collapse
The G2 is on my short list for my next phone. I'm still on a Note 1 and I don't have a G2 so I am not sure what the lockscreen is like on it. Can you add Shortcuts to the lockscreen? If so then you can utilize Tasker and Secure Settings (root required). This app really completes Tasker. With Secure Settings you can utlize the Shortcuts system in Android and have Secure Settings shortcut to a Screen Off Tasker Task or any other Tasker Task like a scene or something.
**EDIT**
You could shake or do a custom gesture while on the lockscreen to trigger the screen off task (or even turn on the flashlight) with Tasker.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
We're just talking about locking here right? I saw some people saying they couldn't unlock it with a custom launcher, but I'm running Yanex Shell (Super beautiful on the G2!) and have no problems with it.
However in the first guide it said that I could lock it by tapping the statusbar. I never saw that I could tap anywhere else to lock it?
SweStag said:
We're just talking about locking here right? I saw some people saying they couldn't unlock it with a custom launcher, but I'm running Yanex Shell (Super beautiful on the G2!) and have no problems with it.
However in the first guide it said that I could lock it by tapping the statusbar. I never saw that I could tap anywhere else to lock it?
Click to expand...
Click to collapse
With Nova Launcher you can Double Tap anywhere on a blank part of the homescreen to turn it off..
kimocal said:
The G2 is on my short list for my next phone. I'm still on a Note 1 and I don't have a G2 so I am not sure what the lockscreen is like on it. Can you add Shortcuts to the lockscreen? If so then you can utilize Tasker and Secure Settings (root required). This app really completes Tasker. With Secure Settings you can utlize the Shortcuts system in Android and have Secure Settings shortcut to a Screen Off Tasker Task or any other Tasker Task like a scene or something.
**EDIT**
You could shake or do a custom gesture while on the lockscreen to trigger the screen off task (or even turn on the flashlight) with Tasker.
Click to expand...
Click to collapse
Where's the shake command/custom gesture in Tasker? I have a "task" created called "lockscreen" but not sure how to enable a shake or gesture from there. I did get the Secure Settings app but not really sure how to apply it here. Again, I have Nova set up where I can doubletap the homescreen and it turns the screen off but what I'm looking for is an app or something that will allow me to doubletap the lockscreen to turn the screen off.
**EDIT** I would love to have it set up where I can double tap the locked screen to turn the screen off but I found this https://play.google.com/store/apps/details?id=com.enlightment.onetouchlocknew that works just by shaking the phone. Decent app but not 100% what I'd like.
Grady said:
Where's the shake command/custom gesture in Tasker? I have a "task" created called "lockscreen" but not sure how to enable a shake or gesture from there. I did get the Secure Settings app but not really sure how to apply it here. Again, I have Nova set up where I can doubletap the homescreen and it turns the screen off but what I'm looking for is an app or something that will allow me to doubletap the lockscreen to turn the screen off.
Click to expand...
Click to collapse
I don't think Tasker can directly detect screen taps. Also when on the lockscreen the security policy may prevent apps from listening to taps. I know with GMD Gesture Control it can detect taps and run actions even tie into Tasker. I just tried a double tap with a single finger and that emulates the LG Knock-Kncok Off function anywhere but the lockscreen.
Here is how to have Tasker detect Shaking. You add that Event under Profile.
Be sure to go under Preferences --> Monitor tab then Calibrate Accelerometer near the bottom to get better detection of shaking. Also note there is the Display Off Monitoring where you can tell Tasker to monitor the Accelerometer or Proximity Sensor while the screen is off.
Your best bet may be to just set the screen timeout to be like 5 seconds when on lock screen. Or maybe use Widget Locker as an alternative lock screen that may be able to pass along taps.
**EDIT** Using Widget Locker I am able to double tap to turn off the screen.
kimocal said:
I don't think Tasker can directly detect screen taps. Also when on the lockscreen the security policy may prevent apps from listening to taps. I know with GMD Gesture Control it can detect taps and run actions even tie into Tasker. I just tried a double tap with a single finger and that emulates the LG Knock-Kncok Off function anywhere but the lockscreen.
Here is how to have Tasker detect Shaking. You add that Event under Profile.
Be sure to go under Preferences --> Monitor tab then Calibrate Accelerometer near the bottom to get better detection of shaking. Also note there is the Display Off Monitoring where you can tell Tasker to monitor the Accelerometer or Proximity Sensor while the screen is off.
Your best bet may be to just set the screen timeout to be like 5 seconds when on lock screen. Or maybe use Widget Locker as an alternative lock screen that may be able to pass along taps.
**EDIT** Using Widget Locker I am able to double tap to turn off the screen.
Click to expand...
Click to collapse
Thanks for all this. I have been using WL. Did you mean you were able to turn off the screen with WL on the lockscreen? Because I can't seem to do that and I've been using WL for a long time.

Diasable sense 5.5 lockscreen?

Has anyone had any luck disabling the stock lock screen in sense 5.5? I had been using widgetlocker with the lock screen copletely disabled through settings but that option seems to be missing now. I've tried disabling the HTC lockscreen apk through the settings menu and also freezing it through titanium, both methods did nothing to remove it. I know it's nit picking but I don't like how the lock screen will appear briefly sometimes before widgetlocker overrides it. More annoyingly my alarms can't be turned off from and oddly when they go off widgetlocker doesn't allow me to unlock. This happens with calls from time to time as well. Any help would be appreciated.
HateToConform said:
Has anyone had any luck disabling the stock lock screen in sense 5.5? I had been using widgetlocker with the lock screen copletely disabled through settings but that option seems to be missing now. I've tried disabling the HTC lockscreen apk through the settings menu and also freezing it through titanium, both methods did nothing to remove it. I know it's nit picking but I don't like how the lock screen will appear briefly sometimes before widgetlocker overrides it. More annoyingly my alarms can't be turned off from and oddly when they go off widgetlocker doesn't allow me to unlock. This happens with calls from time to time as well. Any help would be appreciated.
Click to expand...
Click to collapse
I had the same issue. Use this app : https://play.google.com/store/apps/details?id=org.jraf.android.nolock&hl=en
Finally gets rid of the annoying lockscreen.

Nova launcher question

So I just set up nova, ive used it for nearly every phone. My question is, how can I get the double tap screen on and off back? The original LGG3 launcher has that and ive grown accustomed to it. Ive looked in activities and tried a couple different things like monitor activity, but that just disabled the monitor to where I needed to pull the battery. Any help would be greatly appreciated.
Install an app called "screen off and lock." Then you'll be able to set the double tap gesture to "screen off" in Nova's settings.
I've used that app and it works great. If you already use greenify you can goto gestures in Nova and select doubletap and the choose greenify screen off/hibernate shortcut or use that screen off app.
Thanks guys, the app worked great
If you dont want to install and app you can double tap on the notification bar
I actually ended up deleting the app and using greenify
I haven't tried on Nova yet, but using Google Now Launcher double tab on lock screen still works. Double tab the status bar on the homescreen locks the device.
Try double tapping the status bar?

Categories

Resources