Hot answers tagged screen-lock
This works for me in Gnome 3.14. Standard installation, no customization. gnome-screensaver-command --lock
Since you use low ressources, I'm gonna guess the default screenlocker is xlock without any screensaver turned on. In that case. You'll have to edit the command for screen locking from "xlock" to "xlock && pkill firefox" or "xlock && pkill chromium". I dont know more on this but basically, if you add " && " after a command, you ...
In the terminal type mate-screensaver-preferences &, or from the Control Panel, select Screensaver - then deselect Lock screen when screensaver is active. You can find timeout settings there, too.
If your system is running systemd, you could create a unit which would trigger when the network interface goes down which would lock your screen in the simple case where the machine is physically unplugged from the network. But you want your work computer to verify that you are still connected to your work computer, not merely that your work computer can ...
Found an answer which works for me here. The problems seems to be: Apparently xfce4-power-manager and systemd were both creating suspend events at the same time, causing problems loading modules like keyboard drivers upon resuming. If the xfce-power-manager is used to handle suspend, it is suggested to edit /etc/systemd/logind.conf and add: ...
Write a screen saver. This is not as crazy as it sounds. Xlock uses screensavers to draw on the screen that are not part of the screen locker so you can write a simple shell script which kills the browser then execs another screensaver to draw on the screen, and set xlock to use that script as the screensaver. I could probably get it down to about five ...
My edition of screen on Debian (package version 4.1.0~20120320) has lock functionality built-in; hitting C-a x locks the entire environment (so that not even detach with C-a d is permitted). The Debian version of the man page for screen writes, "Call a screenlock program (/local/bin/lck or /usr/bin/lock or a builtin if no other is available)." If you want ...
if you want to use lightdm screenlock, you can add it on the following list on the file located in /usr/local/bin/xflock4 by adding dm-tool lock command. for lock_cmd in \ "xscreensaver-command -lock" \ "gnome-screensaver-command --lock" \ "dm-tool lock"
Only top voted, non community-wiki answers of a minimum length are eligible