KDE Connect 常用远程命令

在 2021年2月11日 01点07分 发布于 Linux 分类

# 关闭屏幕
qdbus-qt5 org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness `qdbus-qt5 org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightnessSilent 0`

# 打开x11vnc
x11vnc -usepw

# 最高亮度
qdbus-qt5 org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness `qdbus-qt5 org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightnessMax`

# 启动网易云
netease-cloud-music --ignore-certificate-errors

# 解锁屏幕
loginctl unlock-session

# 锁定屏幕
loginctl lock-session