Wednesday, March 7, 2012

Disable top left corner mouse Hotspot in Gnome 3

In Gnome 3, moving your mouse into the top left corner of your screen, simulates pressing (Alt-f1) or the Windows key, and puts you into search mode.  This can be extremely annoying when it happens accidentally.
 I prefer to only use the Keyboard for this feature.

to Disable the Mouse hotspot edit the following file

vim /usr/share/gnome-shell/js/ui/panel.js 


then search for the following line
this._hotCorner.actor.allocate(hotBox, flags);


and comment it out, by putting // infront of it
like so

// this._hotCorner.actor.allocate(hotBox, flags);


save the file, and logout/login to your Gnome session.

no more annoying mouse hotspot.

1 comment:

Anonymous said...

There is also a Gnome 3 Extension available to accomplish this: https://extensions.gnome.org/extension/118/no-topleft-hot-corner/