FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 11-08-2008, 11:23 AM
 
Default PEBKAC 2008 ;) [was: Stupid Ubuntu 8.10

Thanks for your help. cp -rp worked perfectly. but why cp -r worked in Ubuntu 8.04 and not in Ubuntu 8.10?



The example that I said was just an example, it had nothing to do with TeX.



Also for installing fonts in Ubuntu 8.04, I used to first press Alt+F2 and then write:



gksu nautilus /usr/share/fonts/truetype



and then I would drag and drop my fonts to that window. but this does not works in Ubuntu 8.10, it moves all the fonts to that window, but they are not avaliable in openoffice and if you check that again, it said unreadable, means you even can not open that folder.



*



the output of "ls -l /usr/share/fonts/truetype" is :



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%

total 48

drwxr-xr-x 2 root root 4096 2008-10-30 09:59 arphic

drwxr-xr-x 2 root root 4096 2008-10-30 09:58 freefont

drwxr-xr-x 2 root root 4096 2008-10-30 09:59 kochi

drwxr-xr-x 2 root root 4096 2008-10-30 09:59 openoffice

drwxr-xr-x 2 root root 4096 2008-10-30 10:02 thai

drwxr-xr-x 2 root root 4096 2008-10-30 10:02 ttf-arabeyes

drwxr-xr-x 2 root root 4096 2008-10-30 09:58 ttf-bitstream-vera

drwxr-xr-x 2 root root 4096 2008-10-30 10:02 ttf-dejavu

drwx------ 2 vafa vafa 4096 2008-11-08 20:11 TTF-fonts

drwxr-xr-x 2 root root 4096 2008-10-30 10:02 ttf-indic-fonts-core

drwxr-xr-x 2 root root 4096 2008-10-30 10:02 ttf-lao

drwxr-xr-x 2 root root 4096 2008-10-30 10:02 unfonts

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%



the output of "ls -l /usr/share/fonts/truetype/*" is :



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%

/usr/share/fonts/truetype/arphic:

total 20592

-rw-r--r-- 1 root root 21053592 2008-02-22 14:25 uming.ttc



/usr/share/fonts/truetype/freefont:

total 3392

-rw-r--r-- 1 root root 119820 2008-05-03 19:49 FreeMonoBoldOblique.ttf

-rw-r--r-- 1 root root 139656 2008-05-03 19:49 FreeMonoBold.ttf

-rw-r--r-- 1 root root 191616 2008-05-03 19:49 FreeMonoOblique.ttf

-rw-r--r-- 1 root root 259628 2008-05-03 19:49 FreeMono.ttf

-rw-r--r-- 1 root root 113520 2008-05-03 19:49 FreeSansBoldOblique.ttf

-rw-r--r-- 1 root root 150024 2008-05-03 19:49 FreeSansBold.ttf

-rw-r--r-- 1 root root 248092 2008-05-03 19:49 FreeSansOblique.ttf

-rw-r--r-- 1 root root 465252 2008-05-03 19:49 FreeSans.ttf

-rw-r--r-- 1 root root 153952 2008-05-03 19:49 FreeSerifBoldItalic.ttf

-rw-r--r-- 1 root root 244888 2008-05-03 19:49 FreeSerifBold.ttf

-rw-r--r-- 1 root root 326988 2008-05-03 19:49 FreeSerifItalic.ttf

-rw-r--r-- 1 root root 987272 2008-05-03 19:49 FreeSerif.ttf



/usr/share/fonts/truetype/kochi:

total 16380

-rw-r--r-- 1 root root 7770652 2008-08-15 16:42 kochi-gothic-subst.ttf

lrwxrwxrwx 1 root root***** 22 2008-11-08 19:28 kochi-gothic.ttf -> kochi-gothic-subst.ttf

-rw-r--r-- 1 root root 8967464 2008-08-15 16:42 kochi-mincho-subst.ttf

lrwxrwxrwx 1 root root***** 22 2008-11-08 19:28 kochi-mincho.ttf -> kochi-mincho-subst.ttf



/usr/share/fonts/truetype/openoffice:

total 120

-rw-r--r-- 1 root root 118264 2008-10-16 13:34 opens___.ttf



/usr/share/fonts/truetype/thai:

total 4296

-rw-r--r-- 1 root root* 70624 2008-06-07 21:48 Garuda-BoldOblique.ttf

-rw-r--r-- 1 root root* 70904 2008-06-07 21:48 Garuda-Bold.ttf

-rw-r--r-- 1 root root* 70552 2008-06-07 21:48 Garuda-Oblique.ttf

-rw-r--r-- 1 root root* 69808 2008-06-07 21:48 Garuda.ttf

-rw-r--r-- 1 root root* 65732 2008-06-07 21:48 Kinnari-BoldItalic.ttf

-rw-r--r-- 1 root root* 65144 2008-06-07 21:48 Kinnari-BoldOblique.ttf

-rw-r--r-- 1 root root* 63340 2008-06-07 21:48 Kinnari-Bold.ttf

-rw-r--r-- 1 root root* 66792 2008-06-07 21:48 Kinnari-Italic.ttf

-rw-r--r-- 1 root root* 65728 2008-06-07 21:48 Kinnari-Oblique.ttf

-rw-r--r-- 1 root root* 64608 2008-06-07 21:48 Kinnari.ttf

-rw-r--r-- 1 root root* 66516 2008-06-07 21:48 Loma-BoldOblique.ttf

-rw-r--r-- 1 root root* 64396 2008-06-07 21:48 Loma-Bold.ttf

-rw-r--r-- 1 root root* 66940 2008-06-07 21:48 Loma-Oblique.ttf

-rw-r--r-- 1 root root* 64320 2008-06-07 21:48 Loma.ttf

-rw-r--r-- 1 root root* 94956 2008-06-07 21:48 Norasi-BoldItalic.ttf

-rw-r--r-- 1 root root* 94724 2008-06-07 21:48 Norasi-BoldOblique.ttf

-rw-r--r-- 1 root root* 94108 2008-06-07 21:48 Norasi-Bold.ttf

-rw-r--r-- 1 root root* 97072 2008-06-07 21:48 Norasi-Italic.ttf

-rw-r--r-- 1 root root* 96400 2008-06-07 21:48 Norasi-Oblique.ttf

-rw-r--r-- 1 root root* 94768 2008-06-07 21:48 Norasi.ttf

-rw-r--r-- 1 root root 135500 2008-06-07 21:48 Purisa.ttf

-rw-r--r-- 1 root root* 78076 2008-06-07 21:48 SawasdeeBoldOblique.ttf

-rw-r--r-- 1 root root* 75980 2008-06-07 21:48 SawasdeeBold.ttf

-rw-r--r-- 1 root root* 77604 2008-06-07 21:48 SawasdeeOblique.ttf

-rw-r--r-- 1 root root* 75700 2008-06-07 21:48 Sawasdee.ttf

-rw-r--r-- 1 root root* 90112 2008-06-07 21:48 TlwgMono-BoldOblique.ttf

-rw-r--r-- 1 root root* 89632 2008-06-07 21:48 TlwgMono-Bold.ttf

-rw-r--r-- 1 root root* 87044 2008-06-07 21:48 TlwgMono-Oblique.ttf

-rw-r--r-- 1 root root* 83040 2008-06-07 21:48 TlwgMono.ttf

-rw-r--r-- 1 root root* 93368 2008-06-07 21:48 TlwgTypewriter-BoldOblique.ttf

-rw-r--r-- 1 root root* 92884 2008-06-07 21:48 TlwgTypewriter-Bold.ttf

-rw-r--r-- 1 root root* 90200 2008-06-07 21:48 TlwgTypewriter-Oblique.ttf

-rw-r--r-- 1 root root* 87620 2008-06-07 21:48 TlwgTypewriter.ttf

-rw-r--r-- 1 root root* 92304 2008-06-07 21:48 TlwgTypist-BoldOblique.ttf

-rw-r--r-- 1 root root* 90500 2008-06-07 21:48 TlwgTypist-Bold.ttf

-rw-r--r-- 1 root root* 88676 2008-06-07 21:48 TlwgTypist-Oblique.ttf

-rw-r--r-- 1 root root* 84848 2008-06-07 21:48 TlwgTypist.ttf

-rw-r--r-- 1 root root* 92260 2008-06-07 21:48 TlwgTypo-BoldOblique.ttf

-rw-r--r-- 1 root root* 90400 2008-06-07 21:48 TlwgTypo-Bold.ttf

-rw-r--r-- 1 root root* 88480 2008-06-07 21:48 TlwgTypo-Oblique.ttf

-rw-r--r-- 1 root root* 85108 2008-06-07 21:48 TlwgTypo.ttf

-rw-r--r-- 1 root root* 64704 2008-06-07 21:48 Umpush-BoldOblique.ttf

-rw-r--r-- 1 root root* 63588 2008-06-07 21:48 Umpush-Bold.ttf

-rw-r--r-- 1 root root* 65148 2008-06-07 21:48 Umpush-LightOblique.ttf

-rw-r--r-- 1 root root* 63868 2008-06-07 21:48 Umpush-Light.ttf

-rw-r--r-- 1 root root* 64980 2008-06-07 21:48 Umpush-Oblique.ttf

-rw-r--r-- 1 root root* 63836 2008-06-07 21:48 Umpush.ttf

-rw-r--r-- 1 root root* 80636 2008-06-07 21:48 Waree-BoldOblique.ttf

-rw-r--r-- 1 root root* 79888 2008-06-07 21:48 Waree-Bold.ttf

-rw-r--r-- 1 root root* 79612 2008-06-07 21:48 Waree-Oblique.ttf

-rw-r--r-- 1 root root* 78388 2008-06-07 21:48 Waree.ttf



/usr/share/fonts/truetype/ttf-arabeyes:

total 6052

-rw-r--r-- 1 root root 124416 2007-08-20 07:51 ae_AlArabiya.ttf

-rw-r--r-- 1 root root 141856 2007-08-20 07:51 ae_AlBattar.ttf

-rw-r--r-- 1 root root 158444 2007-08-20 07:51 ae_AlHor.ttf

-rw-r--r-- 1 root root 120964 2007-08-20 07:51 ae_AlManzomah.ttf

-rw-r--r-- 1 root root 141064 2007-08-20 07:51 ae_AlMateen-Bold.ttf

-rw-r--r-- 1 root root 141152 2007-08-20 07:51 ae_AlMohanad.ttf

-rw-r--r-- 1 root root 150092 2007-08-20 07:51 ae_AlMothnna-Bold.ttf

-rw-r--r-- 1 root root 163460 2007-08-20 07:51 ae_AlYarmook.ttf

-rw-r--r-- 1 root root 153716 2007-08-20 07:51 ae_Arab.ttf

-rw-r--r-- 1 root root 130564 2007-08-20 07:51 ae_Cortoba.ttf

-rw-r--r-- 1 root root 136228 2007-08-20 07:51 ae_Dimnah.ttf

-rw-r--r-- 1 root root 135904 2007-08-20 07:51 ae_Electron.ttf

-rw-r--r-- 1 root root 173872 2007-08-20 07:51 ae_Furat.ttf

-rw-r--r-- 1 root root 150804 2007-08-20 07:51 ae_Granada.ttf

-rw-r--r-- 1 root root 143332 2007-08-20 07:51 ae_Graph.ttf

-rw-r--r-- 1 root root 122360 2007-08-20 07:51 ae_Hani.ttf

-rw-r--r-- 1 root root 513040 2007-08-20 07:51 ae_Haramain.ttf

-rw-r--r-- 1 root root 161492 2007-08-20 07:51 ae_Hor.ttf

-rw-r--r-- 1 root root 191620 2007-08-20 07:51 ae_Japan.ttf

-rw-r--r-- 1 root root 132672 2007-08-20 07:51 ae_Jet.ttf

-rw-r--r-- 1 root root 133420 2007-08-20 07:51 ae_Kayrawan.ttf

-rw-r--r-- 1 root root 119204 2007-08-20 07:51 ae_Khalid.ttf

-rw-r--r-- 1 root root 129888 2007-08-20 07:51 ae_Mashq-Bold.ttf

-rw-r--r-- 1 root root 135524 2007-08-20 07:51 ae_Mashq.ttf

-rw-r--r-- 1 root root 123128 2007-08-20 07:51 ae_Metal.ttf

-rw-r--r-- 1 root root 132092 2007-08-20 07:51 ae_Nada.ttf

-rw-r--r-- 1 root root 160660 2007-08-20 07:51 ae_Nagham.ttf

-rw-r--r-- 1 root root 171880 2007-08-20 07:51 ae_Nice.ttf

-rw-r--r-- 1 root root 140408 2007-08-20 07:51 ae_Ostorah.ttf

-rw-r--r-- 1 root root 129728 2007-08-20 07:51 ae_Ouhod-Bold.ttf

-rw-r--r-- 1 root root 139256 2007-08-20 07:51 ae_Petra.ttf

-rw-r--r-- 1 root root 133460 2007-08-20 07:51 ae_Rasheeq-Bold.ttf

-rw-r--r-- 1 root root 153156 2007-08-20 07:51 ae_Rehan.ttf

-rw-r--r-- 1 root root 130356 2007-08-20 07:51 ae_Salem.ttf

-rw-r--r-- 1 root root 163996 2007-08-20 07:51 ae_Shado.ttf

-rw-r--r-- 1 root root 125328 2007-08-20 07:51 ae_Sharjah.ttf

-rw-r--r-- 1 root root 145808 2007-08-20 07:51 ae_Sindbad.ttf

-rw-r--r-- 1 root root 125436 2007-08-20 07:51 ae_Tarablus.ttf

-rw-r--r-- 1 root root 181864 2007-08-20 07:51 ae_Tholoth.ttf



/usr/share/fonts/truetype/ttf-bitstream-vera:

total 624

-rw-r--r-- 1 root root 58716 2006-11-09 09:36 VeraBd.ttf

-rw-r--r-- 1 root root 63208 2006-11-09 09:36 VeraBI.ttf

-rw-r--r-- 1 root root 63684 2006-11-09 09:36 VeraIt.ttf

-rw-r--r-- 1 root root 49052 2006-11-09 09:36 VeraMoBd.ttf

-rw-r--r-- 1 root root 55032 2006-11-09 09:36 VeraMoBI.ttf

-rw-r--r-- 1 root root 54508 2006-11-09 09:36 VeraMoIt.ttf

-rw-r--r-- 1 root root 49224 2006-11-09 09:36 VeraMono.ttf

-rw-r--r-- 1 root root 58736 2006-11-09 09:36 VeraSeBd.ttf

-rw-r--r-- 1 root root 60280 2006-11-09 09:36 VeraSe.ttf

-rw-r--r-- 1 root root 65932 2006-11-09 09:36 Vera.ttf



/usr/share/fonts/truetype/ttf-dejavu:

total 2332

-rw-r--r-- 1 root root 558064 2008-05-19 16:44 DejaVuSans-Bold.ttf

-rw-r--r-- 1 root root 290372 2008-05-19 16:44 DejaVuSansMono-Bold.ttf

-rw-r--r-- 1 root root 309588 2008-05-19 16:44 DejaVuSansMono.ttf

-rw-r--r-- 1 root root 606452 2008-05-19 16:44 DejaVuSans.ttf

-rw-r--r-- 1 root root 280160 2008-05-19 16:44 DejaVuSerif-Bold.ttf

-rw-r--r-- 1 root root 305632 2008-05-19 16:44 DejaVuSerif.ttf



/usr/share/fonts/truetype/TTF-fonts:

total 92604

-rwx------ 1 vafa vafa** 44076 2003-11-05 02:00 alba.ttf

-rwx------ 1 vafa vafa* 744556 2006-10-10 12:08 arialbd.ttf

-rwx------ 1 vafa vafa* 551824 2006-10-03 12:10 arialbi.ttf

-rwx------ 1 vafa vafa* 546536 2006-10-03 12:10 ariali.ttf

-rwx------ 1 vafa vafa* 766656 2006-10-10 12:08 arial.ttf

-rwx------ 1 vafa vafa* 119492 2006-10-03 12:10 ariblk.ttf

-rwx------ 1 vafa vafa* 351544 2006-10-03 12:10 calibrib.ttf

-rwx------ 1 vafa vafa* 362524 2006-10-03 12:10 calibrii.ttf

-rwx------ 1 vafa vafa* 352736 2006-10-03 12:10 calibri.ttf

-rwx------ 1 vafa vafa* 365864 2006-10-03 12:10 calibriz.ttf

-rwx------ 1 vafa vafa* 328500 2006-10-03 12:10 cambriab.ttf

-rwx------ 1 vafa vafa* 336764 2006-10-03 12:10 cambriai.ttf

-rwx------ 1 vafa vafa 1090432 2006-10-03 12:10 cambria.ttc

-rwx------ 1 vafa vafa* 325976 2006-10-03 12:10 cambriaz.ttf

-rwx------ 1 vafa vafa* 164892 2006-10-03 12:10 Candarab.ttf

-rwx------ 1 vafa vafa* 697096 2006-10-03 12:10 courbd.ttf

-rwx------ 1 vafa vafa* 503460 2006-10-03 12:10 courbi.ttf

-rwx------ 1 vafa vafa* 593740 2006-10-03 12:10 couri.ttf

-rwx------ 1 vafa vafa* 690208 2006-10-03 12:10 cour.ttf

-rwx------ 1 vafa vafa 1072328 2008-11-05 04:16 IranNastaliq.ttf

-rwx------ 1 vafa vafa** 69308 2008-11-02 20:31 Junicode-BoldItalic.ttf

-rwx------ 1 vafa vafa* 120796 2008-11-02 20:31 Junicode-Bold.ttf

-rwx------ 1 vafa vafa* 155904 2008-11-02 20:31 Junicode-Italic.ttf

-rwx------ 1 vafa vafa* 532040 2008-11-02 20:31 Junicode-Regular.ttf

-rwx------ 1 vafa vafa 1459816 2008-06-19 20:31 LinLibertine_Bd-2.8.1.ttf

-rwx------ 1 vafa vafa* 694992 2008-06-19 21:47 LinLibertine_BI-2.8.0.ttf

-rwx------ 1 vafa vafa* 630340 2008-06-19 21:50 LinLibertineC_Re-2.8.0.ttf

-rwx------ 1 vafa vafa* 863660 2008-06-19 21:42 LinLibertine_It-2.8.2.ttf

-rwx------ 1 vafa vafa 1571788 2008-06-19 19:07 LinLibertine_Re-2.8.14.ttf

-rwx------ 1 vafa vafa* 641016 2007-12-28 22:34 LinLibertineU_Re-2.2.7.ttf

-rwx------ 1 vafa vafa* 835868 2006-10-10 12:08 timesbd.ttf

-rwx------ 1 vafa vafa* 610820 2006-10-03 12:11 timesbi.ttf

-rwx------ 1 vafa vafa* 651500 2006-10-03 12:11 timesi.ttf

-rwx------ 1 vafa vafa* 828152 2006-10-10 12:08 times.ttf

-rwx------ 1 vafa vafa 1247104 2008-11-05 04:21 XB NiloofarBdIt.ttf

-rwx------ 1 vafa vafa 1248128 2008-11-05 04:21 XB NiloofarBd.ttf

-rwx------ 1 vafa vafa 1231464 2008-11-05 04:21 XB NiloofarIt.ttf

-rwx------ 1 vafa vafa 1245820 2008-11-05 04:21 XB Niloofar.ttf

-rwx------ 1 vafa vafa 1159500 2008-11-05 04:21 XB RiyazBdIt.ttf

-rwx------ 1 vafa vafa 1159192 2008-11-05 04:21 XB RiyazBd.ttf

-rwx------ 1 vafa vafa 1131668 2008-11-05 04:21 XB RiyazIt.ttf

-rwx------ 1 vafa vafa 1144764 2008-11-05 04:21 XB Riyaz.ttf

-rwx------ 1 vafa vafa 1154228 2008-11-05 04:22 XB RoyaBdIt.ttf

-rwx------ 1 vafa vafa 1154164 2008-11-05 04:22 XB RoyaBd.ttf

-rwx------ 1 vafa vafa 1144348 2008-11-05 04:22 XB RoyaIt.ttf

-rwx------ 1 vafa vafa 1152836 2008-11-05 04:22 XB Roya.ttf

-rwx------ 1 vafa vafa 1181180 2008-11-05 04:25 XB Shafigh BdIt.ttf

-rwx------ 1 vafa vafa 1183076 2008-11-05 04:25 XB Shafigh Bd.ttf

-rwx------ 1 vafa vafa 1159016 2008-11-05 04:25 XB Shafigh It.ttf

-rwx------ 1 vafa vafa 1182416 2008-11-05 04:22 XB Shafigh Kurd BdIt.ttf

-rwx------ 1 vafa vafa 1184312 2008-11-05 04:22 XB Shafigh Kurd Bd.ttf

-rwx------ 1 vafa vafa 1160248 2008-11-05 04:22 XB Shafigh Kurd It.ttf

-rwx------ 1 vafa vafa 1167484 2008-11-05 04:22 XB Shafigh Kurd.ttf

-rwx------ 1 vafa vafa 1166248 2008-11-05 04:25 XB Shafigh.ttf

-rwx------ 1 vafa vafa 1181304 2008-11-05 04:25 XB Shafigh Uzbek BdIt.ttf

-rwx------ 1 vafa vafa 1183200 2008-11-05 04:25 XB Shafigh Uzbek Bd.ttf

-rwx------ 1 vafa vafa 1159140 2008-11-05 04:25 XB Shafigh Uzbek It.ttf

-rwx------ 1 vafa vafa 1166372 2008-11-05 04:25 XB Shafigh Uzbek.ttf

-rwx------ 1 vafa vafa 1652864 2008-11-05 04:24 XB Shiraz BdIt.ttf

-rwx------ 1 vafa vafa 1682316 2008-11-05 04:24 XB Shiraz Bd.ttf

-rwx------ 1 vafa vafa 1634764 2008-11-05 04:24 XB Shiraz It.ttf

-rwx------ 1 vafa vafa 1663756 2008-11-05 04:24 XB Shiraz.ttf

-rwx------ 1 vafa vafa 1361188 2008-11-05 04:24 XB Sols BdIt.ttf

-rwx------ 1 vafa vafa 1392972 2008-11-05 04:24 XB Sols Bd.ttf

-rwx------ 1 vafa vafa 1317868 2008-11-05 04:24 XB Sols It.ttf

-rwx------ 1 vafa vafa 1326668 2008-11-05 04:24 XB Sols.ttf

-rwx------ 1 vafa vafa 1126372 2008-11-05 04:23 XB Tabriz BdIt.ttf

-rwx------ 1 vafa vafa 1167260 2008-11-05 04:23 XB Tabriz Bd.ttf

-rwx------ 1 vafa vafa 1090932 2008-11-05 04:23 XB Tabriz It.ttf

-rwx------ 1 vafa vafa 1133520 2008-11-05 04:23 XB Tabriz.ttf

-rwx------ 1 vafa vafa* 953516 2008-11-05 04:23 XB Titre It.ttf

-rwx------ 1 vafa vafa 1087680 2008-11-05 04:23 XB Titre Shadow It.ttf

-rwx------ 1 vafa vafa 1088644 2008-11-05 04:23 XB Titre Shadow.ttf

-rwx------ 1 vafa vafa* 956352 2008-11-05 04:23 XB Titre.ttf

-rwx------ 1 vafa vafa* 910180 2008-11-05 04:19 XB Yagut BdIt.ttf

-rwx------ 1 vafa vafa* 909968 2008-11-05 04:19 XB Yagut Bd.ttf

-rwx------ 1 vafa vafa* 930204 2008-11-05 04:19 XB Yagut It.ttf

-rwx------ 1 vafa vafa* 952780 2008-11-05 04:19 XB Yagut.ttf

-rwx------ 1 vafa vafa* 981368 2008-11-05 04:18 XB Yas BdIt.ttf

-rwx------ 1 vafa vafa 1002120 2008-11-05 04:18 XB Yas Bd.ttf

-rwx------ 1 vafa vafa* 986784 2008-11-05 04:18 XB Yas It.ttf

-rwx------ 1 vafa vafa 1035292 2008-11-05 04:18 XB Yas.ttf

-rwx------ 1 vafa vafa 1223376 2008-11-02 20:33 XB ZarBdIt.ttf

-rwx------ 1 vafa vafa 1238544 2008-11-02 20:33 XB ZarBd.ttf

-rwx------ 1 vafa vafa 1196128 2008-11-02 20:33 XB ZarIt.ttf

-rwx------ 1 vafa vafa 1212712 2008-11-02 20:33 XB Zar.ttf

-rwx------ 1 vafa vafa* 878316 2008-11-05 04:23 XM Traffic BdIt.ttf

-rwx------ 1 vafa vafa* 899008 2008-11-05 04:23 XM Traffic Bd.ttf

-rwx------ 1 vafa vafa* 919468 2008-11-05 04:23 XM Traffic It.ttf

-rwx------ 1 vafa vafa* 936372 2008-11-05 04:23 XM Traffic.ttf

-rwx------ 1 vafa vafa* 905000 2008-11-05 04:20 XM Vahid BdIt.ttf

-rwx------ 1 vafa vafa* 898020 2008-11-05 04:20 XM Vahid Bd.ttf

-rwx------ 1 vafa vafa* 940740 2008-11-05 04:20 XM Vahid It.ttf

-rwx------ 1 vafa vafa* 942704 2008-11-05 04:20 XM Vahid.ttf

-rwx------ 1 vafa vafa* 456956 2008-11-05 04:17 XM Yermook BdIt.ttf

-rwx------ 1 vafa vafa* 449664 2008-11-05 04:17 XM Yermook Bd.ttf

-rwx------ 1 vafa vafa* 432796 2008-11-05 04:17 XM Yermook It.ttf

-rwx------ 1 vafa vafa* 465072 2008-11-05 04:17 XM Yermook.ttf

-rwx------ 1 vafa vafa* 482608 2008-11-05 04:19 XP Vosta BdIt.ttf

-rwx------ 1 vafa vafa* 476060 2008-11-05 04:19 XP Vosta Bd.ttf

-rwx------ 1 vafa vafa* 468528 2008-11-05 04:19 XP Vosta It.ttf

-rwx------ 1 vafa vafa* 466548 2008-11-05 04:19 XP Vosta.ttf

-rwx------ 1 vafa vafa* 468664 2008-11-05 04:17 XP Ziba BdIt.ttf

-rwx------ 1 vafa vafa* 460724 2008-11-05 04:17 XP Ziba Bd.ttf

-rwx------ 1 vafa vafa* 508112 2008-11-05 04:17 XP Ziba It.ttf

-rwx------ 1 vafa vafa* 589448 2008-11-05 04:17 XP Ziba.ttf



/usr/share/fonts/truetype/ttf-indic-fonts-core:

total 1496

-rw-r--r-- 1 root root* 79168 2008-07-04 22:24 lohit_gu.ttf

-rw-r--r-- 1 root root* 76600 2008-07-04 22:24 lohit_hi.ttf

-rw-r--r-- 1 root root* 21212 2008-07-04 22:24 lohit_pa.ttf

-rw-r--r-- 1 root root* 64760 2008-07-04 22:24 lohit_ta.ttf

-rw-r--r-- 1 root root 104412 2008-07-04 22:24 Malige-b.ttf

-rw-r--r-- 1 root root 121500 2008-07-04 22:24 Malige-n.ttf

-rw-r--r-- 1 root root* 73936 2008-07-04 22:24 MuktiNarrowBold.ttf

-rw-r--r-- 1 root root 185512 2008-07-04 22:24 MuktiNarrow.ttf

-rw-r--r-- 1 root root 383408 2008-07-04 22:24 Rachana_04.ttf

-rw-r--r-- 1 root root 156500 2008-07-04 22:24 utkal.ttf

-rw-r--r-- 1 root root 200092 2008-07-04 22:24 Vemana.ttf



/usr/share/fonts/truetype/ttf-lao:

total 96

-rw-r--r-- 1 root root 92828 2005-11-19 22:11 Phetsarath_OT.ttf



/usr/share/fonts/truetype/unfonts:

total 12496

-rw-r--r-- 1 root root 4072612 2008-05-28 18:13 UnBatangBold.ttf

-rw-r--r-- 1 root root 3678974 2008-05-28 18:13 UnBatang.ttf

-rw-r--r-- 1 root root 2809856 2008-05-28 18:13 UnDotumBold.ttf

-rw-r--r-- 1 root root 2209390 2008-05-28 18:13 UnDotum.ttf

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%





the TeXlive that comes with Ubuntu is old. I use TeXlive 2008 which I have downloaded and installed from tug.org/texlive.



By the way, I am a mathematician and a TeXacker.





Thanks alot for your help.



I am very new to Linux and I have started to read Mark G. Sobell's book on Linux 9editors, commands and shells)+A practical Guide to Ubuntu Linux

















-----Original Message-----

From: Mario Vukelic <mario.vukelic@dantian.org>

Sent: Sat, 8 Nov 2008 10:57 pm

Subject: Re: Re:PEBKAC 2008 [was: Re: Stupid Ubuntu 8.10]











On Sat, 2008-11-08 at 05:18 -0500, vafa@aol.com.au wrote:

> for example if you copy a directory (which contains fonts)

> to /usr/share/fonts/truetype by the command:

>

> sudo cp -r fontsdirname /usr/share/fonts/truetype



Hmmm, it probably has nothing to do with the issue you experience, and I

am everything but an expert in fonts, but in general /usr is the domain

of the package manager. Wouldn't it be wiser to

use /usr/local/share/fonts/ ?



> then those fonts will not appear in openoffice.



I thought we were talking about TeX? Doesn't TeX have a completely

independent font system? I thought so, but who knows, maybe that has

changed.



> I did not have this problem in Ubuntu 8.04. And if you know look

> at /usr/share/fonts/truetype you see the directory that you have

> copied but it is ``unreadable'.



What does "unreadable" mean? What to you use to look

at /usr/share/fonts/truetype, and what tells you about the dir being

"unreadable"



Is it possible that the copy has a permission problem? I notice that you

use "cp -r", which does not preserver the original ownerships and modes.

For that, you need "cp -rp":



-p same as --preserve=mode,ownership,timestamps



--preserve[=ATTR_LIST]

preserve the specified attributes (default:

mode,ownership,timestamps), if possible

additional attributes: context, links, all



What is the output of "ls -l /usr/share/fonts/truetype" and

"ls -l /usr/share/fonts/truetype/*"?



> It is necessary most of the times to copy directories and files to the

> root directory where TeX is installed. Ubuntu 8.04 had no problem.



I am a TeX expert even less than a fonts expert, but why is your TeX

installed in root? Why do you not use the TeX Live collection that is

part of Ubuntu? E.g.,



aptitude show texlive

Package: texlive

State: not installed

Version: 2007.dfsg.1-2

Priority: optional

Section: tex

Maintainer: Ubuntu Core Developers

<ubuntu-devel-discuss@lists.ubuntu.com>

Uncompressed Size: 123k

Depends: texlive-fonts-recommended (>= 2007-11),

texlive-latex-recommended (>= 2007-11), texlive-latex-base (>= 2007-11)

Suggests: texlive-doc-en

Description: TeX Live: A decent selection of the TeX Live packages

The TeX Live software distribution offers a complete TeX system. It

encompasses programs for typesetting, previewing and printing of TeX

documents in many different languages, and a large collection of TeX

macros and font libraries.



This metapackage provides a decent selection of the TeX Live packages

which should suffice for the most common tasks.



The distribution also includes extensive general documentation about

TeX, as well as the documentation accompanying the included software

packages.

Homepage: http://www.tug.org/texlive







--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users







Get a FREE AOL Email account with unlimited storage. Experience Email and instant messaging together - chat while you mail and mail while you chat! Register for your free email account at http://free.aol.com.au


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-08-2008, 02:58 PM
Mario Vukelic
 
Default PEBKAC 2008 ;) [was: Stupid Ubuntu 8.10

On Sat, 2008-11-08 at 09:51 -0500, vafa@aol.com.au wrote:
> Thanks for your help. cp -rp worked perfectly.

Great. I'm not sure whether you ls listings below were done before or
after it worked, but what you posted has several issues that need to be
corrected if they still exist. Read on ...

> but why cp -r worked in Ubuntu 8.04 and not in Ubuntu 8.10?

I have no idea. Is it possible that in 8.04 the user account under which
you performed the copy operation was different or had different rights
from the one you used in 8.10?

> The example that I said was just an example, it had nothing to do with
> TeX.

I see

> Also for installing fonts in Ubuntu 8.04, I used to first press Alt+F2
> and then write:
>
> gksu nautilus /usr/share/fonts/truetype
>
> and then I would drag and drop my fonts to that window.

Makes sense I guess

> but this does not works in Ubuntu 8.10, it moves all the fonts to that
> window, but they are not avaliable in openoffice

I had got that

> and if you check that again, it said unreadable, means you even can
> not open that folder.

No surprise, see below:

> the output of "ls -l /usr/share/fonts/truetype" is :
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%
> total 48
> drwxr-xr-x 2 root root 4096 2008-10-30 09:59 arphic
> drwxr-xr-x 2 root root 4096 2008-10-30 09:58 freefont
> drwxr-xr-x 2 root root 4096 2008-10-30 09:59 kochi
> drwxr-xr-x 2 root root 4096 2008-10-30 09:59 openoffice
> drwxr-xr-x 2 root root 4096 2008-10-30 10:02 thai
> drwxr-xr-x 2 root root 4096 2008-10-30 10:02 ttf-arabeyes
> drwxr-xr-x 2 root root 4096 2008-10-30 09:58 ttf-bitstream-vera
> drwxr-xr-x 2 root root 4096 2008-10-30 10:02 ttf-dejavu
> drwx------ 2 vafa vafa 4096 2008-11-08 20:11 TTF-fonts
> drwxr-xr-x 2 root root 4096 2008-10-30 10:02 ttf-indic-fonts-core
> drwxr-xr-x 2 root root 4096 2008-10-30 10:02 ttf-lao
> drwxr-xr-x 2 root root 4096 2008-10-30 10:02 unfonts
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%

Notice that the directory TTF-fonts is owned by yafa.yafa instead of
root.root as the others are. Also, the directory's permission of
rwx------ only allows user yafa to change into it (that's what the "x"
is for), but nobody else. The others have rwxr-xr-x, which allows owner
(root), group (root) and everyone else to change into it.

See "man chown" and "man chmod", examples follow ...

> the output of "ls -l /usr/share/fonts/truetype/*" is :
<snipped lots of fonts that are correctly owned by root.root and set to
rw-r--r--. An example follows>
> /usr/share/fonts/truetype/ttf-dejavu:
> total 2332
> -rw-r--r-- 1 root root 558064 2008-05-19 16:44 DejaVuSans-Bold.ttf

And here we have the culprit again:
> /usr/share/fonts/truetype/TTF-fonts:
> total 92604
> -rwx------ 1 vafa vafa 44076 2003-11-05 02:00 alba.ttf
<snipped lots of others like it>

The rest is fine again:
> /usr/share/fonts/truetype/ttf-indic-fonts-core:
> total 1496
> -rw-r--r-- 1 root root 79168 2008-07-04 22:24 lohit_gu.ttf
<snip>

To correct the mess, you will want to perform the following commands,
which set ownerships and permissions correctly:


As user yafa:

chmod 755 /usr/share/fonts/truetype/TTF-fonts
755 sets the mode to rwxr-xr-x, see "man chmod"

chmod 644 /usr/share/fonts/truetype/TTF-fonts/*
644 sets the mode to rw-r--r--

sudo chown -R root.root /usr/share/fonts/truetype/TTF-fonts
(chown changes ownership to user.group, the -R applies it recursively.
To make a file or dir owned by root you need sudo)

> the TeXlive that comes with Ubuntu is old. I use TeXlive 2008 which I
> have downloaded and installed from tug.org/texlive.

I see. I thought TeX is extremely mature and has been more or less
unchanged for many years? Knuth until recently used to pay for found
bugs, no?

In any case, you should have installed into /usr/local. This is the
conventional place for software installed outside the package manager.
Consequently, many of the required paths for software in /usr/local are
already set correctly, the package manager knows not to
touch /usr/local, and so on.

> I am very new to Linux and I have started to read Mark G. Sobell's
> book on Linux (editors, commands and shells)+A practical Guide to
> Ubuntu Linux

Good for you Welcome!



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-08-2008, 02:59 PM
Mario Vukelic
 
Default PEBKAC 2008 ;) [was: Stupid Ubuntu 8.10

And by the way, your mailer broke the thread again, you need to play
more with the info at
<http://www.ubuntu.com/support/community/mailinglists/etiquette#head-4b5a9f87b09948b1fe365a519f31ea2686a48f94>





--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-08-2008, 03:02 PM
Mario Vukelic
 
Default PEBKAC 2008 ;) [was: Stupid Ubuntu 8.10

On Sat, 2008-11-08 at 16:58 +0100, Mario Vukelic wrote:
>
> Notice that the directory TTF-fonts is owned by yafa.yafa

_v_afa, of course. Here and everywhere else.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-08-2008, 03:14 PM
Mario Vukelic
 
Default PEBKAC 2008 ;) [was: Stupid Ubuntu 8.10

On Sat, 2008-11-08 at 09:51 -0500, vafa@aol.com.au wrote:
> the output of "ls -l /usr/share/fonts/truetype" is :
> drwx------ 2 vafa vafa 4096 2008-11-08 20:11 TTF-fonts

Another thought: I wonder how you managed to create files
in /usr/share/fonts/ as user vafa. Did you fiddle with permissions
in /usr/share or so?


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-08-2008, 11:33 PM
 
Default PEBKAC 2008 ;) [was: Stupid Ubuntu 8.10

the results that I sent you was after installing fonts. I installed that TTF-fonts folder by the command:



sudo cp -rp /usr/share/fonts/truetype



but why Ubuntu 8.04 and Ubuntu 8.10 have different permissions?










-----Original Message-----

From: Mario Vukelic <mario.vukelic@dantian.org>

Sent: Sun, 9 Nov 2008 3:14 am

Subject: Re: PEBKAC 2008 [was: Re: Stupid Ubuntu 8.10











On Sat, 2008-11-08 at 09:51 -0500, vafa@aol.com.au wrote:

> the output of "ls -l /usr/share/fonts/truetype" is :

> drwx------ 2 vafa vafa 4096 2008-11-08 20:11 TTF-fonts



Another thought: I wonder how you managed to create files

in /usr/share/fonts/ as user vafa. Did you fiddle with permissions

in /usr/share or so?





--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users







Get a FREE AOL Email account with unlimited storage. Experience Email and instant messaging together - chat while you mail and mail while you chat! Register for your free email account at http://free.aol.com.au


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-09-2008, 07:58 AM
Mario Vukelic
 
Default PEBKAC 2008 ;) [was: Stupid Ubuntu 8.10

On Sat, 2008-11-08 at 19:33 -0500, vafa@aol.com.au wrote:
> the results that I sent you was after installing fonts. I installed
> that TTF-fonts folder by the command:
>
> sudo cp -rp /usr/share/fonts/truetype
>
> but why Ubuntu 8.04 and Ubuntu 8.10 have different permissions?

All the -p did was to preserve the ownership and permissions as they
were. Since they were wrong after the copy, they must have been wrong
before the copy.

What seems to have happened is this (I'm only going to write about the
directory permissions, because they prevented you from changing into the
directory in the first place; applying the following to the file
permissions inside the directory is left as an exercise to the reader):
* For some reason, the original directory (and ttf files inside)
had wrong permissions and ownership.
* Permissions (rwx------) and ownership (vafa.vafa) made sure that
only vafa could access the fonts, but no other user. This did
not matter as long as nobody but vafa tried.
* When you made the original copy with -r , the permissions
remained rwx------ (which is the wrong setting for a system-wide
install), but the ownership was changed to root.root (which is
the correct one for a system-wide install, but cannot work when
the permissions are not correct)
* To, the directory ended up as rwx------, root.root. Therefore,
only root could access them. For vafa it failed.
* Then you asked for help and I told you to use -p. This only
ensured that everything was reset to rwx------, vafa.vafa.
Which, as explained, is wrong for a system-wide install but
happened to work for you by accident
* Then you posted the ls output
* Then I explained what to do to correct the settings in a way
that is correct for a system-wide install, is secure, and works
for all users, not only vafa

This being said, you should look into the link explaining OpenOffice
font installation that NoOp posted.

And thanks for fixing your mailer to keep the thread intact

Regards
Mario



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 02:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org