Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: cast-fish on January 29, 2014, 02:31:12 AM

Title: screensaver
Post by: cast-fish on January 29, 2014, 02:31:12 AM
hello

Please can you help me to prevent the annoying screensavers or screenblanking of tcl

i typed

xset s off    (in a terminal)

but the machine still seems to blank the screen after maybe 20 mins?

Vince.
Title: Re: screensaver
Post by: malikawan on January 29, 2014, 05:24:18 AM
I think this link will help you

http://forum.tinycorelinux.net/index.php/topic,5647.msg30318.html#msg30318

Malik Awan
Title: Re: screensaver
Post by: Rich on January 29, 2014, 09:33:40 AM
Hi cast-fish
Check your BIOS. Some machines have settings to shut down various peripherals after inactivity.
Title: Re: screensaver
Post by: cast-fish on January 29, 2014, 10:17:35 AM
hello

it seems the command listed above here, will come into operation, after you restart X.

this machine does not seem to have -dpms handling or such like.


The bios is 13 years old. (although it may have some power features i don't remember
seeing any

Vince.
Title: Re: screensaver
Post by: tinypoodle on January 29, 2014, 11:53:36 AM
xset s off    (in a terminal)

An xterm or a real terminal?
Title: Re: screensaver
Post by: tinypoodle on January 29, 2014, 11:56:10 AM
it seems the command listed above here, will come into operation, after you restart X.

No, 'xset' will only apply to current X11 server.
Title: Re: screensaver
Post by: cast-fish on January 29, 2014, 01:21:06 PM
Hello

so is it true that if we put the command

xset s off

into the .Xsession file   (it should stop the screensaver for every boot of tcl)

The screensaver seems to kick in when i am watching a movie in VLC or MPLAYER.


DO i put that command into that file in a similar fashion to the other comman examples.


many seem to start with a HYPHEN or a square open bracket


thanks

Vince.


Title: Re: screensaver
Post by: tinypoodle on January 29, 2014, 01:31:42 PM
There is no sense in adding 'xset' to any file before you have verified it does what you want manually.
Title: Re: screensaver
Post by: cast-fish on January 29, 2014, 01:33:40 PM
Hello

Don't really know.

I have a standard TCL boot from cdrom. I want to stop the screensaver kicking in.

how do i do this?

what is the command?

where do i put the command?

thanks

Vince.
Title: Re: screensaver
Post by: tinypoodle on January 29, 2014, 01:50:17 PM
You already said in OP you did, but you never answered if by "terminal" you meant an xterm.
Title: Re: screensaver
Post by: cast-fish on January 29, 2014, 08:10:00 PM
not sure

It is a "terminal" that is selected from the "system tools" menu.

So my question is compounded now.

1) How do i discover if the "screensaver" is active at all?   what is the command and where do i type it to discover this?

2) If the answer to 1) is yes.  How do i dissable this screensaver. What is the command and where do i type it for dissabling.

many thanks.

Vince.
Title: Re: screensaver
Post by: tinypoodle on January 29, 2014, 08:58:24 PM
1)
Code: [Select]
xset q

2)
Code: [Select]
xset s off
xset -dpms
Title: Re: screensaver
Post by: cast-fish on January 30, 2014, 03:27:33 AM
thanks a lot

it appears that DPMS was also causing an issue

it was enabled and had

Standby 1200 secs  Suspend 1800   off 2400

i had experienced the laptop completely shutting down where it would not come back
to life at all.....  (it just had a dull screen)

clearly that was dpms causing that....  (switched all the dpms off now aswell as the screensaver)


i could not really find it explained clearly anyplace......i mean about dpms's variuos settings
which still seem to work even on a 14 year old laptop and bios.

all sorted out now

another thing that can go unotticed with TCL is the cpu governor and throttling of the frequency
for saving..... which is applied to your chip.  It would be nice if people knew about that if they needed to and how to enable or disable it.

