flathub / org.godotengine.godot.BaseApp

16 stars 7 forks source link

Simplify or document launching external editors #9

Closed lostfictions closed 3 years ago

lostfictions commented 3 years ago

Setting an external editor in Godot with the flatpak is trickier than it seems like it should be.

If I go to Editor > Editor Settings... > Text Editor > External and set the following configuration:

image

It fails with the warning (logged on the host only):

**ERROR** OS_Unix::execute - Could not create child process while executing: code

Eventually I figured out I could make it work by using flatpak-spawn as the executable instead, and prefixing --host code as additional arguments:

image

But this isn't obvious at all, especially to folks who are used to flatpak applications being set up to "just work". It would be nice if this could either be simplified or clearly documented (maybe on flathub) so that other users don't get caught on the same problem.

lostfictions commented 3 years ago

Oops, realizing I opened this on the wrong repo. Will open on flathub/org.godotengine.Godot instead!

Calinou commented 3 years ago

Superseded by https://github.com/flathub/org.godotengine.Godot/issues/68.