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:






I have also tried replacing the 1 in psk-flags=1 with the actual password for the wifi network.


Connect to network with secret on boot

By default, NetworkManager will not connect to networks requiring a secret automatically on boot. This is because it locks such connections to the user who makes it by default, only connecting after they have logged in. To change this, do the following:

  • Right click on the nm-applet icon in your panel and select Edit Connections and open the Wireless tab
  • Select the connection you want to work with and click the Edit button

  • Check the boxes “Connect Automatically” and “Available to all users”

  • Log out and log back in to complete.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.