Ubuntu – Unlock screen in 14.04 without `gnome-screensaver-command`


I've been happily using blueproximity in 13.10, but since upgrade to 14.04 it only locks when my phone goes out of range (using gnome-screensaver-command -l), but it does not unlock with gnome-screensaver-command -d.

Now the reason that gnome-screensaver-command -d doesn't work is because of a bug.

However on that bug report it is mentioned that the gnome-screensaver is no longer used in trusty and therefore the gnome-screensaver-command is expected to be phased out, which could also be related to why the command doesn't work.

So my question is, if the gnome-screensaver is replaced, then what would be the new command to unlock the screen without relying on gnome-screensaver-command?

Best Answer

  • This worked for me:

    On the command line:

    gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true

    The on-screen keyboard appears when you first sign-in but you can close it.

    After this gnome-screensaver-command -d works.

    Taken from benshayden on https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/1307163