Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: glouw on February 08, 2013, 11:58:03 PM

Title: Screen goes to sleep
Post by: glouw on February 08, 2013, 11:58:03 PM
Hello!

My netbook's screen goes to sleep after about 5-10 minutes of not using the mouse or keyboard.

My onboot extensions are:

Xprogs.tcz
Xorg-7.6.tcz
xf86-video-intel.tcz
flwm_topside.tcz
usb-serial-3.0.32-x1-rt52.tcz

my only ondemand extension is mc.tcz

any help would be greatly appreciated!

Title: Re: Screen goes to sleep
Post by: Rich on February 09, 2013, 12:02:46 AM
Hi glouw
Read this:
http://forum.tinycorelinux.net/index.php/topic,13999.msg78519.html#msg78519
Title: Re: Screen goes to sleep
Post by: glouw on February 09, 2013, 01:22:22 AM
I've gotta feeling I got it.

In the terminal, execute these three commands

Quote
xset s off
xset s noblank
xset -dpms

now instead of typing those three lines everytime your computer boots, you can automate the process by creating a startup script within the .X.d folder. Let's do so by going to the .X.d folder:

Quote
cd ~/.X.d

create a new script, call it whatever you want (I called mine 'startup')

Quote
vi startup

push the ' i ' key on your keyboard and type in the three commands shown up top, one per line, pressing enter to create a new line. quit the editor by pushing

Quote
ctrl + c

...... and then

Quote
shift + :

now type

Quote
wq

now, change the behaviour of the script to that of an executable

Quote
chmod +x startup

and reboot via backup. your commands will run at startup everytime!

Goodluck!