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 want to assign a special command to be executed when I press the F15 keyboard on a MAC keyboard under Ubuntu. This is the key on top of the PgUp key on the aluminium keyboard for Macs. I use that keyboard with Linux and I love it. In this case, I would like the F15 key to suspend the PC. The command for this is:

pmi action suspend
share|improve this question

Goto Keyboard

Select Shorcuts > Custom shortcuts

Select the Plus button

Name your shortcut and type the command and apply

It will appear in the custom shortcut section click on the item on top of the disabled text Then it will change to New shortcut Press F15 You will get the new shortcut :)

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.