When I run obsidian the icon shown in the launcher and window switcher is an icon with interlocking gears (probably a default icon that is shown if the apps icon is missing)
Expected icon:
Check your obsidian.desktop file. I use Garuda, and it is in ~/.local/share/applications. It should have an Icon=path/to/icon/image in the file. If it doesn’t, you can add it to the file. I have attached mine as a .md file for reference. Obsidian Desktop File.md (1.3 KB)
Also, I use appimagelauncher rather than the shell.
$ appimagetool --list obsidian | grep obsidian
appimagetool, continuous build (commit 8bbf694), build <local dev build> built on 2020-12-31 11:48:33 UTC
obsidian
obsidian.desktop
obsidian.png
resources/obsidian.asar
usr/share/icons/hicolor/128x128/apps/obsidian.png
usr/share/icons/hicolor/16x16/apps/obsidian.png
usr/share/icons/hicolor/256x256/apps/obsidian.png
usr/share/icons/hicolor/32x32/apps/obsidian.png
usr/share/icons/hicolor/48x48/apps/obsidian.png
usr/share/icons/hicolor/512x512/apps/obsidian.png
usr/share/icons/hicolor/64x64/apps/obsidian.png
I wonder why the icons show as usr/share/icons... ? Does this mean that it will install them there when running obsidian ? In that case I would need to run obsidian with sudo since I (the username hakon) does not have write access to /usr folder…
Is there a way I can extract those icons from the appimage file? Then I can try to install them manually. I should then be able to create a desktop file with a desktop entry that points to the icons. I think saving this .desktop file as ~/.local/share/applications/obsidian.desktop may then work?
Now the launcher first presents the following dialog:
if you press the “ok” button, a new dialog appears:
Then press “Integrate and run” to finish the installation.
If you now go to the Ubuntu launcher and click the “Show applications” icon. Then type “obsi” into the search bar. The obsidian icon should appear and you can click it to run obsidian.