Reply
Thread Tools
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#411
Flatpak has been updated and should work now on SFOS 4.0.1.48.
 

The Following 13 Users Say Thank You to rinigus For This Useful Post:
Posts: 19 | Thanked: 48 times | Joined on Apr 2020 @ Spain
#412
Thank you so much, @rinigus. I've updated to SailfishOS 4 today and flatpak works fine, but I have two icons for every flatpak app. Does anyone how can I solve this issue?
 

The Following 3 Users Say Thank You to carmenfdezb For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#413
Originally Posted by carmenfdezb View Post
Thank you so much, @rinigus. I've updated to SailfishOS 4 today and flatpak works fine, but I have two icons for every flatpak app. Does anyone how can I solve this issue?
me too. so far I moved the ones which were without icons just into some launcher folder that I usually don't visit. problem "solved"

tbh, I have no idea when I can look into it. So, investigation of the issue and finding solution for it is very much welcome.
 

The Following 4 Users Say Thank You to rinigus For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#414
@carmenfdezb, actually, looks like I found it by accident. new flatpak has environment generators and those confused SFOS. For example, while starting ssh session, I was getting

NOTICE: Env value ignored: XDG_DATA_DIRS=/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/

That also resulted in inability to scp to device. All turned out to be caused by env generators. As soon as those were removed from device, icons disappeared as well.

New flatpak has been just compiled. Update to that, reboot device, and it should all be fine.
 

The Following 7 Users Say Thank You to rinigus For This Useful Post:
Posts: 19 | Thanked: 48 times | Joined on Apr 2020 @ Spain
#415
Thanks again! After updating flatpak and rebooting my phone, icons disappeared.
 

