View previous topic :: View next topic |
Author |
Message |
bagas Apprentice
Joined: 29 Jun 2018 Posts: 209
|
Posted: Tue Mar 26, 2024 1:15 pm Post subject: driver nouveau how to turn off your monitor screen automatic |
|
|
Hello.
My system Linux 6.6.21-gentoo x86_64.
Graphic shell xfce4 4.18.6.
Code: | # eselect profile list | grep '*'
[49] default/linux/amd64/23.0/split-usr/no-multilib (stable) * |
Old nvidia video card GeForce GTS 8600
I use the driver like nouveau.
If the computer is not used for 3-5 minutes, then how to automatically turn off the screen?
Code: | cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
EndSection
Section "Files"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/100dri/"
FontPath "/usr/share/fonts/75dri/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/default/ghostscript"
FontPath "/usr/share/fonts/encodings/"
FontPath "/usr/share/fonts/ttf-bitstream-vera/"
FontPath "/usr/share/fonts/util/"
FontPath "/usr/share/fonts/cyrillic/"
EndSection
Section "Module"
Load "dri"
Load "glx"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "nouveau"
BusID "PCI:1:0:0"
VendorName "nVidia Corporation"
BoardName "GeForce GTS 8600"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050" "1152x864" "1024x768"
EndSubSection
EndSection
|
Now I'm turning off the screen using x11-misc/xscreensaver-6.08.
I would like to implement turning off the screen using standard system tools. _________________ BSD, Linux systems blog |
|
Back to top |
|
|
bagas Apprentice
Joined: 29 Jun 2018 Posts: 209
|
|
Back to top |
|
|
Spanik Veteran
Joined: 12 Dec 2003 Posts: 1003 Location: Belgium
|
Posted: Fri Mar 29, 2024 8:27 am Post subject: |
|
|
Don't know about XFCE but with KDE I just set that in the "power management" of KDE. Not in the video driver. _________________ Expert in non-working solutions |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22672
|
Posted: Fri Mar 29, 2024 3:04 pm Post subject: |
|
|
Is xset dpms number number number an acceptable solution? See man xset for usage details. |
|
Back to top |
|
|
Ralphred l33t
Joined: 31 Dec 2013 Posts: 653
|
Posted: Fri Mar 29, 2024 5:33 pm Post subject: |
|
|
Hu wrote: | Is xset dpms number number number an acceptable solution? See man xset for usage details. |
My vague memory of doing this in xorg.conf was validated: man xorg.conf wrote: | SERVERFLAGS SECTION ...snip... Options specified in this section ... may be
overridden by Options specified in the active ServerLayout section.
...snip...
Option "OffTime" "time"
sets the inactivity timeout for the off phase of DPMS mode. time is in minutes, and the
value can be changed at run-time with xset(1). Default: 10 minutes. This is only suitable
for VESA DPMS compatible monitors, and may not be supported by all video drivers. It is only
enabled for screens that have the "DPMS" option set (see the MONITOR section below). |
and because it may be relevant man xorg.conf wrote: | MONITOR SECTION
...snip...
Option "DPMS" "bool"
This option controls whether the server should enable the DPMS extension for power management
for this screen. The default is to enable the extension. |
xorg.conf has one of the top five man-pages ever, IMHO. |
|
Back to top |
|
|
|