Repository metrics
- Stars
- (12,865 stars)
- PR merge metrics
- (Avg merge 2d 4h) (17 merged PRs in 30d)
Description
Problem description
Exported Godot Engine app opens (for example, through GNOME's overview) to Project Manager but upon double clicking any project name, the Project Manager closes and no project is opened. All godot processes are gone as can be verified in the process manager (ps).
However, everything works fine when godot is run from the distrobox terminal:
distrobox enter -n <name>
godot
This issues was also noted 2 months ago on Reddit: https://www.reddit.com/r/Fedora/comments/1cm6wy8/strange_behaviour_with_distrobox_exports/
Possible solution
I haven't tested it thoroughly but setting Terminal=true in the exported .desktop files seems to do the trick.
[Desktop Entry]
Name=Godot Engine (on Arch)
GenericName=Libre game engine (on Arch)
GenericName[el]=Ελεύθερη μηχανή παιχνιδιού (on Arch)
GenericName[fr]=Moteur de jeu libre (on Arch)
GenericName[zh_CN]=自由的游戏引擎 (on Arch)
Comment=Multi-platform 2D and 3D game engine with a feature-rich editor
Comment[el]=2D και 3D μηχανή παιχνιδιού πολλαπλών πλατφορμών με επεξεργαστή πλούσιο σε χαρακτηριστικά
Comment[fr]=Moteur de jeu 2D et 3D multiplateforme avec un éditeur riche en fonctionnalités
Comment[zh_CN]=多平台 2D 和 3D 游戏引擎,带有功能丰富的编辑器
Exec=/usr/bin/distrobox-enter -n Arch -- godot %f
Icon=godot
Terminal=true
PrefersNonDefaultGPU=true
Type=Application
MimeType=application/x-godot-project;
Categories=Development;IDE;
StartupWMClass=Godot
Basically, it opens a terminal whenever Godot is run. Somehow this makes the Godot processes stay alive.
Upon double clicking any project name, the following notification is displayed in GNOME shell:
But the project opens nonetheless so it doesn't bother me.
(I don't really know how to view the full notification yet. Maybe through podman logs? But there's a lot of junk there. Let me know if it's important and I'll help as much as I can)
My specs
podman version 5.1.1
distrobox: 1.7.2.1
godot: 4.2.2.stable.arch_linux
Host OS: Archlinux
Distrobox Arch container:
quay.io/toolbx/arch-toolbox:latest
I have renamed my container using distrobox create I think. Therefore distrobox list gives me the following:
So I don't know what is the exact Arch image version. Unless
024-07-09 is the version, idk.
Distrobox was installed through pacman.
godot was installed in the Archlinux Distrobox container (yeah, I have both an Arch host OS and an Arch container) through pacman.