If not wanting to hassle with keyrings, wifi connection can be connected via command line also.
1. Check available connections
nmcli dev status
2. Connect Wifi (en example wlan0)
nmcli device connect wlan0 --ask
You need give the wpa2 password when asking