사용자 도구

사이트 도구


linux:gnome:monitor

문서의 이전 판입니다!


Gnome and monitor

DBus 로 모니터 제어

# example
# 읽기
gdbus call \
--session \
--dest=org.gnome.Mutter.DisplayConfig \
--object-path /org/gnome/Mutter/DisplayConfig \
--method org.gnome.Mutter.DisplayConfig.GetResources
 
# 쓰기 - 작동안함.
gdbus call \
--session \
--dest=org.gnome.Mutter.DisplayConfig \
--object-path /org/gnome/Mutter/DisplayConfig \
--method org.gnome.Mutter.DisplayConfig.ApplyMonitorsConfig \
3 1 "[(0, 0, 1, 0, true, [('eDP-1', '1920x1080@60.0', [] )] )]" "[]"

참조

linux/gnome/monitor.1636413753.txt.gz · 마지막으로 수정됨: 2021/11/09 08:22 저자 kwon37xi