Every time I start Discord, I see four processes called xdg-mime appear in the System Monitor, each consistently using somewhere between 20-25% of a CPU.

What are these processes, and what are they doing? It seems odd that they're using so much more processing power than discord itself is.

1 Answer 1


I had the same problem, as did the people here.

One of them posted this link to a workaround to our problem.

Type which xdg-mime in the terminal. If the output is /usr/bin/xdg-mime then create a file called xdg-mime in /usr/local/bin/, containing the following:

if [[ "$@" == *"x-scheme-handler/discord"* ]]; then
    /usr/bin/xdg-mime $@

Make the file executable.

If xdg-mime is not installed at /usr/bin/ then, instead, report back and I will try to help.

I hope the people at Discord fix the problem for real, but for now, this is good enough.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.