Linux Mint: Desktop shortcut triggers error message, but then launches Obsidian with wrong vault

I have a desktop shortcut which works perfectly on one laptop with Mint, but triggers an odd error on my new laptop, also with Mint.

This is the shortcut:

[Desktop Entry]
Name=Obsidian
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=obsidian.sh --file-forwarding md.obsidian.Obsidian @@u %u @@ "obsidian://open?vault=Books and Movies"
Terminal=false
Type=Application
Icon=/usr/share/icons/book-stack.png
StartupWMClass=obsidian
Comment=Obsidian
MimeType=x-scheme-handler/obsidian;
Categories=Office;
Name[en_US]=Books and Movies

The error message:
image

What’s weird about that is that it’s as if there were no quotation marks in the title (see above). And also Obsidian does launch, just the wrong vault (folder).

Would the install location make a difference? On my other laptop Obsidian is installed in opt.

Any ideas?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.