Extension for gnome-shell to lock the desktop via the gnome-shell panel
The lock
function is using the xscreensaver-command
and/or the gnome-screensaver-command
command with the --lock
parameter.
The extension was tested on the following gnome-shell
versions.
- 3.18
- 3.22
- 3.24
The file CHANGELOG.md provides an overview of the major changes of this project; for a more detailed look at changes to the code, view individual commits.
- Copy
lock-my-desktop@yafp.de
to$HOME/.local/share/gnome-shell/extensions/
- Restart Gnome-Shell (ALT+F2 -> r)
- Navigate to extracted archive
- Run
make install
- Restart Gnome-Shell (ALT+F2 -> r)
- Delete
lock-my-desktop@yafp.de
from$HOME/.local/share/gnome-shell/extensions/
- Restart Gnome-Shell (ALT+F2 -> r)
- Navigate to extracted archive
- Run
make uninstall
- Restart Gnome-Shell (ALT+F2 -> r)
If your system has no configured screensaver the extension will most likely not work.
Try running either xscreensaver-command --lock
and/or gnome-screensaver-command --lock
from your terminal.
If one of the above commands locks your desktop you should be fine.