Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to link a button(now without function) to a script that I have made. I'm using a notebook with several extra buttons

This button however is like the power on button, it stands by itself and is not part of my keyboard.

I don't get any output of xev, getscancodes or cat /dev/input/eventX when pressing this button.

How can I use this button to run the script?

Many thanks Simon

share|improve this question
    
More information, please. –  Matt Ball Apr 19 '11 at 21:29
    
Notebook? Vendor? What language do you use? –  halfdan Apr 19 '11 at 21:30
    
I'm using a clevo notebook W150HNM is there something else in particular you need to know? –  Simon Deruyter Apr 19 '11 at 21:39
add comment

migrated from stackoverflow.com Apr 20 '11 at 14:44

This question came from our site for professional and enthusiast programmers.

1 Answer

This topic is discussed in these two questions:

  1. key bindings - link key to a bash script
  2. Bind key to a bash script
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.