WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [solved] Disabling screen savers or blanking and other power management?  (Read 8021 times)

Offline vr

  • Newbie
  • *
  • Posts: 17
Using just the current GUI distribution of TCL 2.10, is it possible to turn off all screen saver or screen blanking and any power saving features - without installing any extensions?
« Last Edit: April 08, 2010, 01:28:39 PM by vr »

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Disabling screen savers or blanking and other power management?
« Reply #1 on: April 02, 2010, 08:52:20 AM »
4 screen blanking:
Code: [Select]
xset -dpms
dCore user

Offline vr

  • Newbie
  • *
  • Posts: 17
Re: Disabling screen savers or blanking and other power management?
« Reply #2 on: April 02, 2010, 08:58:28 AM »
Does not work.

Code: [Select]
tc@box:~$ xset -dpms
server does not have extension for -dpms option
tc@box:~$

Any other way??

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Disabling screen savers or blanking and other power management?
« Reply #3 on: April 02, 2010, 09:01:35 AM »
Code: [Select]
xset s off
dCore user

Offline vr

  • Newbie
  • *
  • Posts: 17
Re: Disabling screen savers or blanking and other power management?
« Reply #4 on: April 08, 2010, 11:56:11 AM »
I've added:
Code: [Select]
xset s off
to the file
Code: [Select]
/opt/bootlocal.sh
then issued
Code: [Select]
sudo filetool.sh backup
and rebooted.

After some time, the screen still goes blank.  What am I doing wrong?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Disabling screen savers or blanking and other power management?
« Reply #5 on: April 08, 2010, 12:11:51 PM »
As xset is a X program, it should be run from .xsession, not bootlocal.
The only barriers that can stop you are the ones you create yourself.

Offline vr

  • Newbie
  • *
  • Posts: 17
Re: Disabling screen savers or blanking and other power management?
« Reply #6 on: April 08, 2010, 01:28:23 PM »
Oops! ok. I added xset s off to /home/tc/.xsession then did a backup and then rebooted. Now it is working correctly. Thanks!

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
I need help.
1. In which place add xset ??

I enclose printscreen shows content of .xsession file

2. Add only xset s off or xset s off && -dpms

Sorry for probably a stupid question but I have zero experience with linux.
I will be gratefull for reply.
Best regards

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Hi Johnson9
You can add  xset s off  to the end of your  .xsession  file.

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
I tried that before i wrote post with question - but after reboot computer the file was restore ? - there was no line in it that I added before restart computer.

But thank you very much for reply - I will try again.
« Last Edit: June 24, 2018, 12:10:03 PM by Johnson9 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Hi Johnson9
... but after reboot computer the file was restore ? ...
It sounds like you didn't run a backup before rebooting.

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
I do not know what I did wrong before, but thank you again - It's ok now.