Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
4
Newest
 Nice Answer
Impact
~36k people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
May
3
awarded  Nice Answer
Oct
16
awarded  Supporter
Oct
16
comment How do I lock the desktop screen via command line?
Sorry for my English... DISPLAY is a variable and define in which display an X Window System program renders to (it can be another monitor). In TTY this variable is empty. By default, first display is ":0.0". So use DISPLAY=:x before your command, indicates in which display run the command. And use DISPLAY=:0 or DISPLAY=:0.0 indicates: run the program in the first display.
Oct
16
awarded  Editor
Oct
16
revised How do I lock the desktop screen via command line?
added 48 characters in body
Oct
16
awarded  Teacher
Oct
16
answered How do I lock the desktop screen via command line?