iwgtk
iwgtk copied to clipboard
add button to restart iwd service
Noticed that sometimes when my laptop goes to sleep and wakes up it can't connect from iwgtk or even from the termainal. On/Off the devices doesn't work. Need to restart the iwd service. Would it be possible to add a button to restart iwd service?
This feature would be messy to implement for two reasons:
- It requires root privileges.
- Different mechanisms are needed for different init systems.
So in practice, this feature would probably be systemd-specific, and would only work when iwgtk is run with root privileges. But because iwgtk is generally meant to be run without root privileges, my stance is that restarting the daemon is outside of our scope.
This workaround might possibly resolve your issue with iwd: https://wiki.archlinux.org/title/Iwd#Restarting_iwd.service_after_boot