@agx@librem.one @sonny@floss.social Thanks for that hint!
I guess I can delete at least two files in .local/share/applications now...
@agx@librem.one @sonny@floss.social Thanks for that hint!
I guess I can delete at least two files in .local/share/applications now...
Tangram, Flatpak and language settings
For my microblog and some other tabs I use to keep open I'm trying out Tangram - the "Browser for your pinned tabs".
I tried before and failed miserably, because #Tangram didn't work on my #Librem5 (#PureOS), but worked on my notebook running the same system.
This time I tried harder.
Failing
After installing the tangram #flatpak from #flathub and starting it on my #Librem5 I found a welcome screen asking me for the URL of my firsted pinned tab.
I entered the URL of my blog. The next page showed me an empty address field, a go button and that's it. See the screenshots appended...
Debugging
Debugging on the phones screen is a slow process if one is used to a keyboard, mouse and bigger screen. Since Tangram works on my notebook I used waypipe to log into my Librem5 via ssh using
waypipe -n ssh -R /tmp/socket-way:/tmp/socket-l5 l5h
. This way I can use the ssh session to debug and get Tangrams window on my desktop - so I thought…Starting Tangram from cli I got these messages:
The last part about Invalid byte sequence appeared when I tried to enter an URL. Looking for information about the messages I stumbled over this flatpak issue describing a problem with flatpaks dependencies when the locales of the system are set to different values for e.g.
LANG
andLC_NUMERIC
like on my #Librem5.When doing debugging, sharing error messages or screenshots with others I mostly need english language, but I wanted my local notations for date, numbers and time. So I'm using:
As I understood this triggers the issue. To check whether this applies to my flatpak environment and the Tangram flatpak and its dependencies I did the following:
There again is an error saying that the locale cannot be found. Following the description in the flatpak issue I looked at the config
and only found a default for
en
. I added the languages I generally want to use and might have set via environment and checked whether the setting had been saved:This didn't change anything, yet and I ran an update that downloaded further components for my Locale packages:
Repeating the check from above I found the error about the missing file or directory gone:
Running Tangram again didn't show the error message anymore…
but when I entered the URL I got these messages in exchange:
Poking a bit more around gave me the strong feeling that this might be an issue that Tangram or parts of it (webkitgtk?) do not find my display forwared through waypipe, so I tried on my Librem5s display and found Tangram working as expected.
What next
In Phoshs application menu Tangram does not show as mobile friendly which it should. I proposed a change of the desktop file to include the setting
X-Purism-FormFactor=Workstation;Mobile;
.If you do not want to wait for this to happen you can copy
.local/share/flatpak/exports/share/applications/re.sonny.Tangram.desktop
to.local/share/applications/
in your home directory and then edit.local/share/applications/re.sonny.Tangram.desktop
to include that setting.I couldn't resolve the issue about running Tangram over waypipe, so I opened an issue. I guess it's not important that this works, but the root reason for the problem might surface in a different situation as well, so maybe the developer will help me to look into it further.
One thing that I miss in Tangram is an integration for an external password store. I already asked for it and made some suggestions how it could be done.
If you like the project you can support the developer @sonny@floss.social through kofi, too.