2

After modify something in cssm the display manager in MyPersonalAccount doesn't work.

So I login in my root account and it is fine but I want to reset the Compiz configuration of MyPersonalAccount to default, as I can't even open terminal using Ctrl+Alt+T in MyPersonalAccount.

How can I reset the Compiz (cssm) configuration for a specific user from the root in Ubuntu 12.04?

Lucio
  • 19,191
  • 32
  • 112
  • 191
Ahmed Zain El Dein
  • 634
  • 4
  • 12
  • 25

2 Answers2

2

To reset the configuration of the Compiz Config Settings Manager or ccsm you must enter the following command in a terminal:

cd /home/USER/; rm -rf .gnome .gnome2 .gconf .gconfd .metacity .compiz-1 .config/compiz-1 .config/dconf 
#replace 'USER' with the account that you want to resolve

I recommend you to enter the above command from your root account entering into a tty or from a Ubuntu Live Edition, doing chroot over your system (follow steps 1 to 5 here) from a terminal.

Lucio
  • 19,191
  • 32
  • 112
  • 191
1

Lucio has a perfectly valid answer in the comments, I think, that would be a good approach. This is more a backup should his approach not work. There is another thing you could try: logging in as the default user on the tty terminal and removing the Compiz configuration files there. Note that you should be able to return to the default interface at any time by pressing Ctrl+Alt+F7

Boot your computer and continue till where you get stuck. Try logging in to the first tty by pressing Ctrl+Alt+F1. Log in with your normal user and password. Then try what Lucio suggested: cd /home/USER/; rm -rf .gnome .gnome2 .gconf .gconfd .metacity .compiz-1 .config/compiz-1 .config/dconf.

If you can remove those folders but it does not help, you might want to try to reset the Unity profile completely. For that in Ubuntu 12.10, follow the answer given by Mahesh in How do I reset my Unity configuration?

Tomas
  • 1,099