maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   Toggle Standby (LPM) Screen + Toggle WLAN (https://talk.maemo.org/showthread.php?t=88466)

Win7Mac 2013-01-01 12:56

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! :)

Win7Mac 2013-01-01 14:37

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

MK99 2013-01-01 15:24

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".

thedead1440 2013-01-01 15:29

Re: Toggle Standby (LPM) Screen
 
Quote:

Originally Posted by MK99 (Post 1309733)
I noticed that there are on- and off-icons.
It doesn't change when I click it. Icon is allways "on".

The on and off icons are used in the banner message that is displayed when toggled... Implementing an icon that changes between on and off requires svg and when I did this yesterday I didn't have the time to do so... Maybe over the next day or two I'll implement it to do that...

mousse04 2013-01-01 19:34

Thanks thedead. Was lazzy to go in the setting ;)

thedead1440 2013-01-02 17:00

Re: Toggle Standby (LPM) Screen
 
Changelog:

v1.1 - 03/01/13:
  • Updated icon to reflect current status when toggled
  • Files moved to userfs partition

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.

coderus 2013-01-02 17:05

Re: Toggle Standby (LPM) Screen
 
Quote:

Originally Posted by thedead1440 (Post 1309735)
The on and off icons are used in the banner message that is displayed when toggled... Implementing an icon that changes between on and off requires svg and when I did this yesterday I didn't have the time to do so... Maybe over the next day or two I'll implement it to do that...

really? too lazy to create two icons? :D
bonus: you can place desktop file to ~/.local/share/applications

thedead1440 2013-01-02 17:06

Re: Toggle Standby (LPM) Screen
 
Quote:

Originally Posted by coderus (Post 1310178)
really? too lazy to create two icons? :D
bonus: you can place desktop file to ~/.local/share/applications

Yes was lazy yesterday but not today :p the post above yours says I did exactly that including moving to userfs :D

coderus 2013-01-02 17:08

Re: Toggle Standby (LPM) Screen
 
aha i see now)

coderus 2013-01-02 17:08

Re: Toggle Standby (LPM) Screen
 
but can you teach me about any useful situation where i can use this toggle?


All times are GMT. The time now is 22:57.

vBulletin® Version 3.8.8