Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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
up vote 1 down vote accepted

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?

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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