![]() |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
Hey Wolke, I also wondered if I can lock it in lock screen with the volume up ( just the opposite of waking it up low power screen) and have it work like normal once I'm in. |
Re: [Anounce] [N9] Volume/Power Button Monitor
lock it while IN lock screen? sorry, i dont follow.
|
Re: [Anounce] [N9] Volume/Power Button Monitor
btw, unlocking is not a built-in part of n9bm.
you will need to find a script that works for your flavor {inception, open mode, open mode + aegis-neutered kernel, whtaever}. then simply put cmd(/home/user/MyDocs/unlock-script.sh) in the n9bm conf file. |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
As I said sometimes my phone is buggy and then I have to wait until screen goes black (a few sec) to try it again and see if sliding registers. |
Re: [Anounce] [N9] Volume/Power Button Monitor
ah. i was already assuming that you wanted vol+ to unlock it from the lock screen AND the low-power-screen. that makes more sense, right?
|
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
Although a single press on volume button for lock screen would be nice, cause i got meecast widget installed there just left of clock which looks really nice imo. Although as long as double tap works for seeing it it's okay too. How would I go about making this work? All I have is fastern9 installed (and alternative os at boot, nitdroid, which I never use) |
Re: [Anounce] [N9] Volume/Power Button Monitor
first, tackle the problem of getting a command the locks/unlocks that works for you. heres mine:
Code:
#!/usr/bin/perlto test it out, save it as lock.pl and copy it to MyDocs. test it in a terminal by running: perl ~/MyDocs/lock.pl if that locks your phone, then it works. after that, install n9bm, and make sure it works for you by going into low-power-screen and holding down volume-up. the torch should come on. THEN, modify the config file: /home/user/.config/n9-button-monitor.ini and add this line: action=cmd(perl /home/user/MyDocs/lock.pl),volumeUp,doubleClick,screenLocked |
Re: [Anounce] [N9] Volume/Power Button Monitor
ok, so the word on the street is that you need probably inception to do this.
install inception, {look up how to do this, theres plenty of resources available}, and then run the lock script with ariadne like this: ariadne perl /home/user/MyDocs/lock.pl if that works, you can stick that in your n9bm config file. if that doesnt work, try poking around the inception thread and asking how to lock/unlock with a command as user in closed mode. |
Re: [Anounce] [N9] Volume/Power Button Monitor
cool!
I almost am a complete noob about this. How do I actually save your text/script into a .pl file that I need to transfer to my phone? |
Re: [Anounce] [N9] Volume/Power Button Monitor
you can either open up a text editor, paste it in, save it.
or just download it directly with this link: https://raw.github.com/teleshoes/n9-...FILES/bin/lock |
| All times are GMT. The time now is 11:07. |
vBulletin® Version 3.8.8