Obsidian url not working as expected

Copied obsidian url


pasted it in browser

When clicked on open it , prompts me on the open with message instead of automatically opening the file

If you are running Linux, there are a few setup steps:

https://help.obsidian.md/Extending+Obsidian/Obsidian+URI#Register+Obsidian+URI

i use

I am using debain and it does not work on debain 12.6 for some reason.

I downloaded the appimage and it runs fine when i directly run the appimage but when i create a desktop file and try to run it gives the following error.

(base) munish259272@munish259272:~/.local/share/applications$ cat > obsidian.desktop 
[Desktop Entry]
Name=Obsidian
Exec=/home/munish259272/Extrasoftware/appimages/squashfs-root/obsidian %U 
Terminal=false
Type=Application
Icon=obsidian
StartupWMClass=obsidian
X-AppImage-Version=1.6.7
Comment=Obsidian app
MimeType=x-scheme-handler/obsidian;
Categories=Office;

The reason is obsidian executable gives error undefined symbol: av_stream_get_first_dts

(base) munish259272@munish259272:~/Extrasoftware/appimages/squashfs-root$ ./obsidian
./obsidian: symbol lookup error: ./obsidian: undefined symbol: av_stream_get_first_dts
(base) munish259272@munish259272:~/Extrasoftware/appimages/squashfs-root$ 

`

Can this be considered as a bug because i think everything is updated:

(base) munish259272@munish259272:~/Extrasoftware/appimages/squashfs-root$ ffmpeg -version
ffmpeg version 5.1.5-0+deb12u1 Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
libavutil      57. 28.100 / 57. 28.100
libavcodec     59. 37.100 / 59. 37.100
libavformat    59. 27.100 / 59. 27.100
libavdevice    59.  7.100 / 59.  7.100
libavfilter     8. 44.100 /  8. 44.100
libswscale      6.  7.100 /  6.  7.100
libswresample   4.  7.100 /  4.  7.100
libpostproc    56.  6.100 / 56.  6.100

None of the libformat.so has av_stream_get_first_dts

(base) munish259272@munish259272:~/Extrasoftware/appimages/squashfs-root$ for i in $(locate libavformat.so);do nm -D ${i} | grep "av_stream_get_dts";done
(base) munish259272@munish259272:~/Extrasoftware/appimages/squashfs-root$ ./obsidian
./obsidian: symbol lookup error: ./obsidian: undefined symbol: av_stream_get_first_dts

Ok, i don’t know what happened before but i extracted it again and it works fine.

(base) munish259272@munish259272:~/Extrasoftware/appimages$ ./Obsidian-1.6.7.AppImage --appimage-extract
(base) munish259272@munish259272:~/.local/share/applications$ cat > obsidian.desktop
[Desktop Entry]
Name=Obsidian
Exec=/home/munish259272/Extrasoftware/appimages/squashfs-root/obsidian %U 
Terminal=false
Type=Application
Icon=obsidian
StartupWMClass=obsidian
X-AppImage-Version=1.6.7
Comment=Obsidian app
MimeType=x-scheme-handler/obsidian;
Categories=Office;
(base) munish259272@munish259272:~/.local/share/applications$ update-desktop-database ~/.local/share/applications
(base) munish259272@munish259272:~/.local/share/applications$ 

i created the desktop file and it is working.

Thanks for all the replies, help

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