Ask Your Question

How to force a click on hotcorner on Fedora 15?

asked 2011-12-22 00:40:56 -0500

jdeltoro1973 gravatar image

I have been looking for this one for a while now but can't find an easy answer. I accidentally keep activating the activities menu and it's becoming quite annoying to hit the esc or meta key all the time; I've found this video that explains how to do it but it is in Ubuntu and the file that he is modifying does not exist in Fedora 15 (or at least I didn't find it).

So, my question is:

Is there a way to change the behaviour of hotcorner from hover to an actual click? or just a way of moving it from top left to top right?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2011-12-22 02:42:04 -0500

ztank1013 gravatar image

updated 2011-12-22 02:42:50 -0500

I was able to disable the Activities upper left corner in fedora 16 by editing the following stanza:

    this._corner = new Clutter.Rectangle({ name: 'hot-corner',
                                           width: 1,
                                           height: 1,
                                           opacity: 0,
                                           reactive: false });

in /usr/share/gnome-shell/js/ui/layout.js file changing the reactive: true directive to reactive: false and then doing a logout - login.

I am afraid this feature/file is only available in gnome-shell-3.2 or greater.

If I query with yum provides command the target file (layout.js) it will show which package contains the file, look:

yum provides /usr/share/gnome-shell/js/ui/layout.js
gnome-shell-3.2.1-2.fc16.x86_64 : Window management and application launching
                                : for GNOME
Repo        : @koji-override-0/$releasever
Matched from:
Filename    : /usr/share/gnome-shell/js/ui/layout.js

Try running the above yum command yourself to see if the file is available in your gnome-shell release and if it is not there you should upgrade to a much newer gnome-shell version if you want that smart corner disabled.

edit flag offensive delete link more

answered 2011-12-27 14:22:16 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Well, I did Install gnome-shell-extension-righthotcorner like @mether suggested but then I had two hot-corners upper-left and upper-right which did not solve my problem.

But following @ztank advice I searched in Fedora 15 the file containing the code he mentions; in Fedora 15 this piece of code is in panel.js located in /usr/share/gnome-shell/js/ui/ and around line 664 where it says reactive : true change it to false, at the end it should look like this:

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

Restart the Gnome session (Alt+F2 then r and enter) and now you actually need to make a click in the upper left corner in order to activate the activities menu.

Hope this helps

edit flag offensive delete link more

answered 2011-12-22 02:49:56 -0500

mether gravatar image

You can install gnome-shell-extension-righthotcorner to change the behaviour.

edit flag offensive delete link more

Question Tools


Asked: 2011-12-22 00:40:56 -0500

Seen: 1,156 times

Last updated: Dec 27 '11