maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [Request] App to allow switching of Display time-out (https://talk.maemo.org/showthread.php?t=83602)

PhatApteryx 2012-04-13 10:04

[Request] App to allow switching of Display time-out
 
I don't know about anyone else, but some times - such as when listening to music, i don't want the display to timeout and the phone to lock...

Rather than having to go to the device settings each time to set this, does anyone think they could write a switching/toggling app for that?

i use "Squeezster" to control my Squeezeboxen with my N9 & that app happens to include an option to "Inhibit Screensaver" which is perfect and shows this can be controlled...

Obviously i would be happy to donate... :)

rainisto 2012-04-13 14:09

Re: [Request] App to allow switching of Display time-out
 
leave that application in background when listening to music... job done?... profit?

If that doesn't work, I can add the feature to babylock at some day.

traysh 2012-04-13 14:27

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by PhatApteryx (Post 1191582)
I don't know about anyone else, but some times - such as when listening to music, i don't want the display to timeout and the phone to lock...

Rather than having to go to the device settings each time to set this, does anyone think they could write a switching/toggling app for that?

i use "Squeezster" to control my Squeezeboxen with my N9 & that app happens to include an option to "Inhibit Screensaver" which is perfect and shows this can be controlled...

Obviously i would be happy to donate... :)

Package attached.

Beware damage may occur if the screen displays the same image for long periods, due to the nature of oled scrrens. Use at your own risk, I'm not responsible for any damage.

Edit: Now in Ovi Store!

DarkSkies 2012-04-13 19:58

Re: [Request] App to allow switching of Display time-out
 
Hey traysh, thanks, but the way it operates isnt exactly convenient, as after clearing the notification there's no way to quickly say if the thing is still on. Can you add a notification on enabling the screen saver again? Something simple: first click: "Screen saver disabled", second click: "Screen saver enabled".

traysh 2012-04-13 20:30

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by DarkSkies (Post 1191775)
Hey traysh, thanks, but the way it operates isnt exactly convenient, as after clearing the notification there's no way to quickly say if the thing is still on. Can you add a notification on enabling the screen saver again? Something simple: first click: "Screen saver disabled", second click: "Screen saver enabled".

Sorry, I couldn't understand the proposed behavior. Can you elaborate?

For now, it works this way: when you launch the app (by clicking the icon in the launchers view) it disables the screensaver and shows a notification. When you click the notification, it enables the screensaver and quits the app. As you see, there are no windows.

Might you think it is inconvenient the notification stays there while the screensaver is disabled, but that avoids you forget it's disabled and burn the device screen.

DarkSkies 2012-04-13 20:38

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by traysh (Post 1191796)
Sorry, I couldn't understand the proposed behavior. Can you elaborate?

For now, it works this way: when you launch the app (by clicking the icon in the launchers view) it disables the screensaver and shows a notification. When you click the notification, it enables the screensaver and quits the app. As you see, there are no windows.

Might you think it is inconvenient the notification stays there while the screensaver is disabled, but that avoids you forget it's disabled and burn the device screen.

What I mean is this: If you click the icon for the first time/execute the application, they the screen saver is disabled and an appropriate notification is displayed. This is how it works now and that is just fine. What I propose is:

1) Make the notification shorter, i.e. to say only what is necessary, for example "Screen saver OFF", plus make the notification only momentarily appear at the top of the screen.

2) Add another similar notification when the application is being switched off, for example "Screen saver ON".

This should be the simplest and the most clear way to do this, getting rid of any possible confusion and too lengthy texts which need to be cleared every time.

In a similar way works an application switching on/off bluetooth. It's called "Toggle BT" and you can find in in the store if you wish to compare.

Thanks for your work. ;)

traysh 2012-04-13 20:46

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by DarkSkies (Post 1191800)
What I mean is this: If you click the icon for the first time/execute the application, they the screen saver is disabled and an appropriate notification is displayed. This is how it works now and that is just fine. What I propose is:

1) Make the notification shorter, i.e. to say only what is necessary, for example "Screen saver OFF", plus make the notification only momentarily appear at the top of the screen.

2) Add another similar notification when the application is being switched off, for example "Screen saver ON".

This should be the simplest and the most clear way to do this, getting rid of any possible confusion and too lengthy texts which need to be cleared every time.

In a similar way works an application switching on/off bluetooth. It's called "Toggle BT" and you can find in in the store if you wish to compare.

Thanks for your work. ;)

Ok, got it now. Will add the second notification when I have time (working right now). Worried about removing the warning message thought, don't want to be the cause of damaged screens...

DarkSkies 2012-04-13 20:49

Re: [Request] App to allow switching of Display time-out
 
Thanks. In the meantime I made you a nicer icon:
http://i.imgur.com/DMSqT.png
http://i.imgur.com/DMSqT.png

Feel free to use it if you wish. You can always add a short warning about the screens to the application's description. It is displayed when the application is being installed.

traysh 2012-04-13 20:51

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by DarkSkies (Post 1191804)
Thanks. In the meantime I made you a nicer icon:
http://i.imgur.com/DMSqT.png
http://i.imgur.com/DMSqT.png

Feel free to use it if you wish. You can always add a short warning about the screens to the application's description. It is displayed when the application is being installed.

Thank you! Will surely use it.
What's its license? Thinking of submitting the app to the store, it's kind of difficult to find it here.

