Obsidian installed via Snap prompts to allow settings change on each launch

Steps to reproduce

  1. Install obsidian via snap
sudo snap install obsidian_0.10.13_amd64.snap --dangerous --devmode
  1. Open Obsidian.

Expected result

I expect to see the “Allow settings change?” prompt once and have it remember my choice.

Actual result

This prompt appears every single time I open the app. I press “Yes” every time yet still recieve the prompt.
image
I speculate this is due to Obsidian not properly checking if it already has changed its url scheme handler and attempting to do it every launch, resulting in this annoying bug.

Environment

  • Operating system: Ubuntu 20.04
  • Obsidian version: Obsidian 0.10.13 Snap

Additional information

3 Likes

Are you sure this isn’t something you messed up in your installation?

What’s your installer version?

Thanks for the reply! How can I check the installer version? I believe Snapcraft is the “installer”.
I used the 0.10.13 .snap file downloaded from the homepage. I installed it using the command in my original post (sudo snap install obsidian_0.10.13_amd64.snap --dangerous --devmode). I am using a very fresh install of Ubuntu 20.04.

1 Like

is there any reason why you are using devmode?

I see the same. I’m on ubuntu 18.04 LTS, using obsidian_0.10.11_amd64.snap and did not use --devmode

It’s slightly annoying.

EDIT: problem still there after update to 0.10.13

1 Like

Can you let us know the following?

  • the output of xdg-mime query default x-scheme-handler/obsidian?
  • the output of xdg-settings get default-url-scheme-handler obsidian?
  • whether/where does obsidian show up in your ~/.config/mimeapps.list?

Edit: @jacksondotsh you can check your current and installer version in Settings > About

obsidian_obsidian.desktop

obsidian_obsidian.desktop

under [Default Applications]
x-scheme-handler/obsidian=obsidian_obsidian.desktop

Edit, problem still present in 0.11.0.
But further down this thread a fix is promised for 0.11.2 :+1:

Also having this issue on Ubuntu 18.04.
$ xdg-mime query default x-scheme-handler/obsidian
obsidian_obsidian.desktop
$ xdg-settings get default-url-scheme-handler obsidian
obsidian_obsidian.desktop

Obsidian appears in ~/.config/mimeapps.list.
It doesn’t seem to matter whether I allow or not, I get prompted every time I start Obsidian.

I’m at a loss here. The only thing I can say for now is that this is not a problem with the AppImage.

I am also having this issue (Ubuntu 20.10)

will be fixed v0.11.2

4 Likes