I am running Manjaro KDE and have recently installed i3 to be used as my WM alongside KDE as my DE, instead of KWin. I have got everything working fine with this unorthodox combination of DE and WM except for the one problem in the title of this post.
Initially when I first launched i3 as my WM, I still had the KDE Plasma taskbar/panel on the desktop with a NetworkManager widget in the panel. This widget would automatically connect to any available and known wifi networks when the Xsession was launched at login. I have since removed this Plasma taksbar/panel in favour of my own customised Polybar taskbar.
Since doing so, this automatic connection to wifi is no longer occurring. Instead, I have to open up KDE's System Settings and then as soon as I open the "Connections" menu, a connection to any available, known wifi network is made without me doing anything. It seems as though Network Manager doesn't search for any wifi networks at login, and only does so when I open the Network Manager client within KDE's System Settings.
My i3 config contains exec --no-startup-id nm-applet
and running systemctl status NetworkManager
as soon as I login shows that the service is active.
Within the "Connections" menu in KDE's System Settings I have ensured that both "Automatically connect to this network when it is available" and "All users may connect to this network" are checked.
/etc/NetworkManager/system-connections/Attic
looks like this:
[connection]
id=Attic
uuid=73576093-0772-4e0c-bb7d-698dee3cd091
type=wifi
permissions=
[wifi]
mac-address=9C:B6:D0:DC:68:7D
mac-address-blacklist=
mode=infrastructure
ssid=Attic
[wifi-security]
key-mgmt=wpa-psk
psk-flags=1
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
I have also tried replacing the 1
in psk-flags=1
with the actual password for the wifi network.