12

I have installed CentOS 7 which uses gnome classic, and am finding the hot corner extremely painfully annoying.

How do I remove/disable it?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
oshirowanen
  • 2,571
  • 15
  • 46
  • 66

3 Answers3

14

Install the extension No Topleft Hot Corner.

You can do this from your browser, visiting https://extensions.gnome.org/ . You'll need to allow the appropriate plugin to run (on Firefox, it's the plugin Gnome Shell Integration).

dr_
  • 28,763
  • 21
  • 89
  • 133
  • 1
    I get a message saying We cannot detect a running copy of GNOME on this system. – oshirowanen Apr 16 '15 at 09:24
  • If you are using Firefox, you need to install first the plugin Gnome Shell Integration. This will allow you to install, enable, and disable Gnome extensions directly from Firefox. – dr_ Apr 16 '15 at 09:44
  • I can't install that plugin because CentOS 7 has an old version of firefox. – oshirowanen Apr 16 '15 at 10:15
  • Then you should update Firefox. This is also important to fix security vulnerabilities in previous versions of the browser. – dr_ Apr 16 '15 at 10:26
  • 1
    I too received the "cannot detect a running copy of GNOME..." message. But when I clicked the "Allow" button and reloaded the page, the error message was gone and I could turn on the extension. And my nightmare, finally, was at an end. – Chris Jenks Jul 17 '16 at 22:41
5

It's insane that you need to install an extension just to disable such an annoying "feature". But at least, you don't really need to go the even crazier route of first installing a browser extension, as was apparently the case in 2015.

This should work:

sudo yum -y install gnome-shell-extension-no-hot-corner

Then use the Gnome Tweak Tool to enable the "No topleft hot corner" extension.

mivk
  • 3,446
  • 29
  • 31
0

Use this awk 'one-liner':

awk '/this._corner = new Clutter.Rectangle/,/ });/ { sub(/reactive: true/, "reactive: false");} { print }' /usr/share/gnome-shell/js/ui/layout.js > /usr/share/gnome-shell/js/ui/layout.js.tmp;
mv /usr/share/gnome-shell/js/ui/layout.js /usr/share/gnome-shell/js/ui/layout.js.orig
mv /usr/share/gnome-shell/js/ui/layout.js.tmp /usr/share/gnome-shell/js/ui/layout.js

Source:

Gnome3: Disable Hot Corners | IT From All Angles
(Archived copy by Wayback Machine on 2015 September)

toxefa
  • 1,093
  • 1
  • 10
  • 25
  • 5
    As of `gnome-shell 3.12` all the js and css files are wrapped up in resources and included in the gnome-shell binary (`/usr/lib64/gnome-shell/libgnome-shell.so`) so this won't work for newer versions of gnome-shell. – don_crissti Apr 16 '15 at 22:52