Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 bind a key (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 button 1 or 4 for this. (see photo) I don't get any output from xev, getscancodes or cat /dev/input/eventX when pressing this key.

How can I use this key to run the script?

share|improve this question
crossposting: askubuntu.com/q/36098/10068 – user unknown Apr 20 '11 at 12:46

It is possible that some or all of those keys are bound directly in the BIOS and do not generate keycodes and thus will not be bindable. Particularly button 1 might not be reachable, but the other hotkey buttons are likely software readable.

You may need to load a special kernel module specific to that brand laptop or even that model that knows how to listen for and process those keys.

share|improve this answer

Your Answer


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