9

How do we prevent Discord from Updating Automatically on Linux (point in step by step)?

Dumb
  • 127

2 Answers2

21

How?

To prevent Discord from automatically checking for an update on Linux, you can do so per user locally by ensuring that settings.json exists in the user's home directory at ~/.config/discord/settings.json and including the following specified setting within it

{
    "SKIP_HOST_UPDATE": true
}

With no comma at end if there is no other settings already within that file, if it exists already. Otherwise, add a comma after true if this is not the last option in the JSON.

Next start up of Discord should now skip the update notice, allowing you to use Discord.


Why?

Others are asking why you'd want this, and it could simply be out of convenience. For example, when you have a system like Arch Linux or NixOS where you upgrade the entire system manually and often all packages at the same time due to avoiding dependency mismatch issues. This includes updating Discord at the same time. In these cases, if you temporarily do not want to upgrade your system just for Discord alone, having the option to still use Discord is convenient, rather than be locked out of it, which is the result without this setting specified.

However, it is typically good to keep your system updated.

Also, at times, Discord may have updated, but the repository you use does not yet have that update available, and so you'd be blocked from using Discord until it is available and you can update.


References

prijatelj
  • 310
-4

When you open Discord, you will see a gear symbol in the bottom left corner. This represents the User Settings. By selecting "open Discord to off" under Windows Settings, you can disable the update.