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.

I did something extremely stupid. I'm currently working on a 10.04 system (work-related), and since I was missing some fonts I decided to simply copy some over from my own, 12.10 system. I ran

cp -R <12.10 root>/usr/share/fonts/truetype/* /usr/share/fonts/truetype/

Immediately, terminal and window header fonts got completely messed up, although chromium still shows everything correctly, as does nautilus.

How can I restore this directory? Is there anything else I have do afterwards?

enter image description here

share|improve this question

closed as off-topic by Rinzwind, Radu Rădeanu, Aditya, belacqua, LiveWireBT Oct 25 '13 at 19:45

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

    
did you try launch this command ? fc-cache -fv –  Le Libriste Oct 24 '13 at 10:12
    
It completes with "fc-cache: succeeded". Nothing changes. –  user207046 Oct 24 '13 at 11:46
    
Here is the full output: pastebin.pw/y8r46n –  user207046 Oct 24 '13 at 11:56
1  
Glad you got if fixed but gnome-session-save - suggests it is a desktop system and 10.04 desktop is end of life ;) –  Rinzwind Oct 25 '13 at 12:35
    
I know - it's just one computer that many people have used over the years, so everybody is scared of the system getting broken for when they might need it again. But I faintly remember doing the update manager doing a distro upgrade a while ago - what does that actually change, what does it leave put? –  user207046 Oct 25 '13 at 15:01
add comment

1 Answer 1

up vote 2 down vote accepted

Just want to add how this was resolved: Simply restarting X using

gnome-session-save --force-logout

(from an X terminal), next login everything was Ok again.

share|improve this answer
add comment

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