Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Launching hidden application at login under macOS 13 Ventura
Apple removed the hide
option for login items in macOS 13 Ventura.
Are there any alternative ways to launch an application at login without opening a window?
2 answers
Based on the post https://droidwin.com/how-to-hide-an-app-at-launch-on-mac-ventura/ an alternative approach could be to use a launch agent.
To do this, create a file vienna.LaunchAtLogin.plist
(replace vienna
with the name of the application you'd like to start) and copy the following content to it
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>vienna.LaunchAtLogin</string>
<key>ProgramArguments</key>
<array>
<string>open</string>
<string>-j</string>
<string>/Applications/Vienna.app</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
(again, replace Vienna
with the name of your app)
Copy the .plist file to the folder /Users/<your name>/Library/LaunchAgents
, log out and back in and enjoy your hidden application.
Caveat:
I tested this with the rss reader Vienna and it works perfectly fine. I tried the same with Mail.app, but while the app starts it nevertheless opens a window.
0 comment threads
Another possible approach is to create a helper app which opens an app without opening a window.
I used platypus to create a simple app which will execute a shell script.
The settings used for the app were the following:
The shell script used by the app is
#!/bin/zsh
open -j /System/Applications/Mail.app
After the app is create, add this helper app to your login items.
0 comment threads