Translations:KDE Connect/Tutorials/Useful commands/4/en: Difference between revisions

From KDE UserBase Wiki
(Importing a new version from external source)
(No difference)

Revision as of 06:10, 20 September 2018

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (KDE Connect/Tutorials/Useful commands)
* Shutdown: {{Output|1=<nowiki>systemctl poweroff</nowiki>}}
* Reboot: {{Output|1=<nowiki>systemctl reboot</nowiki>}}
* Suspend: {{Output|1=<nowiki>systemctl suspend</nowiki>}}
* Hibernate: {{Output|1=<nowiki>systemctl hibernate</nowiki>}}
* Lock screen: {{Output|1=<nowiki>loginctl lock-session</nowiki>}}
* Unlock screen: {{Output|1=<nowiki>loginctl unlock-session</nowiki>}}
* Turn off screen: {{Output|1=<nowiki>sleep 0.1 && qdbus org.kde.kglobalaccel /component/org_kde_powerdevil invokeShortcut "Turn Off Screen"</nowiki>}}
* Lock keyboard and mouse (not the screen): {{Output|1=<nowiki>pyxtrlock</nowiki>}}
* Unlock keyboard and mouse: {{Output|1=<nowiki>pkill pyxtrlock</nowiki>}}
  • 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:
    xset dpms force off
  • Turn on screen:
    xset dpms force on
  • Lock keyboard and mouse (not the screen):
    pyxtrlock
  • Unlock keyboard and mouse:
    pkill pyxtrlock