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 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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.