Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to bind Ctrl+Shift+W to something in emacs under Ubuntu. Nothing happens when I press that key combination. When I call describe-key on that key combination, nothing happens.

Is Ubuntu intercepting that key combination?


I'm running emacs in graphical mode under the default Ubuntu UI (whatever that is). If I type C-S-q or C-S-s they work fine, but when I hit C-S-w, emacs behaves as if nothing happened.

Is there a way to see if the window manager is intercepting the key press?

share|improve this question
I can rebind C-S-w on ubuntu 11.10 – kindahero Apr 13 '12 at 4:16
My Ubuntu 10.04, GNU Emacs 23.1.1 ... C-S-w rebinds fine – Peter.O Apr 13 '12 at 8:45
We need more information to help you, give us some code. – Daimrod Apr 13 '12 at 9:51
Just upgraded to 11.10 from 11.04, and this still works for me using Emacs built from source. Perhaps you have some kind of hotkey defined in your desktop software that is intercepting that keypress. – Fran May 7 '12 at 14:33
If describe key can't see it, that's because it's not passed along by something, most likely the window manager. See in your window-manager settings (Gnome ?), usually if it's defined for something, running programs won't see it. – Nikana Reklawyks Nov 15 '12 at 19:45

2 Answers 2

According to this page, Shift can't be bound in terminals, only via GUI.

share|improve this answer

Start another X server on a different console, with emacs as the main process:

startx emacs

Now you have no window manager, and can determine whether C-S-w makes it through to emacs.

That's the first stage in tracking down the problem. If the problem is Emacs itself, then look first at function-key-map; if it's the window manager, then ps -fHu$USER (in your main X session) to find out which window manager you've been given.

share|improve this answer

Your Answer


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.