WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: change screen time out in x  (Read 3124 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
change screen time out in x
« 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 ?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: change screen time out in x
« Reply #1 on: September 08, 2012, 12:05:03 AM »
Create a file /home/tc/.X.d/xset.sh that contains:

xset s off

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: change screen time out in x
« Reply #2 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 ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11628
Re: change screen time out in x
« Reply #3 on: September 08, 2012, 03:07:03 AM »
Hi manit123
Yes.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: change screen time out in x
« Reply #4 on: September 08, 2012, 03:45:29 AM »
If this is a very old machine, the APM bios also interferes in blanking often.
The only barriers that can stop you are the ones you create yourself.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: change screen time out in x
« Reply #5 on: September 11, 2012, 07:22:55 AM »
'xset s off' worked.
thank You.