Questions tagged [xset]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
236 views

Turn off display in Ubuntu on Wayland

I recently installed a program on my Ubuntu 20.04 machine that needs Wayland instead of X11 to work. I also frequently used the command xset dpms force off to turn of my display. However, this command ...
user avatar
0 votes
1 answer
61 views

Xset - the key strokes are not repeating

I'm running Ubuntu 20.4 desktop and I have to run "xset r on" from command line each time I log in otherwise holding arrow or del keys does not work (in repeated mode). I added "xset r ...
user avatar
  • 129
0 votes
1 answer
62 views

How to turn on change keyboard light on change lang

how to cancel turn on/off keyboard light when i change language on ubuntu 20.04? i configured my custom turn on and turn off by script #!/bin/bash if [ -f /tmp/keyboard_light ]; then xset -led 3 &&...
user avatar
0 votes
1 answer
563 views

xset led 3 not working on Ubuntu 21.04

update my ubuntu recent version 21.04, but now my external keyboard backlight is not working. Previously it was working using "xset led on" in terminal and it is working perfectly on Windows....
user avatar
2 votes
3 answers
3k views

How to turn off the monitor via command on Wayland (KDE Plasma)?

I like turning off the monitor when I don't need it, to reduce eyestrain and energy consumption (e. g. when only listening to music). On X11, I have been using the sleep 0.5; xset dpms force off shell ...
user avatar
  • 131
1 vote
0 answers
295 views

Can I adjust the White Balance/Color Temperature (hardware) settings of my monitor?

I know that one can do quite much programatically (shell commands) to the attached monitor hardware in Linux: turn it on/off (truly, hardware-wise) with xset dpms force off toggle the brightness (...
user avatar
  • 1,059
0 votes
1 answer
159 views

How to create a startup command? [duplicate]

How do I create a startup command permanent on every cycle restart ? As previously having brightness reset when set at power saving mode to turn off the monitor. 18.04 64bits 5.4.0-42-generic Desktop ...
user avatar
  • 11
0 votes
1 answer
116 views

Make an 'if else' statement in bash which toggles key repeat

#!/bin/bash var1="r on" var2="r off" xset=$xset if [[ $(xset r on) = true ]] then $xset "$var1" else $xset "$var2" fi is the script which I tried to run to toggle the key repeat. When running ...
user avatar
  • 274
1 vote
0 answers
67 views

Check if X server is started in a script under rc.local

I have a script that depends on X server is started. So in the script, I check if X is started with the while loop below: while xset q; do sleep 1 done Everything works well if I run this script ...
user avatar
0 votes
1 answer
27 views

How do I prevent screen wakeup while using a remote access tool?

I'm trying to design a system for our office (consisting of Ubuntu Desktop 18.04 LTS laptops and desktops), where remote access to the on-screen GUI can be combined with a local screen-blank, for ...
user avatar
1 vote
1 answer
183 views

DPMS and HDMI audio

While playing audio through HDMI connection, the audio is turned off once DPMS kicks in. This is somewhat expected. But I'd like to have the screen blanked and keep the audio playing... DPMS has this ...
user avatar
  • 121
12 votes
5 answers
4k views

How to standby a monitor using xset in multi monitor setup?

While having two or more monitor working together, Is there any way to put a single one of them on standby/suspend by issuing a command like: xset dpms force suspend? or having a time set for that ...
user avatar
  • 51.3k
8 votes
2 answers
43k views

xset: unable to open display

For the longest time after about 5 minutes my screen would blank out. Now the screen will go blank after 5 minutes but then 2 seconds after that it will light up white and keep the laptop backlighting ...
user avatar