The Following 3 Users Say Thank You to carmenfdezb For This Useful Post:
pacman's Avatar
Posts: 89 | Thanked: 532 times | Joined on Sep 2015
#416
I have just tried installing flatpak (following the instructions at https://github.com/sailfishos-flatpak/main) and then angelfish, but I find that the device reboots after installing angelfish. I thought at first that I had the same problem as @edp17 at #374 but it is in fact the opposite one: angelfish is installed, and I can start it with
Code:
flatpak-runner org.kde.mobile.angelfish
but there is no Angelfish icon in the app grid or Angelfish entry in Flatpak Runner. I believe that it is the installation of Angelfish that causes this, because I then tried installing the runtime first, giving me this starting point:

Code:
[nemo@Sailfish ~]$ flatpak list --user
Name                                 Application ID                                         Version         Branch
default                              org.freedesktop.Platform.GL.default                                    19.08
KDE Application Platform             org.kde.Platform                                                       5.14
Maliit plugin for SailfishOS         org.kde.PlatformInputContexts.MaliitSailfishOS                         5.14
and then did:

Code:
[nemo@Sailfish ~]$ flatpak install --user -vv org.kde.mobile.angelfish
F: Opening user flatpak installation at path /home/nemo/.local/share/flatpak
Looking for matches…
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using libsoup
F: Received 2737 bytes
F: Loading https://dl.flathub.org/repo/summarie...de4f92.idx.sig using libsoup
F: Received 592 bytes
Usage: gpg-connect-agent [options] (-h for help)F: Fetching indexed summary delta 4df32cc2335bd40968012f02d97fd9754fc995c33dfc1b4f9601ec3bf0679c70-a7f6565a4a6b7aac4f73d0bf69d61363d0bb3010dae3d15a489fede424a3e6f3.delta for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summarie...24a3e6f3.delta using libsoup
F: Received 840 bytes
F: Fetching summary index file for remote ‘kdeapps’
F: Loading http://distribute.kde.org/flatpak-ap...ng/summary.idx using libsoup
F: Received 910 bytes
F: Loaded indexed summary file 8c463a202847609190e12c37953af82169e3a0287cbb8c5b640834343900540f from cache for remote ‘kdeapps’
Found similar ref(s) for ‘org.kde.mobile.angelfish’ in remote ‘kdeapps’ (user).
Use this remote? [Y/n]: y
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Fetching summary index file for remote ‘kdeapps’
F: Loading http://distribute.kde.org/flatpak-ap...ng/summary.idx using libsoup
F: Received 910 bytes
F: Loaded indexed summary file 8c463a202847609190e12c37953af82169e3a0287cbb8c5b640834343900540f from cache for remote ‘kdeapps’
F: Transaction: install kdeapps:app/org.kde.mobile.angelfish/arm/master[*]
F: Looking for remote metadata updates for kdeapps
F: marking op install:app/org.kde.mobile.angelfish/arm/master resolved to 015005bcb6d2eb96ec548e54e12d38c5f263921b87fbc1672150c930503a9d4a
F: Updating dependent runtime org.kde.Platform/arm/5.14
F: Transaction: update flathub:runtime/org.kde.Platform/arm/5.14[$old]
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using libsoup
F: Received 2737 bytes
F: Loaded indexed summary file a7f6565a4a6b7aac4f73d0bf69d61363d0bb3010dae3d15a489fede424a3e6f3 from cache for remote ‘flathub’
F: marking op update:runtime/org.kde.Platform/arm/5.14 resolved to fdc141efef6de9ed5020dc22b26f566015f617333dfbc706146d08c3488ea563
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/arm/19.08[*]
If I do
Code:
flatpak remove --user org.kde.mobile.angelfish
this also causes a reboot.

Any suggestions gratefully received. I am running SFOS 4.0.1.48 on an Xperia X F5122

EDIT: I tried the same with the Telegram app, and found the same: reboot when installing, no icon and no entry in Flatpak Runner. Also a reboot when uninstalling Telegram, but when I then uninstalled the package org.freedesktop.Platform.ffmpeg-full that Telegram pulled in there was no problem. This must be something to do with the wrapping-up of the install/deinstall process of an app, but I don't know enough about flatpak to say more than this. I'll need to find the time to acquire some flatpak-fu I guess....

Last edited by pacman; 2021-03-16 at 14:49. Reason: Add more info wrt installation/deinstallation of Telegram app
 

The Following User Says Thank You to pacman For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#417
Can't reproduce it over here, sorry. Just installed flatpak on a clean 4.0.1 SFOS / XZ2c and it worked as it should.

I presume that you have run flatpak-runner from grid or cmd line without any options. It is needed after installation of the apps to make them appear in the grid. Also it is needed to generate extension.

Maybe, just in case, run flatpak-runner and choose from pulley menu Extension/Update extension
 

The Following 2 Users Say Thank You to rinigus For This Useful Post:
Posts: 191 | Thanked: 271 times | Joined on Mar 2015 @ Germany
#418
@pacman

Ringius posted at here
https://talk.maemo.org/showpost.php?...&postcount=213

Hi give the answer here:
I think i found here, i got the same problem on my compact for a while :
https://talk.maemo.org/showpost.php?...&postcount=216
 

The Following 2 Users Say Thank You to monkeyisland For This Useful Post:
pacman's Avatar
Posts: 89 | Thanked: 532 times | Joined on Sep 2015
#419
Originally Posted by monkeyisland View Post
@pacman

Ringius posted at here
https://talk.maemo.org/showpost.php?...&postcount=213

Hi give the answer here:
I think i found here, i got the same problem on my compact for a while :
https://talk.maemo.org/showpost.php?...&postcount=216
OK - I didn't try this because I assumed that it was a different problem, but clearing the suid bit before installing and setting it again afterwards solved the problem. I should have tried this before posting.

Thanks, and sorry for the noise.
P.
 

The Following User Says Thank You to pacman For This Useful Post:
Posts: 9 | Thanked: 15 times | Joined on Mar 2021
#420
I have a pro1 and unable to use the hardware keyboard with flatpak. Is it possible to to enable hardware keyboard functionally?

Thanks in advance

Regards

Mibry
 

The Following 2 Users Say Thank You to mibry For This Useful Post:
Reply

Tags
flatpak


 
Forum Jump


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