In the mental system macOS use shortcut to end applications Command+Q. However, another keyboard shortcut Command + W closes the current tab or one of the program windows. Trying to close one bookmarked page may accidentally find the entire application and lose the bookmarked or unsaved information.

You can solve the problem with the help of small utilities using Github.

📌 Thank you restore for useful information. 👌

How to maintain a delay when closing applications with the Command + Q shortcut

1. Download free app Slow exit from apps With Github.

2. Unzip the utility and move it to a folder Programs.

3. At the first permission, issue the required permission (System Preferences – Privacy & Security – Accessibility).

4. Launch the program and confirm autorun when macOS starts.

How to change settings for Slow Quit Apps

The developers did not make a graphical interface for programs, all parameters can be configured using Terminal.

▶ To change the time until applications end, change the command like this:

$ defaults write com.dteoh.SlowQuitApps delay -int 5000

Here, in milliseconds, a comfortable value is set. The default is 3 seconds (value “3000”).

▶ You can use the white list to include applications there, after the end of use, the utility will not work.

$ osascript -e 'id of app "Notes"' com.apple.Notes
$ defaults write com.dteoh.SlowQuitApps whitelist -array-add com.apple.Notes

– the command adds an application (Notes) to the whitelist.

$ defaults read com.dteoh.SlowQuitApps whitelist

– view the white list.

$ defaults delete com.dteoh.SlowQuitApps whitelist

– clearing the white list.

▶ You can reverse the list, then this utility will only work for applications from the list.

$ defaults write com.dteoh.SlowQuitApps invertList -bool YES

– the command inverts the list of exclusions into the list of applications for utilities to work with.

▶ After any parameter changes, it is necessary to restart the program with the following command:

$ killall SlowQuitApps

This is how you can launch applications and add a convenient visual timer for this.






Source: Iphones RU

Previous articleSamsung thought ‘clamshell’ Galaxy Z Flip was too cheap Phones15:32 | 25 June 2023
Next article“OnePlus 12 will be a true flagship”: new insider detailsPhones15:54 | 25 June 2023
I am a professional journalist and content creator with extensive experience writing for news websites. I currently work as an author at Gadget Onus, where I specialize in covering hot news topics. My written pieces have been published on some of the biggest media outlets around the world, including The Guardian and BBC News.

LEAVE A REPLY

Please enter your comment!
Please enter your name here