Skip to content

Instantly share code, notes, and snippets.

@ajchemist
Created June 13, 2026 14:41
Show Gist options
  • Select an option

  • Save ajchemist/608c8ee3ff3317d1894514decbf99426 to your computer and use it in GitHub Desktop.

Select an option

Save ajchemist/608c8ee3ff3317d1894514decbf99426 to your computer and use it in GitHub Desktop.
macOS 재시작 시 자동 실행되는 앱 제거 방법 (BetterDisplay 예시)
# macOS 시작 프로그램 제거 방법
앱을 삭제했는데도 재시작할 때마다 자동 실행되는 경우, 로그인 항목(Login Items)에 등록이 남아있는 것이 원인일 수 있습니다.
## 현재 로그인 항목 확인
```bash
osascript -e 'tell application "System Events" to get the name of every login item'
```
## 특정 앱 제거 (예: BetterDisplay)
```bash
osascript -e 'tell application "System Events" to delete login item "BetterDisplay"'
```
## 제거 후 확인
```bash
osascript -e 'tell application "System Events" to get the name of every login item'
```
---
## GUI로 제거하는 방법
1. **시스템 설정** 열기
2. **일반 → 로그인 항목 및 시스템 확장 프로그램** 이동
3. "로그인 시 열기" 목록에서 해당 앱 선택 후 `-` 버튼 클릭
---
## 참고: LaunchAgents / LaunchDaemons 확인
로그인 항목 외에도 아래 경로에 자동 실행 설정이 남아있을 수 있습니다.
```bash
ls ~/Library/LaunchAgents/ | grep -i <앱이름>
ls /Library/LaunchAgents/ | grep -i <앱이름>
ls /Library/LaunchDaemons/ | grep -i <앱이름>
```
plist 파일이 있다면 삭제:
```bash
launchctl unload ~/Library/LaunchAgents/<파일명>.plist
rm ~/Library/LaunchAgents/<파일명>.plist
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment