Installing flatpak apps from flathub.org

asked 2020-06-17 10:45:29 +0300

capitanguex gravatar image

Flatpak works with my Xperia XA2 Ultra. I have installed Angelfish and Telegram Desktop. Both work. I tried now install https://flathub.org/apps/details/org.pulseaudio.pavucontrol as described on this page and it does not work:

| Sailfish OS 3.3.0.16 (Rokua) '--- [nemo@XperiaXA2Ultra ~]$ flatpak install flathub org.pulseaudio.pavucontrol Looking for matches? Usage: gpg-connect-agent [options] (-h for help)Usage: gpg-connect-agent [options] (-h for help)Usage: gpg-connect-agent [options] (-h for help)Required runtime for org.pulseaudio.pavucontrol/arm/stable (runtime/org.freedesktop.Platform/arm/18.08) found in remote flathub Do you want to install it? [Y/n]: Y

org.pulseaudio.pavucontrol permissions: ipc fallback-x11 pulseaudio wayland x11

    ID                                    Branch Op Remote  Download
    ID                                    Branch Op Remote  Download
    ID                                    Branch Op Remote  Download
    ID                                    Branch Op Remote  Download

1. [?] org.freedesktop.Platform.Locale 18.08 i flathub 78.8?MB / 316 ID Branch Op Remote Download ID Branch Op Remote Download 1. [?] org.freedesktop.Platform.Locale 18.08 i flathub 78.8?MB / 316.0?MB 2. [?] org.freedesktop.Platform.html5-codecs 18.08 i flathub 2.6?MB / 2.9?MB 3. [?] org.freedesktop.Platform 18.08 i flathub 188.3?MB / 248.1?MB 4. [?] org.pulseaudio.pavucontrol.Locale stable i flathub 135.3?kB / 121.0?kB 5. [?] org.pulseaudio.pavucontrol stable i flathub 1.9?MB / 2.0?MB

Installation complete.

[nemo@XperiaXA2Ultra ~]$ flatpak run org.pulseaudio.pavucontrol
(pavucontrol:3): Gdk-WARNING **: 09:13:39.391: The Wayland compositor does not provide any supported shell interface, not using Wayland display

(pavucontrol:3): Gtk-WARNING **: 09:13:39.398: cannot open display: [nemo@XperiaXA2Ultra ~]$

I tried other apps from flathub.org with the same error message. What do i wrong ?

edit retag flag offensive close delete

Comments

2

it seems to be x11 only, no wayland. at least when looking into your permissions output

rinigus ( 2020-06-17 11:54:38 +0300 )edit
1

also why you install it with no --user ?

coderus ( 2020-06-17 13:04:02 +0300 )edit

@coderus sorry my fault, forgot --user. Redone it with --user but error at the end is same. I think @rinigus is right. This App has problems with display (Wayland). Too bad, I hoped to correct the low audio volume (DAC, Bluetooth) with this app. Thank you for the answers.

| Sailfish OS 3.3.0.16 (Rokua) '--- [nemo@XperiaXA2Ultra ~]$ flatpak list Name Application ID Version Branch Origin Installation Freedesktop ? org.freedesktop.Platform 18.08.39 18.08 flathub user default ?desktop.Platform.GL.default 19.08 flathub user ffmpeg-full ?esktop.Platform.ffmpeg-full 19.08 flathub user html5-codecs ?sktop.Platform.html5-codecs 18.08 flathub user KDE Applicat? org.kde.Platform 5.14 flathub user Maliit plugi? ?utContexts.MaliitSailfishOS 5.14 flathub user Angelfish We? org.kde.mobile.angelfish master kdeapps user PulseAudio V? org.pulseaudio.pavucontrol 4.0 stable flathub user Telegram Des? org.telegram.desktop 2.1.11 stable flathub user [nemo@XperiaXA2Ultra ~]$ flatpak uninstall org.pulseaudio.pavucontrol

    ID                                         Branch          Op

1. [-] org.pulseaudio.pavucontrol stable r 2. [-] org.pulseaudio.pavucontrol.Locale stable r

Uninstalling 2/2?^[[23;18R [nemo@XperiaXA2Ultra ~]$ flatpak uninstall --unused

    ID                                            Branch         Op

1. [-] org.freedesktop.Platform.html5-codecs 18.08 r 2. [-] org.freedesktop.Platform 18.08 r 3. [-] org.freedesktop.Platform.Locale 18.08 r

Uninstall complete. [nemo@XperiaXA2Ultra ~]$ flatpak install --user flathub org.pulseaudio.pavucontrol Looking for matches? Usage: gpg-connect-agent [options] (-h for help)Usage: gpg-connect-agent [options] (-h for help)Usage: gpg-connect-agent [options] (-h for help)Required runtime for org.pulseaudio.pavucontrol/arm/stable (runtime/org.freedesktop.Platform/arm/18.08) found in remote flathub Do you want to install it? [Y/n]: Y

org.pulseaudio.pavucontrol permissions: ipc fallback-x11 pulseaudio wayland x11

    ID                                    Branch Op Remote  Download
    ID                                    Branch Op Remote  Download
    ID                                    Branch Op Remote  Download
    ID                                    Branch Op Remote  Download

1. [?] org.freedesktop.Platform.Locale 18.08 i flathub 78.8?MB / 316 ID Branch Op Remote Download ID Branch Op Remote Download 1. [?] org.freedesktop.Platform.Locale 18.08 i flathub 78.8?MB / 316.0?MB 2. [?] org.freedesktop.Platform.html5-codecs 18.08 i flathub 2.6?MB / 2.9?MB 3. [?] org.freedesktop.Platform 18.08 i flathub 188.3?MB / 248.1?MB 4. [?] org.pulseaudio.pavucontrol.Locale stable i flathub 135.3?kB / 121.0?kB 5. [?] org.pulseaudio.pavucontrol stable i flathub 1.9?MB / 2.0?MB

Installation complete. [nemo@XperiaXA2Ultra ~]$ flatpak-runner org.pulseaudio.pavucontrol Starting: org.pulseaudio.pavucontrol [D] unknown:0 - Using Wayland-EGL Wayland socket: ../../display/wayland-1 WAYLAND_DISPLAY="../../display/wayland-1" FLATPAK_MALIIT_CONTAINER_DBUS="unix:abstract=/tmp/dbus-FFbM3cdqKg,guid=2af57c0fe4d95171ca6ccbd35eea073d" flatpak run --env=QT_WAYLAND_FORCE_DPI=370 --filesystem=/system:ro --filesystem=/vendor:ro --filesystem=/odm:ro --filesystem=/plat_property_contexts:ro --filesystem=/nonplat_property_contexts:ro --device=all --talk-name=org.maliit.server --env=QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu-compositing --num-raster-threads=1 --enable-viewport --disable-composited-antialiasing --env=QTWEBENGINE_DISABLE_GPU_THREAD=1 --env=QT_QPA_PLATFORM=wayland --env=QT_QUICK_CONTROLS_MOBILE=1 --env=QT_QUICK_CONTROLS_STYLE=Plasma --env=HYBRIS_EGLPLATFORM_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris --env=HYBRIS_LINKER_DIR=/usr/lib/arm-linux-gnueabihf/GL/host/lib/libhybris/linker --env=HYBRIS_LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/libexec/droid-hybris/system/lib:/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib --env=LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/GL/host/lib org.pulseaudio.pavucontrol [D] onCompleted:424 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component [W] unknown:53 - file:///usr/share/flatpak-runner/qml/main.qml:53:26: Unable to assign [undefined] to bool

(pavucontrol:3): Gdk-WARNING **: 14:06:35.603: The Wayland compositor does not provide any supported shell interface, not using Wayland display

(pavucontrol:3): Gtk-WARNING **: 14:06:35.609: cannot open display: [D] expression for onExit:59 - Skipping quit as it will hang the window. Proper exit is needed [nemo@XperiaXA2Ultra ~]$

capitanguex ( 2020-06-17 15:31:49 +0300 )edit

Its Gtk and those are not supported due to our rather old QtWayland compositor.

rinigus ( 2020-06-17 19:51:13 +0300 )edit