Toggle Standby (LPM) Screen + Toggle WLAN
A small toggle for the standby/lpm screen on the N9 based upon the request of Win7Mac has been created. He mentioned that going into settings and toggling was too cumbersome hence wanted a toggle on the homescreen.
I don't think this is required by most people (I don't need it too) but since I've done it might as well post it here. Basically its just 2 icons, 1 sh file and 1 .desktop file. .DEB for Toggle-LPM: v1.1.1 .DEBs for Toggle-WLAN: v1.0.1 v1.0.1-1 All files are here for toggle-lpm and here for toggle-wlan so feel free to modify if requried. Changelog: Toggle Wlan v1.0.1 and v1.0.1-1 - 22/02/13:
Added Toggle WLAN v1.0 and v1.0-1 - 21/02/13:
v1.1.1 - 04/01/13: v1.1 - 03/01/13:
v1.0 - 01/01/13:
Screenshots: http://db.tt/UTUnHI5L http://db.tt/SNdYlon5 |
Re: Toggle Standby (LPM) Screen
Toggle-LPM
Contents of the sh script: Code:
~# cat /home/user/.local/share/data/toggle-lpm/toggle-lpm.sh Contents of .desktop file: Code:
~# cat /home/user/.local/share/applications/toggle-lpm.desktop The above 2 are enough to do your own toggle instead of using a .deb to install etc... Toggle-WLAN Contents of sh script: Code:
#!/bin/sh Code:
#!/bin/sh .desktop file: Code:
[Desktop Entry] |
Re: Toggle Standby (LPM) Screen
YES YES YES YES YES YESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS SSSSSSSSSSSSSSSSSSS!!!!!!!!!!!!!!!!!!!! AWESOME! Imma get it now :D
|
Re: Toggle Standby (LPM) Screen
Actually I think this could be useful.
I sometimes (not 100% reproducable) have a problem whereby when I perform a reboot, my lpm is off (even though the Settings UI says it is on!) I have (possibly erronously) put this down to some sort of bug/timing issue/race condition with profilmatic, as i have a rule in their that turns on/off my lpm based on certain conditions. This could be a quick fix. EDIT: I guess from reading the script it will depend upon whether the my lpm state is correctly mirroring the gconf key or not (I suspect that actually the Settings UI is what is mirroring the gconf key) |
Re: Toggle Standby (LPM) Screen
This is so great! Thanks a lot!:D
|
Re: Toggle Standby (LPM) Screen
nbedford,
Even if it isn't mirroring the gconf key correctly, the script gets the present gconf then makes the change so maybe toggling more than once fixes it... Do report if it does help as I didn't expect anyone other than Win7Mac to have any use for this :D |
Re: Toggle Standby (LPM) Screen
Thanks.
You should put it store or let Win7Mac put it there. New request: Shortcut to open conversation. its that where you see who is online in FB, Skype... I cant find or I dont know where to look for how to do it. Thanks And bug report if you disable low power screen with this it doesnt ask security code anymore and when you press it to switch lps back on it jumps to screen where you put security code when you open phone. E: Made screen off very buggy sometimes it skipped wallpaper screen and securitycode screen sometimes I got securitycode screen on random places. Had to reboot. not usable for me. |
Re: Toggle Standby (LPM) Screen
Quote:
Thanks -Nic |
Re: Toggle Standby (LPM) Screen
Would it be possible, so that when you charging, the display is on.:rolleyes:
|
Re: Toggle Standby (LPM) Screen
Mikkosssss,
I've sent you a PM to troubleshoot your issue. Currently I am able to open a new message using an icon but not to that Contact List yet... --Edit-- After contacting Mikkosssss over PM it seems a re-install was all he needed to get it working so it means a security lock shouldn't be causing an issue... MK99, I'll check and report if I can get the method for doing that. |
Re: Toggle Standby (LPM) Screen
What an awesome new years' present, an "app" just for me... :D
Really this blows my mind. thedead, you're wonderful, thank you so much! :) |
Re: Toggle Standby (LPM) Screen
1 Attachment(s)
I edited the toggle-lpm-on.png to show some more info, so it doesn't look that naked... :)
If you like it, put it in /usr/share/icons/hicolor/80x80/apps/ if you're using v1.0 or to /home/user/.local/share/icons/hicolor/apps if you're using v1.1. https://www.dropbox.com/s/km7vvq34px...gle-lpm-on.png |
Re: Toggle Standby (LPM) Screen
I noticed that there are on- and off-icons.
It doesn't change when I click it. Icon is allways "on". |
Re: Toggle Standby (LPM) Screen
Quote:
|
Thanks thedead. Was lazzy to go in the setting ;)
|
Re: Toggle Standby (LPM) Screen
Changelog:
v1.1 - 03/01/13:
The .deb for v1.1 can be gotten here _______________ The above is taken from the first post. Updated version changes the icon's state as appropriate. Installing over the old version should be no issue but those who want to be 100% safe purge the older version first. |
Re: Toggle Standby (LPM) Screen
Quote:
bonus: you can place desktop file to ~/.local/share/applications |
Re: Toggle Standby (LPM) Screen
Quote:
|
Re: Toggle Standby (LPM) Screen
aha i see now)
|
Re: Toggle Standby (LPM) Screen
but can you teach me about any useful situation where i can use this toggle?
|
Re: Toggle Standby (LPM) Screen
Quote:
Maybe he wants to toggle it while sleeping etc or like nbedford posted, at times after reboot his standby screen doesn't work as expected... After all it was an easy toggle to do and I didn't want to post it but since I did it I just posted it here... |
Re: Toggle Standby (LPM) Screen
okay. just a had same requests for unrestricted widgets :D
|
Re: Toggle Standby (LPM) Screen
Quote:
|
Re: Toggle Standby (LPM) Screen
Profilematic do it automatically :D :p
|
I use this app with powersave mode and times when I don't need the standby screen. Its one-touch access is much easier than drilling down into the settings menu every time, so thanks for putting this out for all to enjoy.
|
Re: Toggle Standby (LPM) Screen
i just putting my phone screen down to disable screen for night :D
|
Re: Toggle Standby (LPM) Screen
Quote:
Quote:
Personally, I'd prefer to have the toggle in your Status Menu Extensions but since you cancelled support for it, this is just excellent. Quote:
Again, it's all about having choice, don't you think? You don't want it? Then why even bother and mock around here? Please stop spamming and save your one-liners for your threads. Bye. |
Re: Toggle Standby (LPM) Screen
@Win7Mac hello and bye-bye. I'm chatting not with you. Seriously.
|
Re: Toggle Standby (LPM) Screen
2 Attachment(s)
I put up new icons, I hope the're more distinguishable (also to clearly differ from Billboard-icon).
If you have other ideas about them please let me know and I'll do my best. They'll be implemented in the next update v1.1.1 by thedead. If you want to add them manually, put them in /home/user/.local/share/icons/hicolor/apps and go switch it! :) screenshots: https://dl.dropbox.com/s/ry4zezqzx4u...een-PSM_on.png https://dl.dropbox.com/s/uznsxvovcq8...en-PSM_off.png |
Re: Toggle Standby (LPM) Screen
v1.1.1 is online. :) Thanks thedead1440!
Only difference to v1.1: the above icons are included. The .deb can be gotten here. Enjoy. :) |
Would it be a wrong place to ask for a Mobile Data toggle? Based on this : http://talk.maemo.org/showpost.php?p...&postcount=983
i messed around for some time, but couldn't get the desktop file working :/ |
Re: Toggle Standby (LPM) Screen
bibek,
Your wish is my command :D Here you go: Code:
#!/bin/sh Then for the .desktop file: Code:
[Desktop Entry] Icons not added; you can add them if you want to... |
Re: Toggle Standby (LPM) Screen
Does anyone know where I should start looking, if I wanted to disable/enable the LPM screen bases on available notifications?
The "condition" I am looking for is the presence of a new call/sms/etc notification (which leads to a LPM notification symbol). I'd really appreciate any help or input as to where I can find/query this "condition". |
Re: Toggle Standby (LPM) Screen
2 Attachment(s)
Usually, I switch powersave mode to achieve almost the same.
Here are some leaked protos of icons... :) Ideas to add some beauty are very welcome. |
Quote:
|
Re: Toggle Standby (LPM) Screen
Quote:
|
Quote:
|
Re: Toggle Standby (LPM) Screen
Quote:
|
Re: Toggle Standby (LPM) Screen
2 Attachment(s)
I got the data toggle working, but trying to make it interactive like the LPM isn't working.
Wanted to skip the notification, as it slows down ui during popup. And tried to change the icon name. Getting errors in syntax and all types of mess. thedead1440 can you package something like the lpm toggle? Some Icons attached, in case you need.. from alternative icons thread http://talk.maemo.org/showthread.php?t=85769 Here's my code(not working) #icon name is Data On Code:
#!/bin/sh |
Re: Toggle Standby (LPM) Screen
|
All times are GMT. The time now is 10:50. |
vBulletin® Version 3.8.8