You are not logged in.
I created a .desktop entry under .local/share/applications/, to start a certain obsidian vault directly from my gnome dash via an icon:
[Desktop Entry]
Name=Vault-Name
GenericName=Vault-Name
Exec=obsidian "obsidian://open?vault=Vault-Name"
Icon=path/to/awesome/icon
Type=Application
Terminal=false
StartupNotify=trueWhile this works in principle, i.e. it starts the desired vault, there is the problem, that it does not launch the application under this particular desktop entry in the dash, but rather creates a new application icon of obsidian in the dash. Normally under gnome, all instances of a program are listed under its one application icon in the dash. Anyone know how to change this behavior?
Offline
You might want to try this
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Vault-Name
GenericName=Vault-Name
Exec=obsidian "obsidian://open?vault=Vault-Name"
Icon=path/to/awesome/icon
Type=Application
Terminal=false
StartupNotify=trueArch Linux Xfce - 64Bit Linux User #621110
Offline
Sorry, but adding this line didn't work. Thanks for your support, though!
What partially worked is adding "StartupWMClass=obsidian" to the .desktop file. However, this now leads to all obsidian windows being listed under my icon and not just the new one. A possible solution would probably be to set the WM_CLASS property of the window manually for the window of the obsidian process opened by the desktop file - but I'm not sure how and also not sure if it is worth trying, because the solution than already becomes kind of complicated.
Offline