qdbus.md 1.4 KB

qdbus

Inter-Process Communication (IPC) ๋ฐ Remote Procedure Calling (RPC) ๋ฉ”์ปค๋‹ˆ์ฆ˜์œผ๋กœ, ์›๋ž˜ Linux๋ฅผ ์œ„ํ•ด ๊ฐœ๋ฐœ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๋” ๋งŽ์€ ์ •๋ณด: https://doc.qt.io/qt-5/qtdbus-index.html.

  • ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์„œ๋น„์Šค ์ด๋ฆ„ ๋‚˜์—ด:

qdbus

  • ํŠน์ • ์„œ๋น„์Šค์˜ ๊ฐ์ฒด ๊ฒฝ๋กœ ๋‚˜์—ด:

qdbus {{์„œ๋น„์Šค_์ด๋ฆ„}}

  • ํŠน์ • ๊ฐ์ฒด์—์„œ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ฉ”์„œ๋“œ, ์‹ ํ˜ธ ๋ฐ ์†์„ฑ ๋‚˜์—ด:

qdbus {{์„œ๋น„์Šค_์ด๋ฆ„}} {{/๋Œ€์ƒ/๊ฒฝ๋กœ/๊ฐ์ฒด}}

  • ์ธ์ˆ˜๋ฅผ ์ „๋‹ฌํ•˜์—ฌ ํŠน์ • ๋ฉ”์„œ๋“œ๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ๋ฐ˜ํ™˜๋œ ๊ฐ’ ํ‘œ์‹œ:

qdbus {{์„œ๋น„์Šค_์ด๋ฆ„}} {{/๋Œ€์ƒ/๊ฒฝ๋กœ/๊ฐ์ฒด}} {{๋ฉ”์„œ๋“œ_์ด๋ฆ„}} {{์ธ์ˆ˜1}} {{์ธ์ˆ˜2}}

  • KDE Plasma ์„ธ์…˜์—์„œ ํ˜„์žฌ ๋ฐ๊ธฐ ๊ฐ’ ํ‘œ์‹œ:

qdbus {{org.kde.Solid.PowerManagement}} {{/org/kde/Solid/PowerManagement/Actions/BrightnessControl}} {{org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness}}

  • KDE Plasma ์„ธ์…˜์—์„œ ํŠน์ • ๋ฐ๊ธฐ ์„ค์ •:

qdbus {{org.kde.Solid.PowerManagement}} {{/org/kde/Solid/PowerManagement/Actions/BrightnessControl}} {{org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness}} {{5000}}

  • KDE Plasma ์„ธ์…˜์—์„œ ๋ณผ๋ฅจ ์ฆ๊ฐ€ ๋‹จ์ถ•ํ‚ค ํ˜ธ์ถœ:

qdbus {{org.kde.kglobalaccel}} {{/component/kmix}} {{invokeShortcut}} "{{increase_volume}}"

  • ์ •์ƒ์ ์œผ๋กœ ๋กœ๊ทธ์•„์›ƒํ•œ ํ›„ ์•„๋ฌด๊ฒƒ๋„ ํ•˜์ง€ ์•Š๊ฑฐ๋‚˜, ์žฌ๋ถ€ํŒ…ํ•˜๊ฑฐ๋‚˜, ์ข…๋ฃŒ:

qdbus {{org.kde.Shutdown}} {{/Shutdown}} {{logout|logoutAndReboot|logoutAndShutdown}}