Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add button to restart iwd service #22

Open
prabirshrestha opened this issue Jan 2, 2022 · 2 comments
Open

add button to restart iwd service #22

prabirshrestha opened this issue Jan 2, 2022 · 2 comments

Comments

@prabirshrestha
Copy link

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?

@J-Lentz
Copy link
Owner

J-Lentz commented Jan 3, 2022

This feature would be messy to implement for two reasons:

  1. It requires root privileges.
  2. 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.

@J-Lentz
Copy link
Owner

J-Lentz commented Jan 3, 2022

This workaround might possibly resolve your issue with iwd: https://wiki.archlinux.org/title/Iwd#Restarting_iwd.service_after_boot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants