Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gnome screensaver BASH commands
01-11-2010, 09:41 AM
Post: #1
Gnome screensaver BASH commands
This command activates the gnomes screen saver
Code:
gnome-screensaver-command -a
This command activates the gnome screen saver and lock the window when deactivated
Code:
gnome-screensaver-command -l
This command deactivates a running screensaver
Code:
gnome-screensaver-command -d
You can put commands together like so. I want to activate the screensaver for 5 seconds and deactivate the screen saver. I will so it like this
Code:
gnome-screensaver-command -a
sleep 5
gnome-screensaver-command -d
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


 Quick Theme: