1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-03 15:27:45 +02:00

x window system: refined screen blanking

This commit is contained in:
tiyn 2023-10-26 03:14:24 +02:00
parent f975518996
commit 49006debee

View File

@ -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) graphics unit special configuration for [Nvidia](/wiki/linux/nvidia.md)
and [Intel](./intel.md) can be found in their respective entries in this wiki. 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. 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.d/dpms.conf` will permanently enable screen
adding the following lines to your `/etc/X11/xorg.conf`: 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 ```txt
Section "ServerFlags" Section "ServerFlags"
Option "OffTime" "0"
Option "BlankTime" "0" Option "BlankTime" "0"
EndSection 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 ##### Adjust DPI and UI Scale
The dots per inch (DPI) is a measurement of spatial video dot density. The dots per inch (DPI) is a measurement of spatial video dot density.