2011/6/26 Ignas Anikevicius <anikevic...@gmail.com>: > Hi guys, > > I wanted to ask how to check what scripts/events are started when I > press a key? I have some automagical stuff happening when I press Fn+F5 > (I have a Thinkpad x200s). To be more precise, my Wifi card is switched > off and on and I want to know what is causing this and turn it off. >
You don't need a script for this. If you have the rfkill-input kernel module or the thinkpad-acpi module they hook into the hotkeys and drive rfkill to enable/disable radios. Best regards, Maciej Grela