Tag Archives: ubuntu

Installing Chirp in Ubuntu 20.04

If you have been using the PPA to get the Chirp dailies, you will quickly find out that this no longer works in Ubuntu 20.04 Focal.

Python 2 is getting phased out and whatever is running the GUI for Chirp has been phased out completely. This makes getting Chirp to run a little more difficult than before. There are a few options:

  1. Wait until the python 3 version of Chirp is finished (NOT!)
  2. Install via the Snap: This gives a warning against doing so
  3. Install via flatpak: WINNAR!

A Flatpak is a self contained package that includes all necessary libraries. Similar to a Snap, but this uses a package directly from the author. I like the flatpak option because I don’t need to manually install a bunch of deprecated libs or add some PPA that wasn’t even meant for Ubuntu.

First thing you need to do is download the latest .flatpak file from here:


Rest of the works is from the terminal.

First, install Flatpak:

$ sudo apt install flatpak

The other howtos seem to have missed this next step. You need to use flatpak to install the “freedesktop” platform. First update flatpak and your paths.

$ flatpak update -v

This will give you a warning about paths, something like:

Note that the directories


are not in the search path set by the XDG_DATA_DIRS environment variable, so applications installed by Flatpak may not appear on your desktop until the session is restarted.

Since we now have to log out anyway, now might be a good time to make sure you are in the dialout group.

Use  the groups command to list your active groups. If the group “dialout” does not appear, add yourself to the group (replace [username] with your username):

$ sudo usermod -aG dialout [username]

Now restart your session (or computer) and return to the terminal.

~$ flatpak update -v
Looking for updates…
Nothing to do.

Don’t worry about installation directory warnings if you haven’t installed anything yet. Those will be created later. Important is that we got rid of the path warning. Moving on….

Now you need to get the Freedesktop repository installed:

$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

and then install the Freedesktop Platform:

$ flatpak install flathub org.freedesktop.Platform//19.08

This might take a while its a big (~0.5Gb) download. Grab some coffee and make some QSO’s….. Maybe check out my club’s website: http://w6ek.org

Finally we can install Chirp!  (replace .flatpack filename with your downloaded version)

$ flatpak install Downloads/chirp-daily-20201014.flatpak

You’re done! You can run chirp from your applications menu or from the command like like this:

$ flatpak run com.danplanet.chirp

If you found this article helpful, please support me by subscribing to my YouTube channel! https://youtube.com/piratesinteepees

73 – KK6VHH

Boot Partition in Ubuntu Keeps Running out of Space After Upgrade to 18.04

After I upgraded to the latest LTS from Ubutnu, namely 18.04, I was finding I could never have more than two kernels installed at a time. /boot kept running out of space and updates would fail. Running sudo apt autoremove && sudo apt autoclean would resolve the issue until the next upgrade. This was tolerable until I needed to install both a generic and a low-latency kernel.

Looking at my df output it almost seemed as if the upgrade swapped my efi and boot partitions. My efi partition was 500MB and my boot partition only 250MB! The solution I found was to resize the partitions to make the efi partition 100MB and the boot partition 650MB. This process wasn’t as easy or smooth as I initially thought, so I figured I would document what it took to make it work.

Step 1 – Boot a Live USB

First thing you need is to have a liveUSB from ubuntu that you can boot into:

Create a Bootable USB Drive in Ubuntu

Boot into this drive, selecting “Try Ubuntu Without Installing”

Step 2 – Resize the Drives

After Ubuntu boots, open a terminal and type sudo gparted. In gparted, resize your efi drive to 100MB first, then resize your boot partition into the remaining space. Make sure no flags are set for the boot partition and the boot,esp flags are set for the EFI partition.

When you resize the EFI System Partition, it will change to fat16. This needs to be reformatted back to fat32 to work. Once this is done right click on efi partition, and select New UUID. Once this is done apply all settings and quit gparted.

Step 3 – Install and Run Boot Repair

Now you need to install and run boot repair from withing the live USB environment.

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Once boot repair loads, click the recommended repair button and follow onscreen instructions.

Once you are done, reboot!