Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 Oct 2014, 05:47
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
SCIM not working with Java apps
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Irihapeti
Guest


PostPosted: Thu 01 Oct 2009, 16:48    Post_subject:  SCIM not working with Java apps
Sub_title: Some progress, but need further help
 

I would like to get Scim working with Java applications in Puppy. It is possible in other distros, so I think it should be possible in Puppy as well.

After months of saying that Scim won't respond at all to Java, I've found that this is only half the story.

I can now get the Scim panel to pop up when I press cntrl-space, under the following circumstances:

* This text needs to be added to the .xinitrc file

Code:
export XIM=SCIM
export XIM_PROGRAM=/usr/bin/scim
export XIM_ARGS="-d -c socket -f X11 -e socket"
export XMODIFIERS=@im=SCIM
export XMODIFIER=@im=SCIM


Actually, the third line doesn't seem to make much difference, and I'm not sure that both of the last two lines are needed. I copied it from another wiki.

* The locale must not be a utf-8 locale
* The locale must not previously have been set to a utf-8 locale

It is fine to add stuff like
Code:
export LC_ALL="en_NZ.UTF-8"
export LC_CTYPE="en_NZ.UTF-8"
export LC_MESSAGES="en_NZ.UTF-8"
export LOCALE="en_NZ.UTF-8"
export LANG="en_NZ.UTF-8"
export LANGUAGE="en_NZ.UTF-8"

to the .xinitrc file.

I've tested this in Puppy 2.17 (my main compiling version) and the latest 4.30 with the new kernel. I'm assuming that all the intervening versions will behave in the same way.

So far, so good. BUT, and this is the big BUT, none of the IM engines are available to Java apps. That is, no pinyin, hangul, chewing, anthy, canna and all the other engines which are the reason one uses Scim in the first place.

I installed uim (see http://murga-linux.com/puppy/viewtopic.php?p=346646#346646) and the same thing applies - no engines available to uim.

So, I appeal to those of you with greater expertise and more detailed knowledge of Puppy's underlying structure. Is there a library that needs to be added, an existing one that needs to be compiled with other options, or an environment variable that needs to be set? Or something I haven't thought of?

Thanks in anticipation
Irihapeti
Back to top
Irihapeti
Guest


PostPosted: Tue 20 Oct 2009, 18:42    Post_subject: Solved, I think  

Solved, I think.

See here: http://www.murga-linux.com/puppy/viewtopic.php?p=352479#352479
Back to top
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0406s ][ Queries: 10 (0.0038s) ][ GZIP on ]