Giter Club home page Giter Club logo

lockd's Introduction

lockd - Manage your lock screen

Note: This program is not intended for the average user using a desktop environment like Plasma, GNOME or Unity. This is intended for users of standalone window managers like i3, xmonad or awesome.

lockd will use a configuration file at $HOME/.config/lockd/main.cfg. This will be overridable using a command line switch in the future

Features

  • Automatically locks screen when system gets suspended
  • Will prevent suspend before screen is locked
  • Has option to disable automatic suspend on lid close

Usage

Make sure lockd starts together with your i3:

exec lockd

To lock your screen manually, do not start i3lock manually but use lockctl lock to ensure the internal state of lockd is correct.

To prevent your system from suspending when you close the lid, run lockctl lidaction ignore. To revert use lockctl lidaction suspend. You can query the status at any time using lockctl lidaction

Automatic Screen Locking

set up xautolock: xautolock -locker 'lockctl perform_autolock'

To temporarily turn off automatic screen locking: lockctl autolock off. Once that has been run, lockctl perform_autolock turns onto a no-op

lockd's People

Contributors

dequbed avatar fxleblanc avatar kilobyte22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lockd's Issues

Use Process Groups to allow forking lockscreens

Using Process Groups i can ensure that i can keep the state correct, even when a lock screen fork()s. In fact, most lock screens which do fork, will not exit their first PID after the lock is grabbed, so this can be used as an indicator on when the screen has been successfully locked.

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.