30

When I type Ctrl+Alt+s on a window, the body of the window rolls up. How can I disable this shortcut, that I want to use for another purpose in my emacs configuration?

Jorge Castro
  • 71,754
719016
  • 6,217

4 Answers4

22

You can change it in System Settings → Keyboards → Shortcuts → Windows.

David Foerster
  • 36,264
  • 56
  • 94
  • 147
Blackhole
  • 320
9

It works in Ubuntu 13.04 and 14.04 LTS.

Go to System-settings -> Keyboard (menu) -> Shortcuts (button) -> Windows (tab) and then select Toggle-shaded-state and press backspace to disable it, and close the window.

Vadorequest
  • 117
  • 1
  • 1
  • 7
  • 4
    This cannot be reporduced in 18.04. I get System-settings -> Devices -> Keyboard -> Keyboard Shortcuts

    In the Keybaoard Shortcuts page are various sections, one of which is Windows... and while there are options like "Resize Window", "Toggle maximization state", etc... there is no "Toggle shaded state."

    This is frustrating because I'm trying to use Intellij-Idea which has Ctrl-Alt-S hardcoded as the shortcut to its Settings...

    Instead, I get cyclic "adjust window size" action of Ubuntu.

    – TheGeeko61 Jul 27 '18 at 21:36
  • 3
    For ubuntu 18.04 use dconf reset /org/gnome/desktop/wm/keybindings/toggle-shaded to disable ctrl+alt+s. BTW I am not able to post this as answer cause of my low reputation... – user1185087 Feb 22 '19 at 16:59
  • 1
    @user1185087 your advice helped! You've got >100 rep, maybe now you could post it as a new answer? – Robert K. Bell Jun 09 '20 at 00:57
  • 1
    @RobertK.Bell 101 rep seams not enough to add an answer :( – user1185087 Jul 08 '20 at 17:52
1

When You're using Compiz, then goto CompizConfig Settings Manager -> General -> General Options -> Key Bindings -> Toggle Window Shaded -> Edit -> empty the shortcut s.

0

In 18.04, I used dconf-editor to change /org/gnome/desktop/wm/keybindings/toggle-shaded from ['<Control><Alt>s'] to ['<Control><Shift><Alt>s'] so that emacs will get my regex search keystroke, but I can still (will I ever?) rollup the window shade.

c.f. ctrl + alt + S on ubuntu 18.04 triggers a screen size toggle but is not listed in keyboard settings