105

GNOME shell has the so-called feature "hot corner", that opens the dashboard if the mouse touches the top-left corner of a monitor screen.

I want this disabled I used to have a GNOME shell extension, yet the repository is not found anymore:

git clone git@github.com/Ahrak/gnome-shell-extension-disable-hot-corners.git
fatal: repository 'git@github.com/Ahrak/gnome-shell-extension-disable-hot-corners.git' does not exist
pomsky
  • 68,507
k0pernikus
  • 6,115
  • A reminder for users of ubuntu 22.04 and who installed "Hide Top Bar" extension: Try toggle off its "show panel when mouse approach edge of screen" option. – unifreak Sep 07 '22 at 11:52

9 Answers9

130

Recent GNOME Versions

Recent GNOME versions don't require gnome-tweak-tool to change this.

You can find a switch for Activities Hot Corner in GNOME Settings application under Multitasking category.

Multitasking Category in Gnome Settings application

A screencast (with gnome-tweak-tool):

Instructions for legacy GNOME releases (GNOME Tweaks required).

Hot corner configuration in gnome tweak tools screencast

mmai
  • 1,442
46

Command-line way

If you are looking for the gsettings command for this "Activities Overview Hot Corner" option in GNOME Tweaks:

enter image description here

then, the key is gsettings set org.gnome.shell enable-hot-corners true|false

example:

gsettings set org.gnome.shell enable-hot-corners true
gsettings set org.gnome.shell enable-hot-corners false

enter image description here


EDIT

Recent version of GNOME seems to be

gsettings set org.gnome.desktop.interface enable-hot-corners true
gsettings set org.gnome.desktop.interface enable-hot-corners false
PRATAP
  • 22,460
17

Tried frans' solution:

git clone github.com:HROMANO/nohotcorner.git nohotcorner@azuri.free.fr:
Permission denied (publickey).

Why not install the gnome-shell-extension directly? It's much easier, and works for gnome in every linux distribution.

https://extensions.gnome.org/extension/118/no-topleft-hot-corner/


Update for gnome>3.36:

This extension is not needed anymore as it is now supported by the shell itself. You can switch off the hotcorner with a gsettings or using gnome-tweak tool.

recolic
  • 373
12

If you have already enabled the infrastructure to use Gnome-Extensions, you can simply go to the extensions webpage, search for "hot corners" and click the switch to turn it on.

Here is an example of the url:

https://extensions.gnome.org/extension/118/no-topleft-hot-corner/

Here is a screenshot of the button to switch on:

Screenshot of extendsions.gnome.org link

Obviously this assumes that you have already installed all the bits to make extensions work from the website - see the section on installing shell extensions from a browser here:

https://linoxide.com/linux-how-to/install-gnome-shell-extensions-gui-cli/

Julian
  • 103
8

Take k0pernikus' answer but name the directory correctly:

cd ~/.local/share/gnome-shell/extensions/
git clone github.com:HROMANO/nohotcorner.git nohotcorner@azuri.free.fr

works for me

frans
  • 181
  • 1
  • 4
7

Funny how an ancient post pops up and does not have a recent answer, non of the solutions work for recent versions of Gnome Shell.

For Fedora Worstation 36 with Gnome Shell 42.4, this can be found in settings under multitasking, see screenshot (Active Screen Edges can be switched there too):

enter image description here

I assume Gnome 43 will have this too.

Vincent Gerris
  • 2,437
  • 1
  • 20
  • 14
5

The option to disable the "hot corner" wasn't available on the latest version of gnome-tweak-tools up to this answer date, so I manage to add the option with an extension: disable hot corner extension

Extension options

Just download the compressed file and add it the "Extensions" option, after that enable or disable the "hot corner" as you wish.

2

I switched to No Topletft Hot Corner by HROMANO

cd ~/.local/share/gnome-shell/extensions/
git clone github.com:HROMANO/nohotcorner.git
k0pernikus
  • 6,115
  • 2
    You need to call this extension nohotcorner@azuri.free.fr - at least in the current version. The extension won't start otherwise and you get an error message Gjs-WARNING **: JS ERROR: Could not load extension nohotcorner: Error: uuid "nohotcorner@azuri.free.fr" from metadata.json does not match directory name "nohotcorner" – frans Nov 17 '16 at 09:26
  • yes, those who read this: use @frans answer above – MInner Nov 19 '16 at 23:55
  • 1
    I get permission denied trying to clone. – Julian Apr 17 '19 at 15:39
1

Install Gnome Tweak Tools with:

sudo apt-get install gnome-tweak-tool.

Once installed open the tweak tool app and go to the option marked extensions on the left:

Next go to the following location HERE and download the "No Top Left Corner" extension by Azuri. This is an extension to work with Gnome-Tweak Tool. When you download, you will be asked for the gnome shell version you are using. You can check it with the following command:

gnome-shell --version.

Once downloaded, go back to the Tweak Tool and at the end of the extensions list is a File button to add more extensions. Click it, and then select the zip file containing the shell extension downloaded.

That's it. It may require a restart. For me it asked for a restart, but even before that the hot corner was off.

Andrew S
  • 123
  • 4
  • The No Top Left Corner is not required. The GNOME Tweaks has a Activities Overview Hot Corner toggle in Top Bar option in the sidebar. – Akshay K Nair Sep 30 '21 at 04:35