Translations:KDE Connect/Tutorials/Useful commands/4/en
- Shutdown:
systemctl poweroff
- Reboot:
systemctl reboot
- Suspend:
systemctl suspend
- Hibernate:
systemctl hibernate
- Lock screen:
loginctl lock-session
- Unlock screen:
loginctl unlock-session
- Turn off screen:
sleep 0.1 && qdbus org.kde.kglobalaccel /component/org_kde_powerdevil invokeShortcut "Turn Off Screen"
- Lock keyboard and mouse (not the screen):
pyxtrlock
- Unlock keyboard and mouse:
pkill pyxtrlock