You are not logged in.

#1 Yesterday 17:01:20

Bedna
Member
Registered: 2025-11-14
Posts: 42
Website

[SOLVED] Wrong icon for Obsidian

This has happened in the past and fixed itself in updates, but this time it has been going on for a few months.
Using plasma

When I open Obsidian (installed from extra repo) it shows the default wayland icon on the bar.
I found this post and creating an application rule fixes it during that session.
I can not pin the application to the bar with the wayland icon either, it gets pinned as electron without any icon at all so when clicking it it opens electron.
I have changed the icon to the old obsidian icon but the problem persists even if I change it back to the default icon.
Removing prime-run does not change the behavior.

This is the desktop file:

[Desktop Entry]
Categories=Office;
Comment[en_US]=Obsidian
Comment=Obsidian
Exec=prime-run /usr/bin/obsidian %U
GenericName[en_US]=
GenericName=
Icon=/home/bedna/.local/share/icons/obsidian_old.png
MimeType=
Name[en_US]=Obsidian
Name=Obsidian
NoDisplay=false
Path=
StartupNotify=true
StartupWMClass=obsidian
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=

Does this have something to do with electron rather than obsidian maybe?

Last edited by Bedna (Yesterday 17:34:41)

Offline

#2 Yesterday 17:13:26

Xephon
Member
Registered: 2024-12-22
Posts: 191

Re: [SOLVED] Wrong icon for Obsidian

It has something to do with your .desktop entry being outdated
Now it requires

StartupWMClass=md.obsidian.Obsidian

Offline

#3 Yesterday 17:34:07

Bedna
Member
Registered: 2025-11-14
Posts: 42
Website

Re: [SOLVED] Wrong icon for Obsidian

Yes!! Thank you so much!
Does the package not update the desktop file when updating the application?

Marking as solved.

Offline

#4 Yesterday 17:53:14

Xephon
Member
Registered: 2024-12-22
Posts: 191

Re: [SOLVED] Wrong icon for Obsidian

Package updates it's .desktop file in /usr/share/applications folder
But I suspect yours was from ~/.local/share/applications which is supposed to be maintained by user

Offline

#5 Yesterday 19:10:08

Bedna
Member
Registered: 2025-11-14
Posts: 42
Website

Re: [SOLVED] Wrong icon for Obsidian

Ah, ofc, didn't use my brain.
Must have been created when I changed the icon and added prime-run.

Thank you.

Offline

Board footer

Powered by FluxBB