PhatApteryx 2012-04-13 21:35

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by traysh (Post 1191666)
Package attached.

Beware damage may occur if the screen displays the same image for long periods, due to the nature of oled scrrens. Use at your own risk, I'm not responsible for any damage.

Wow, thanks traysh!... This is why i love this place - have an idea, suggest it, go to bed, get up & it is done!

Do you have a place i can donate?

PhatApteryx 2012-04-13 21:39

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by traysh (Post 1191803)
Ok, got it now. Will add the second notification when I have time (working right now). Worried about removing the warning message thought, don't want to be the cause of damaged screens...

Yes, to be honest i imagined a toggle just like the Bluetooth or Power Save Mode one... but i'm not complaining. Well aware of the damaged screen thing but users have to be prepared to take some responsibility for their actions surely...

PhatApteryx 2012-04-13 21:42

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by rainisto (Post 1191655)
leave that application in background when listening to music... job done?... profit?

If that doesn't work, I can add the feature to babylock at some day.

Yeah thanks rainisto, i know that would work but it's not super elegant and Squeezster will spend all it's time looking for my network and not find it in those scenarios... I know of your app but dont use it - maybe it would be a good think to put there too?

DarkSkies 2012-04-15 21:36

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by traysh (Post 1191806)
Thank you! Will surely use it.
What's its license? Thinking of submitting the app to the store, it's kind of difficult to find it here.

License of the icon? None. It's just an icon, copyrights free. Feel free to use it or modify it in any way you see fit. ;)

wolke 2012-04-17 18:56

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by traysh (Post 1191666)
Package attached.

Beware damage may occur if the screen displays the same image for long periods, due to the nature of oled scrrens. Use at your own risk, I'm not responsible for any damage.

1) VERY cool app design
2) donation box; seriously, you need to have one when you make an app this cool and tidy
3) GPLv2, so i guess this is a source code request.
i assume youre doing a dbus com.nokia.mce.request.req_display_blanking_pause every X seconds {i wanna know whats X?}.

i also really like the notification removal hook type thingamabob, and wanna use it for similar apps {like a one-touch-mute for theaters}.

traysh 2012-04-18 05:52

Re: [Request] App to allow switching of Display time-out
 
1 Attachment(s)
Quote:

Originally Posted by wolke (Post 1193444)
1) VERY cool app design
2) donation box; seriously, you need to have one when you make an app this cool and tidy
3) GPLv2, so i guess this is a source code request.
i assume youre doing a dbus com.nokia.mce.request.req_display_blanking_pause every X seconds {i wanna know whats X?}.

i also really like the notification removal hook type thingamabob, and wanna use it for similar apps {like a one-touch-mute for theaters}.

1) Thanks
2) Not yet, if you really want to check back soon =(
3) Source attached.

Not doing dbus com.nokia.mce.request.req_display_blanking_pause. Just using the QSystemScreenSaver class.

It's not really difficult, just look in the (very small) source code.

I've just sent the app to the store. Hopefully they won't take long to make it available.

PhatApteryx 2012-04-18 11:21

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by traysh (Post 1193662)
1) Thanks
2) Not yet, if you really want to check back soon =(
3) Source attached.

Not doing dbus com.nokia.mce.request.req_display_blanking_pause. Just using the QSystemScreenSaver class.

It's not really difficult, just look in the (very small) source code.

Also attaching an updated package. I hope it is less confuse to use it now.

I've just sent the app to the store. Hopefully they won't take long to make it available.

Thanks looks good... Happy to donate too!

SamGan 2012-04-18 11:31

Re: [Request] App to allow switching of Display time-out
 
There's another app call Backlighter which disables the lock screen as long as it is running in the background.

Kallela 2012-04-20 11:20

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by SamGan (Post 1193788)
There's another app call Backlighter which disables the lock screen as long as it is running in the background.

Another vote for Backlighter!

It's also handy that you can boost (or decrease) the screen brightness for the time you want to block the display dimming and everything returns to normal when you just close the application.

DarkSkies 2012-10-05 16:43

Re: [Request] App to allow switching of Display time-out
 
traysh, have you really published the app in the store? I can't find it. What name is it under?

Plus, this is a nice chance to remind the community about this piece of software. It is extraordinarily useful. Well done. :D

thedead1440 2012-10-05 16:47

Re: [Request] App to allow switching of Display time-out
 
I like traysh's app but for those who don't know you can also disable screen blanking use N9QTweak Tweak T-3 with system widgets installed...Its useful as its a toggle on your status bar...

traysh 2012-11-21 02:23

Re: [Request] App to allow switching of Display time-out
 
Quote:

Originally Posted by DarkSkies (Post 1276919)
traysh, have you really published the app in the store? I can't find it. What name is it under?

Plus, this is a nice chance to remind the community about this piece of software. It is extraordinarily useful. Well done. :D

Thanks!

I didn't publish the app until today (was too lazy to satisfy the store requirements, like a support page).

Now it is in the QA, I have no idea how much time it will take to be in the store.

Edit: anyway, the version I sent to the store is attached. It fixes a bug: the application didn't exit if the notification was closed by sliding in the lockscreen. And also fixes a typo: diplay -> display

Edit: download from the store!

traysh 2012-11-22 11:48

Re: [Request] App to allow switching of Display time-out
 
It was published today. It is here.


All times are GMT. The time now is 01:11.

vBulletin® Version 3.8.8