X11 tips and tricks: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
No edit summary
(Add categories: Linux, Reference)
Line 21: Line 21:
== References ==
== References ==
<references />
<references />
[[Category:Linux]]
[[Category:Reference]]

Revision as of 01:01, 15 July 2026

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

References