Saturday, October 15, 2011

Disabling hot-corner in Gnome3


Gnome3 seem to be pretty neat, except from the top-left corner of the screen which enables the Application overview. I've seen three suggestions to disabling the hover, where none has done the job.



edit /usr/share/gnome-shell/js/ui/layout.js

Under HotCorner.prototype, comment the contents of _onCornerEntered()

_onCornerEntered : function() {
/*
if (!this._entered) {
this._entered = true;
if (!Main.overview.animationInProgress) {
this._activationTime = Date.now() / 1000;

this.rippleAnimation();
Main.overview.toggle();
}
}
*/
return false;
},

Logout to activate

This will of course be overwritten on future updates, but will temporally make Gnome3 usable.

The feature can also be trigged by clicking the Activities, or the WinDoze-Button.