LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 05-18-2009, 08:37 PM   #1
Ledfeather
LQ Newbie
 
Registered: May 2009
Location: Portland, OR
Distribution: Ubuntu 9.04
Posts: 16

Rep: Reputation: 0
insufficient permission to copy fonts into font folder


this is stupid, and ive looked through the forum archives on this one, but since ubuntu runs on sudo and not 'root' i dont know if the only answer i found will help me.

ive tried to muck around with my user permissions and whatnot, and i still cannot add the desired font to the desired (and aptly titled) font folder. what can i do?
 
Old 05-18-2009, 08:44 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
The font directory is a system directory rather than user, so you need root permissions to add/remove anything inside of it. "sudo" grants a normal user root permissions temporarily, rather than having to log in as the root user (which is strongly discouraged, and not even enabled in some distributions).

So anything that a forum post or guide says to do as root, just run through sudo.
 
Old 05-18-2009, 08:51 PM   #3
Ledfeather
LQ Newbie
 
Registered: May 2009
Location: Portland, OR
Distribution: Ubuntu 9.04
Posts: 16

Original Poster
Rep: Reputation: 0
ok, so how do i get sudo privileges, since no dialog comes up, and i cant just type 'sudo' in the terminal window?

oh, and thanks for putting up with my lack of know how.
 
Old 05-18-2009, 09:16 PM   #4
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Quote:
and i cant just type 'sudo' in the terminal window?
You type sudo, and then the command you want to run. So if it is saying to do the following as root:

Code:
cp ./*.ttf /usr/share/fonts/TTF/
You would just add sudo like:

Code:
sudo cp ./*.ttf /usr/share/fonts/TTF/
It would then be run as root, and you wouldn't have the permission problem. Is there a specific guide you found that you are trying to follow?
 
Old 05-18-2009, 10:03 PM   #5
Ledfeather
LQ Newbie
 
Registered: May 2009
Location: Portland, OR
Distribution: Ubuntu 9.04
Posts: 16

Original Poster
Rep: Reputation: 0
ok, so i followed the commands above and i can see it in the folder (along with other fonts i use) and i even added it to the .fonts folder in my home folder, and yet i cant access the font in open office
 
Old 05-19-2009, 03:02 AM   #6
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Quote:
Originally Posted by Ledfeather View Post
and yet i cant access the font in open office
Copying the fonts into the fonts directory is not enough. You have to rebuild the font cache, to make the system aware a new font has been installed:
Code:
sudo fc-cache -f -v
 
Old 05-19-2009, 09:59 AM   #7
Ledfeather
LQ Newbie
 
Registered: May 2009
Location: Portland, OR
Distribution: Ubuntu 9.04
Posts: 16

Original Poster
Rep: Reputation: 0
i found the fc cache command above on another forum last night, still nothing. i did think that maybe it didnt like me forcing it to be a ttf, considering this was a dfont file from my macbook, but ive tried it in the font viewer(s?) and it seems to be recognized. im getting confused as to why its not showing up.
 
  


Reply

Tags
font, permissions, ubuntu


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
A frontend to change the fonts of xterm/mrxvt using the ~/.fonts folder ? frenchn00b Linux - General 1 05-28-2008 12:28 PM
I cant' copy fonts to the fonts folder mariotski Suse/Novell 5 02-28-2007 11:17 AM
OpenOffice WP changes my font without permission joshknape Linux - Software 1 09-27-2005 02:34 PM
insufficient permission to open spool file raypen Linux - Networking 4 04-11-2003 10:12 PM
/dev/dsp insufficient permission error after installing kde3.1 quakz99 Linux - Hardware 1 03-19-2003 06:56 AM


All times are GMT -5. The time now is 11:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration