maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   HOWTO: Increase Screen Dim/Blank timeouts! (https://talk.maemo.org/showthread.php?t=5704)

SeRi@lDiE 2007-04-15 19:50

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Problem is solve setting back the display on AC mode to 60 120.

gnuite 2007-04-16 14:09

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Wow, flashback... This OP reminds me of January 2006.

SeRi@lDiE 2007-04-17 19:35

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
:eek: :eek: :o :o :o :eek: :eek:

zaurus 2007-07-10 09:25

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Quote:

Originally Posted by ArnimS (Post 43311)
....

You can also add round values to the list of timeouts that 'display settings' shows in the drop down list!

gconftool-2 -t list --list-type=int -s /system/osso/dsm/display/possible_display_dim_timeouts [30,60,120,300,600,1800,3600]

gconftool-2 -t list --list-type=int -s /system/osso/dsm/display/possible_display_blank_timeouts [30,60,120,300,600,1800,3600]
...

(edit) I did this as root user.

To make this work on my n800 I had to use single quotes (') like this:
gconftool-2 -t list --list-type=int -s '/system/osso/dsm/display/possible_display_dim_timeouts' '[30,60,120,300,600,1800,3600]'

Rider 2007-07-10 10:35

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Better install the gconf-editor for those sorts of hacks.

ArnimS 2007-07-26 14:00

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
The quotes are a good idea as a rule of thumb.

For me, the extended timeouts are the real story; acmonitor is more of a fun toy. Having looked at the design (and the cpu load with 'top', i don't see how the 770 version could be sucking up battery).

To test if acmonitor affects battery life, you can set up a cronjob that appends current time to a text file every 10 minutes, then leave the unit on before you go to sleep and see how long it holds out with and without acmonitor.

I'll put a warning up on my page if we can confirm this effect.

daihard 2007-08-09 15:32

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Quote:

Originally Posted by ArnimS (Post 63214)
To test if acmonitor affects battery life, you can set up a cronjob that appends current time to a text file every 10 minutes, then leave the unit on before you go to sleep and see how long it holds out with and without acmonitor.

Yeah, that's my concern too. I read about "acmonitor" in another thread. The first thing that came to mind was "How will it affect the battery life?" If running the "acmonitor" daemon significantly affects the battery life when the device is not plugged in, then I don't want to keep it running.

twaelti 2007-11-08 22:40

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Quote:

Originally Posted by ArnimS (Post 43311)
You can also add round values to the list of timeouts that 'display settings' shows in the drop down list!

gconftool-2 -t list --list-type=int -s /system/osso/dsm/display/possible_display_dim_timeouts [30,60,120,300,600,1800,3600]

gconftool-2 -t list --list-type=int -s /system/osso/dsm/display/possible_display_blank_timeouts [30,60,120,300,600,1800,3600]

And the best part - your settings will be persistent after reboot!

(edit) I did this as root user.

To make this easier and better accessible for novice users, I've now created a simple installer that does this. Please check out moreDisplayOptions.

http://tomch.com/wp/wp-content/uploa...enshot-mdo.png

technut 2007-11-09 03:59

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
I'm sure your install file will come in very handy for many users. Thanks.

popat007 2007-11-09 09:03

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Thanks ArnimS and Zaurus

solved my problem while reading books, every 2 min i have to poke n800 to not getting in to sleep and the ahahhh it wakes up:D

L0cutus 2007-11-09 10:11

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
great programs !
acmonitor+moreDisplayOptions rocks ! :)

thanks guys !

ArnimS 2007-12-11 01:02

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
DeadBug thinks thread needs bump. reminderzorring the newbies of how to do the happy extended screen dim/blank.

Anybody up for making a click-to-install app to extend these timeouts? No?

Doh! missed this!
https://maemo.org/downloads/product/...immingoptions/

jellotherat 2008-02-03 21:17

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Thanks a million....most useful hack yet.

Betty Woo 2008-03-03 15:04

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Quote:

Originally Posted by ArnimS (Post 106982)

Anybody up for making a click-to-install app to extend these timeouts? No?

Doh! missed this!
https://maemo.org/downloads/product/...immingoptions/

SInce I find I'm using PlayThing increasingly as my bedside insta-internet alarm clock, dimming with the full-screen clock would be great. Then I can toss and turn and still watch how much time I've spent wasting my precious sleeptime :rolleyes:

Has moredimmingoptions made the leap up to OS2008 on the N800?

As a newbie with zero Linux experience and a dread of anything too program-y, rooting 'round in terminal mode scares the crap out of me.:eek:

twaelti 2008-03-03 16:29

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Quote:

Originally Posted by Betty Woo (Post 150380)
Has moredimmingoptions made the leap up to OS2008 on the N800?

It should work.
At least it does on the N810 under OS2008 :D
(The OS are identical)

cmdowns 2008-03-26 22:32

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Hello, I've purchased my n800 with a strong interest in learning how to work with Linux. I've installed open ssh and I was able to implement the command euchreprof recommended at the beginning of this thread (gconftool-2 -t list --list-type=int -s /system/osso/dsm/display/possible_display_dim_timeouts[30,60,120,300,600,1800,3600])

Are there any Linux gurus on this thread that would have the time and inclination to explain how this works? Mostly I would like to know what the individual commands are that comprise the script and how they work together, in as succinct a manner as possible.

BTW: Thanks to euchreprof for the script. Evidently there is a downloadable app that does the same thing, but I'm trying to learn the command line.

Thanks

Benson 2008-03-26 23:02

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
gconf-tool is a CLI way to access gconf -- that's Gnome's equivalent to the windows registry.
We're saying:
Code:

-t list
Type of data is list
Code:

--list-type=int
It's a list of integers
Code:

-s /system/osso/dsm/display/possible_display_dim_timeouts[30,60,120,300,600,1800,3600]
Set the key possible_display_dim_timeouts in /system/osso/dsm/display to a list containing 30, 60, 120, etc.

You can use gconf-editor to browse gconf like regedit, looking at interesting keys that might need values tweaked. But gconf-tool is preinstalled, and copy-n-paste prevents accidents, so it's a good way to post the actual change you wind up making.

cmdowns 2008-03-27 00:12

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Thanks for the explanation, Benson. I can't say I understand it completely, but it gives me some starting places where I can begin to learn a little more.

One more "please help me understand Linux" question: I'm studying command line stuff by way of a website called linuxcommand.org. Mostly, it's really awesome but there is one command that I can't seem to use in xterm.

According to this page, the command "file will examine a file and tell you what kind of file it is" and "to use the file program, just type: file name_of_file". So, in my home dir, I type "file apps", hoping for some information about the file, but all I get is a response saying "file: not found".

Am I missing something?

And thanks again.

Benson 2008-03-27 11:26

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
Yeah, file is great, but the tablets have stripped out a lot of "unnecessary" commands to save space; as file is not generally needed, it got the ax.

There might be a package available for it, but more likely a binary floating around somewhere.

Edit: Duh! There might be a zip or something, but most likely a full deb...

briand 2008-03-27 11:55

Re: HOWTO: Increase Screen Dim/Blank timeouts!
 
you'd need more than just the binary. you'd need /usr/share/magic as well. ;)


All times are GMT. The time now is 02:48.

vBulletin® Version 3.8.8