From 0405da97ab6d49d7009b4f77adc98c075645b338 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Wed, 22 May 2024 23:17:44 +0300 Subject: [PATCH] xset, xrandr: add example (#12823) --- pages/linux/xrandr.md | 4 ++++ pages/linux/xset.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/pages/linux/xrandr.md b/pages/linux/xrandr.md index cd14c4f89b..c917a21b16 100644 --- a/pages/linux/xrandr.md +++ b/pages/linux/xrandr.md @@ -26,3 +26,7 @@ - Set the brightness for LVDS1 to 50%: `xrandr --output {{LVDS1}} --brightness {{0.5}}` + +- Display the current state of any X server: + +`xrandr --display :{{0}} --query` diff --git a/pages/linux/xset.md b/pages/linux/xset.md index bbd87888d1..22df01bf13 100644 --- a/pages/linux/xset.md +++ b/pages/linux/xset.md @@ -22,3 +22,7 @@ - Enable DPMS (Energy Star) features: `xset +dpms` + +- Query information on any X server: + +`xset -display :{{0}} q`