run appimages
run appimages
I'm sure this is a silly question I'm going to ask. But I have an emulator in appimage format, which works fine on my Linux system. I've created a script that launches the emulator and opens a specific game, the script works fine. But if I want to create a flatimage with this, it doesn't even open the original appimage of the emulator, much less my script. It's all stored in the same folder as the lime3ds emulator. I've tried giving permissions to the appimage from the script that I'm launching inside gameimage, and nothing. I can't get anything to run. Is it possible to do what I want? Thanks
I've had this issue when running a doom source port appimage inside a flatimage, but i managed to fix the issue by using fim-perms add "usr/lib" "/lib" to the flatimage, then inputting --appimage-extract-and-run command while inside the launcher, hopefully this advice helps your issues.
Hello, you can run appimages inside a flatimage using the portal. For example, fim_portal ./firefox.AppImage would execute the appimage in the host. However, this is not recommended because running on the host requires dependencies that might not be available or the appimage itself might not run due to glibc issues (or if the system uses musl).
You could follow @Blackfox-Thane advice, but I would recommend extracting with ./App.AppImage --appimage-extract and moving the squashfs-root directory to inside the flatimage with ./app.flatimage fim-exec cp ./squashfs-root /app. This will copy the appimage application directory to /app and you can run with ./app.flatimage fim-exec /app/AppRun. This will avoid extracting the app everytime you launch it.
Also @Blackfox-Thane, I think the command fim-perms add "usr/lib" "/lib" is incorrect, since the list of valid permissions is:
home
media
wayland
xorg
dbus_user
network
Also @Blackfox-Thane, I think the command
fim-perms add "usr/lib" "/lib"is incorrect, since the list of valid permissions is:home media wayland xorg dbus_user network
You're correct i ment to sayfim-bind addnot fim-perms add i mixed uo the commands 🤦, I apologize to the author of the post for the error.
Thanks for the ideas and help, but I'll almost give up, that's too complicated for me, for a simple emulator. LOL. Thanks, if I feel like it I'll try some stuff, but I see it difficult for my current level of knowledge.