LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-12-2009, 05:35 AM   #1
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
Slackware 13 Thai language support for Dolphin, OOo title bars, 'Everything' install


I can't get Dolphin, Slackware 13, KDE and OOo to show Thai fonts for file names saved anywhere in the system.

After a full install including all the stuff in kdei plus installing ~285 fonts and updating all the necessary font stuff a file saved into a user's Home (or even Root, when running as root) will still show up in Dolphin as ??????????.doc or ???????????.odt etc and the title bar of a Thai document opened in OOo will show garbage even though the file itself is handled pretty well by OOo for Thai input and formatting. Language switching, keyboard layouts etc work fine in the KDE control panel.

On an install of Kubuntu the Thai language file names show up fine in Dolphin and OOo title bars, even without extra fonts being installed manually. Am I looking at a need to recompile Dolphin to get the Thai language support on Slackware or have I just missed something?

Thanks very much in advance as always for any suggestions.
 
Old 12-12-2009, 05:57 AM   #2
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by slackist View Post
I can't get Dolphin, Slackware 13, KDE and OOo to show Thai fonts for file names saved anywhere in the system.

After a full install including all the stuff in kdei plus installing ~285 fonts and updating all the necessary font stuff a file saved into a user's Home (or even Root, when running as root) will still show up in Dolphin as ??????????.doc or ???????????.odt etc and the title bar of a Thai document opened in OOo will show garbage even though the file itself is handled pretty well by OOo for Thai input and formatting. Language switching, keyboard layouts etc work fine in the KDE control panel.

On an install of Kubuntu the Thai language file names show up fine in Dolphin and OOo title bars, even without extra fonts being installed manually. Am I looking at a need to recompile Dolphin to get the Thai language support on Slackware or have I just missed something?

Thanks very much in advance as always for any suggestions.
did you configured locale in /etc/profile.d/lang.sh. probabity is that system uses en_US while you need unicode based one (mine is tr_TR.UTF-8)

fonts does not make a difference if you don7t use the correct encoding.

alsa check
Code:
Input methods for complex characters (CJK, which is shorthand for Chinese,
  Japanese, Korean) and other non-latin character sets have been added. These
  input methods use the SCIM (Smart Common Input Method) platform.
  The environment variables for SCIM support are set in /etc/profile.d/scim.sh
  The requirements for getting SCIM input methods to work in your X session
  are as follows:
  (1) Use a UTF-8 locale. Look in /etc/profile.d/lang.sh for setting your
      language to (for instance) en_US.UTF-8. As a word of warning: maybe you
      should leave root with a non-UTF-8 locale because you don't want root's
      commands to be misinterpreted. You can add the following line to your
      ~/.profile file to enable UTF-8 just for yourself:
        export LANG=en_US.UTF-8
  (2) Make the scim profile scripts executable. These will setup your
      environment correctly for the use of scim with X applications. Run:
        chmod +x /etc/profile.d/scim.*
  (3) Start the scim daemon as soon as your X session starts. The scim daemon
      must be active before any of your X applications. In KDE, you can add a
      shell script to the ~/.kde/Autostart folder that runs the command
      "scim -d". In XFCE you can add "scim -d" to the Autostarted Applications.
      If you boot your computer in runlevel 4 (the graphical XDM/KDM login)
      you can simply add the line "scim -d" to your ~/.xprofile file.
      This gives you a Desktop Environment independent way of starting scim.
  When scim is running, you will see a small keyboard icon in your system tray.
  Right-click it to enter SCIM Setup. In 'Global Setup' select your keyboard
  layout, and you are ready to start entering just about any language
  characters you wish! Press the magical key combo <Control><Space>
  in order to activate or deactivate SCIM input. The SCIM taskbar in the
  desktop's corner allows you to select a language. As you type, SCIM will show
  an overview of applicable character glyphs (if you are inputting complex
  characters like Japanese).
from CHANGES_AND_HINTS.TXT.

basicly for non-latin characters, you need Unicode locale.
 
  


Reply



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
Thai Language Support in 2008.1 bdprem Mandriva 1 08-17-2008 08:39 AM
no title bars random guy Linux - Software 4 12-26-2006 04:21 PM
I lost my title bars.. bingviini Linux - Newbie 2 11-16-2004 04:59 AM
Problem setting Thai Fonts in OOo 1.1.1 on RH9 gmichel Linux - Newbie 18 11-15-2004 08:37 AM
xmms and title bars Linux~Powered Linux - Software 2 05-03-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:54 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
Open Source Consulting | Domain Registration