Permanent no dpms for console and X

Hello

I would like to make permanent no dpms for console and X.
Which recommendation(s) might be given please?

So far, I used:
Code:
  export DISPLAY=:0 ; xset s off ;  xset -dpms ;  xset s noblank  ; setterm -blank 0

Thank you in advance!
 
I have the xset commands in ~/.xinitrc so they run when I launch xinit. I'm not sure setting the DISPLAY environment variable is really necessary though. But yeah that's pretty much how anyone disables DPMS.

Do you have any specific needs? Anything not working properly?
 
I have the xset commands in ~/.xinitrc so they run when I launch xinit. I'm not sure setting the DISPLAY environment variable is really necessary though. But yeah that's pretty much how anyone disables DPMS.

Do you have any specific needs? Anything not working properly?

maybe in the /etc/...
well the raspberry pi with FreeBSD by defaults has no dpms, which is quite nice actually .... I believe.
 
Hi Spartrekus, mostly DPMS is autodetected and enabled by Xorg. You could disable it via Xorg configuration by adding this section
Code:
Section "Extensions"
    Option      "DPMS" "Disable"
EndSection
either to your xorg.conf or to your monitor or extensions file if you use /usr/local/etc/X11/xorg.conf.d directory (recommended).
You can use x11/xset to modify DPMS and screensaver from the CLI.

I would like to make permanent no dpms for console and X.

https://wiki.freebsd.org/Newcons. Im in doubt that it is enabled or even possible in console with VT. So you just need to disable it for X.
 
Hi Spartrekus, mostly DPMS is autodetected and enabled by Xorg. You could disable it via Xorg configuration by adding this section
Code:
Section "Extensions"
    Option      "DPMS" "Disable"
EndSection
either to your xorg.conf or to your monitor or extensions file if you use /usr/local/etc/X11/xorg.conf.d directory (recommended).
You can use x11/xset to modify DPMS and screensaver from the CLI.



https://wiki.freebsd.org/Newcons. Im in doubt that it is enabled or even possible in console with VT. So you just need to disable it for X.


I dont know how it works but on raspberry this folder is empty: /usr/local/etc/X11/xorg.conf.d
 
I dont know how it works but on raspberry this folder is empty: /usr/local/etc/X11/xorg.conf.d
This folder is empty by default. After x11/xorg installation most common devices are automatically detected so don't require any manual config besides you have a reason to (Nvidia card etc.). So you maybe have no configuration file for Xorg.

If you want or have to configure it on your own Xorg looks for configuration files under /usr/local/etc/X11. This method is recommended cause it keeps app files seperate from base system files (/etc/...).
You can use a single file therein or multiple file which are typically stored under /usr/local/etc/X11/xorg.conf.d. Multiple files are easier and more flexible since you don't have to configure everything but rather what you need. You have to create these files (e.g. 10-monitor.conf) on your own.

Apart from that storing Xorg configuration in the legacy /etc/X11/ still works.

Thats just theory so do you have a single /etc/X11/xorg.conf on your rasperry?
 
Ok, all the better. Then create the file /usr/local/etc/X11/xorg.conf.d/10-monitor.conf with this Input
Code:
Section "Extensions"
    Option      "DPMS" "Disable"
EndSection
 
Back
Top