BetterDiscord / Installer

A simple standalone program which automates the installation, removal and maintenance of BetterDiscord.

Home Page:https://betterdiscord.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong .desktop location on linux

Soggy-Pancake opened this issue · comments

Betterdiscord changed the .desktop file to /usr/share/discord/Discord while discord was installed in /opt/discord

Run installer
Install normally

Expected: Desktop/start menu links work

image

image

  • OS: Manjaro
  • Discord Version: Stable

The BD installer does not mess with discord's desktop integration.
What makes you think BD caused this?

The desktop shortcut worked before installing betterdiscord. The .desktop shortcut that was messed with was /opt/discord/discord.desktop

commented

That doesn't change the fact that the installer doesn't touch these things. It doesn't even touch the stuff in /opt/ or /usr/share but only patches a single file in the ~/.config/discord and installs its own files in ~/.config/BetterDiscord. It doesn't create any .desktop files, it doesn't modify any .desktop files. Not to mention that a desktop file in /opt/discord wouldn't even be considered by any application unless its symlinked to /usr/share/applications or another appropriate path.

What is more likely is that Manjaro didn't update the desktop file when the discord package changed its installation directory.

Note that the installer (by default) runs without root privileges so it in fact cannot change files in /opt or /usr.