Thursday, August 18, 2011

Lock the "Activities" button

Like i said before, i like Fedora 15 allot.
One thing i didn't like at all was the fact that if you work with full screen windows and you are to fast with your mouse that the "Activities" pane appears and you loose focus of the window you are working in.
After a bit of research i found (again thx to my good friend Mr. Google) a way to make sure that wont happen again.
When you follow the next steps the Activities pane will only open when you click on it.
here is how to do it:


Open a terminal and log in as root (using the su command)

As root type in the following command "gedit /usr/share/gnome-shell/js/ui/panel.js" (without " )

Scroll down to these lines:

     this.actor = new Clutter.Group({ width: 3,

     height: 3,
     reactive: true });

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


Change the line that says reactive on both from true to false so that it looks like:

     this.actor = new Clutter.Group({ width: 3,
     height: 3,
     reactive: false });

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

Save the changes you just made

Press alt+f2 and type "r" (without " ) and press enter

After following these steps you can only open the activities pane when you click on it.


No comments:

Post a Comment