2016-02-20

Is there any way to tell Ubuntu that when Key $X is pressed on the *external* keyboard, do Action $Y?

I have a Bluetooth "selfie" dongle - the AB Shutter 3.

I can pair the dongle to my Ubuntu laptop. When I press the button, it sends the Volume Up command (key 123).

I don't want do change the behaviour of my laptop's volume up key.

Some things I found which didn't work:

I don't want to change the language of the external keyboard using setxkbmap.

Using xkb seems to remap keys on all keyboards.

xinput can remap mouse buttons but not keyboard keys.

Any ideas? Ubuntu 14.04.4 LTS. Thanks.

Show more