LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't save cache in "/usr/share/fonts/..." (https://www.linuxquestions.org/questions/linux-newbie-8/cant-save-cache-in-usr-share-fonts-795206/)

RandomTroll 03-13-2010 04:42 PM

Can't save cache in "/usr/share/fonts/..."
 
When I install fonts with Slackware's 'installpkg' and when I start X I get this message. The fonts exist. I run installpkg as root, of course, and the same happens when I start X whether I run as root or non-root.

What's up? I have all the cache packages installed.

Thanks for your attention.

RandomTroll

GrapefruiTgirl 03-14-2010 03:02 AM

I would think that the doinst.sh script(s) that are included in the package, would (maybe) take care of all the details upon installation, but just in case, try the following:

As root:

1) install the font(s)
2) enter the folder where the fonts were installed.
3)
Code:

shell# mkfontdir
shell# mkfontscale
shell# fc-cache -r -v

Optionally/additionally, as your regular user, enter your ~/.fonts folder (or create it of there is none) and repeat the above three commands as regular user.

Log out and restart X.

Any luck?

Sasha

RandomTroll 03-15-2010 01:03 AM

The problem stopped happening. I did nothing that I can think of. I can't make it happen again.

Thanks for your help.

GrapefruiTgirl 03-15-2010 01:10 AM

That's good :) that it stopped happening. For the record, it won't hurt for you to run these commands anyways, but, if you happen to have rebooted between then and now, perhaps the cache update during boot has already fixed the problem.

Hopefully it stays gone!

Sasha


All times are GMT -5. The time now is 05:35 AM.