[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.
Dear gegechris99
In Vietnam, we have our own fonts, but most of our do not use these fonts
we use times new roman instead
I did not meet any problem while typing Korean words in slackware 13 or maybe I do not know enough Korean words to test
but there is a problem
whatever type of unicode font that I try
there is a same result
for example :
I type "khế" : starfruit
in kwrite or kate
"kh" is in the font type that I chose
but "ế" always in "courier new" font type
I am sorry that I do not know about Vietnamese language.
How about your input method choices in SCIM. I see there are:
Code:
vi-vni
vi-viqr
vi-telex
vi-tcvn
Viqr
Then under Viqr in Generic Table you have Table Management > Valid Input Chars:
Code:
'(+.?ADEIOUY^`adeiouy~
Does KWord work okay for you now?
Check the encoding settings in your application.
Maybe you should try setting the default font to one of the Liberation fonts.
Sorry I can't help more. I don't use KDE or it's apps, because they have proven
over the years to be unreliable and buggy.
Location: so 34, hem 75, ngach 12 ngo 624, Minh Khai, Ha Noi , Viet Nam
Distribution: Slackware, slax, opensuse
Posts: 33
Rep:
Dear Bruce Hill and gegechris99
In fact, kword does not meet any problem while typing vietnamese with kde keyboard tool " kxkb"
but its style is very bad like typing in viqr, it costs more time than in telex typing system
In kate or kword I had set default font to be Liberation font but it no use, the special letter "unicode" still be in courier new, others in Liberation fonts
I hope that the next version of koffice will be better
I had tried to download an openoffice package for slackware but I can not find the English version,
it is too big to be compiled from source on my PC ,
do you know any link that let me download an English version of openoffice 3.0 or 3.1
do you know how or where could teach me the way to strip some part of open office, I only need writer, spearsheet
that all
I only have a full version of Open Office. The Slackware package is close
to 170MB. You can download the Open Office binary from here. Put
that link in your browser and go up a directory for more files.
If you would prefer a Slackware package, you may contact me via email from
this forum and I will give you the link to download it from my server here.
You can get openoffice.org 3.1.1 from slackbuilds.org. The Slackbuild does not involve any compilation. It's just a reordering of the openoffice.org binary to make it look like a Slackware package. So it will not take long and it will make for better integration into Slackware.
Location: so 34, hem 75, ngach 12 ngo 624, Minh Khai, Ha Noi , Viet Nam
Distribution: Slackware, slax, opensuse
Posts: 33
Rep:
Quote:
Originally Posted by gegechris99
You can get openoffice.org 3.1.1 from slackbuilds.org. The Slackbuild does not involve any compilation. It's just a reordering of the openoffice.org binary to make it look like a Slackware package. So it will not take long and it will make for better integration into Slackware.
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 sorry because of my trouble again
now I can use scim well if I am root after did as Bruce Hill said in his post
when I change to another user , I can not use scim
I had made the config as same as I had done with root
but it doesn't run
Dear everyone
I am sorry because of my trouble again
now I can use scim well if I am root after did as Bruce Hill said in his post
when I change to another user , I can not use scim
I had made the config as same as I had done with root
but it doesn't run
I'm not sure I understand your problem. Are you talking about an issue about using SCIM as a normal user in Slackware 13.0 or 12.0?
Also, when you say "I can not use scim", can you please describe the error: can you run "scim -d" as normal user?
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).
If you are using the pinentry-gtk2 interface (for entering passphrases with
gpg-agent), be aware that there is a bug in the way scim-bridge and the
pinentry-gtk2 interact. The result is that keyboard input does not register
with pinentry-gtk2. For the time being, either change the /usr/bin/pinentry
symlink to use the qt or curses frontend, or don't use scim.
Location: so 34, hem 75, ngach 12 ngo 624, Minh Khai, Ha Noi , Viet Nam
Distribution: Slackware, slax, opensuse
Posts: 33
Rep:
Dear gegechris99 and Bruce Hill
I use slackware 13 this time
I did exactly like the file CHANGES_AND_HINTS.TXT said
in root and I can use scim well
I did as follow
-add export LANG=en_US.UTF-8 to ~/.profile
- chmod +x /etc/profile.d/scim.*
-add a shell script to the ~/.kde/Autostart folder that runs the command "scim -d"
-add the line "scim -d" to ~/.xprofile file
but when I changed to normal user, I did the same step the command
except
chmod +x /etc/profile.d/scim.*
I must type su - root (enter)
and type chmod +x /etc/profile.d/scim.*
bash-3.1$ groups lfs
lfs : lfs audio cdrom plugdev
I've seen that your user lfs does not belong to group users. I'm not sure if it's important. So in case you can not run SCIM in the command line, try to add your user lfs to group users:
Location: so 34, hem 75, ngach 12 ngo 624, Minh Khai, Ha Noi , Viet Nam
Distribution: Slackware, slax, opensuse
Posts: 33
Rep:
Dear gegechris99
thanks for your kind help
I had solved my trouble
I write the steps here, hoping that it could help someone has been or will have been met the same problem
I did as follow
-add "export LANG=en_US.UTF-8" to ~/.profile
- type in the konsole "chmod +x /etc/profile.d/scim.* "
- add my user name to group users :
gpasswd -a username users
everything must be done when you are in root mood
username here means the normal user ,not the root,
after all, reboot the computer and see the result
Last edited by hoanglong1712; 10-24-2009 at 03:23 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.