papirus-icon-theme icon indicating copy to clipboard operation
papirus-icon-theme copied to clipboard

All Discord .desktop files using the same Discord stable icon

Open MeguminSama opened this issue 1 year ago • 4 comments

  • Distribution (version): Arch Linux (Zen Kernel)
  • Desktop environment: KDE Plasma 6.2.4
  • Installing method: pacman
  • App name (version): Discord (canary, ptb, development, any icon starting with discord)

When using the Papirus icon theme, any program using an icon starting with discord seems to use the papirus Discord icon, regardless of path.

For example:

[Desktop Entry]
Name=DiscordCanary (DVM-managed)
GenericName=Internet Me
Exec=/home/megu/.dvm/branches/canary/DiscordCanary/DiscordCanary
Icon=/home/megu/.dvm/branches/canary/DiscordCanary/discord.png
Type=Application
StartupNotify=true
Categories=Network;InstantMessaging
StartupWMClass=discord

In this example, the Icon is /home/megu/.dvm/branches/canary/DiscordCanary/discord.png, which is the orange Discord Canary icon, but the KDE start menu is rendering it as Papirus' discord.svg.

image

image

I made a program called discord-modloader, which has a custom icon similar to discord-development.

The icon is definitely installed, as you can see here. image

But once I select the icon, it just shows the Papirus discord icon instead. image

It seems that the KDE start menu is just showing anything with discord as the discord icon, even if the full name is different.

If I disable Papirus, and switch to something like Breeze, all the icons work as expected:

image

MeguminSama avatar Nov 29 '24 14:11 MeguminSama

Closing because it's probably related to https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/issues/3663

MeguminSama avatar Nov 29 '24 14:11 MeguminSama

i see that all your discords have "DVM-managed" appended to them. what does it mean? your problem is probably related to this, as Plasma isn't known for behaviour you're describing. also, i couldn't help but notice that the path in the desktop files for these is hardcoded, meaning they can't be themed. i don't really know how to get to the root of this, but it isn't related to adapting Papirus to Plasma 6

morganist avatar Jan 15 '25 08:01 morganist

@morganist DVM is just a shell script that extracts the discord tarball from the discord website and just makes it a bit less annoying to update. If you think the issue is because of hardcoded paths, I can try adding the executable to my path and just using Exec=DiscordCanary instead

MeguminSama avatar Jan 15 '25 09:01 MeguminSama

so, this script extracts the executables and installs them? and makes desktop files that specify the icon?

morganist avatar Jan 15 '25 14:01 morganist