Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

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.

2 Answers

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

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:

http://askubuntu.com/questions/20113/how-to-stop-mod4-p-from-switching-the-display/20273#20273

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

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