VInce.



Thanks
Vince.



Title: Re: screensaver
Post by: bmarkus on January 30, 2014, 03:37:35 AM

another thing that can go unotticed with TCL is the cpu governor and throttling of the frequency
for saving..... which is applied to your chip.  It would be nice if people knew about that if they needed to and how to enable or disable it.


http://wiki.tinycorelinux.net/wiki:cpu_frequency_scaling_basics
Title: Re: screensaver
Post by: tinypoodle on January 30, 2014, 04:26:09 AM
it was enabled and had

Standby 1200 secs  Suspend 1800   off 2400

Those seem to be default values as expected.

Quote
i could not really find it explained clearly anyplace......i mean about dpms's variuos settings
which still seem to work even on a 14 year old laptop and bios.

http://www.x.org/releases/X11R7.5/doc/man/man1/xset.1.html
Title: Re: screensaver
Post by: tinypoodle on January 30, 2014, 04:38:34 AM
another thing that can go unotticed with TCL is the cpu governor and throttling of the frequency
for saving..... which is applied to your chip.  It would be nice if people knew about that if they needed to and how to enable or disable it.

Perhaps this could be of use to you:
http://forum.tinycorelinux.net/index.php/topic,15110.msg86851.html#msg86851
Title: Re: screensaver
Post by: cast-fish on January 30, 2014, 04:27:40 PM
thankyou poodle

these topics are somewhat interesting

it seems that dpms only comes into play when you are running xorg

the best settings for me are "xset dpms 0 0 40" which turns the screen off to below 8 watts power usage after 40 seconds

when watching a movie, dpms  is totally turned off as  a feature  "xset -dpms"

to turn on the "OFF saving feature" at wil then........ "xset dpms force off"

wiki says that the 4 dpms settings are

http://en.wikipedia.org/wiki/VESA_Display_Power_Management_Signaling
Title: Re: screensaver
Post by: tinypoodle on January 30, 2014, 05:10:44 PM
it seems that dpms only comes into play when you are running xorg

I seem to remember that dpms never was available on Xvesa/Kdrive/tinyX servers beyond from Core.

Quote
the best settings for me are "xset dpms 0 0 40" which turns the screen off to below 8 watts power usage after 40 seconds

I suspect those values would only apply to CRT monitors.
Title: Re: screensaver
Post by: cast-fish on February 01, 2014, 03:59:25 PM
yes poodle

what is the remaining power managements systems of tcl?

is it "acpi"?

what i mean to say is.....are there any other extra ways of managing the power
your laptop consumes with tcl?....(apart form dpms which seems to be just screen related)

i realize that throtting the cpu already happens.....

is it true to say that TCL already defaults to loading up some power management extension and
what is that extension?

how do you  know if your laptop supports acpi etc?

thanks

Vince.
Title: Re: screensaver
Post by: tinypoodle on February 01, 2014, 09:35:54 PM
You are hijacking the subject of your own thread...
You may want to look into laptop-mode-tools.tcz & powertop.tcz.
Title: Re: screensaver
Post by: cast-fish on February 02, 2014, 03:15:49 AM
ok thanks
Title: Re: screensaver
Post by: tinypoodle on February 03, 2014, 09:36:51 PM
I forgot to mention suspend-utils
Title: Re: screensaver
Post by: cast-fish on February 05, 2014, 02:16:13 PM
thanks thanks
Title: Re: screensaver
Post by: cast-fish on February 06, 2014, 09:16:31 PM
Hell

could only get this half working

it suspends the machine.    (kind of hibernates i think)

It wakes the machine back up with a keypress, but does not re-awaken the connected USB devices.   

s2ram

never tried  s2disk  but if you know an answer would apprecite it.


Title: Re: screensaver
Post by: tinypoodle on February 07, 2014, 04:11:48 AM
See Reply #19.
No relation to original post whatsoever, feel free to start a new thread with specific subject.