More > JRiver Media Center 29 for Linux
Stop screen dimming when watching video
bob:
--- Quote from: mwillems on December 17, 2022, 08:51:44 pm ---Can you tell me what your xfce4 power management settings are like so I can try to replicate? I've been tinkering with this for a while and I've never had MC successfully inhibit screen turn off or suspend with xfce, so if there's a combination of settings that works I'd be be happy to adopt it!
Does it work for you with Gnome as well?
--- End quote ---
I just use stuff straight out of the box without reconfiguing the power managment.
MC uses these commands for power management on linux
--- Code: ---XResetScreenSaver(GetJRUI()->GetDisplay());
--- End code ---
// keeps the screensaver from activating.
For disabling the monitor shutoff IF DPMS is supported:
--- Code: ---DPMSDisable(GetJRUI()->GetDisplay());
--- End code ---
// disables monitor DPMS
Also MC will run this conditionally
--- Code: ---XSetScreenSaver(GetJRUI()->GetDisplay(), 0, m_nInterval, m_nPrefer_blanking, m_nAllow_exposures);
--- End code ---
// 0 as the second arg disables the screensaver. The other values are the default which the ScreenServer returned as its defaults.
The setting of these are logged.
Navigation
[0] Message Index
[*] Previous page
Go to full version