Open Neovim in external window in CLI

I would like to use Neovim as external editor in a new window like in the desktop app.
However, opening the external window results in a blank page of the Joplin CLI as long as Neovim is open.
I also posted an issue on Github (issue 8982).


Joplin version: 2.12.15-1
Platform: Linux CLI
OS specifics: Archlinux

Steps to reproduce

  1. Set Neovim as external editor to open with Kitty (xterm has the same issue): config editor "kitty -- nvim"
  2. Open a note
  3. A new kitty terminal with the correct markdown file in Neovim is spawned
  4. The terminal with Joplin running shows a blank page, except the error message (on xterm there is no error message, but also blank page):
    [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.UnknownMethod] No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
  5. When the markdown file is saved and Neovim is closed, the terminal with Joplin is working correctly again and shows the updated note.

Describe what you expected to happen

In step 4., the terminal with Joplin stays open and I can open other notes.

1 Like