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?

  • i put the user name of mine ,but gives me this user isnt existed , is there any command gets me all usernames of all useraccounts from the root terminal ? – Ahmed Zain El Dein Jan 14 '13 at 19:04
  • man 5 passwd;more /etc/passwd – waltinator Jan 14 '13 at 19:22
  • @Ahmed: all users should have their own folder in /home/. If you do ls /home/ you should be able to see all users registered on the computer. Perhaps you need to do sudo ls /home/ instead, but I expect not. @Lucio: I'd upvote that as an answer, can you put it down as one? – Tomas Jan 14 '13 at 19:24

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?


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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.