What I’m trying to do
After upgrading using a deb package on Debian, I try to start obsidian from the command line.
$ obsidian
Command line interface is not enabled. Please turn it on in Settings > General > Advanced.
I cannot find any way to launch the GUI
Things I have tried
I have tried searching the file system for other executables that might start obsidian, but all give the same error. Everything I find in the docs assume that I can already run the GUI.
I use awesome with no desktop manager.
Could someone tell me the name of the executable? TIA
Have a look at whereis obsidian. I have two instances, one in /usr/bin and one in ~/.local/bin. The former appears to be the actual application, the latter a cli to work on an already opened vault. I did not investigate it any further, but the cli appears to take priority.
To open the application use the full path: /usr/bin/obsidian
If you’re using any desktopy system you might also have to change the obsidian.desktop which for me was located in /usr/share/applications
(This is not a really clean solution, but… it fixes it for now)
Thanks; whereis was useful. I have been missing the replacement for tcsh where for twenty years.
However, on my system, both binaries give the CLI. What I did find OTOH was the trick to launch a new vault in the GUI from the CLI. This little bash function was immensly useful:
ob () {
obsidian vault=“$1” open file=index.md
}