I use Ubuntu 12.04 on a two screen setup. Multiscreen on 12.04 has generally become much better, but there is one thing that really gets on my nerves: there's a mouse magnet of sorts on the middle edge (between the two screens). It's undoubtedly there to make it easier to interact with the launcher on the right screen. But I have enough trust in my mousing skills, the magnet is more annoying than helpful in my case. Can I disable it somehow?
-
2I don't know if it's there to make it easier to interact with the launcher or if instead it is to make it easier to snap windows to fill the right or left half of the screen.– GusCommented Sep 14, 2012 at 23:06
-
17If there are so many upvotes for this question, the sticky edges should by default be False.– don.joeyCommented Aug 14, 2014 at 13:30
-
2Ubuntu 18 users: please note that the default desktop (window manager) has changed in Ubuntu 18 from Unity desktop to Gnome. Per the question's tags, answers below apply to Unity. Information relating to sticky monitor-edges in 18 under Gnome can be found here and here.– Seldom 'Where's Monica' NeedyCommented Sep 27, 2019 at 19:28
11 Answers
There is a setting for it in Displays
:
You may still get the behaviour if you have a launcher on the right monitor, so use the "Launcher Placement" option to select having your launcher on only the left screen. The stickyness between the screens is required for it to be easy to retrieve the launcher there.
You might need to log out and back in (or restart) for the changes to take effect.
-
2I had a similar effect, because the monitors had a space between them (in the dialog above). After dragging them together, the cursor appeared right away afer leaving the other screen.– iGELCommented Apr 30, 2013 at 21:47
-
17OMG! I can't believe I didn't see this. My life became so much easier. Commented Jul 3, 2013 at 11:24
-
1
-
2FWIW, I didn't have to restart in 13.10. It took effect as soon as I hit 'Apply'.– GeobitsCommented Dec 11, 2013 at 0:56
-
2For 12.04 with the right monitor
Launcher
disabled, this did not work. The mouse moves easily from the left monitor to the right, but faces a big overcome_pressure value moving from right to left. I recommend Schinstad's answer instead.– H2ONaClCommented Jul 5, 2014 at 5:11
The "hang" is a feature to make it possible to use the launcher in multi-monitor setups when it's set to auto-hide. It can be configured using gconf-editor
. The relevant keys are
/apps/compiz-1/plugins/unityshell/screen0/options/stop_velocity
, and
/apps/compiz-1/plugins/unityshell/screen0/options/overcome_pressure
Recommended settings to minimize the effect are:
overcome_pressure=1
stop_velocity=20
These settings do not completely stop the mouse from sticking, but makes it less likely it will do so. You can reduce stop_velocity
further if you want.
Possibly also /apps/compiz-1/plugins/unityshell/screen0/options/reveal_pressure
. The latter can be configured more easily in System Settings -> Appearance -> Behavior.
-
Thank you. I'm glad you found it useful. There is often more than one way to answer a question and I think the accepted answer is easier and more accessible to more people, so I'm very comfortable being in the second place :) Commented Jun 20, 2014 at 23:04
You can also modify the settings inside of CCSM if you prefer a GUI option. Its under CSSM > Unity > Experimental
There are options for Launcher Edge Stop Overcome Pressure and Edge stop Velocity which you can modify.
-
2install ccsm with "sudo apt-get install compizconfig-settings-manager". Run with "ccsm". Search/filter for "ubuntu unity plugin", click on it. "Experimental" tab. "Edge stop velociy" of 15 - 20 worked for me. Commented Jan 6, 2014 at 7:13
-
Or from GUI run Ubuntu Software Center, search for compizconfig-settings-manager, and install. Then click on Ubuntu Search, search for compizconfig-settings-manager and run it.– robocatCommented Oct 19, 2014 at 21:44
-
This worked relatively well for me. Do note that this is now placed under "Launcher" (not experimental anymore). Setting "Edge stop velocity" to 1, "Pressure decay rate" to 1 and "Duration of stickey edge release after Break" to 0 got rid of it (almost) completely. Otherwise you can set the launcher to only show on the left, and then it really doesn't show up anymore.– BonoCommented May 18, 2017 at 6:41
I personally thought it could be a wrong design in an extended desktop where in the middle of the desktop, a launcher is present. Yet, notice that the launcher has new settings :
The reveal sensitivity allows you to adjust how much the launcher is sensitive to your mouse crossing. The higher, the more you have to push the mouse against the launcher to reveal it. While auto-hide is activated, and about 27 % of reveal sensitivity, you can surf your mouse from the left external monitor to the right one or the opposite, easily without accidently revealing the launcher. Check the poll, if you want to vote for this option.
Thanks to Hanynowsky's answer https://askubuntu.com/a/111316/29209
-
3I think there is an error in your answer: at least in my system, the lower the sensitivity, the more you have to push the mouse, not the other way.– CmoralesCommented May 7, 2012 at 13:22
For anyone elses reference.
I ended up setting 'Edge Stop Velocity' to 10,
Launcher Edge Stop Overcome Pressure to 10, and Launcher Reveal Pressure to 10.
This seems to give the perfect balance for me. No lag when dragging windows between screen. Launcher is fairly easy to access on both monitors, No mis-reveals when going for the back button in the browser...
-
2How exactly did you get to the place where you could change those settings? Commented Feb 28, 2014 at 5:10
There is also the "Launcher Monitors" option in CCSM under "Ubuntu Unity Plugin". Switching this to "Primary Desktop" solved the problem for me in the laptop + external monitor setup.
-
-
oh thanks! its 2018 and this is still a mess! only your suggestion worked after all these years! Commented May 5, 2018 at 2:52
Also if you want to leave it the way it is I have found that moving the mouse VERY quickly past the middle will let you pass right through it without even the slightest bit of hang time. I still changed it mainly because moving the mouse that fast was a bit annoying. Maybe someone will find it useful though.
-
Even I found having to move the mouse pointer that fast to be annoying. Changing the setting is best.– NavCommented May 15, 2013 at 6:38
in CCSM there is a setting under Experimental tab called Launcher Capture Mouse. if you disable it than the effect will completely disabled
-
-
It was un-checked when I opened the Launcher conf tab, but I still have a problem with the mouse pointer sticking to the screen edge. Commented Apr 28, 2017 at 9:03
The launcher capture mouse option in ccsm
and the settings>displays "Sticky edges" options didn't stop the edge capture from right to left for me. The only thing that worked was setting the "Launcher Edge Stop Velocity" to 1 and having , that solved the issue for me. No other modifications required.
I have no interest in Unity launcher menu on my secondary right hand screen, and the hastle this caused in day to day use was an unwelcome pain. I didn't realise the ccsm
Unity experimental settings were there so I had to live with it for about 4 months. God that was annoying.
-
3I had the same problem (right-to-left remained sticky). I solved it in
Displays
by settingLauncher Placement
toAll Displays
, clickingApply
andKeep This Configuration
, then setting it back to only the left display. SettingEdge Stop Velocity
to 1 meant I couldn't open the Launcher (on left screen) with the mouse, and I still had a (slightly) sticky edge.– drevickoCommented Aug 9, 2013 at 0:49 -
@drevicko - you should add this as an answer, that's the only thing that worked for me– geoffreyCommented Mar 24, 2014 at 7:43
The problem only happens when you have the launcher placed on "All Displays". I had already changed "Settings > Displays > Sticky edge > OFF", but there was no improvement. So I changed "Settings > Displays > Launcher Placement" to my first monitor only (removing "All Displays"), and the problem disappeared.
-
I am using 14.04, and setting Sticky Edge OFF was enough for me. Commented Jul 20, 2016 at 7:33
As another option, you can always set the following gconf values under /apps/compiz-1/plugins/unityshell/screen0/options
:
overcome_presure=1
stop_velocity=5
These settings will basically turn off sticky edges, as well as the ability to access the launcher by using the mouse.
You can then use the "Super" (Windows/Apple) key (or Alt+F1) to access the launcher via keyboard ;)