If you need more functionality out of Moksha's lock desktop screen or prefer a different look perhaps to match the log in screen at boot, it is possible to replace Moksha's desk lock screen with another application to lock the desktop. It should be noted this feature has recently been removed from enlightenment. So this guide is for Moksha only or older versions of Enlightenment than what is in e-git.
First I am assuming you are using Moksha and use Lightdm as your Display Manager (DM). That is what is preinstalled on all recent versions of Bodhi, so you are using it unless you replaced it with something else (SDDM, GDM, et al). The rest of this guide applies only if you are using Lightdm.
First open a terminal and install lightdm-locker:
sudo apt update sudo apt install light-locker Now add light-locker to your startup applications in Moksha Settings. Be Sure you click Apply:
Now Set Light-locker as the command to be executed on Desk Lock in the Screen Lock Settings. Again be sure to click Apply:
Now log out or reboot and log back into Moksha. Test your new Desk Lock screen. It should be the same one you use to log in with.
Installing the i3lock blocker in Bodhi-6.0 1. Using synaptic, install the i3lock package and its dependencies
2. Verification: enter the following command in the terminal:
i3lock -c 55007f
The screen will be locked and filled with a solid color. You can unlock it by entering the user password. If the password is incorrect, an error message will light up. No asterisks, only a circle-shaped indicator that flashes for 1 second in response to a key press (you can turn it off with the -u parameter). Options: -c -- use when blocking color -i -- use an image when locking (good joke - desktop snapshot ) -u -- do not show the indicator (complete obscurity!) 55007f -- lock color selection
3. Setting - similar to the above, insert a custom command i3lock -c 55007f or use other parameters. More details - i3lock --help
Perhaps the following will be off-topic: The other day I was playing with the toilet program and other toys in the terminal (from here: Linux For Beginners - May 2021 - 2021-05-29) and suddenly thought that one of them, cmatrix, could serve as a formidable terminal blocker if you write the cmatrix line to the /home/user/.bashrc file. Although I like the other line better: toilet -w 75 --gay \Hey!; sleep 1; cmatrix and open the terminal: Ctrl+C