Disable Shift Cmd Q for logout I would like to disable  Shift+Command+Q keyboard shortcut for Log Out. 

I am using Karabiner at the moment, but I only managed to disable it completely using the following xml:

&lt;?xml version="1.0"?&gt;
&lt;root&gt;
    &lt;item&gt;
        &lt;name&gt;Disable COMMAND SHIFT Q for Logout&lt;/name&gt;
        &lt;identifier&gt;disable_CMD_SHIFT_Q_private&lt;/identifier&gt;
        &lt;autogen&gt;__KeyToKey__ KeyCode::Q, VK_SHIFT | VK_COMMAND | ModifierFlag::NONE, KeyCode::VK_NONE&lt;/autogen&gt;
    &lt;/item&gt;
&lt;/root&gt;


but I would like to have the keyboard combination available in emacs (in ESS for debugging).

Is there some way that I can effectively unmap the keyboard combination?
The following works for me on 10.9.5:


System Preferences > Keyboard > Shortcuts > App Shortcuts.
'+' to add a shortcut
Application: All Applications
Menu Title: Log Out [Your Name]…  Here, copy the exact text shown in the Apple menu, replacing [Your Name], and note that the ellipsis … must be typed with alt-;
Keyboard Shortcut: ctrl-shift-cmd-Q (or whatever you prefer: something different to shift-cmd-Q)
Log out and in again.
Note that the keyboard shortcut has changed in the Apple menu, and shift-cmd-Q no longer triggers the menu.