LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2010, 05:42 PM   #1
RandomTroll
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 477

Rep: Reputation: 40
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
 
Old 03-14-2010, 04:02 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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
 
Old 03-15-2010, 02:03 AM   #3
RandomTroll
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 477

Original Poster
Rep: Reputation: 40
The problem stopped happening. I did nothing that I can think of. I can't make it happen again.

Thanks for your help.
 
Old 03-15-2010, 02:10 AM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl: how to save an e-mail attachment on disk keeping the "&" character (no "%26"!!) d1s4st3r Programming 5 09-29-2010 10:30 PM
script using "/usr/bin/cat error" produces "cannot open" in cron Dcrusoe Programming 6 07-22-2009 04:30 PM
Can't locate object method "splitpath" via package "PACK001" at /usr/lib/perl5/5.8.8/ sajigeorge Linux - Software 1 01-11-2009 07:33 AM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 05:51 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-29-2004 12:33 AM


All times are GMT -5. The time now is 08:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration