101

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 [email protected]/Ahrak/gnome-shell-extension-disable-hot-corners.git
fatal: repository '[email protected]/Ahrak/gnome-shell-extension-disable-hot-corners.git' does not exist
pomsky
  • 67,112
  • 21
  • 233
  • 243
k0pernikus
  • 5,995
  • 11
  • 48
  • 78
  • 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

125

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

Florke64
  • 3
  • 3
mmai
  • 1,384
  • 1
  • 8
  • 8
  • If you are writing in English, show your screen shots in English to. I do not see any of this as the third option down, mine looks very different. – Andrew S Apr 08 '18 at 02:05
  • 1
    I've added a link to a screencast with an english interface. – mmai Apr 08 '18 at 07:13
  • 9
    Which version of Tweaks is that? I don't have this option in 3.28.1. – orschiro May 11 '18 at 14:30
  • 1
    I currently have gnome-tweak-tools 3.28.1-1 on ubuntu 18.04 – mmai May 12 '18 at 10:23
  • @mmai this [patch](https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/45) is giving you the option on Ubuntu. :-) – orschiro May 13 '18 at 07:23
  • 6
    this works until i lock the screen and unlock it again to resume my session. any thoughts on how to make this setting "stick"? – amc Jun 08 '18 at 03:24
  • OMG thanks - this was bugging the hell out of me. – user1068446 Dec 04 '18 at 23:39
  • 3
    Yeah, this doesn't work when I suspend/resume. See @user230910's answer. – Julian Apr 17 '19 at 15:43
  • perfect answer, thank you – Kamil Naja Jun 21 '19 at 15:18
  • I have newest (GNOME Tweaks 3.34.0) Tweaks, and there is NO option for HOT CORNER – razor Nov 10 '20 at 14:18
  • 5
    proper answer is: ***gsettings set org.gnome.desktop.interface enable-hot-corners false*** – razor Nov 10 '20 at 14:20
  • @razor I get `No such key “enable-hot-corners”`. I have gnome-tweaks 3.30.2-1 and gnome 3.30+1 on Debian 10 – xdavidliu Dec 20 '20 at 14:11
  • If you failed to find the setting, it usually means that your gnome-shell is too old. You should either upgrade your gnome to 3.36+ (if your distribution allows), or use a gnome extension (refer to my answer). – recolic May 06 '21 at 05:55
  • Never ran GNOME until now, but this was driving me crazy! Used `gnome-tweak` and it was the very first setting under Top Bar. Disabled and works great! Thanks! +1 – Terrance Jul 09 '21 at 13:47
45

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
  • 21,989
  • 8
  • 59
  • 121
17

Tried frans' solution:

git clone github.com:HROMANO/nohotcorner.git [email protected]:
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
  • 363
  • 3
  • 8
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
  • 6
user230910
  • 415
  • 5
  • 12
8

Take k0pernikus' answer but name the directory correctly:

cd ~/.local/share/gnome-shell/extensions/
git clone github.com:HROMANO/nohotcorner.git [email protected]

works for me

frans
  • 181
  • 1
  • 4
6

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,397
  • 1
  • 19
  • 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.

Jose Gonzalez
  • 183
  • 2
  • 10
2

I switched to No Topletft Hot Corner by HROMANO

cd ~/.local/share/gnome-shell/extensions/
git clone github.com:HROMANO/nohotcorner.git
k0pernikus
  • 5,995
  • 11
  • 48
  • 78
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