• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

hazcod/maclaunch: Manage your macOS startup items.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

hazcod/maclaunch

开源软件地址(OpenSource Url):

https://github.com/hazcod/maclaunch

开源编程语言(OpenSource Language):

Shell 100.0%

开源软件介绍(OpenSource Introduction):

maclaunch

Lists and controls all your macOS startup items and their startup policy.

Take back control of your macOS system!

% maclaunch list microsoft
> com.microsoft.update.agent
  Type  : user
  User  : hazcod
  Launch: disabled
  File  : /Library/LaunchAgents/com.microsoft.update.agent.plist
> com.microsoft.teams.TeamsUpdaterDaemon
  Type  : system
  User  : root
  Launch: disabled
  File  : /Library/LaunchDaemons/com.microsoft.teams.TeamsUpdaterDaemon.plist
> com.microsoft.office.licensingV2.helper
  Type  : system
  User  : root
  Launch: disabled
  File  : /Library/LaunchDaemons/com.microsoft.office.licensingV2.helper.plist
> com.microsoft.autoupdate.helper
  Type  : system
  User  : root
  Launch: disabled
  File  : /Library/LaunchDaemons/com.microsoft.autoupdate.helper.plist

How does it work?

maclaunch will list all types of entries on your macOS system that can be persistently installed:

  1. Configuration files for LaunchAgents and LaunchDaemons which are loaded by launchctl.
  2. Kernel extensions loaded in the kernel.
  3. System extensions loaded in userspace.
  4. Login or Logout Hooks
  5. emon.d scripts
  6. Cron scripts

When disabling an item, it uses launchctl, kextutil or systemextensionsctl to natively stop loading that service. It does not alter the contents in any way or moves the file, so it should work with practically any service.

The name you provide can either be specific to that service or function as a filter to work on multiple services simultaneously.

By default it hides system startup items which are most likely not interesting, but you can set the environment variable ML_SYSTEM=1 to show those.

Installation

Installation can be done straight from Homebrew via brew install maclaunch or just copy maclaunch.sh to your filesystem.

Usage

Usage: maclaunch <list|disable|enable> (filter|system)

To list all your services: maclaunch list

To list all enabled services: maclaunch list enabled

To list all enabled services, ignoring internal ones: ML_SYSTEM=no maclaunch list enabled

To list all disabled services: maclaunch list disabled

To list all your services including system services: maclaunch list system

To list all microsoft services: maclaunch list microsoft

To enable plex player-helper: maclaunch enable tv.plex.player-helper

To disable everything related to plex: maclaunch disable plex




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap