Hey fellow Garuda users
We decided to make some changes regarding
garuda-common-settings. This will be part of some upcoming changes which will improve the user experience and gets rid of some old technical debts. This may require manual intervention. Lets have a look at what exactly changes when updating to version
Systemd-swapwill be replaced with zram-generator. This is the new, recommended way to setup ZRAM space automatically.
System-swapprovides some additional functionality (eg. setting up swap file automtatically) which isnt used in Garuda however. We just use ZRAM which makes
zram-generatorthe perfect fit for our use case. Another reason for the change is that zram-generator is still being actively developed.
nohangwill be replaced with
systemd-oomd: This step has been taken as
systemd-oomdis part of Systemd already with much better integration with the system. -> This has been reverted, users reported it does not work as efficient as nohang.
irqbalancebecome optional dependencies. The reasoning behind this change is that those applications might not be suitable for every installation.
Uresourcedfor example has close to 0 use an a single-user system as it allocates more ressources to the current graphical user. This will make these applications orphans which need to be removed manually. We might add a graphical way to install these if needed at a later date.
So, in order to complete the update we will have to do the following:
- Press yes to the
systemd-swapremoval (to make sure not two applications are setting up ZRAM)
- Remove the resulting orphans after the update. This can be done by using the Garuda Assistant if you prefer the GUI way or by running the command directly:
sudo pacman -Rns (pacman -Qtdq)
- Reboot in order to use
zram-generatorfor setting up ZRAM
Also note that we now provide a command called update which takes care of updating the keyrings before running the actual system update & some post update operations such as updating the mlocate index (if installed). This basically replaces the already known
upd alias and helps the
unknown key issues which happen when the system gets updated before the keyring package. It will also detect if Yay or Paru are installed and then select the fitting application to update the system (in case of Yay or Paru being installed this also updates AUR applications).
If you think that there are other useful commands to run on system update for specific use cases, let us know