읽는 데 2분GitHub에서 편집

이 페이지는 아직 번역되지 않았습니다. 아래 본문은 영어입니다.

Start at login

Home · User guide · Installation and channels · Preferences · Platform support

Tessera starts in the background with tessera --autostart. No window opens, and one controller runs per session. How that happens at login depends on the system. Use one method per system, not several.

Linux

Choose one of these two methods:

  1. XDG autostart. The shipped entry app.tesseratiling.Tessera-autostart.desktop runs tessera --autostart. Only XFCE sessions show it (OnlyShowIn=XFCE). The Start at login checkbox on the Application page of Preferences enables or disables it.

  2. systemd user service.

    tessera service install   # writes the unit; refuses to overwrite one you changed
    tessera service enable    # start at every graphical login
    tessera service start     # start now
    tessera service status    # add --json for machine-readable output

    Other subcommands are stop, disable, uninstall, reload, and restart. Tessera changes systemd state only when you run one of these commands. The unit depends on graphical-session.target and requires DISPLAY in the user manager environment. Use this method on GNOME and KDE, because those desktops hide the XDG autostart entry.

The Flatpak cannot write the autostart entry or reach the user unit, so Preferences hides Start at login there and explains why.

To reload the configuration without a restart, run systemctl --user reload tessera or pkill -HUP tessera.

macOS

Enable Start at login in Preferences. Tessera registers a login item for the app. macOS may ask you to allow it: the preferences page then offers Allow in Login Items…, which opens System Settings > Login Items. Starting at login shows only the menu bar icon and no window.

The login item does not restart Tessera after a crash. For that, the tessera service commands manage a LaunchAgent:

tessera service install
tessera service start
tessera service status    # add --json for unit, installed, loaded, active and pid

The other verbs are stop, enable, disable, uninstall, reload (which sends SIGHUP to the running controller), and restart. The LaunchAgent file is ~/Library/LaunchAgents/app.tesseratiling.Tessera.plist. It restarts Tessera after a crash or a non-zero exit, never after you quit from the menu bar item. A plist with a key Tessera never writes belongs to you: install does not overwrite it, and start, enable, restart, and uninstall refuse it. The app bundle does not place tessera on PATH. Run /Applications/Tessera.app/Contents/MacOS/tessera instead.

Windows

Enable Start at login in Preferences. Tessera writes the value Tessera under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, and removes it when you disable the option. The tessera service commands do not exist on Windows: they exit with an error saying so.

See Windows and Platform support.