Steps to reproduce
- Install Obsidian on Linux and symlink the `obsidian` CLI wrapper somewhere in the PATH. Then observe some warnings everytime `obsidian` is started:
$ flatpak install md.obsidian.Obsidian
$ ln -s ~/.local/share/flatpak/exports/bin/md.obsidian.Obsidian ~/.local/bin/obsidian
$ obsidian help
[2:0305/081140.923351:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gtk-Message: 08:11:40.992: Failed to load module "xapp-gtk3-module"
Gtk-Message: 08:11:41.029: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:11:41.029: Failed to load module "canberra-gtk-module"
Obsidian CLI
Usage: obsidian <command> [options]
Everything works fine but this is annoying, especially when using `obsidian` in scripts.
Did you follow the troubleshooting guide? [Y/N]
Yes.
Expected result
Expect not to see the warnings. They are harmless anyways, but point to irrelevant features. xapp is for X applications which should be irrelevant here (this is about the Obsidian CLI); canberra is a sound system (Obsidian does not play sounds anyways) and if this dbus socket is not necessary for operation (as it can’t connect anyways) it should either not try to connect, or suppress the warning. Again, all functionality of the CLI seems to work just fine.
Actual result
The warnings appear.
Environment
Ubuntu 22 LTS Jammy; all .deb packages and flatpaks up to date.
SYSTEM INFO:
Obsidian version: 1.12.4
Installer version: 1.12.4
Operating system: #202511241048~1764704751~22.04~b24b425 SMP PREEMPT_DYNAMIC Tue D 6.17.9-76061709-generic
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: AnuPpuccin 1.4.2
Snippets enabled: 0
Restricted mode: off
Plugins installed: 22
Plugins enabled: 20
1: Checklist v2.2.14
2: Dataview v0.5.68
3: Editor Syntax Highlight v0.1.3
4: Multi-Column Markdown v0.9.1
5: Style Settings v1.0.9
6: Tasks v7.22.0
7: Templater v2.16.4
8: Buttons v0.9.13
9: Advanced Tables v0.22.1
10: Excalidraw v2.18.3
11: Advanced Slides v1.20.0
12: Numerals v1.5.5
13: Completed Task Display v1.0.11
14: Dice Roller v11.4.2
15: Icon Shortcodes v0.9.7
16: Calendar v1.5.10
17: Automatic Table Of Contents v1.7.3
18: Charts v3.9.0
19: Image Captions v1.1.7
20: Maps v0.1.6