MiketsuSmasher
V2EX  ›  问与答

在各种桌面操作系统上(Windows、MacOS、 Linux )上,各有哪些手段可以使软件开机自启动?

  •  
  •   MiketsuSmasher · Oct 27, 2021 · 1809 views
    This topic created in 1663 days ago, the information mentioned may be changed or developed.
    8 replies    2021-10-28 01:21:46 +08:00
    Mithril
        1
    Mithril  
       Oct 27, 2021
    通用的基本就挂成驱动或者自启动的后台服务。不同系统里也都有独特的姿势可以自启动。
    fe619742721
        2
    fe619742721  
       Oct 27, 2021
    不关机即可实现
    65r4Zgm364TDg652
        3
    65r4Zgm364TDg652  
       Oct 27, 2021
    Mac 下用 BuhoCleaner 除了卸载软件,系统清理,大文件 /重复清理等功能外,还有启动项管理,这是我在 mac 上的开机软件自启动管理方式
    https://i.loli.net/2021/10/27/4Dr2Gj7lzYBQbkO.png
    cmos
        4
    cmos  
       Oct 27, 2021 via Android
    Windows: shell:startup, nssm
    Linux: systemd
    MacOS: LaunchAgents 和 LaunchDaemons
    jellyspot
        5
    jellyspot  
       Oct 27, 2021
    mac:不清楚

    win:把应用拉到启动目录里貌似就实现了

    linux:太多了,systemd ,service ,/etc/rc.local 等等
    nil333
        6
    nil333  
       Oct 27, 2021
    @moweiraul mac 设置 用户里面 启动项直接添加就好了,我电脑小飞机就是在这里设置的
    dingwen07
        7
    dingwen07  
       Oct 28, 2021
    Windows: https://support.microsoft.com/en-us/windows/add-an-app-to-run-automatically-at-startup-in-windows-10-150da165-dcd9-7230-517b-cf3c295d89dd

    macOS: 设置-用户与群组-登录项

    Linux: 桌面应用根据 DE 不一样,gnome 的话,gnome-startup-applications
    lithiumii
        8
    lithiumii  
       Oct 28, 2021 via Android
    以下这俩也是跨平台的
    Docker 设成自启动后,容器自启动就没问题了
    pm2 ,windows 上需要装额外的东西实现,但是可以实现
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5855 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 01:40 · PVG 09:40 · LAX 18:40 · JFK 21:40
    ♥ Do have faith in what you're doing.