Super User is a question and answer site for computer enthusiasts and power users. 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 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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .