2

Everything was working correctly until I updated my Ubuntu 16.04 to the latest kernel, etc. running a dist-upgrade.

After the update, my workspaces stopped working even though I tried to check, uncheck, reinstall unity-control-center, etc. There are also other settings that stopped working correctly, such as the Launcher placement (Shows on both my monitor while the setting is set to only show on my primary), Sticky edges. All in all, there might be other settings that are not working correctly, as I haven't tested them all.

I even reinstall Ubuntu 16.04 on top of the other, which temporarily fix the issue. But as soon as I made the dist-upgrade on the fresh reinstall the same settings , as above, stop working again.

Any idea why some of the settings suddenly stopped working?


If I run this command:

dconf read /org/compiz/profiles/unity/plugins/unityshell/num-launchers

Will return the right value, either 1 (if I set launcher on one screen) or 0 (if I set the launcher on all screens).

dconf read /org/compiz/profiles/unity/plugins/core/hsize

dconf read /org/compiz/profiles/unity/plugins/core/vsize

Both return 2 (if I tick Enable Workspaces) or 1 (if I untick Enable Workspaces)

So I'm guessing the settings actually get changed, but they are getting ignored for some reason?


Edit: I've decided to retry to upgrade packages by packages, to pinpoint which package was causing the issue. The issue appeared after updating the Unity packages.

I also tried the answer below but I still can't use workspaces, launcher placement and sticky edges sine they are being ignored.

2 Answers2

1

When verifying About this computer, Graphics was not detecting my graphic card and was showing - Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits) (I had the X.Org X server nouveau display driver installed).

So I switched the driver from the X.Org X server to the NVIDIA binary driver (version 361.42) from Software & Updates > Additional drivers.

After a reboot, I re-verified About this computer, Graphics detecting my card (GeForce GTX 970M/PCIe/SSE2) and every Unity settings started working properly.

0

I experienced the same issue and don't really know much about Ubuntu but doing the opposite of this here, fixed it for me:

Enable Low Graphics Mode

So, to expand a little on the solution. Here are the original steps (from the link above) to enable the low graphics mode. You would instead disable it by setting UNITY_LOW_GFX_MODE=0.

There is an environment variable you can set, UNITY_LOW_GFX_MODE

Running

UNITY_LOW_GFX_MODE=1 unity should replace your existing session with the "low graphics mode" >desktop.

If for some reason you want to make it permanent

For your user:

Add the line

export UNITY_LOW_GFX_MODE=1 to the file ~/.xprofile (create one, if it doesn't exist). Or globally:

Create a file /etc/X11/Xsession.d/99force-llvm and add above line (requires root permissions, see this answer about how to create a file as >root).

You can set this globally in one step by running the following line >inside a terminal: echo "export UNITY_LOW_GFX_MODE=1" | sudo tee >/etc/X11/Xsession.d/99force-llvm