X11 tips and tricks: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Get current display name == #see the capability of display :0 xrandr --current -display :0 == Get input device list and properties == get stable video output names xrandr -q | grep connected get input devices $ DISPLAY=:0 xinput list $ DISPLAY=:0 xinput list-props 8 == References == <references />") |
No edit summary |
||
Line 1: | Line 1: | ||
== Turn on/off display from command line == | |||
<syntaxhighlight lang="bash"> | |||
# To turn monitor on | |||
$ xset -display :0 dpms force on | |||
# To turn monitor off | |||
$ xset -display :0 dpms force off | |||
</syntaxhighlight> | |||
== Get current display name == | == Get current display name == | ||
#see the capability of display :0 | #see the capability of display :0 |
Latest revision as of 14:51, 25 May 2024
Turn on/off display from command line
# To turn monitor on
$ xset -display :0 dpms force on
# To turn monitor off
$ xset -display :0 dpms force off
Get current display name
#see the capability of display :0 xrandr --current -display :0
Get input device list and properties
get stable video output names
xrandr -q | grep connected
get input devices
$ DISPLAY=:0 xinput list $ DISPLAY=:0 xinput list-props 8