Giter Site home page Giter Site logo

lock-screen-app's Introduction

Lock Screen

The missing Lock Screen app for Spotlight of macOS.

Introduction

Both LaunchBar and Alfred have lock screen functionality built-in for convenience, it's Spotlight's turn now:

Lock Screen app in Spotlight

Or just locking screen up directly from Finder:

Lock Screen app in Finder

Installation

No, you don't need this!

Available since macOS 10.13 High Sierra, Apple has built-in a lock screen shortcut: Command-Control-Q.

Also available under Apple menu => Lock Screen.

For macOS 10.13 High Sierra and later

Download a pre-built .dmg at releases section, or build by yourself:

  1. Extract the downloaded master zip
  2. Build the Lock Screen.app by double clicking the build.command script
  3. Copy the Lock Screen.app file in the dist directory to anywhere you'd like (Applications directory preferred)

For macOS 10.12 Sierra and earlier

Unsupported! Please refer to pre-macos-hs branch for more information.

Acknowledgments

gaomd/lock-screen-app was originally forked from windgazer's WALS repository, only kept lock screen parts with improvements.

lock-screen-app's People

Contributors

gaomd avatar martin-spil-reurings avatar russellhancox avatar windgazer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lock-screen-app's Issues

Doesn't work if display is sleeping

Thank you for this simple app! It's fantastic. I've run into what I hope is a simple issue: It doesn't work if the display is sleeping.

Try this in Applescript, and you'll see what I mean:

do shell script "pmset displaysleepnow"

delay 10

run application "Lock Screen"

The screen doesn't lock.

binary

could we get just a straight .dmg we could download from this? That would be helpful :)

All methods are deprecated in high Sierra

Just a quick note, as I realised you've based your code on my solution:
None of the methods are applicable to OSX High Sierra (10.13).

However, there's an up-side. Apple finally woke up, locking screen is now available as ctrl-meta-Q (or under the 'apple' menu...)

Non-focusable windows instead of locked screen

Under certain conditions, after execute Lock Screensaver.app, the screen won't lock, instead it remains unlocked, with non-focusable windows, menu, input fields, etc.

Temporary Workaround

Execute Lock Screensaver.app again (by navigating to it from Finder with repeated Right Click => Open).

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.