WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: power off lcd display  (Read 5734 times)

Offline Kj4bnh

  • Newbie
  • *
  • Posts: 24
power off lcd display
« on: August 04, 2014, 01:56:29 AM »
Why does this code not work?
sudo sh -c 'echo -e "\33[14;10]" >dev/console'
If I change the 14 to 9 this activates the screen saver but the 14 does not turn the back light off.  Any hints?  Thanks Jim

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: power off lcd display
« Reply #1 on: August 04, 2014, 11:14:48 AM »
Hi Kj4bnh
How about:
Code: [Select]
xset dpms force offI think  xset  is part of base. If not, you'll need to install  Xlibs.tcz.

Offline Kj4bnh

  • Newbie
  • *
  • Posts: 24
Re: power off lcd display
« Reply #2 on: August 04, 2014, 11:31:25 AM »
Rich, no joy, xset command not found.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: power off lcd display
« Reply #3 on: August 04, 2014, 01:42:32 PM »
Then you did not load Xlibs.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: power off lcd display
« Reply #4 on: August 04, 2014, 01:51:05 PM »
Hi Kj4bnh
Also, in your original post, you meant  /dev/console  not  dev/console , right?

Quote
... but the 14 does not turn the back light off.
You do realize you set it to wait for 10 minutes before powering down. Did you wait that long?

Offline Kj4bnh

  • Newbie
  • *
  • Posts: 24
Re: power off lcd display
« Reply #5 on: August 05, 2014, 01:46:34 AM »
Hi Rich, Yes I meant >/dev/console, typos.  And yes to waiting ten minutes.
I hope that I/we can resolve this issue so can use Core to replace another live-cd that I am using now.  I believe this is the final hurdle.  Rock on, Jim

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: power off lcd display
« Reply #6 on: August 05, 2014, 03:30:31 AM »
Hi Kj4bnh
I suggest you install the  Xlibs.tcz  extension and then try the command in my original response again.

Offline Kj4bnh

  • Newbie
  • *
  • Posts: 24
Re: power off lcd display
« Reply #7 on: August 08, 2014, 01:30:59 PM »
Hi, loaded Xlibs and getting "unable to open display" when using xset dpms force off.  No joy.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: power off lcd display
« Reply #8 on: August 08, 2014, 02:54:26 PM »
Xset works on your X display.  Aparently you are not running X.

Offline Kj4bnh

  • Newbie
  • *
  • Posts: 24
Re: power off lcd display
« Reply #9 on: August 09, 2014, 06:31:18 PM »
I have migrated to Tiny Core 5.3, screen turns off like I wanted.  Low overhead using 20MB of ram.  Someday I will figure which extension and commands power down the display by comparision.  Rock on.