Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: manit123 on September 07, 2012, 11:45:41 PM

Title: change screen time out in x
Post by: manit123 on September 07, 2012, 11:45:41 PM
I am using tiny core
$uname-a
Linux box 3.0.21-tinycore #3021 SMP Sat Feb 18 11:54:11 EET 2012 i686 GNU/Linux

Everything is fine .
But , When I play video using mplayer--nodeps.tcz . The screen becomes black after 5 minutes due to mouse & keyboard inactivity . It comes back on shaking mouse . IS there a way to change that ?
Title: Re: change screen time out in x
Post by: gerald_clark on September 08, 2012, 12:05:03 AM
Create a file /home/tc/.X.d/xset.sh that contains:

xset s off
Title: Re: change screen time out in x
Post by: manit123 on September 08, 2012, 02:08:38 AM
$ xset s q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
Xlib:  extension "XFree86-Misc" missing on display ":0.0".
  auto repeating keys:  00ffffffdffffbbf
                        fadfffffffedffff
                        ffffffffffffffff
                        ffffffffffffff7f
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  600
Colors:
  default colormap:  0x20    BlackPixel:  0    WhitePixel:  16777215
Font Path:
  /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Server does not have the DPMS Extension
Font cache:
  Server does not have the FontCache Extension

Does that mean screen saver after 600 seconds ?
Title: Re: change screen time out in x
Post by: Rich on September 08, 2012, 03:07:03 AM
Hi manit123
Yes.
Title: Re: change screen time out in x
Post by: curaga on September 08, 2012, 03:45:29 AM
If this is a very old machine, the APM bios also interferes in blanking often.
Title: Re: change screen time out in x
Post by: manit123 on September 11, 2012, 07:22:55 AM
'xset s off' worked.
thank You.