Celeb Glow
general | April 01, 2026

Linux File Names converted to blank rect after running sudo fc-cache -f -v

I'm beginner in Linux.

I have downloaded some fonts from net and I made some mistake to rebuild Ubuntu by these fonts. So I copied them to .fonts folder in home directory. After that I run this command and all files and folders names are converted to blank rects as showed in bellow:

sudo fc-cache -f -v

How could I repair Ubuntu? Currently I have these fonts in mentioned folder and I could not remove them:

rm: cannot remove '/home/ai-station/.fonts/Ubuntu-MI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-B.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-L.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-BI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-M.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-RI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-LI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/UbuntuMono-BI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-R.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/UbuntuMono-RI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-Th.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/UbuntuMono-R.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/UbuntuMono-B.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-C.ttf': Permission denied

File and folders and terminal

8

1 Answer

If you don't have permissions to the folder, use sudo to elevate your permissions and give you access to the directory where you get permission denied errors.

If the [font] files were added in a home directory; I'd just remove them.

Please note I'd not try and do it in the difficult-to-read gui, instead logout [of gui] and but switch to terminal (ctrl+alt+F4 etc), re-run fc-cache (rebuild font info cache index), then re-login into gui. I would expect gui to look normal at this login :)

Please note Ubuntu 18.10 is now EOL & off-topic on this site because of EOL status. You should release-upgrade to 19.04 ASAP

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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