x window system: refined screen blanking

master
tiyn 1 year ago
parent f975518996
commit 49006debee

@ -58,18 +58,31 @@ Additionally to the guides in this section that are independent of the used
graphics unit special configuration for [Nvidia](/wiki/linux/nvidia.md)
and [Intel](./intel.md) can be found in their respective entries in this wiki.
##### Screen Blanking
##### Turning Off the Screen
To save power the screen is set to turn black after a given amount of time.
This can be disabled temporarily by running `xset s off` or permanently by
adding the following lines to your `/etc/X11/xorg.conf`:
Adding the following lines to your `/etc/X11/xorg.conf.d/dpms.conf` will permanently enable screen
blanking.
```txt
[Monitor]
Option "DPMS" "true"
```
Additionally configure the times of the following section (both `0` at the moment) and add it to the
`ServerFlags` option of the file `/etc/X11/xorg.conf.d/dpms.conf` or alternatively add them into the
file `/etc/X11/xorg.conf`.
```txt
Section "ServerFlags"
Option "OffTime" "0"
Option "BlankTime" "0"
EndSection
```
This can be disabled temporarily by running `xset s off`.
The screen can also be turned off instantly with the command `xset dpms force off`.
##### Adjust DPI and UI Scale
The dots per inch (DPI) is a measurement of spatial video dot density.

Loading…
Cancel
Save