English
Ask Your Question
2

How to force a click on hotcorner on Fedora 15?

asked 2011-12-22 06:40:56 +0000

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 delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2011-12-22 08:42:04 +0000

ztank1013 gravatar image

updated 2011-12-22 08:42:50 +0000

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 publish link more
0

answered 2011-12-27 20:22:16 +0000

this post is marked as community wiki

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

updated 2011-12-27 20:22:16 +0000

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 publish link more
0

answered 2011-12-22 08:49:56 +0000

mether gravatar image

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

edit flag offensive delete publish link more

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

Add answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers to your questions.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2011-12-22 06:40:56 +0000

Seen: 790 times

Last updated: Dec 27 '11