GithubHelp home page GithubHelp logo

colddivinity / xsecurelock-saver-slide Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 98 KB

A screen saver module for XSecureLock which shows pictures as a slide show.

License: MIT License

C++ 96.80% CMake 3.20%

xsecurelock-saver-slide's Introduction

XSecureLock Saver Slide

A screen saver module for XSecureLock which shows pictures as a slide show.

Building

Requirements

Steps

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.

Using

  1. Install the executable together with the included auth_ modules (default location: /usr/local/libexec/xsecurelock/helpers) and name it saver_slide. (See XSecureLock - Writing Your Own Module)
  2. Pass XSECURELOCK_SAVER=saver_slide by environment variables.
  3. (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 to find ~/Pictures -type f -name '*.png'. There must be at least 2 images found by this command, otherwise the program will crash.
  4. (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 to find /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.

xsecurelock-saver-slide's People

Contributors

moandor-y avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.