GithubHelp home page GithubHelp logo

optionalg / slowquitapps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dteoh/slowquitapps

0.0 2.0 0.0 47 KB

Add a global delay to Command-Q to stop accidental app quits.

License: GNU General Public License v2.0

Objective-C 100.00%

slowquitapps's Introduction

Slow Quit Apps

An OS X app that adds a global delay of 1 second to the Cmd-Q shortcut. In other words, you have to hold down Cmd-Q for 1 second before an application will quit.

When the delay is active, an overlay is drawn at the center of the screen.

Why?

A quick search for 'command q' on Google revealed these insights:

  • "have you ever accidentally hit โŒ˜Q and quit an app"
  • "how to disable command-Q"
  • "Command-Q is the worst keyboard shortcut ever"
  • "ever hit Command-Q instead of Command-W and lost all of your open web pages in Safari?"

... and many more similar sentiments.

Some proposed solutions include:

  • remapping Cmd-Q to do something else
  • changing the application quit keyboard short to use another keybinding

This app implements the same approach as Google Chrome's "Warn Before Quitting" feature, except it is now available on every app!

Download & Install

Pre-built binaries can be downloaded from the releases page.

Unzip, drag the app to Applications, and then run it. You can optionally choose to automatically start the application on login.

Compatibility

The app works on Mountain Lion (10.8) and newer.

Changing default delay

For example, to change the delay to 5 seconds, open up Terminal app and run the following command:

$ defaults write com.dteoh.SlowQuitApps delay 5000

The delay is specified in milliseconds.

slowquitapps's People

Contributors

dteoh 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.