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 s
I've got an Ubuntu 12.04 system with Awesome WM, and I'd like the screensaver to work like in Unity:
GNOME Screensaver
Ctrl-Alt-L to lock
N minutes' timeout which respects applications which temporarily disable the screensaver
The keyboard shortcut was relatively easy:
-- Lock screen
awful.key(
{ "Mod1", "Control" },
"l",
function ()
awful.util.spawn("gnome-screensaver-com
How to run a web browser as a screensaver
From that link, I can now set chromium-browser in ubuntu - gnome in kiosk mode (fullscreen mode) to display a web page (acting as screensaver). Everything is working fine.
I would much rather the lock screen to go back to the login screen but can not seem to figure out how...
I have my desktop set to autologin and then run "gnome-screensaver-command --lock" as i want to be logged in for when i connect though SSH. Its nothing major but would make it look nicer every morning and when i get home.
using ubuntu 11.10 with gnomeshell 3.3.2
The only way I can get my computer to suspend is with the following command. (This thread is how I got that far)
Code:
sudo s2ram -f -m
But that doesn't lock my screen before suspend. So I thought I'd put together a little script to run all commands at once so I can lock my screen and then suspend in one motion.
First of all, please excuse me if I am doing this wrong. I have been using ubuntu 12.04 for a while now. A week or so ago, the lock portion of teh brightness and lock feature stopped working. I think maybe shortly after the update that week.
Hi, I have tried a number of different ways to get the screen to lock after a gnome login.
Now, I do run Automaticlogin=user, automaticloginenabled=true; I have heard that when running this configuration some scripts in /etc/gdm/....
It's pretty well known that hibernation doesn't work in 12.04 by default. However I have installed some of the power management utilities and now I can hibernate using the command
sudo pm-hibernate
The problem with this is the system doesn't lock and after waking up, straight way goes to the desktop (and obvious privacy concern for many users).
For example, in X session, I can use Ctrl-Alt-L to lock the screen, so it would ask for password to unlock and prevent somebody from messing with mine computer.
But if I have an open terminal session on one of the tty's (which I can access with Ctrl-Alt-F1, for example) - then it is not locked, and somebody can still use it to do some harm.