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.

  • That is odd! Thanks for trying. If even a newly created user has the same problem, we can exclude a local issue. Removed my answer. – Jacob Vlijm Jul 23 '16 at 07:44
  • This is getting weird. I untick Enable Workspace, deleted the ~/.config entirely, logged out and back in and now once I tick Enable Workspace it is working (for both user)... but as for the other setting such as Launcher placement, sticky edge, no luck. Could it be related to the video card driver ? – haleksandre Jul 23 '16 at 18:02
  • I can hardly imagine, but you could try and switch to propietry driver (or generic, depending on what you are currently using), restart and see what happens. – Jacob Vlijm Jul 23 '16 at 18:09
  • Finally Workspaces aren't fixed. I always have workspaces on even when I untick the Enable Workspaces – haleksandre Jul 23 '16 at 18:31
  • Definitely something with the updated packages, I've tried reinstall Ubuntu 16.04.1 64bit and the problem persists, even on the USB Try Ubuntu the problem is there. So I reinstalled a fresh 16.04 64bit (without updates) and the problem was gone. I could setup workspaces, launcher placement, sticky edge were all working like it was set. As soon as I run an update command then reboot. The problem comes back. – haleksandre Jul 24 '16 at 21:22
  • not the only one with the issues here, tried most of the suggested above, none actually solved the problem, also tried switching drives, doesn't help.., this topic seems to be related http://askubuntu.com/questions/801450/top-menu-bar-and-launcher-disappeared-after-updating-yesterday-16-04-lts/802825#comment1216704_802825 and this one too http://askubuntu.com/questions/717381/launcher-placement-dual-monitor?rq=1 – morkevicius Aug 01 '16 at 13:18
  • Have you tried the solution below? I reinstalled 16.04 without updates, and I am reluctant to do the updates and try the solution below as my current Ubuntu is my work environment and I really need my workspaces. – haleksandre Aug 03 '16 at 16:51
  • The http://askubuntu.com/questions/717381/launcher-placement-dual-monitor?rq=1 seems to be a custom modification (wanting the menu not to show in certain workspaces, etc). AS for the http://askubuntu.com/questions/801450/top-menu-bar-and-launcher-disappeared-after-updating-yesterday-16-04-lts/802825#comment1216704_802825 I had reinstalled a completely fresh 16.04.1 and the problem was already there. (The problem was even present while I was booted to the USB Ubuntu 16.04.1) – haleksandre Aug 03 '16 at 16:51

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