Showing posts with label fedora. Show all posts
Showing posts with label fedora. Show all posts

Wednesday, July 13, 2011

RIP Gnome3 Hot Corner

FINALLY!

After weeks of anguish I have finally figured out how to disable the hot corner on Gnome 3 that has been the bain of my existence since switching to Fedora 15.


What's the problem with a Hot Corner?

Well if aren't familiar with Gnome 3 there is an Overview that allows you to quickly open programs and switch between currently open ones.
The hot corner is in the top left corner of the screen and activates when the cursor is in the (0,0) coordinate. The problem with the hot corner is that you often accidentally activate it when trying to click things close to the top left corner. It's also highly redundant since the "Activities" button there has the same functionality. Personally, when I want to use the Overview I just hit the super key (windows key).

The Solution

You need to modify the javascript backend for gnome panel. Yeah Gnome 3 is partly in javascript... You'll find the necessary file under /usr/share/gnome-shell/js/ui/. Next you want to open panel.js in your favorite text editor. I like Geany :P You'll need to find this line:

this._corner = new Clutter.Rectangle({ width: 1, height: 1, opacity: 0, reactive: true });

and modify it to say "reactive: false". This will disable the hot corner functionality without disabling Overview.

I found this solution here and credit goes to Jinx.