LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-26-2004, 04:45 AM   #1
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Rep: Reputation: 15
No Cyrillic symbols in KDE and Gnome Slackware 10


Hello,

I have a problem. I can't see cyrillic text in any application! In KDE 3.2.3 cyrillic symbols appear like boxes. In GNOME 2.6 a cyrillic symbol appears as two rectangles one upon another with numbers inside them?! What should I do to see cyrillic texts and symbols!? Please help guys.
 
Old 07-26-2004, 01:25 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Install the correct font and if necessary tell your apps where to find it.
 
Old 07-29-2004, 04:24 AM   #3
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks, but which is the correct font? would the fonts from winxp work?
 
Old 07-29-2004, 11:51 AM   #4
stelmed
Member
 
Registered: Mar 2003
Location: Evia-Greece
Distribution: Slackware
Posts: 104

Rep: Reputation: 15
Why don't you try the cyrillic font packet from the x folder of the slackware distribution?
 
Old 07-31-2004, 06:37 AM   #5
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
I did, I installed them when I installed slackware, I tried reinstalling them but still nothing happened
 
Old 07-31-2004, 02:52 PM   #6
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
Use forume search more often.

There were a shitload of posts about this issue. Bellow is one of them.

Report

Quote:
1) write in /etc/rc.d/rc.font
-----------------------
setfont -v Cyr_a8x16
mapscrn koi2alt
for i in 1 2 3 4 5 6; do
echo -ne "\033(K" > /dev/tty$i
done
loadkeys ru-ms
-----------------------

2) write in /etc/profile.d/lang.sh
-----------------------
export LANG=ru_RU.KOI8-R
export LC_MESSAGES=C
export LC_NUMERIC=C
-----------------------

3) edit (find this three lines) /usr/share/locale/locale.alias
-----------------------
...
russian ru_RU.KOI8-R
ru ru_RU.KOI8-R
ru_RU ru_RU.KOI8-R
...
-----------------------

4) edit /etc/X11/xorg.con
-----------------------
...
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/
...
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
 
Old 07-31-2004, 04:22 PM   #7
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks I'll try it. I did search for similar threads in the forum but I didn't find something like this. Hope it works.
 
Old 07-31-2004, 04:27 PM   #8
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
But will the KOI8-R encoding work? In my country windows-1251 is a standard, and iso8859-5 is almost a standard too, but i've never seen KOI8-R, anyway, who cares if it works.
 
Old 07-31-2004, 04:59 PM   #9
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
Well, unfortunately this didn't help
 
Old 08-02-2004, 08:43 PM   #10
abxbx
LQ Newbie
 
Registered: Jul 2003
Location: USA
Distribution: Slackware 10.0
Posts: 23

Rep: Reputation: 15
You need the following packages:

cabextract-0.6

webfonts-1.0-i386-3d

That's it, I think.
 
Old 08-03-2004, 04:02 PM   #11
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
Could you give me a link to these packages? I found the first one, but it is a archiving utility I think, for extracting windows .cab files. Why do I need it? About the other package I didn't find anything?!
 
Old 08-03-2004, 06:39 PM   #12
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
plm, what user are you running as? root? some other? Slack is not the best cyrillic platform - strange things happen.
I had cyrillic show up as squares with numbers in them in KDE and pretty much everywhere while I ran as root (setting up, tweaking period) Then, I created a normal user and for that user, cyrillic works no problem.

Cyrillic support has been such a painful issue on many linux distros. I am hesitant to even start digging what actually happen. But... some wounds are made to be reopen...

Tasks:
1. Can you please post "Module" and "Files" section of your /etv/X11/xorg.conf
2. Tell me if you use default/root. Did you try cyrillic as new/normal user?
 
Old 08-04-2004, 10:27 AM   #13
abxbx
LQ Newbie
 
Registered: Jul 2003
Location: USA
Distribution: Slackware 10.0
Posts: 23

Rep: Reputation: 15
Install this pkg before you install webfonts:
http://prdownloads.sourceforge.net/d...l.tgz?download

webfonts: http://prdownloads.sourceforge.net/d...l.tgz?download

This should be all you have to do. I did the default Slack 10 install (by just installing everything) I did no modifications to my kernel, and it worked for me.

Last edited by abxbx; 08-04-2004 at 10:30 AM.
 
Old 08-04-2004, 12:16 PM   #14
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
Quote:
Originally posted by abxbx
Install this pkg before you install webfonts:
http://prdownloads.sourceforge.net/d...l.tgz?download

This should be all you have to do. I did the default Slack 10 install (by just installing everything) I did no modifications to my kernel, and it worked for me.
Slack10 installs freetype 2.1.7 as part of X. It is invoked in the modules section of xorg.conf. If you install 2.1.4 from link above - you'll be downgrading.

Just do a "locate freetype" - assuming you have done "updatedb" before. Among other things you'll see
/usr/X11R6/lib/modules/fonts/libfreetype.so

I am certain it is a settings issue. The webfonts wouldn't hurt though.

Also, plz, post xorg.conf sections I requested above so we can check them and go further.

Last edited by suslik; 08-04-2004 at 12:23 PM.
 
Old 08-04-2004, 01:09 PM   #15
zsejk
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 345
Blog Entries: 5

Rep: Reputation: 30
Hey suslik,

Just thought I'd let you know I have the same issues, both as root and user, and that that solution posted above does indeed not work. Note that I didn't install the KDEI packages, so maybe plm didn't either and that's the problem. Or would that be unimportant?

-zsejk

Code:
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "freetype"
    Load        "speedo"

# This loads the GLX module
    Load       "glx"

EndSection
Code:
Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath     "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic/"

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection
(just posting those in case plm's are the same; save him some posting time )
 
  


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
KDE File Manager and Cyrillic soldeace LinuxQuestions.org Member Success Stories 0 12-07-2004 12:56 PM
Slackware cyrillic fonts console problem mirr0red Slackware 0 08-05-2004 03:47 AM
Cyrillic in X, but not in GNOME. abxbx Slackware 1 07-26-2004 05:42 PM
Cyrillic support for X in Slackware Current (base 9.1.) Sijaiko Slackware - Installation 2 06-23-2004 05:46 PM
Typing in Cyrillic on Slackware 9.1 / KDE 2.14 ming0 General 4 02-28-2004 11:50 PM


All times are GMT -5. The time now is 05:06 PM.

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