I am new to kicad and i am still exploring the software itself. I was trying to configure the text editor on the preferences menu but i always receive the message that the command could not be found.
I have tried several text editors, and some of them are not shown in the file browser.
The full command that i am using is:
“/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=gedit --file-forwarding org.gnome.gedit @@”, and it works fine on terminal.
I am using Fedora 37 and the kicad 7.0.1. Does anyone know a workaround for this issue?
I don’t know what the text editor in kicad does, as I don’t think I have ever seen it open while using kicad, but my pref is simply set to /usr/bin/gedit (which you can enter into the terminal to verify it is installed):
I think there is a deficiency in how that setting is parsed, I seem to recall that in another thread somebody couldn’t run an editor path with space in it. This is exacerbated by your flatpak situation where you need a command line instead of just an editor path.
You could just leave the setting alone, I don’t recall ever needing the text editor. Another workaround is to write a shell script that invokes your command, appending any arguments.
Hi @Iuri, that is definitely a bug if you can’t use a flatpak editor as a text editor. If you can, please report this on GitLab so we can look into it and try to fix it.
As a workaround, you can try using the xdg-open command to use the system default text editor. That should launch a FlatPak text editor if it is set as the system default.