On Wed, 2005-09-28 at 23:51 +0900, David Stevenson wrote: > > > On 9/25/05, Stafford Horne <[EMAIL PROTECTED]> wrote: > Hello, > > A few weeks ago I started working on some code that allows E17 > to setup > Input Methods. This is usually setup in the Xsession script > which setup > up all of your default env variables and starts and support > programs > needed for input. > > The goal is to have support of input methods managed by > enlightenment. > > Design: > > Currently e17 internally has a list input methods is a static > list of > Language_Pack Structures. This list can at the moment not be > updated. I > intend for, some time in the future, the Language_Pack to be > used for > more than just the Input Method but also setting up fonts and > what not. > > When setting up Input Method we will configure the following > env vars. > > GTK_IM_MODULE > QT_IM_MODULE > XMODIFIERS > GTk_IM_MODULE_FILE - This may not be needed, I think its best > this > config is done by the system and not E. But raster suggested > it. > > Look at the patch for more info. > > Usage: > > [EMAIL PROTECTED] bin]$ enlightenment_remote -input-method-list > REPLY <- BEGIN > REPLY: "scim" > REPLY: "uim" > REPLY <- END > > [EMAIL PROTECTED] bin]$ enlightenment_remote -input-method-get > REPLY <- BEGIN > REPLY: "scim" > REPLY <- END > > ... > > Anyway, If it looks ok for now I can commit it. I haven't > had time to > work on it for a while and it has been working fine for me in > setting up > scim whenever I use e. > > Gidday, > > I'll try to have a play with this in the next few days. > > I've got the following in my .xsession: > > if type kinput2 &> /dev/null ; then > kinput2 -wnn & > fi > [EMAIL PROTECTED] ; export XMODIFIERS > > So I guess for this to work for me (without changing IMs) I'd have to > do something similar to like what is in the patch in e_intl.c for the > scim and uim input methods, right? For e_im_exec would I do > elp->e_im_exec("kinput2 -wnn")? > > As for the .xsession file, I'd need to modify it to only execute those > lines only in the case I was going to "exec" a WM other than e17?
Why would you need to use anything else? ;) > > regards! > David > Hi, Your assumptions are right. The code in e_intl.c is just temporary as those configuration values should not be hard coded. But for playing with it in its currect state we can hard code those values. Please make the changes you said and let me know how it goes. -Stafford ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel