Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just added a 2nd monitor to the LEFT of my laptop, keeping my laptop screen as primary. The problem is that the hot corner in Gnome that switches to activities is now in the middle, making it hard to hit. I want to move it to the top right or bottom right. I found that a lot of Gnome is powered by js, and this file:



this._hotCorner = new Layout.HotCorner();

But this just enables and disables it I can't seem to find a way to move it.

share|improve this question

In my current Ubuntu 14.04, Gnome 3.10.4, the hot corners are created in the file /usr/share/gnome-shell/js/ui/layout.js.

Look for _updateHotCorners: - it's a function that computes the hot corners. In my case I wanted to enable the hot corner on the external monitor as well so I just commented out the two haveTopLeftCorner = false in the inner for loop.

Then just Alt+F2 and r to restart Gnome Shell.

share|improve this answer

This gives you some control, but unfortunately doesn't currently handle multiple monitors very nicely. I added an issue feature request.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.