xset +dpms server does not have extension for +dpms option
0
votes
1
answer
314
views
**When I run the command
xset +dpms
I get the error message server does not have extension for +dpms option
.
How can I fix this?**
I've recently freshly installed Fedora 41 on my Thinkpad. Before under Fedora 40, I configured a keyboard shortcut to turn off the monitor via bash -c 'sleep 0.1 && xset dpms force off'
.
This doesn't work on the new installation. So, I tried xset +dpms
which resulted in
bash: xset: command not found...
Install package 'xset' to provide command 'xset'? [N/y]
which I answered by y
.
* Waiting in queue...
* Loading list of packages....
The following packages have to be installed:
xset-1.2.5-6.fc41.x86_64 User preference utility for X
Proceed with changes? [N/y] y
* Waiting in queue...
* Waiting for authentication...
* Waiting in queue...
* Downloading packages...
* Requesting data...
* Testing changes...
* Installing packages...
server does not have extension for +dpms option
Then, when I was running xset +dpms
I got the error message server does not have extension for +dpms option
.
How can I fix this?
PS: bash -c 'sleep 0.1 && xset dpms force off'
obviously also doesn't work:
bash -c 'sleep 0.1 && xset dpms force off'
server does not have extension for dpms option
xset: unknown option force
usage: xset [-display host:dpy] option ...
To turn bell off:
-b b off b 0
To set bell volume, pitch and duration:
b [vol [pitch [dur]]] b on
To disable bug compatibility mode:
-bc
To enable bug compatibility mode:
bc
To turn keyclick off:
-c c off c 0
To set keyclick volume:
c [0-100] c on
To control Display Power Management Signaling (DPMS) features:
-dpms DPMS features off
+dpms DPMS features on
dpms [standby [suspend [off]]]
force standby
force suspend
force off
force on
(also implicitly enables DPMS features)
a timeout value of zero disables the mode
To set the font path:
fp= path[,path...]
To restore the default font path:
fp default
To have the server reread font databases:
fp rehash
To remove elements from font path:
-fp path[,path...] fp- path[,path...]
To prepend or append elements to font path:
+fp path[,path...] fp+ path[,path...]
To set LED states off or on:
-led [1-32] led off
led [1-32] led on
-led named 'name' led off
led named 'name' led on
To set mouse acceleration and threshold:
m [acc_mult[/acc_div] [thr]] m default
To set pixel colors:
p pixel_value color_name
To turn auto-repeat off or on:
-r [keycode] r off
r [keycode] r on
r rate [delay [rate]]
For screen-saver control:
s [timeout [cycle]] s default s on
s blank s noblank s off
s expose s noexpose
s activate s reset
For status information: q
To print version: -version
Update: I think, as pointed out by meuh , the problem appears because I use Wayland. So, how can I use DPMS to turn off my screen using Wayland (GNOME, Fedora 41) such that computations are not interrupted but the screen is turned off? And once I press a key the monitor should turn on again.
Asked by Jakob
(119 rep)
Mar 24, 2025, 01:47 AM
Last activity: Mar 25, 2025, 04:10 PM
Last activity: Mar 25, 2025, 04:10 PM