[SOLVED] Slackware 12.1 - SCIM does not work within QT applications
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware 12.1 - Korean input with SCIM does not work within QT applications
Hello,
I've upgraded to Slackware 12.1 and I'm using SCIM to enter Korean characters. I followed instructions in the CHANGES_AND_HINTS.TXT file to set up SCIM:
1) in ~/.profile, I added:
Code:
export LANG=fr_FR.UTF-8
2) then:
Code:
chmod +x /etc/profile.d/scim.sh
3) and in ~/.xprofile, I added:
Code:
/usr/bin/scim -d
It works well on my browser (Firefox) but I can not manage to use SCIM in QT applications (Kword, Kedit...).
Due to version policy, Trolltech won't incorporate immodule support in Qt 3.3.x. However, this would be a standard built-in feature for Qt 4. In fact, Qt 4-beta2 already includes it.
As for Qt 3.3, you can apply the immodule patch. Some distros (gentoo, SuSE) already do that for you.
I'd like to know if someone has managed to enter Asian characters in QT applications with Slackware 12.1. I find it strange that the CHANGES_AND_HINTS.TXT file does not say anything about some limitations for SCIM (or I didn't look at the right place).
FYI, I installed only the following SCIM packages:
libhangul
scim
scim-hangul
scim-bridge
Thank you for your feedback.
Last edited by gegechris99; 05-06-2008 at 01:49 AM.
Reason: Title modified to more accurately describe the issue
I can enter Simplified Chinese into KWord, Stardict, Firefox, Konsole, KEdit.
I had to go to SCIM setup (right-click the tray icon) and add another language,
so that there was more than just Chinese Simplified in the Global Setup.
I googled a bit and it seems that to be able to have SCIM working for QT applications, we need a QT plugin. Other distributions (Ubuntu, Mandriva, Fedora) offer a "scim-qtimm" package to make SCIM work with QT applications.
Is such a package necessary for Slackware? I haven't found one for now.
I googled a bit and it seems that to be able to have SCIM working for QT applications, we need a QT plugin. Other distributions (Ubuntu, Mandriva, Fedora) offer a "scim-qtimm" package to make SCIM work with QT applications.
Is such a package necessary for Slackware? I haven't found one for now.
I just want to clarify this for others who find and read this thread. It is not necessary
to have a QT plugin for SCIM to work with QT applications.
We put a lot of work into SCIM between Slackware-12.0 and 12.1.
Prior to Slackware-12.0, to use SCIM we had to rebuild many packages ... such as
fontconfig, freetype, libXft, and x11. Not to mention the fact that we also had to
build scim, scim-fcitx, scim-pinyin, and scim-tables to display and input Chinese.
We also had to use Microsoft fonts to have a decent Hanzi display. But ...
Along came Eric Hameleers (Alien Bob), who worked with us and started the SAS
Project ... Slackware Asian Support. My thanks to Eric for hours of tireless work
to get us to where we are today.
Just had to say this, and let those who search know that the problem in this thread
just might be Korean input only, for Chinese and Japanese input and display do not
require a plugin to work with QT apps.
Location: so 34, hem 75, ngach 12 ngo 624, Minh Khai, Ha Noi , Viet Nam
Distribution: Slackware, slax, opensuse
Posts: 33
Rep:
Dear everyone
I had a problem
I had solved that I can type non-US-english in firefox, open office
but I can not make the skim panel show another input style like chinese or japanese except english/keyboard while I use kword or kate
I had install
scim1.4.7
skim1.4.5
m17n-lib
m17n-db
scim-m17n-0.2.2scim-bridge-agent_0.4.16-2_i386
scim-bridge-client-gtk_0.4.16-2_i386
scim-bridge-client-qt4_0.4.16-2_i386
scim-bridge-client-qt_0.4.16-2_i386
Since Slackware 12.1, scim is included in slackware and the installation method is described in file CHANGES_AND_HINTS.TXT:
Quote:
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).
However in Slackware 12.1, I had to install skim to be able to enter Korean characters in QT-based applications (ex: Kword) although others reported that scim worked fine without skim. You can install skim using this SlackBuild(i.e. a shell script to create the package. See instructions on the site)
In Slackware 12.2, scim works natively with QT-based applications (as far as Korean input is concerned). So no need for Skim.
Location: so 34, hem 75, ngach 12 ngo 624, Minh Khai, Ha Noi , Viet Nam
Distribution: Slackware, slax, opensuse
Posts: 33
Rep:
Dear everyone
I am a vietnamase
I am using slackware 12
I still wait for Slackware 13, because, you known , upgrading os version is really a pain in ass, I am sorry because I do not known another phrase,
if I use firefox or whatever gnome-based application like pidgin or openoffice, the panel has all language
but when I use koffice or kde-app, it only show me keyboard and english/european
I had tried to download scim from slackware.it but the server do not let me download
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.