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

From KDE UserBase Wiki
(Importing a new version from external source)
 
(Importing a new version from external source)
Line 5: Line 5:
* Lock screen: {{Output|1=<nowiki>loginctl lock-session</nowiki>}}
* Lock screen: {{Output|1=<nowiki>loginctl lock-session</nowiki>}}
* Unlock screen: {{Output|1=<nowiki>loginctl unlock-session</nowiki>}}
* Unlock screen: {{Output|1=<nowiki>loginctl unlock-session</nowiki>}}
* Turn off screen: {{Output|1=<nowiki>xset dpms force off</nowiki>}}
* Turn off screen: {{Output|1=<nowiki>sleep 0.1 && qdbus org.kde.kglobalaccel /component/org_kde_powerdevil invokeShortcut "Turn Off Screen"</nowiki>}}
* Turn on screen: {{Output|1=<nowiki>xset dpms force on</nowiki>}}
* Lock keyboard and mouse (not the screen): {{Output|1=<nowiki>pyxtrlock</nowiki>}}
* Lock keyboard and mouse (not the screen): {{Output|1=<nowiki>pyxtrlock</nowiki>}}
* Unlock keyboard and mouse: {{Output|1=<nowiki>pkill pyxtrlock</nowiki>}}
* Unlock keyboard and mouse: {{Output|1=<nowiki>pkill pyxtrlock</nowiki>}}

Revision as of 17:33, 31 May 2021

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:
    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