Dotpup to turn Display OFF not just blank

Miscellaneous tools
Post Reply
Message
Author
brad_chuck
Posts: 286
Joined: Tue 16 Aug 2005, 03:47
Location: Appalachian Mountains

Dotpup to turn Display OFF not just blank

#1 Post by brad_chuck »

This dotpup is for folks with laptops who need the display turned OFF not just blanked when it is not being used.

install the dotpup....

in your /etc/X11/xorg.conf file add these lines.


After Section "Monitor"
Add this

Code: Select all

    Option "DPMS"

After Section "ServerLayout"
Add this ( you can change the number to how long you would like the system to waight to shut the display off.

Code: Select all

   Option "OffTime" "4"

not all you have to to is run acpid run every time X starts.

There are many ways to do this but a easy way is to add it to the file /root/.xintrc

just open this file in geany then add this right before the window manager is started

Code: Select all

acpid
that it ..

Have fun
Attachments
apcid.pup
(25.07 KiB) Downloaded 1145 times

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

Re: Dotpup to turn Display OFF not just blank

#2 Post by WhoDo »

brad_chuck wrote:This dotpup is for folks with laptops who need the display turned OFF not just blanked when it is not being used.
Thanks, brad-chuck. I'll give it a try and see how I go.

Cheers

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#3 Post by disciple »

Thanks - works great even in really old Puppies (Grafpup 104)

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#4 Post by disciple »

But I need to run

Code: Select all

killall acpid
to shutdown cleanly.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#5 Post by disciple »

Actually, you don't need apcid - I just tried without it. I think you just need apcid to use the power buttons on your keyboard and things.

utensil
Posts: 17
Joined: Sat 25 Jul 2009, 22:40

#6 Post by utensil »

Is this still current, or is there a .pet somewhere? This problem has been eating my gourd. There's no point in sending a black screen signal to a monitor. If I wanted that, I would click on ‘lock’.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#7 Post by disciple »

1. Like I said above, you don't need to install anything to turn the display off. Just edit /etc/X11/xorg.conf as described in the first post i.e. make sure dpms is enabled in the monitor section, and add the offtime in the serverlayout section.

2. Yes, there are .pets of acpid. But it is needed to enable special keyboard power buttons and stuff, not to make the monitor turn off automatically.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply