Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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

+1
−0

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?

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

2 answers

+0
−0

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:

Screenshot of the main Platypus window with "None" selected for the interface, "Run in background" option ticked and "Remain running after execution" not ticked

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.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

+0
−0

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.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »