Installing GRUB Customizer on Neon - distribution template for Neon/noble

Hi Everyone,

Apologies if this is the wrong section, I’ve been beating my head trying to install Grub Customizer on Neon but I keep running into issues, I dare not try to compile it manually as on the official landing page guide as I am not too experienced with Linux and would rather not break something - furthermore this issue seems to expand futher than just GRUB customizer.

The issue is that I can’t add an apt respoitory, I try to run

sudo add-apt-repository ppa:danielrichter2007/grub-customizer

yet I get the following error:

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 451, in <module>
    addaptrepo = AddAptRepository()
                 ^^^^^^^^^^^^^^^^^^
  File "/usr/bin/add-apt-repository", line 38, in __init__
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
    raise NoDistroTemplateException(
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Neon/noble

I tried editing the /etc/*-release file but no matter what i changed it to didn’t seem to fix it, perhaps I’m doing it wrong, could anyone guide me in the right direction?

Thanks in advance :slight_smile:

Update: Finally managed to come to a solution, as KDE Neon is based on Ubuntu Noble 24.04, this was the solution.

Using the partial guide from the lauchpad which you can lookup as I can’t include a link.

Edit the APT sources list to include the PPA:
sudo nano /etc/apt/sources.list.d/grub-customizer.list

Add the following lines to the file:

deb https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu noble main
deb-src https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu noble main

Import the PPA signing key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EDB2B9AEE0757D787DFFC2014BEBC7363BDC51E

Update cache as usual and install using apt

1 Like