Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 use Ctrl-P very frequently to scroll backward in the command history, but I often mistype it as Mod4-P, which is bound to the switch display function.

I've searched around Keyboard shortcuts and CompizConfig, etc., but I couldn't find where Mod4-P is bound. What controls that?

share|improve this question

closed as too localized by Michael Mrozek Apr 28 '12 at 4:41

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

If you're using the default Ubuntu interface, this is the sort of question that Ask Ubuntu is more likely to answer. If you ask there, please hyperlink the questions to each other. – Gilles Jan 4 '11 at 21:29
Thank you, I have duplicate this question on askubuntu: askubuntu.com/questions/20113/… Please close this, thanks. – Xiè Jìléi Jan 5 '11 at 2:15
Closing since it was crossposted (sigh) – Michael Mrozek Apr 28 '12 at 4:41
up vote 1 down vote accepted

Since the same key has bugged me both in Windows (inconveniently switching out of games at the wrong time), and Linux, I have levered off the Keycap itself so I will never accidentally hit it. However, for a less extreme remedy, you should be able to use xmodmap - (oldish) man page http://manpages.ubuntu.com/manpages/hardy/man1/xmodmap.1.html

share|improve this answer
Damn! Both keys <kbd>Mod4</kbd> (which is mapped to <kbd>Win</kbd>) and <kbd>P</kbd> are so imporant, I CANT just lever them off! – Xiè Jìléi Jan 4 '11 at 16:41

I know it's the same questions (and person asking), but as I was looking for the same answer I thought that crosslinking to solution can be useful for other people:


share|improve this answer
It was already done. See the comment to the question. – Tshepang Feb 2 '11 at 16:41

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