Ok I hold my hands up. I didn't read it properly.
Opened a can of worms for me. I was thinking "why is network manager being forced on users who aren't using it.
Checked my system and found I have networkmanager installed. I don't want it as I don't use it to manage my network (though do my screen apparently?). I hadn't even noticed it was installed
For me networkmanager-qt is the culprit
❯ pacman -Qi networkmanager-qt
Name : networkmanager-qt
Version : 5.98.0-1
Description : Qt wrapper for NetworkManager API
Architecture : x86_64
URL : https://community.kde.org/Frameworks
Licenses : LGPL
Groups : kf5
Provides : None
Depends On : networkmanager qt5-base
Optional Deps : None
Required By : plasma-nm plasma-vault powerdevil
Optional For : ksystemstats plasma-workspace
Conflicts With : None
Replaces : None
Installed Size : 3.66 MiB
Packager : Artix Build Bot <[email protected]>
Build Date : Mon 12 Sep 2022 11:27:46 BST
Install Date : Tue 13 Sep 2022 10:22:04 BST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
Required By : plasma-nm plasma-vault powerdevil
So I don't use any of those except powerdevil.
I need networkmanager installed to be able to switch off my screen after 10 minutes automatically. Seems perverse ?
Anyway I can and have (as an experiment) purged networkmanager by building and installing the following PKGBUILD
pkgname='myprovides'
pkgver=1
pkgrel=1
arch=(any)
provides=(networkmanager-qt)
Then removed networkmanager-qt and dependencies
❯ sudo pacman -Rns networkmanager-qt
checking dependencies...
:: firedragon optionally requires networkmanager: Location detection via available WiFi networks
:: firefox optionally requires networkmanager: Location detection via available WiFi networks
:: ksystemstats optionally requires networkmanager-qt: network usage monitor
:: libproxy optionally requires networkmanager: NetworkManager configuration module
:: plasma-workspace optionally requires networkmanager-qt: IP based geolocation
Packages (6) libndp-1.8-1 libnewt-0.52.21-8 libnm-1.40.0-1 libteam-1.31-5 networkmanager-1.40.0-1 networkmanager-qt-5.98.0-1
Total Removed Size: 31.41 MiB
:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/6) removing networkmanager-qt [##################################################] 100%
(2/6) removing networkmanager [##################################################] 100%
(3/6) removing libteam [##################################################] 100%
(4/6) removing libnm [##################################################] 100%
(5/6) removing libnewt [##################################################] 100%
(6/6) removing libndp [##################################################] 100%
:: Running post-transaction hooks...
(1/2) Reloading device manager configuration...
(2/2) Reloading system bus configuration...
* Reloading D-BUS messagebus config ... [ ok ]
Though the powerdevil applet does not work (as expected)
I'm going to look for another solution to that. If I can't find one I expect I'll end up with networkmanager again!
(Found already, powerdevil-light from the AUR)
Your solution will work but need repeating after the package updates, though you could add it to the ignored packages in /etc/pacman.conf
My solution is a hack and may be frowned upon ?