flathub / com.axosoft.GitKraken

https://flathub.org/apps/details/com.axosoft.GitKraken
8 stars 9 forks source link

Can't spawn terminal or external editor #88

Closed llabusch93 closed 4 years ago

llabusch93 commented 4 years ago

Hello guys,

I can't select a terminal or external editor in the flatpak version here. When I install it usually, it does work. Any suggestions?

Lctrs commented 4 years ago

See #12.

You just need to set a custom command to flatpak-spawn --host gnome-terminal (replace gnome-terminal with your own terminal bin if you're not using this one).

llabusch93 commented 4 years ago

Thanks @Lctrs yes I just came up with that solution by myself, wrote an addition in the second you closed this. Anyway, the external editor thing is still not resolved, so this here should neither be closed.

Can you give me a solution for this as well? I used to have VS Code set.

Lctrs commented 4 years ago

Since you can't set a custom command for the external editor, there is no solution for editor.

I'm closing this because there is no solution on our side. Due to how flatpak works, apps inside it can't see other applications installed on the host or even other installed flatpak applications. I don't think there is a portal for this yet. So a portal would have to be created for this, and support added for it either in Flatpak or in Electron. Furthermore, since Flatpak isn't officially supported by GitKraken, don't expect a quick solution for this.

llabusch93 commented 4 years ago

Okay too bad, thanks @Lctrs for your support and explanation!

jkilzi commented 3 years ago

@llabusch93 and others looking to solve this issue...

flatpak-spawn --host gnome-terminal --window --working-directory="%d"

Just use this as the custom terminal command, tested on Fedora 33, cheers...