7

I want to disable the Super key, when I press Super nothing should happen.

I want to retain other shortcuts such as Super+Left though.

How can I do that?

(Same question from 2012, none of the solutions work in 18.04, accepted answer included)
(Same question from 2012, but the accepted answer does not work)

muru
  • 197,895
  • 55
  • 485
  • 740
Nicolas Raoul
  • 11,603
  • I'm assuming that you're actually using GNOME Shell, not Unity, otherwise the Unity answers would have worked. – muru May 18 '18 at 07:37
  • @muru: The accepted answer at that URL does not work on 18.04, plus the UI is totally different now so the instructions are impossible to follow. – Nicolas Raoul May 18 '18 at 08:27
  • So? It has two more answers, both far more new. – muru May 18 '18 at 08:28
  • @muru I remember a meta saying that if the accepted answer is outdated and false, then asking the same question for a new release is OK. I will try to find that meta page. – Nicolas Raoul May 18 '18 at 08:31
  • 1
    Sure, go ahead. But remember what accepting is: it's only an indication that the answer helped OP. It doesn't say anything about validity of the other answers, especially when the OP is no longer active. That the accepted answer may no longer work is no reason to ignore other answers. That is also why we're allowed to post answers long after an answer has been updated. – muru May 18 '18 at 08:33

1 Answers1

19

I used on ubuntu 18.04

gsettings set org.gnome.mutter overlay-key 'Alt_R'

to deactivate super, and it retain shortcuts too.

Choutzi
  • 326