Created
January 10, 2019 13:24
-
-
Save e-minguez/a993dee4e9e8b35593e874221576fba1 to your computer and use it in GitHub Desktop.
Lock screen & unlock screen commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Lock | |
gdbus call --session --dest org.gnome.ScreenSaver --object-path /org/gnome/ScreenSaver --method org.gnome.ScreenSaver.Lock | |
# Unlock | |
loginctl unlock-session && xset dpms force on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment