14

wlan button shouldn't kill wlan

view full story
linux-howto

https://bbs.archlinux.org – Hey guys,im running Arch on my Lenovo X220i. And i was just about to reconfigure my Fn+X keys, and came across a little problem. There is an hardware switch for the wlan (also switch bluetooth), and a software key Fn+F5. Since i use bluetooth nearly never, i want to switch the bluetooth only with the software key. When pressing this key, there is an acpi event "button/wlan WLAN" that i handle within the `/etc/acpi/handler.sh` script und using `rfkill` i block or unblock the device and start/stop the bluetooth daemon. And this workes fine. But every time i press the key, it also disab (HowTos)