mac 登录项里的允许在后台如何删除?

312 天前
 justincnn

好多的 app 都已经删除了,但是这里还有残留,

请问下,这里的东西如何删除?

3682 次点击
所在节点    macOS
11 条回复
windorz
312 天前
打开 Finder, Command + Shift + G, 前往 /Library/LaunchDaemons, 自己看 plist 文件的 id, 找对应的删除就行了. 删除重启电脑.
di11wei
312 天前
~/Library/LaunchAgents
/System/Library/LaunchAgents/
/System/Library/LaunchDaemons/
/Library/LaunchAgents/
/Library/LaunchDaemons/
Abmcar
312 天前
sudo -- bash -c 'echo " - $(date) -"; while IFS= read -r eachPlist; do echo "-$eachPlist"; /usr/bin/defaults read "$eachPlist"; done <<< "$(/usr/bin/find /Library/LaunchDaemons /Library/LaunchAgents ~/Library/LaunchAgents /private/var/root/Library/LaunchAgents /private/var/root/Library/LaunchDaemons -name "*.plist")"; /usr/bin/defaults read com.apple.loginWindow LogoutHook; /usr/bin/defaults read com.apple.loginWindow LoginHook' > ~/Desktop/launch.txt



列出来搜名字一个一个删吧,这东西确实傻逼,目前来看也没有找到什么好的管理方法
czhh
312 天前
v 友是我肚里的蛔虫啊 昨天还在想这个问题 今天有答案了
PierreGasly
312 天前
删 app 的时候可以用 app cleaner ,这样是否会删得干净些?
xx572959496
311 天前
之前安装 office 和 edge 的时候 就有这个问题,终于有人提出来了
justincnn
311 天前
@Abmcar 你好,提示如下错误:

justin@Justin-MacBook source % sudo -- bash -c 'echo " - $(date) -"; while IFS= read -r eachPlist; do echo "-$eachPlist"; /usr/bin/defaults read "$eachPlist"; done <<< "$(/usr/bin/find /Library/LaunchDaemons /Library/LaunchAgents ~/Library/LaunchAgents /private/var/root/Library/LaunchAgents /private/var/root/Library/LaunchDaemons -name "*.plist")"; /usr/bin/defaults read com.apple.loginWindow LogoutHook; /usr/bin/defaults read com.apple.loginWindow LoginHook' > ~/Desktop/launch.txt
Password:
find: /private/var/root/Library/LaunchAgents: No such file or directory
find: /private/var/root/Library/LaunchDaemons: No such file or directory
2023-07-11 20:05:05.838 defaults[16923:211846]
The domain/default pair of (com.apple.loginWindow, LogoutHook) does not exist
2023-07-11 20:05:05.845 defaults[16924:211849]
The domain/default pair of (com.apple.loginWindow, LoginHook) does not exist
BlackkCCCat
311 天前
@PierreGasly app cleaner 似乎也不行,不过用 clean my Mac 倒是有用
baozreal
311 天前
软件 App Cleaner&Uninstaller 里,启动程序一栏可以找到移除
ihwbunny
309 天前
这个命令来自 b 站视频:macOS Ventura - 深入了解登录项 (3)
另外还可以用另外一个系统命令,参考 b 站:macOS Ventura - 深入了解登录项(5)
还有参考苹果社区的帖子,比如: https://discussionschinese.apple.com/thread/254814786?cid=em-com-apple_email_question_correctanswer_258973471322_zh-cn&answerId=258973471322#258973471322
ihwbunny
309 天前
@justincnn
有错误提示正常,主要是看~/Desktop/launch.txt 文件的内容,
参考苹果社区的帖子,比如: https://discussionschinese.apple.com/thread/254814786?cid=em-com-apple_email_question_correctanswer_258973471322_zh-cn&answerId=258973471322#258973471322

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/955617

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX