Launch a privacy screen saver in GNOME

A major annoyance when I am traveling, or at the workplace is when people are snooping and looking over my shoulder at my laptop. Rather than slamming the lid of my laptop, I thought it would be nice to setup a keyboard shortcut that would launch my screen saver and hide my work. Previously I posted about how to create keyboard shortcuts to launch custom commands. Today we will add a keyboard shortcut that will launch the GNOME screen saver.

The first step is to open a terminal and type gconf-editor

In gconf-editor go to apps >> metacity >> global_keybindings. In run_command_1 type: Alt+s

Next, select apps >> metacity >> keybind_commands. In command_1 type: gnome-screensaver-command –activate

Now whenever you press ALT + S your screen saver will launch and hide your work from snooping eyes.

Comments

  1. On my machine -activate was an invalid command, its –activate or just -a, silly switches.

Post a Comment


Your email is never published nor shared. Required fields are marked *



© 2006-2007 Maxim Software Corp.  All rights reserved.