Your CCSM
configuration isn't sticking because you don't have ownership (permission
) of key configuration files and folders in your home directory. You can verify this with:
$ find ~/ ! -user $(whoami)
To regain ownership of files in your home folder you can run this command:
$ sudo chown -R $(whoami):$(whoami) ~/
That should be sufficient for loading the desktop successfully. The CCSM
configuration you mention in your question would then stick between reboots.
This issue is created by running certain GUI applications as sudo
.
Update:
The resolution was to rename the ~user
folder and create a clean one. Then copy the files from the old ~user
folder.
The steps need to be performed a different account). Create an account B
. Login as B
. To perform the steps. The B
needs to have sudo
access. This can be done with. Consider A
your account and B
the different account to perform the commands
.
$ sudo adduser B sudo
From the terminal (of B
login) run:
$ cd ~A
$ cd ..
$ sudo mv A A.str
$ sudo mkdir A
$ sudo chown A:A A
$ sudo ln -s A.str ~A/A.str
Now login as A
and copy or move your content from a folder A.str
in your fresh login.
Best Answer
I have stumbled upon the exact same issue! I upgraded from 14.04LTS to 16.04LTS about a month ago, and everything went very well. Recently, however, no dash or window border anymore!
I have tried, as suggested in several posts, to reset config:
I tried to reinstall unity and compiz,
I have tried to remove config files from local user hidden dirs,
Similarly, I enabled the Unity plugin in CCSM but this is not permanent since, when re-opening CCSM, the Unity plugin appears unchecked, even when opened with admin. rights.
Sadly, all of these attempts failed in restoring dash and window borders. I guess this is an issue with compiz, the window manager, but I have no idea how to fix it. Any ideas welcome ;)