Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I recently bought a new laptop, and I really don't like the positioning of the Delete key on its keyboard. Is there any way I can swap the Delete key with the Context Menu key, or just map both to Delete?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

This should swap them:

xmodmap -e 'keysym Delete = Menu' -e 'keysym Menu = Delete'

Put that line in whatever script is sourced by Ubuntu (or, rather, Gnome) when you log in. (I'm sure there is such a script, just not sure what it is - I'm a KDE user myself)

share|improve this answer

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.