문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
linux:gnome:monitor [2021/01/06 13:37] kwon37xi 만듦 |
linux:gnome:monitor [2023/11/22 09:47] kwon37xi [DBus 로 모니터 제어] |
||
---|---|---|---|
줄 6: | 줄 6: | ||
* [[https:// | * [[https:// | ||
* Gnome 은 '' | * Gnome 은 '' | ||
+ | * [[https:// | ||
+ | ===== DBus 로 모니터 제어 ===== | ||
+ | * [[linux: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | <code sh> | ||
+ | # example | ||
+ | # 읽기 | ||
+ | gdbus call \ | ||
+ | --session \ | ||
+ | --dest=org.gnome.Mutter.DisplayConfig \ | ||
+ | --object-path / | ||
+ | --method org.gnome.Mutter.DisplayConfig.GetResources | ||
+ | |||
+ | # 쓰기 | ||
+ | gdbus call \ | ||
+ | --session \ | ||
+ | --dest=org.gnome.Mutter.DisplayConfig \ | ||
+ | --object-path / | ||
+ | --method org.gnome.Mutter.DisplayConfig.ApplyMonitorsConfig \ | ||
+ | 3 1 "[(0, 0, 1, 0, true, [(' | ||
+ | </ | ||
+ | |||
+ | ===== 참조 ===== | ||
+ | * [[https:// |