WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: startup scripts  (Read 3441 times)

Offline NIck

  • Newbie
  • *
  • Posts: 7
startup scripts
« on: March 21, 2011, 06:35:16 AM »
hello everyone, i have a problem, when tinycore starts screensaver is on 600 sec timer, but i want to have no screensaver. I start aterm and say "xset s off" and all good. but if i reboot  screensaver is 600 sec timer. Can you explain me what must i do for set it automaticlly?
P.s. sorry for stupid questions

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11043
Re: startup scripts
« Reply #1 on: March 21, 2011, 08:11:22 AM »
Put it in .xsession, or a file in .X.d
The only barriers that can stop you are the ones you create yourself.

Offline NIck

  • Newbie
  • *
  • Posts: 7
Re: startup scripts
« Reply #2 on: March 21, 2011, 09:04:36 AM »
ok, i have try it, but i could achieve only starting aterm and nothing more, how to put in it a comand i dont undestend yet...

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14794
Re: startup scripts
« Reply #3 on: March 21, 2011, 09:22:06 AM »
You could try this:
Code: [Select]
$ echo 'xset s off' > ~/.X.d/xset
..which should take effect on restarting x (you might need "xset s off &")

~/.X.d/xset should be saved in your backup automatically

Offline NIck

  • Newbie
  • *
  • Posts: 7
Re: startup scripts
« Reply #4 on: March 21, 2011, 10:27:30 AM »
thanks a lot, it was easy then i thought, i tried many similar combinations, but not this one, once again thanks