Managed to get the Basic GUI sample working as a F...
# gui
n
Managed to get the Basic GUI sample working as a FlatPak ( https://gitlab.com/gui-vista/samples/basicgui-sample/-/tree/flatpak ) 🎉. Currently there is no provision for an Application menu item.
🎉 1
K 2
Below are the contents of the Flatpak manifest:
Copy code
app-id: org.example.Basicgui
command: basic_gui
runtime: org.freedesktop.Platform
runtime-version: '19.08'
sdk: org.freedesktop.Sdk
finish-args:
  - "--socket=fallback-x11"
modules:
  - name: basic_gui
    buildsystem: simple
    build-commands:
      - install -D basic_gui.kexe /app/bin/basic_gui
    sources:
      - type: file
        path: build/bin/linuxX64/basic_guiDebugExecutable/basic_gui.kexe
The most challenging part of getting Flatpak support working was getting the application to run. The App ID has to match what is specified in the manifest. If it doesn't match then the app briefly runs (nothing is displayed). One could say that security works when nothing runs 😆 .
😁 1