Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there any way to check files in Ubuntu and reset config if there is something wrong? Some application that will go through the files and detects if they are in a good standing.

share|improve this question
    
Which applications or related configurations do you want to set to Defaults , please specify. –  tijybba Jul 23 '12 at 17:38
add comment

2 Answers

up vote 1 down vote accepted

To check the integrity of files that came from deb packages, you can make use of the /var/lib/dpkg/info/*.md5sums files.

Verifying Unity files:

cd /
md5sum -c /var/lib/dpkg/info/unity*.md5sums

If you get an error just run sudo apt-get --reinstall install <corrupted-package-name> to reinstall the package.

share|improve this answer
    
It looks like there are no errors. Thank you for help –  PLANTROON Jul 23 '12 at 18:17
add comment

If you're talking about Unity you can try to execute unity --reset on a terminal (Ctrl+Alt+T).

share|improve this answer
    
yeah that would help my broken compiz config .. but I want to check all files if they are working or no. Cause I dont wanna be surprised once I want to play something or do something with Ubuntu and then system crashes into terminal with error messages like before ... –  PLANTROON Jul 23 '12 at 17:39
    
Thank you @Eric Carvalho. Does unity --reset command reset any changes made by compiz? –  PLANTROON Jul 23 '12 at 18:01
    
@PLANTROON yes it does. –  Eric Carvalho Jul 23 '12 at 18:08
add comment

Your Answer

 
discard

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.