Packaging a Python application for ArchLinux/Manjaro Linux

In a previous howto I showed how to build a .deb installer file for a Python program. This would work for the majority of systems with Debian/Ubuntu/Linux Mint etc. However there are many users on Arch Linux or Manjaro, which do not take this .deb installer file. Some Linux computers such as the popular (and currently out of stock 🙁 ) Pinebook laptop, and Pinephone come with Manjaro Linux, which takes Arch packages. Thankfully there is an easy way to add a package to the AUR for these Arch-based devices.

Continue reading “Packaging a Python application for ArchLinux/Manjaro Linux”

Optimizing a Python program with profiling data

If you have been maintaining a Python program that has been growing for some time with new features you may notice at some point it can get a bit lagging and slow. For example, the app that is powered by hearham.com repeaters listing has grown from thousands of repeaters to now over 10,000 repeaters in the listing shown in the app. This hung things up especially on devices like Raspberry Pi or Librem phone while starting up the app.

Continue reading “Optimizing a Python program with profiling data”

Snap Store and Flatpak – missing “app stores” for Librem 5 Phone?

As you may have noticed, the Librem phone and other Linux phones don’t always have the same apps you may be looking for for iOS and Android, with few available within the built in store. While you must check with developers and encourage them to build their apps for Librem phone, there are a number of these that can be installed already from Flathub/Snap store:

Continue reading “Snap Store and Flatpak – missing “app stores” for Librem 5 Phone?”

Re-flashing the Librem Phone with Byzantium

If you just received a Librem 5 you probably have the latest software – including the new software that has a (mostly) working photos app, gps and a basic maps app! Development has continued on these devices but if you have one of the previous preorders you probably have been waiting on new updates and only getting a few standard package updates and no new apps 🙁

If you want to upgrade the phone in this case you need to re-flash it and wipe it with the newer version. Note this deletes everything and starts anew!

Their instructions here should be fine for some, but only if you have a very very new Ubuntu based system. If you have an older one such as Ubuntu 20.04 then you can get set up as shown below.

Continue reading “Re-flashing the Librem Phone with Byzantium”

GTK Choice box with Glade and Python

There may be times you have a simple choice or listing in a GTK list box – for this example, in choosing a serial connection or other device. Glade is a good way to build an application window easily with an interface to build in to your app on Linux desktop, Ubuntu or Librem phone or other Linux based phones. I was able to use this to create a Winlink user interface for the previous tutorial to call up the Pat interface.

Continue reading “GTK Choice box with Glade and Python”