Elektrine lite

← Feed

@maddy@tech.lgbt

Post #2041197

2026-04-23 12:33 UTC

My battle against Slack's autostart shennanegins is finally won! The problem: I set Slack to auto-start on my system, which works once. When Slack starts, it then deletes the autostart file, and tries to simlink it to `/usr/share/applications/slack.desktop`, a file that does not exist on NixOS. If I disable the autostart option in Slack's settings, it will instead remove its entry from the autostart directory on startup. Either way, it autostarts once, then breaks itself. The solution: I fixed its autostart script, and then chowned it to be owned by root. It can't overwrite it now. And the only downside is a few extra lines in their error logs!

Replies (0)

No replies.