On Sat, Jul 13, 2013 at 09:20:38PM -0400, Raphael Cervantes wrote: > Hi guys, > I want to have fn+F11 toggle my wifi on and off. I think I should set a > shortcut in my rc.lua file so that fn+F11 does rfkill block wifi when wifi > is on and rfkill unblock wifi when it's off. How can I do that? Is there a > better way to do this besides rfkill. I need sudo permissions to run rfkill > in a terminal. > > -Raphael
Hi Raphael, I can toggle my wifi with my Fn+F9 as shown on the keyboard without any settings. If you can't, you can try if acpi_listen reports something when you press that key combination, and you can let acpid handle that (so you don't need sudo). You can get more details here: https://wiki.archlinux.org/index.php/ACPI_hotkey -- Best regards, lilydjwg -- To unsubscribe, send mail to [email protected].
