However, XScreenSaver can also be used as a screen locker, to Should always be doing something interesting, just like they do in the Not in use, in keeping with the philosophy that unattended monitors XScreenSaver is to display pretty pictures on your screen when it is That can draw on the root window as a display mode. It is highly customizable and allows the use of any program The XScreenSaver is a modular screen saver and locker for the X Window Xscreensaver is a package which is an extensible screen saver framework, and locks the computer.Īccording to this page. But on most average systems the gnome libraries are already installed anyway so there is no overhead. NOTE: The only potential downside to this is that gnome-screensaver will pull the gnome dependencies which in a very minimalistic desktop might not already be present. Start > Settings Manager > Keyboard > Application Shortcuts > Add You can also set a shortcut to lock the screen with the keyboard:
You can follow the same steps as in GNOME 3 desktop.Remove xscreensaver and install gnome-screensaver which has a more polished look: sudo apt-get remove xscreensaver To disable screen lock, simply change the setting in ~/.xscreensaver. You can also edit this file manually to adjust screen lock settings, without going through GUI. Once you change screensaver preferences via GUI like above, it will create ~/.xscreensaver, which is a screensaver preference file. In this settings, you can change screensaver activation time and screen lock delay, as well as enable/disable screen lock. To disable screen lock, simply change the following setting in ~/.kde/share/config/kscreensaverrc. Once the file is edited, the change will automatically take effect immediately. To adjust screen lock settings from the command line, you can edit ~/.kde/share/config/kscreensaverrc.
After 300 seconds from that point on, screen lock will be activated, requiring password authentication.
In this example, screensaver will be launched after 15 minutes of inactivity. Also, you can enable or disable screen locking. Here, you can change screen inactivity period and screen lock delay. Go to System Settings -> Display and Monitor. To install dconf-editor on Fedora: $ sudo yum install dconf-editor To install dconf-editor on Debian, Ubuntu or Linux Mint: $ sudo apt-get install dconf-tools To disable screen lock: $ dconf write /org/gnome/desktop/screensaver/lock-enabled falseĪlternatively, you can use dconf-editor, a GUI-frontend for dconf command. To activate screensaver and lock the screen after 10 minutes: $ dconf write /org/gnome/desktop/session/idle-delay 600
If you want to control screen lock from the command line, here is how to do it. In this setting, you can set screen inactivity period and screen lock delay. Go to System Settings -> Brightness and Lock. In this tutorial, I am going to show how to configure screen lock settings in various Linux desktop environments. Also, in case you want prevent your screen from going off and locked down for an extended period of time (e.g., when watching a movie), you probably want to disable screen lock feature. You may want to adjust these settings based on your typical work environment.
The default screensaver is typically configurable, and you can change settings like inactivity period or screen lock delay. How to adjust screen lock settings on Linux desktopĮvery major Linux desktop nowadays comes with a screensaver program by default (e.g., xscreensaver), which then can be used to lock the screen for security purposes.