Upon logging in on Lubuntu 19.04 it is using sddm, but when the computer is idle too long and it goes into idle, when I go to log back in it is using xscreensaver(which I can't stand the look of). I installed gdm3 in an attempt to change both over to a single interface, but all it did is replace sddm leaving xscreensaver as my login after idle. How can I replace xscreensaver in Lubuntu?
1 Answers
Why your solution didn't work
LXQt uses xdg-screensaverlock to handle locking. This tool generally chooses the screensaver based on the desktop environment but xscreensaver takes precedence so that eliminates some other options, including gnome-screensaver¹.
The real solution
Luckily, there are others that take precedence over xscreensaver, including the one that trumps them all: xautolock. Technically that's not a locker, so you'd need something else. Something light like xtrlock would do the trick (and it's super light).
Make sure you autostart xautolock -locker "xtrlock -b" (remove the -b if you don't want the screen blanked) and keep xscreensaver from starting:
- Navigate to Menu » Preferences » LXQt Settings » Session Settings » Autostart
- Uncheck the check box next to Xscreensaver
- Click the Add button
- In the Name field add something like "xautolock xtrlock"
- In the Command field add
xautolock -locker "xtrlock -b" - Click OK
- Click Close
- Log out and back out again
You can fix xscreensaver, too
Since your primary issue is looks, You might want to look into theming xscreensaver's lock dialog. This is arguably a much wiser solution as xscreensaver is really notable for its commitment to security, i.e. to actually work under any conditions as a locker.
¹ …which is not included with gdm3, so you didn't install another lock mechanism. If you did want this single interface, you'd need to install the screensaver as well. You'd also have to do the above except instead of xautolock you could use gnome-screensaver. I wouldn't recommend this any more than I would recommend trying to use KDE's locker (which is not sddmas it seems) since they are tightly integrated into the desktop environment and kind of useless outside of it.
- 1,026