This is a software to use the usb panic button by GADGETREE on linux.
Url panic button product URL : http://www.thesource.ca/estore/product.aspx?language=en-CA&product=8003038&catalog=Online&tab=1
This appliation uses libusb-1.0 (sudo apt-get install libusb-1.0-0-dev on ubuntu)
# autoreconf --force --install
# ./configure
# make
# sudo make install
# sudo bash -c 'echo "SUBSYSTEM==usb, SYSFS{idVendor}==1d43, MODE=0666" > /etc/udev/rules.d/99-panicbutton.rules'
# sudo /etc/init.d/udev reload
The following example run the tests in IntelliJ IDEA when pressing the button
# sudo apt-get install xautomation
# panicbutton 'xte "keydown Shift_L" "keydown F10" "keyup F10" "keyup Shift_L"' &