WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Screen goes to sleep  (Read 1822 times)

Offline glouw

  • Newbie
  • *
  • Posts: 4
Screen goes to sleep
« 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!


Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11628
Re: Screen goes to sleep
« Reply #1 on: February 09, 2013, 12:02:46 AM »

Offline glouw

  • Newbie
  • *
  • Posts: 4
Re: Screen goes to sleep
« Reply #2 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!