DPMSDisable(3)
β¨ DPMSDisable(3) β X FUNCTIONS β¨
okay bestie, gather round, because we're talking about DPMSDisable from the X FUNCTIONS section of the manual, and honestly? it's giving "one job, does it perfectly" π
πΈ NAME πΈ
DPMSDisable β disables DPMS on the specified display π«Ά
π¦ SYNOPSIS π¦
cc [ flag ... ] file ... -lXext [ library ... ]
#include <X11/extensions/dpms.h>
Status DPMSDisable ( Display *display );
π ARGUMENTS π
displayβ the connection to the X server, obviously π this is how you tell it which display we're talking to.
π DESCRIPTION π
so the DPMSDisable function disables Display Power Management Signaling β that's DPMS for short, iykyk β on the display you passed in. β¨
when it's disabled, DPMS sets the display to DPMSModeOn. that's the whole vibe. screen stays on, no power-saving shenanigans, main character energy only. π₯
now here's the chill part: if you invoke DPMSDisable on a display where DPMS is already disabled, or on a display that doesn't even support DPMS at all? nothing happens. no change is made, and no error is returned. it's just like. okay cool, moving on. no drama, no crash, no nothing. π literally the most unbothered function in the whole library.
π RETURN VALUES π
TRUEβ theDPMSDisablefunction always returns TRUE. every single time. no cap. it does not have a bad day, it does not have an off day, it is simply alwaysTRUE. iconic behaviour honestly π
π SEE ALSO π
go read those too bestie, they're the rest of the DPMS friend group π«Ά
and that's the whole page, fr fr π this one shipped with X Version 11, libXext 1.3.6 β mwah, slay, go turn off your power management the responsible way π β¨
π¦ where this page comes from
- alpine 3.22: libxext-doc 1.3.6-r2 Β· MIT
- alpine 3.23: libxext-doc 1.3.6-r2 Β· MIT
- centos-stream 10: libXext-devel 1.3.6-3.el10 Β· MIT-open-group AND X11 AND HPND AND HPND-sell-variant AND SMLNJ AND MIT AND ISC AND HPND-doc AND HPND-doc-sell
- fedora 43: libXext-devel 1.3.6-4.fc43 Β· MIT-open-group AND X11 AND HPND AND HPND-sell-variant AND SMLNJ AND MIT AND ISC AND HPND-doc AND HPND-doc-sell
- fedora 43: libXext-devel 1.3.6-4.fc43 Β· MIT-open-group AND X11 AND HPND AND HPND-sell-variant AND SMLNJ AND MIT AND ISC AND HPND-doc AND HPND-doc-sell
- fedora 44: libXext-devel 1.3.6-5.fc44 Β· MIT-open-group AND X11 AND HPND AND HPND-sell-variant AND SMLNJ AND MIT AND ISC AND HPND-doc AND HPND-doc-sell
- fedora 44: libXext-devel 1.3.6-5.fc44 Β· MIT-open-group AND X11 AND HPND AND HPND-sell-variant AND SMLNJ AND MIT AND ISC AND HPND-doc AND HPND-doc-sell
- opensuse-leap 16.0: libXext-devel 1.3.6-160000.3.2 Β· MIT
- opensuse-leap 16.0: libXext-devel 1.3.6-160000.3.2 Β· MIT
- opensuse-leap 16.0: libXext-devel 1.3.6-160000.3.2 Β· MIT
- opensuse-leap 16.0: libXext-devel 1.3.6-160000.3.2 Β· MIT
- Copyright (c) 1999, 2005, Oracle and/or its affiliates
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms