You are not logged in.
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
It has something to do with your .desktop entry being outdated
Now it requires
StartupWMClass=md.obsidian.ObsidianOffline
Yes!! Thank you so much!
Does the package not update the desktop file when updating the application?
Marking as solved.
Offline
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
Ah, ofc, didn't use my brain.
Must have been created when I changed the icon and added prime-run.
Thank you.
Offline