Questions tagged [xset]
15 questions
14
votes
5 answers
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 purpose like: xset dpms 100 0 0 which works on these…
Ravexina
- 57,256
10
votes
2 answers
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 on. I didn't change any settings to my knowledge…
user287878
- 101
- 1
- 1
- 3
9
votes
4 answers
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 command and assigned it a custom keyboard…
mara004
- 274
8
votes
1 answer
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 does not work in Wayland and gives the error…
2
votes
0 answers
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 (again, truly hardware)
toggling the backlight
change…
Frank N
- 1,430
2
votes
1 answer
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 blanking option (xset s blank + xset s on), which…
Heehaaw
- 131
1
vote
1 answer
How to disable auto key repeat in Wayland?
For some ridiculous reason I need to disable key autorepeat.
I am told that "xset r off" or "xset -r" does the job. However, when I use the command nothing changes. Holding down a key, like "w" still results in repeated "w" being triggered.
$…
Chemo
- 51
1
vote
1 answer
In Ubuntu 23.10, xset led 3 and xset -led 3 do not work for wired keyboards
I have a USB cable keyboard and the LED light is not working, but on this same laptop it was working on Ubuntu version 22.04, now xset commands etc. are not working
1
vote
1 answer
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. I even reinstalled ubuntu, used "xset led on", "xset led…
1
vote
0 answers
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 manually. But if it's started from rc.local during…
kadralievr
- 11
- 1
0
votes
1 answer
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 on" at the end of .profile file in my home directory but that…
Pankaj
- 303
0
votes
1 answer
How to create a startup command?
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 Nvidia 440 driver
I found out xset dpms 600 900…
ubusr
- 11
0
votes
1 answer
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 the script, the key repeat is kept…
Psionikal
- 274
0
votes
1 answer
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 privacy from co-workers.
Of all the tools I've…
Ryan Brierley
- 3
- 2
-1
votes
1 answer
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 && rm /tmp/keyboard_light
else
xset led 3 && touch…