THIS IS A MIRROR OR ARCHIVE. CLICK HERE TO GET TO THE OFFICIAL CATWITHCODE.MOE PAGE! IF YOU ARE ALREADY ON CATWITHCODE.MOE, IGNORE THIS. BLOCKING JAVASCRIPT IS COOL.

Ubuntu Touch - Daily driver - Season 2

This is """Season 2""" of me trying Ubuntu Touch. They made huge progress the last year and now have a fully stable release for the Fairphone 5 and I can confirm it is rock solid! So... I tried it again LOL. This is like an Update on what I had to change for my setup and how it is now compared to last time. The older entry about this are actually relatively outdated since they switched to 24.04 and snap and stuff are now forced on the user in libertine by Canonical (Not Ubuntu Touch Team).

If I don't mention stuff like Jellyfin e.g. again in this entry, the fix/workaround/how to use is still the same as last time (I try to make sure to mention everything that changed and mark outdated stuff outdated compared to this entry at the time of writing/last updating).

So, to get if you want to get the full picture, I linked all my last experiments with Linux on phones in the Source section and the last time Ubuntu Touch below too:

Fairphone 5 - Ubuntu Touch "Season 1"

Changes regarding what works and what dose not:

Last time on Ubuntu Touch I made a list what works and what not. This time I did not find anything that did not work. Everything works as excepted for Ubuntu Touch. Stable and VOLTE and 5G worked too! No more problems here. Even the MEGA JANK Clicks keyboard dose not cause any USB 3.0/2.0 connection issues, unlike PostmarkedOS and even sometimes Android.


Firefox in Libertine:

The way how you install Firefox changed. Snap and Ubuntu... it would also run but more overhead is the last thing you want with Libertine.


Signal:

Here A LOT changed. Snaps are broken, as usual, libertine """works""" now (without creating a container-zombie made out of 2 repository) but barely and native there is still no options.

THE BIG CHANGE: Since I last checked in, people found ways to "force" apps with there dependency's into clicks and make them actually work! From what I saw, they are building applications with their dependency's statically in the finished build (folder), then with some supporting scripts and QML hacks integrate a "translation" of wayland, x11 and XDG stuff to the Ubuntu Touch implementation and then package it. The result? CRAZY. Still not hardware accelerated BUT as soon as Mir 2.x is implemented all wayland features needed for modern apps are available and they (probably) run better then ever. From what I saw the main forces were "ChromiumOS-Guy" with "uWolf (Alpha Build)", "Shapa Noob" with "Chromium for UT", the team "tuxecure" behind "crackle" and "pparent76" with "SignalUT".

It is still far from just "build program and package it with generic scripts" but as soon as most stuff is known and documented this COULD be build to just force more stuff onto Ubuntu Touch and make it near as good as PostmarkedOS without being just a PC-OS on a phone!

Getting a functional browser was possible some time now with Firefox (And became a little more complicated again, thanks to snap in 24.XX in libertine and the need to forcefully overwrite that APT overwrite with the official Mozilla repository's), some tweaks and libertine, but a ACTUALLY fully functional Signal with (near) full integration into the Limori interface of Ubuntu Touch makes the switch IMO. so much more viable!

I grabbed myself the source code, checked out how it works and build it to see how well it works and I can say, it works VERY well. Many quirks someone needs to know, like closing chats with "CONTROL+SHIFT+C" to safe battery life, lowering the volume because it will use both speakers and so on, are still neded but it is FAR better! Stuff like no "ear-speaker only"-mode is still annoying but FAR F-A-R from a deal breaker.

To finish this section, if you need and want signal, spin-up waydroid, install Signal, grab a other camera device and log yourself into SignalUT by making picture of the QR-Code and then scanning it as fast as you can in waydroid Signal app directly after. Build it yourself, fix stuff and help improve it!


Clicks-Keyboard Layout - Sticky-Key Issue:

A truly only me issue. Clicks keyboard has a different layout then actual keyboard layouts. Meaning if you press (123)+B you get a "!". Lomiri/Wayland/Mir can interpret that correctly. xWayland (Firefox/Signal/...) thinks you never stooped pressing the "1" key, that is the key that has the symbol "!" on normal keyboards in English.

This can be workaround by adding copying the desktop file of the issue having app (SignalUT in the .local home folder or in the libretina container local folder under .cache on the host) and wrapping it in a sh command and truing repeat key of:

sh -c "xset r off; ORIGINAL COMMAND HERE"


24h/C° with English language:

Well... no joke, there is not an option to change this... The only workaround is setting the language to "English (Australia)". Somehow this is just how it is... .


Cloud Music/Navidrome:

If you use Navidrome or Cloud provider you have not many options. I do not use any non-self-hosted cloud provider because I want to buy and supoort art, and so should you, but self-hosting I do and so do many. Navidrome is the most popular option. THEORETICALLY Jellyfin and even Nextcloud have a Subsonic-API too. I will use Navidrome.

And for anyone using the non-self-hosted stuff, use Morph Browser (Qt6 Beta) and the website you use. All of them offer a web-version.
Normal Morph Browser is too outdated, Firefox will drain your battery and Store-Web-Apps... forget them LOL. All of them use the Morph Browser internally because this is how Ubuntu Touch dose Web-Apps and it will not work with most provider.

Navidrome, like many actively maintained self-hosted platforms, has a simple and fast Web-GUI and that makes it possible to make a simple Web-App of it with Webber and use the normal Morph Browser for it. Morph Browser is (mostly) modern enough to do that. Just open Navidrome in Morph Browser and log-in. Then on the "Start-Page" you want to have share the Web-Page with Webber. Important is here to set the Browser Identifier to "Mobile" and in the Permissions enable "Export file to other apps".

Now you need to open "UT Tweaker Tool", open the menu and select "Apps + Scopes" and find Navidrome. Then enable "Prevent app suspension".

This gives you decent Online player but offline or caching is not available this way. BUT you can use the download option in Navidrome and download a song or album. Then when it is finished view it with the Popup the browser shows and select it and export it to your Music folder. For anything more then a single song you must open the Music folder and extract it by selecting the zip. That"s it. Now you can listing to your music from the Ubuntu Touch Music App.

This is jank, inconvenient and annoying BUT better then nothing. I tried packaging a few Web-App's for Navidrome that has caching build in BUT it either did not like Morph Browser or had issues accessing the Network. There is also UBSonic in the store. It looks cool but is a little buggy and makes this setup only more complicated. Also: For some reason UBSonic sound REALLY BAD on my device for no reason. Probably a bug on my end.


New useful stuff I learned:


WIP

I'm still testing it and more will come soon. :)



Sources: