-
Notifications
You must be signed in to change notification settings - Fork 72
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
bluetoothctl crashes sway WM #141
Comments
Hmm, that's an odd failure! Sorry you were having issues! It appears you basically want to skip all of the blutoothctl commands to prevent the crash? Did you have bluetoothctl intsalled when it crashed? Is rfkill present on your system? When you say sway crashed, what do you mean? Did it freeze? Go back to the login screen? Restart? |
Yes, exactly!
Yes bluetoothctl is installed when it crashes.
Yes rfkill is also present, i use it now to switch Bluetooth on and off through networkmanager-dmenu and it works fine.
I am back at the login screen of sway when it crashes. I just double-checked all your Bluetooth commands form terminal. Really clueless why this happens, so the only option for me is to disable the bluetoothctl part and only use rfkill. |
Sorry, I am unable to replicate this at all! Without any reports from other users, we might have to chalk this up to something odd about your particular system. You could try running the commands using Popen from the python REPL and see if you can trigger the crash. |
Hey there,
i am a huge fan of networkmanger-dmenu and was very disappointed that it crashed my sway WM while not being called from a terminal (calling it through rofi or keyboard shortcuts).
If i call it from a terminal all is fine.
I am on Manjaro Sway.
I could track this down to your code around bluetoothctl.
No clue why this happens.
There is nothing special in the logs, sway just crashes.
But i made some changes to be able to choose between rfkill or bluetoothctl via the config.ini like
[bluetooth]
#rfkill or bluetoothctl (Default: rfkill)
helper = rfkill
Not sure if you like this, but leave it here for reference, maybe it helps someone else.
networkmanager_dmenu_patch.txt
Keep up the good work,
Best,
Jules
The text was updated successfully, but these errors were encountered: