Start at login #18
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
~/.config/autostart/krane.desktop(XDG autostart), launching the tray only (no--show).Approach notes (Nye, review; tested on Docker 26 + rootless Podman 5.4.2)
#18 Start at login
Reuse:
packaging/krane.desktopas the template (Name/Icon/Comment), but Exec without--show(tray only, as the issue says).Write
$XDG_CONFIG_HOME/autostart/krane.desktop(fallback~/.config); remove it to turn off. No new crate needed (std::fs; ordirsif already pulled in; it isn't in Cargo.toml).Must-dos:
kraneif the installed binary is on PATH (deb/rpm put it in /usr/bin), elsestd::env::current_exe()(tarball installs), quoted per the desktop-entry spec if it has spaces. Never write a path undertarget/from a dev run silently; fine to just use current_exe.Hidden=trueorX-GNOME-Autostart-enabled=falsein the file = off)./etc/xdg/autostart; packages unchanged; default off.X-GNOME-Autostart-Delay=3(harmless elsewhere): at login the tray host (StatusNotifierWatcher) may not be up yet. Review check: log out/in on Xfce with it on, tray icon appears.~/.config/krane/settings.jsononly for UI prefs; autostart stays file-backed.