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?

link|improve this question

feedback

1 Answer

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)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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