Flatpak Support

  • Hello, I would like to request adding flatpak to the distro.

    It would be a nice feature for advanced users to install apps, e.g. steam

    I believe it would only be usable through ssh, hence the advanced user claim, so as to keep things simple.

    I understand it is maybe out of scope for JeOS but I can only see benefits for the users that need it

    Flatpak—the future of application distribution

    Sample apps Flathub—An app store and build service for Linux

  • +1

    Could be an easy way to get makeMKV into libreelec since it's know on flathub. In my experience bluray support is better in makeMKV compared to other methods.

    Only thing is that I don't know yet how to make use of libmmbd.so.0 from the flatpak folder.

  • Hmm that's sad.

    But is it different compared to add extra repositories? In both cases I have to trust that the maintainers are providing the software as expected that means with high integrity and timely.

    For me the first contact to flatpak is know the easy installation of makeMKV on Fedora. The alternatives to Flatpak are compiling it myself or adding an additional Repo. I tried out the first one which ended with compiling errors. The repo I found is not compatible with rpmfusion and the package is outdated. So for me it still appears as a good alternative.

    Or am I missing something?

  • On current Generic LE13 nightly x86_64 I flatpak run Chromium (I tried Firefox as well) fine (hardware = someone's old iMac) ... but ... there is no audio. I find several posts on several forums about this (also here). I am rather new here (for x86_64 that is) . Is the audio issue meanwhile solved, perhaps to have some settings or other workaround?

  • On current Generic LE13 nightly x86_64 I flatpak run Chromium (I tried Firefox as well) fine (hardware = someone's old iMac) ... but ... there is no audio. I find several posts on several forums about this (also here). I am rather new here (for x86_64 that is) . Is the audio issue meanwhile solved, perhaps to have some settings or other workaround?

    Do you have audio in Kodi (GUI, video playback)?

    The flatpak addon uses the audio device configured in Kodi and just spins up a (temporary) pulseaudio sink for that, if it's an ALSA device.

    If you don't have audio in kodi you also won't have it in the flatpak addons.

    so long,

    Hias

  • Do you have audio in Kodi (GUI, video playback)?

    The flatpak addon uses the audio device configured in Kodi and just spins up a (temporary) pulseaudio sink for that, if it's an ALSA device.

    If you don't have audio in kodi you also won't have it in the flatpak addons.

    so long,

    Hias

    Thanks for quick reaction! Yes I have audio in Kodi on PCH : HDA Intel PCH, CS4206 Analog in fact I can play a .wav via this device using aplay when browser runs via flatpak.

  • thanks for follow up

    log created while running youtube in Chromium

    https://paste.libreelec.tv/perversive-jen.log

    I notice perhaps related

    May 16 22:26:00.435416 LibreELEC kodi-run-external[6432]: using ALSA audio device sysdefault
    May 16 22:26:00.442954 LibreELEC pulseaudio[434]: E: [pulseaudio] module.c: Failed to load module "module-alsa-sink" (argument: "device=sysdefault name=flatpak"): initialization failed.
    May 16 22:26:00.443226 LibreELEC kodi-run-external[6477]: Failure: Module initialization failed
    May 16 22:26:00.443362 LibreELEC kodi-run-external[6432]: failed to load pulseaudio module for alsa device sysdefault

    Edited once, last by Nofan Tasi (May 16, 2026 at 9:35 PM).

  • Please enable debug logging in kodi, reboot, start a flatpak again and post another log.

    Also: you don't seem to have any ALSA audio devices configured in kodi. Did you manually configure pulseaudio? If yes, post all config files you added.

    so long,

    Hias

  • About output device config it is: "ALSA: HDA Intel PCH, CS4206 Analog"

    and the (only choice) one that works in LibreELEC/Kodi on the iMac speakers


    here is next log with debug

    https://paste.libreelec.tv/unshivering-trenton.log

    same module-alsa-sink issue present

    note I had meanwhile

    - disabled audio passtrough

    - disabled librespot

    also following is from command line


    LibreELEC:~ # pactl list sinks
    Sink #0
        State: RUNNING
        Name: auto_null
        Description: Dummy Output
        Driver: module-null-sink.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 6
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: auto_null.monitor
        Latency: 5447 usec, configured 23220 usec
        Flags: DECIBEL_VOLUME LATENCY SET_FORMATS 
        Properties:
            device.description = "Dummy Output"
            device.class = "abstract"
            device.icon_name = "audio-card"
        Formats:
            pcm
    LibreELEC:~ # pactl load-module module-alsa-sink 
    Failure: Module initialization failed

    Edited 2 times, last by Nofan Tasi (May 16, 2026 at 10:25 PM).

  • Please test with the librespot addon disabled, reboot, then configure the audio device in system settings so you get GUI sound and then run Chromium flatpak.

    The librespot addon has a long history of creating a mess with audio output so I wouldn't be surprised if it works now.

    so long,

    Hias

  • Please test with the librespot addon disabled, reboot, then configure the audio device in system settings so you get GUI sound and then run Chromium flatpak.

    The librespot addon has a long history of creating a mess with audio output so I wouldn't be surprised if it works now.

    so long,

    Hias



    Thank you so much for expertise and patience and reaction.

    I know how funny librespot may act so I removed it.

    still

    no sound on flatpak Chromium Youtube

    I tried Firefox too and some other content (VRT-Max I am in Belgium)

    here latest log (up to flatpak Chromium Youtube)

    https://paste.libreelec.tv/propublicity-norene.log

    Have a nice day

  • You're still doing it wrong:

    Code
    2026-05-17 02:09:07.762 T:2177     info <general>: Disabled debug logging due to GUI setting. Level 0.

    right :) I do it wrong :) but this is a daily driver system ... I revert to debug back asap but hoped to get to the point that librespot perhaps is not the issue! Have a nice day!

    asap update

    here is log with debug and without librespot

    https://paste.libreelec.tv/saltant-darnell.log

    Edited 3 times, last by Nofan Tasi (May 17, 2026 at 2:29 AM).