Hello! I’ve been using EndeavourOS and Linux for a while now, so I’d like to think that I roughly know what’s going on and how to solve problems on my own, but this has me totally stumped. Discord launches itself every day when I log in; while I don’t entirely mind this, I would like to at least be able to disable it if I so desired. However:
The autostart setting is disabled in Discord
There is nothing to start Discord in ~/.config/autostart
There’s nothing in .bash_profile that might do this
There is no service like “discord.service” that is starting it, not in systemctl or systemctl --user
There IS a transient service for discord within systemctl --user, called “app-discord@[a lot of numbers, seems to change every boot].service”
I’m totally lost on how to figure how what is launching this transient service on login, since ps only shows the parent process as systemd, as you’d expect. I’ve even tried find- and grep-ing my entire system from /, with the hope that I could find a file with a name or contents that may relate to this, but no dice (at least, in grep’s case there were so many files that it was unhelpful. Any advice or search ideas are super appreciated… I hate feeling like Discord’s gotten the better of me on my own computer. I’m near the point at which I might just re-install Discord, but I’d rather search a little more before doing that, and maybe learn something at the same time. Thanks in advance!
Welcome to the forum
In system settings>desktop session there is a option to start with a empty session, have you tried that ?
On another note your bios is very out of date as far as I can see , if only for safety sake I would consider to flash it to the latest version.
This really is very weird as it doesn’t happen on my end. What version of discord are you using? As there are many versions (discord, discord-arch-electron, discord-ptb, discord-canary, flatpak version,…).
I am using the flatpak version of discord (as it was easier to update, which they currently are fixing for the other versions) and for me doing the setting under “Linux-Settings” → “Turn off Auto-Start” was all i needed to do. Maybe there is a bug in the other versions, or you are using the public test build (ptb) or alpha (canary) version of it which maybe has this problem currently.
Drat, I got excited as I hadn’t known about that directory, but once again theres nothing about Discord in there. I also checked /etc/xdg/systemd but no dice.