A screen saver module for XSecureLock which shows pictures as a slide show.
git clone https://github.com/Moandor-y/xsecurelock-saver-slide.git
cd xsecurelock-saver-slide
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
Then expect the executable to be created at ./xsecurelock_saver_slide
.
- Install the executable together with the included
auth_
modules (default location:/usr/local/libexec/xsecurelock/helpers
) and name itsaver_slide
. (See XSecureLock - Writing Your Own Module) - Pass
XSECURELOCK_SAVER=saver_slide
by environment variables. - (Optional) Pass
XSECURELOCK_SAVER_SLIDE_LIST_IMAGES_COMMAND=<your command>
if you want to provide your own command to list all images to be shown. Defaults tofind ~/Pictures -type f -name '*.png'
. There must be at least 2 images found by this command, otherwise the program will crash. - (Optional) Pass
XSECURELOCK_SAVER_SLIDE_FONT_COMMAND=<your command>
if you want to provide your own command to find the font used to display date and time. Default tofind /usr/share/fonts -name 'NotoSans-Regular.ttf'
. A TTF font must be found by this command, otherwise the program will crash.
See the installation and options of XSecureLock for more information.