LinuxQuestions.org
Visit the LQ Articles and Editorials 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 05-12-2009, 06:33 AM   #1
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Rep: Reputation: 94
scim, skim and input to KDE programs


hey all,

i installed scim (offical packege) and skim (compiled from source) on
the machine for japanese input. they work fine for firefox and such.
however they didn't worked for KDE applications (including
OpenOffice). i did some search and found a post about similer problem
in linuxquestions.org debian form. i changed export QT_IM_MODULE=scim
to export QT_IM_MODULE=xim. now it works with kde applications.

my questions is that is this the right way to solve this.

Slackware 12.1

Last edited by ozanbaba; 05-12-2009 at 06:37 AM.
 
Old 05-13-2009, 01:31 AM   #2
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 720
Blog Entries: 3

Rep: Reputation: 76
Hello,

The "standard" way to use SCIM in Slackware is described in file CHANGES_AND_HINTS.TXT of Slackware 12.1.

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).
Even if you follow this "standard" way, you will still have the issue with KDE applications (at least, I still had this issue). So I used SKIM just like you. I submitted a Slackbuild to slackbuilds.org.

You then have to modify the config module from "config" to "kconfig" in the configuration screen of SKIM and restart SCIM. Basically you will be running SCIM with the config module kconfig.

For your information, SCIM has been recompiled in Slackware 12.2 and it will work with KDE applications out of the box (SKIM is no longer necessary).
 
  


Reply

Tags
input, kde, scim


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
Why I can't input chinese with scim yearnjia Linux - Desktop 4 01-29-2009 05:15 PM
SCIM input box kimo_anton Linux - Newbie 3 10-26-2006 07:16 PM
OpenOffice.org crashes when used along with SCIM/Skim when I press Shift+Z adityavpratap Ubuntu 0 09-15-2006 12:33 AM
Scim/skim ZeroKun Linux - Software 0 10-02-2005 01:44 AM
Skim/Scim not working in Firefox 1.0.6? koyi Slackware 1 09-23-2005 07:55 AM


All times are GMT -5. The time now is 06:19 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