How to open the terminal in Godot from Steam Flatpak ?

This workaround fix the option "Open in terminal" that does nothing.

Terminal

Change $your_folder and run this in your terminal.

your_folder=~/Desktop/godot_config/flatpak-spawn
flatpak install flathub com.github.tchx84.Flatseal
sudo apt install flatpak-xdg-utils
mkdir -p ~/Desktop/godot_config
cp /usr/libexec/flatpak-xdg-utils/flatpak-spawn $your_folder
flatpak run com.github.tchx84.Flatseal

Flatseal

In Flatseal > Steam > Other files > Add your new flatpak-spawn folder.

Godot

Open a Godot project > Editor > Editor Settings > Check Advanced Settings

Set Terminal Emulator to ~/Desktop/godot_config/flatpak-spawn

Set Terminal Emulator Flags to --host gnome-terminal {directory}

Error to find this article

xterm: No absolute path found for shell: /home/your_name/godot_project/

Informations

Pop!_OS 22.04 LTS, Steam(Flatpak), Godot Engine v4.4.stable

Last edit on