Skip to main content

Posts

Showing posts from November, 2025

Adding Tainted and Nonfree Repos to DNF for Mageia9

  Distros change and evolve over time and Mageia is no exception with the transition from urpmi to DNF for package management. We install many packages from the tainted and nonfree repositories, but DNF does not install these repositories by default, so they must be installed manually. Fortunately, the Mageia Wiki tells us how to do that. As root : # dnf config-manager --set-enabled mageia-x86_64-nonfree updates-x86_64-nonfree # dnf config-manager --set-enabled mageia-x86_64-tainted updates-x86_64-tainted # dnf config-manager --set-enabled mageia-i586 updates-i586 # dnf config-manager --set-enabled mageia-i586-nonfree updates-i586-nonfree # dnf config-manager --set-enabled mageia-i586-tainted updates-i586-tainted The Mageia Wiki page lists some useful DNF commands if you are unfamiliar with DNF .

Mageia 9 and the Big Sleep

  Recently doing fresh installs of Mageia 9 on two machines, I noticed that they would frequently go into sleep mode. This is annoying. While sleep/suspend is useful, if not necessary, for laptops, it is most unwelcome behavior for desktops and servers. Some of the best Linux documentation is found at ArchWiki, and this instance was no exception. It seems that each sleep state can be disabled via an entry in  /etc/systemd/sleep.conf.d/disable-sleep.conf . That directory and file did not exist on either of my machines, so I created them and entered the following in  disable-sleep.conf : ## https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate [Sleep] AllowSuspend=no AllowHibernation=no AllowHybridSleep=no AllowSuspendThenHibernate=no Problem solved. RESOURCES man page for systemd.sleep.conf(5)