![]() A potential workaround (assuming you are using lightdm) is to create a wrapper /usr/local/bin/gdmflexiserver script that runs: ![]() It relies on "gdmflexiserver" which is no longer available. So basically, the "switch" happens at the unlock dialog. If they are not yet logged in, they will then be logged in. If that person is already logged in, you will be connected to their existing session. The way that user-switching now works with lightdm/light-locker is that after you lock the session and are presented with the unlock dialog, you can enter another user's credentials to "switch" over to a profile for that account. Set the file as executable by right-clicking on it in the file manager and selecting “Allow executing file as program”.Which screensaver are you using? The default one with Ubuntu is now light-locker. Save the file in your home directory as screensaver.sh (ideally in a new folder named screensavers). usr/bin/xscreensaver-command -watch | process Open a text editor such as gedit and enter the following script: #!/bin/bash xscreensaver -nosplash & process() In this case, we will set up a script to run at startup to launch xscreensaver and keep it active in the background, the script will then monitor for the unblank change and trigger the gnome lock screen. It’s possible to set up a bash script to monitor the state of changes in xscreensaver responses are blank, unblank and lock. Check that all is ok by triggering the screensaver with the Preview button. Select when you want it to trigger by changing the Blank After value, Envoke the built-in lock screen by selecting the lock screen option and choosing its corresponding delay value. If you want to use it without screen locking or by using the built-in screen locker then simply add an entry to start up applications with the name xscreensaver and the command xscreensaver -nosplashįrom here you can choose one of the bundled screensavers and alter its settings. This will install xscreensaver and a selection of screensavers to get you started. Install from the PPA by typing sudo apt-get install xscreensaver xscreensaver-gl-extra xscreensaver-data-extra Packages are available for Bionic (18.04) and Xenial (16.04) but are compatible with other releases such as cosmic (18.10) by changing the release in the software sources to bionic, or manually downloading and installing the. sudo add-apt-repository ppa:hda-me/xscreensaver Open a terminal from your app menu or with Ctrl+Alt+T and enter. ![]() The version available in the repositories isn’t the most up to date. The Cinnamon desktop for example still uses it as a backend for their screensaver packages. Xscreensaver is a nifty little program that over 25 years old is still being actively maintained by the original author, It’s old but not obsolete. On older hardware, it may briefly display the desktop between the screensaver turning off and when the lock screen is invoked. The Next best option is to invoke the gnome lock screen when xscreensaver changes state. although aesthetically it would still look out of place. Themeing the dialog would be the more sensible option to retain the security of the user. This leaves the user with three options to work around this, either,Ī) Turn It off although xscreensaver will prevent the machine from locking.ī) Theme the unlock dialog although options are limited.Ĭ) Listen to changes in the state of xscreensaver and then lock the screen when xscreensaver unblanks. It instead renders a very bad looking unlock option. The only downside to using this is the lack of native lock screen dialog. It can, however, play videos with a few tweaks using VLC. This package is capable of displaying a number of included open-gl powered screensavers. Although as stated Gnome Shell doesn’t support them the can still be used via the xscreensaver package. So Why still use them? Because they look cool. Gnome shell has therefore not developed a screensaver function into gnome-shell, simply opting for a blank screen which when a user interacts requires them to login into the computer for security purposes. Technically screensavers are no longer required as modern displays are not susceptible to burn in from displaying the same image as older CRT monitors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |