Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Flatpak on Sailfish OS

    Reply
    Page 5 of 44 | Prev |   3     4   5   6     7   15 | Next | Last
    Kabouik | # 41 | 2020-02-04, 22:45 | Report

    It worked for me on the Pro¹ with some warnings that I guess are minor since Angelfish runs. All steps after the "reboot" step in the Github instructions were run immediately after reboot, the screen didn't turn off once. I'm looking forward to being able to install other apps in the future!

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
        
    The Following 3 Users Say Thank You to Kabouik For This Useful Post:
    juiceme, mosen, xman

     
    lal | # 42 | 2020-02-05, 04:27 | Report

    Originally Posted by rinigus View Post
    I have heard that Flathub has sometimes net issues, but usually its not too bad. I wonder now whether your phone enters suspend and looses connection because of that. In this case, the timeouts could come with switched off screen, but not with display on.
    I would rule out the chances of phone suspending. I was pretty eager to see the result of the operation and kept it alive

    Also, thanks to the intelligent timeout/suspension management in Sailfish OS (mce takes care of that?) that the screen stays on longer during the next cycle if woken up during the dimming phase.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to lal For This Useful Post:
    juiceme, mosen

     
    rinigus | # 43 | 2020-02-07, 16:40 | Report

    Turned out that the issue with Pure Maps was not OpenGL, but internal Mapbox code used to download tiles. As I was using hybrid version for Mapbox GL and not pure Qt one (due to a bug in old Qt used by SFOS), this somehow triggered an issue. So, GL part is working fine (well, maybe with some other issues).

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to rinigus For This Useful Post:
    juiceme, MartinK, mosen, xman

     
    coderus | # 44 | 2020-02-07, 18:44 | Report

    should be flatpak-maliit-plugin-qt instead

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to coderus For This Useful Post:
    juiceme, mosen

     
    rinigus | # 45 | 2020-02-15, 11:47 | Report

    New releases of Flatpak Runner and Maliit keyboard plugin are out. It is now possible to ask Flatpak Runner to take into account whether the keyboard is shown and, if it is, reduce the window used by application accordingly. As there is a temporary side-effect while Wayland application window is changed (old content scaled to the new size and then redrawn), I made this feature opt-in. Usually its not needed, but sometimes is handy. Examples when its needed: setting homepage and search options in Angelfish.

    The packages are available at OBS.

    Meanwhile, I am mainly working on Angelfish. Its progressing nicely and already is the main SFOS browser for me. Some changes are not merged yet (auto-hiding of navigation bar), some changes have to be written. But we are making progress with KDE developers.

    Ironically, TMO is the worst site right now. As WebEngine doesn't handle HIDPI that well, I have to scale window up and TMO just doesn't fit on portrait when the minimal font is imposed.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 18 Users Say Thank You to rinigus For This Useful Post:
    AardDevil, Amboss, atlochowski, Bundyo, catbus, edp17, Fellfrosch, fooxl, Jedibeeftrix, juiceme, klinglerware, lal, ljo, meloferz, mosen, mrsellout, olf, taixzo

     
    claustn | # 46 | 2020-02-16, 19:06 | Report

    Is it possible to run flatpak on a Nexus 5? With the latest Sailfish but based on an "old" CM 12.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to claustn For This Useful Post:
    Amboss, juiceme, mosen, rinigus

     
    rinigus | # 47 | 2020-02-16, 19:16 | Report

    Originally Posted by claustn View Post
    Is it possible to run flatpak on a Nexus 5? With the latest Sailfish but based on an "old" CM 12.
    Give it a try. I don't know, tbh. The bug that I fixed in hybris was introduced for Android 6 and above. It may work just out of the box. Unless there is something missing in the kernel... So, try and let us know.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to rinigus For This Useful Post:
    Amboss, juiceme, mosen

     
    claustn | # 48 | 2020-02-17, 07:05 | Report

    Trying to run Angelfish gives me the following output. It opens an empty window.

    Code:
    ,---
    | Sailfish OS 3.2.0.12 (Torronsuo)
    '---
    [nemo@Sailfish ~]$ flatpak-runner org.kde.mobile.angelfish
    Starting: org.kde.mobile.angelfish
    [D] unknown:0 - Using Wayland-EGL
    Wayland socket: ../../display/wayland-1
    WAYLAND_DISPLAY="../../display/wayland-1" FLATPAK_MALIIT_CONTAINER_DBUS="unix:abstract=/tmp/dbus-MM6gVH7U7S,guid=2cd4ffbf50593a6028484a0e5e4a3ad2" flatpak run --env=QT_WAYLAND_FORCE_DPI=442 --filesystem=/system:ro --filesystem=/vendor:ro --filesystem=/odm:ro --device=all --talk-name=org.maliit.server --filesystem=/opt/flatpak/maliit/org.kde.Platform/arm/5.12:ro --env=QT_PLUGIN_PATH=/app/lib64/plugins:/app/lib/plugins:/usr/share/runtime/lib/plugins:/opt/flatpak/maliit/org.kde.Platform/arm/5.12 --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.kde.mobile.angelfish
    [D] onCompleted:389 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
    [W] unknown:52 - file:///usr/share/flatpak-runner/qml/main.qml:52:26: Unable to assign [undefined] to bool
    error: app/org.kde.mobile.angelfish/arm/master not installed
    [D] expression for onExit:58 - Skipping quit as it will hang the window. Proper exit is needed

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to claustn For This Useful Post:
    Amboss, juiceme, rinigus

     
    rinigus | # 49 | 2020-02-17, 07:11 | Report

    Few quick checks:

    - have you rebooted after installing flatpak? If you didn't, please do so

    - have you installed Angelfish using --user?

    - what does `flatpak list` return in terminal?

    - Try to enter Flatpak environment by running: flatpak run --command=sh org.kde.mobile.angelfish

    The last command should give you a prompt inside Flatpak. If something is wrong, it will fail.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to rinigus For This Useful Post:
    Amboss, edp17, juiceme, meemorph

     
    claustn | # 50 | 2020-02-17, 21:22 | Report

    Originally Posted by rinigus View Post
    Few quick checks:

    - have you rebooted after installing flatpak? If you didn't, please do so
    - Yes I rebooted
    - have you installed Angelfish using --user?
    - Yes
    - what does `flatpak list` return in terminal?

    - Try to enter Flatpak environment by running: flatpak run --command=sh org.kde.mobile.angelfish

    The last command should give you a prompt inside Flatpak. If something is wrong, it will fail.
    My bad, I didn't complete the installation. Anyway, now it does not start with the following output:
    Code:
    [nemo@Sailfish ~]$ flatpak run --command=sh org.kde.mobile.angelfishbwrap: Creating new namespace failed: Invalidargumenterror: ldconfig failed, exit status 256
    [nemo@Sailfish ~]$ devel-su
    [root@Sailfish nemo]# ldconfig
    [root@Sailfish nemo]# exit
    [nemo@Sailfish ~]$ flatpak run --command=sh org.kde.mobile.angelfishbwrap: Creating new namespace failed: Invalidargumenterror: ldconfig failed, exit status 256
    [nemo@Sailfish ~]$ devel-su
    [root@Sailfish nemo]# flatpak-runner org.kde.mobile.angelfisherror: XDG_RUNTIME_DIR not set in the environment.[C] unknown:0 - Failed to create display (No such file or directory)[root@Sailfish nemo]#
    Flatpak list output:
    Code:
    [nemo@Sailfish ~]$ flatpak list
    Name             Application ID                Version Branch Origin  Installation
    html5-codecs     …esktop.Platform.html5-codecs         18.08  flathub user
    KDE Application… org.kde.Platform                      5.12   flathub user
    Angelfish Webbr… org.kde.mobile.angelfish              master kdeapps user

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to claustn For This Useful Post:
    Amboss, juiceme, rinigus

     
    Page 5 of 44 | Prev |   3     4   5   6     7   15 | Next | Last
vBulletin® Version 3.8.8
Normal Logout