Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to link a button (now without function) to a bash script that I have made on UBUNTU. I'm using a clevo W150HNM/Sager NP5160

I want to use 1 or 4 for this(see photo on I don't get any output of xev, getscancodes or cat /dev/input/eventX when pressing this key.

How can I use this key to run the script?

Many thanks Simon

share|improve this question
crossposting: I vote to close this one, since the discussion already started on U&L – user unknown Apr 20 '11 at 12:48
If xev doesn't give any output, it might mean that it's interpreted specially in hardware and must be read by something other than keyboard tools. – Scott Severance Apr 20 '11 at 13:00

If the button works in Keyboard Shortcuts, then you can assign the button to your shortcut.

(Keyboard Shortcuts is in System->Preferences).

share|improve this answer

Your Answer


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