maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Flatpak on Sailfish OS (https://talk.maemo.org/showthread.php?t=100909)

juz 2020-04-04 21:39

Re: Flatpak on Sailfish OS
 
I too have had some issues installing Flatpak support on my xperia X running 3.3.
At the completion of installing both angelfish and telegram-desktop my device immediately rebooted. Angelfish runs, though with a little lag, so I assume that completed successfully. I haven't managed to start telegram though.
I too have no desktop icon for angelfish or telegram following installation.
Not sure what other information I can provide to assist.
Thanks very much .

eson 2020-04-05 05:54

Re: Flatpak on Sailfish OS
 
Just want to report that I got flatpak support and Angelfish up and running on my Xperia X, with no problem at all. :D
Thanks, @rinigus!

rinigus 2020-04-05 07:06

Re: Flatpak on Sailfish OS
 
These reports are rather confusing. @eson, thanks for telling that it worked - this makes me to dig deeper.

For users with reboots, missing icons. Please provide output of the following commands. Run those via ssh in PC, so you could paste the output and not make screenshots.

Code:

flatpak list --user
flatpak list --system
du -sh ~/.local/share/flatpak/
ls -l ~/.local/share/applications

When you start flatpak-runner from terminal WITHOUT any other options, do you see installed apps listed in flatpak-runner window?

Looks like your issues are reproducible, so I presume output of one is sufficient. Others, please check if you have the same as the reported one, when we get there.

As for gdk_... , I don't know and can look into it when OBS 3.3 is up

coderus 2020-04-05 08:13

Re: Flatpak on Sailfish OS
 
in russian sfos telegram chat i've seen users ran into issues with flatpaks by issuing flatpak command as root user.

juz 2020-04-05 08:28

Re: Flatpak on Sailfish OS
 
Hi Rinigus,
Thanks for all the development and thanks for looking into this.
Following your list of commands I end up with the following:
Code:

,---
| Sailfish OS 3.3.0.14 (Rokua)
'---
[nemo@Sailfish ~]$ flatpak list --user
Name                Application ID                      Version Branch Origin
default            org.freedesktop.Platform.GL.default          19.08  flathub
ffmpeg-full        org.freedesktop.Platform.ffmpeg-full        19.08  flathub
KDE Application Pl? org.kde.Platform                            5.14  flathub
Maliit plugin for ? ?tformInputContexts.MaliitSailfishOS        5.14  flathub
Angelfish Webbrows? org.kde.mobile.angelfish                    master kdeapps
Telegram Desktop    org.telegram.desktop                2.0.1  stable flathub
[nemo@Sailfish ~]$ flatpak list --system
[nemo@Sailfish ~]$ du -sh ~/.local/share/flatpak/
984.3M        /home/nemo/.local/share/flatpak/
[nemo@Sailfish ~]$ ls -l ~/.local/share/applications
total 4
lrwxrwxrwx    1 nemo    nemo            32 Nov  4  2018 defaults.list -> /home/nemo/.config/mimeapps.list
-rw-rw-r--    1 nemo    nemo            50 Feb  5 21:10 mimeapps.list
[nemo@Sailfish ~]$ flatpak-runner
Starting empty Wayland server and enabling settings
[D] unknown:0 - Using Wayland-EGL
Wayland socket: ../../display/wayland-1
[D] onCompleted:424 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
[D] unknown:0 - Got library name:  "/usr/lib/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so"

I see simply "Default settings" in Flatpak Runner after launching it from terminal.

This is all using 3.3.0.14 SFOS on Xperia X. For what is worth the native email app is also incredibly laggy after update, so maybe something deeper is wrong with my phone. Have to look at that seperately.

Thanks again for your help,
Justin.

rinigus 2020-04-05 11:21

Re: Flatpak on Sailfish OS
 
That looks like all is installed correctly. I suggest to uninstall angelfish and telegram. After that, run

flatpak repair --user

and install Angelfish only. It should not reboot, btw.

Would that help?

juz 2020-04-05 11:35

Re: Flatpak on Sailfish OS
 
Hi Rinigus,
Thanks for your help.
I started following your instructions, I started by uninstalling angelfish, and the Xperia X rebooted itself. Here is the terminal:
Code:

[nemo@Sailfish ~]$ flatpak uninstall --user angelfish
Found installed ref ?app/org.kde.mobile.angelfish/arm/master? (user). Is this correct? [Y/n]: y


        ID                              Branch        Op
 1. [-] org.kde.mobile.angelfish        master        r

Uninstalling?

After that the phone rebooted.
I shall keep going?

Thanks,

juz 2020-04-05 11:37

Re: Flatpak on Sailfish OS
 
Uninstall of telegram resulted in the same behaviour.

rinigus 2020-04-05 11:40

Re: Flatpak on Sailfish OS
 
Try still to uninstall and then repair before installing again. Reboot sounds as a bug of SFOS or flatpak. But let's see where you get

juz 2020-04-05 11:57

Re: Flatpak on Sailfish OS
 
I issued the uninstall command for both angelfish and telegram as I noted above. Both resulted in a restart.
On following the repair and reinstall of Angelfish I found the following:
Code:

[nemo@Sailfish ~]$ flatpak repair --user
Working on the user installation at /home/nemo/.local/share/flatpak
Verifying deploy/runtime/org.kde.PlatformInputContexts.MaliitSailfishOS/arm/5.14?
Verifying deploy/runtime/org.kde.Platform.Locale/arm/5.14?
Verifying flathub:runtime/org.kde.PlatformInputContexts.MaliitSailfishOS/arm/5.14?
Verifying flathub:runtime/org.kde.Platform/arm/5.14?
Verifying deploy/app/org.kde.mobile.angelfish/arm/tmp.ELgD0A?
Verifying deploy/runtime/org.freedesktop.Platform.GL.default/arm/19.08?
Verifying deploy/runtime/org.freedesktop.Platform.ffmpeg-full/arm/19.08?
Verifying deploy/runtime/org.kde.Platform/arm/5.14?
Verifying kdeapps:app/org.kde.mobile.angelfish/arm/master?
Verifying deploy/app/org.telegram.desktop/arm/tmp.bD8Zsm?
Verifying flathub:runtime/org.freedesktop.Platform.GL.default/arm/19.08?
Verifying flathub:runtime/org.kde.Platform.Locale/arm/5.14?
Verifying flathub:app/org.telegram.desktop/arm/stable?
Verifying flathub:runtime/org.freedesktop.Platform.ffmpeg-full/arm/19.08?
Pruning objects
[nemo@Sailfish ~]$ flatpak install --user angelfish
Looking for matches?
Usage: gpg-connect-agent [options] (-h for help)Usage: gpg-connect-agent [options] (-h for help)Found similar ref(s) for ?angelfish? in remote ?kdeapps? (user).
Use this remote? [Y/n]: y
Found ref ?app/org.kde.mobile.angelfish/arm/master? in remote ?kdeapps? (user).
Use this ref? [Y/n]: y
Skipping: org.kde.mobile.angelfish/arm/master is already installed
[nemo@Sailfish ~]$

So I think the uninstall must not have completed prior to reboot.
The device has not suffered from reboots at any other stage in it's life.

There is still no icon, and still just "Default settings" in Flatpak Runner.


All times are GMT. The time now is 09:08.

vBulletin® Version 3.8.8