Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 2580  / 1 Year ago, sat, may 20, 2023, 1:46:53

I was trying to figure out difference between



gnome-screensaver-command -a


and



gnome-screensaver-command -l


According to the gnome-screensaver-command man page...



-l, --lock                 Tells the running screensaver process to lock the screen immediately
-a, --activate Turn the screensaver on (blank the screen)


For me in both the cases it generated the login screen.Can some one outline the difference in the two things??


More From » gnome

 Answers
0

I think that depends on the gnome-screensaver settings.




  • If you set your gnome screensaver not to lock the screen, than the -a option will not lock the screen.

  • If you set your gnome screensaver to lock the screen, then -a will lock it; this is the default setting in Ubuntu as far as I remember.

  • Option -l, however, will always lock it.


[#35499] Sunday, May 21, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
skaing

Total Points: 462
Total Questions: 124
Total Answers: 113

Location: Nauru
Member since Thu, Feb 2, 2023
1 Year ago
skaing questions
;