Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    xmimd: X11 <-> Meego Input Method bridge

    Reply
    Page 1 of 3 | 1   2     3   | Next
    javispedro | # 1 | 2012-08-13, 13:51 | Report

    xmimd is bridge between the MeeGo Input Method framework (aka Maliit) and the standard X11 input method system, XIM.

    Latest version is 1.2 . Old versions are available. If you are using Easy Debian, please follow the excellent instructions by rcolistete.

    It was originally designed to be able to write text using the N9 virtual keyboard to remote X applications being run under SSH X redirection. These applications were neither Gtk+ or Qt.
    However, I realized it would also be useful for running non-Qt applications under Harmattan, including those from Easy Debian. If Xephyr is being used, xmimd can be configured to use the Xephyr Window id when talking with Maliit instead of sending "invalid" (from the point of view of Maliit) Window IDs.



    Using XIM has a few advantages versus other solutions such as the Maliit GTK input method, apart from the Xephyr redirection feature.
    XIM is supported by virtually every application and widget framework in the Unix world, so nothing has to be installed on the remote system or chroot, and it works with applications that do not use Gtk+ or Qt. Additionally, XIM uses X11 as the transport protocol, so no new network ports have to be opened (or bind mounts for D-Bus).

    However, there are several cons to using XIM:
    - XIM is arcane. It is hard to understand, hard to debug. May the Gods of X11 help you!
    - XIM is quite strict regarding locale configuration and does not tolerate some of the stuff distros have been doing as of lately.
    - "Native" input methods such as Maliit GTK input context will provide much more integration between the virtual keyboard and applications. XIM is just "good enough".


    Here's a brief description of xmimd command line arguments.
    Please note that if you are using Easy Debian, most is already set up for you.
    • -v is verbose mode
    • -d is shorthand for setting $DISPLAY. xmimd will register as a X input method in the specified display.
    • -x activates the "Xephyr proxy mode" described above. As mandatory parameter, you need to specify Xephyr's window ID

    In the target environment (e.g. inside the chroot or in the remote system), you need to set the following environment variables:
    Code:
    export GTK_IM_MODULE=xim
    export XMODIFIERS="@im=xmim"
    A brief tutorial if you are using a custom chroot.

    You might post your xmimd problems and experiences on this thread

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by javispedro; 2012-08-17 at 15:07.
    The Following 14 Users Say Thank You to javispedro For This Useful Post:
    Bundyo, cddiede, fw190, ibrakalifa, Kabouik, MartinK, Mentalist Traceur, OVK, peterleinchen, rcolistete, reinob, thedead1440, thp, trayhoper

     
    rcolistete | # 2 | 2012-08-14, 15:20 | Report

    Javispedro, is it possible to MeeGo Maliit virtual keyboard have (semi-)transparency ?
    I know some X Terminal virtual keyboards have transparency, like MTermite and FingerTerm (which has incompatibility problems with qchroot, i.e., mounting Easy Debian).
    But his transparent vkb are not available outside these X Terminal implementations.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    javispedro | # 3 | 2012-08-17, 15:03 | Report

    Originally Posted by rcolistete View Post
    Javispedro, is it possible to MeeGo Maliit virtual keyboard have (semi-)transparency ?
    http://depot.javispedro.com/nit/harm..._1.2_armel.deb

    Try the above 1.2 release with the "-t" or "--translucent" command line option (when launching xmimd). If it works for you, make some pictures!

    Apart from this I also fixed a crash when running in the old PR1.2 ;P

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by javispedro; 2012-08-17 at 15:08.
    The Following 6 Users Say Thank You to javispedro For This Useful Post:
    MaKenZi, munozferna, OVK, rcolistete, reinob, thedead1440

     
    rcolistete | # 4 | 2012-08-17, 15:44 | Report

    Wowww !!! Yeah, it works ! Fantastic, Javispedro !



    I've noticed the translucent vkb remains (for some time ?) outside LXDE, when using MeeGo with other softwares. It is also useful in MeeGo but I'll leave it as an option with 3 LXDE icons : LXDE trvkb, LXDE, LXDE novkb (or something similar).

    PS: I've deleted by accident this post and retyped it...

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by rcolistete; 2012-08-19 at 18:32.
    The Following 8 Users Say Thank You to rcolistete For This Useful Post:
    F2thaK, ibrakalifa, javispedro, MartinK, munozferna, OVK, reinob, thedead1440

     
    Kabouik | # 5 | 2012-08-18, 08:41 | Report

    Simply awsome. Thanks Javispedro.

    And by the way, I second that this translucent keyboard would be very useful in Meego too. I mean in all Meego applications.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rcolistete | # 6 | 2012-08-19, 18:30 | Report

    Originally Posted by javispedro View Post
    I've noticed the translucent vkb remains (for some time ?) outside LXDE, when using MeeGo with other softwares. It is also useful in MeeGo but I'll leave it as an option with 3 LXDE icons : LXDE trvkb, LXDE, LXDE novkb (or something similar)
    I don't know why, but now that Easy Debian Harmattan 1.1.0 is released, the translucent vkb doesn't remains outside LXDE (i.e., on MeeGo). Any way, it is better. The icon "LXDE opVKB" uses the opaque vkb, but it remains translucent if "Debian LXDE" was used last time, the workaround is to open some MeeGo application with text entry.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by rcolistete; 2012-08-19 at 18:34.

     
    javispedro | # 7 | 2012-08-19, 22:15 | Report

    Originally Posted by rcolistete View Post
    noticed the translucent vkb remains (for some time ?) outside LXDE, when using MeeGo with other softwares. It is also useful in MeeGo but I'll leave it as an option with 3 LXDE icons : LXDE trvkb, LXDE, LXDE novkb (or something similar).
    Which other software, doesn't the same happen with mtermite also?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rcolistete | # 8 | 2012-08-20, 00:05 | Report

    Originally Posted by javispedro View Post
    Which other software, doesn't the same happen with mtermite also?
    See my post #6, this behaviour doesn't happen anymore. Before I was testing xmimd as user in X Terminal.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to rcolistete For This Useful Post:
    javispedro

     
    www.rzr.online.fr | # 9 | 2012-08-20, 23:48 | Report

    I upgraded shared repo to latest one ...
    btw :
    https://gitorious.org/javispedro-n95...rge_requests/1

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to www.rzr.online.fr For This Useful Post:
    rcolistete

     
    pooze | # 10 | 2012-08-24, 21:10 | Report

    Hello.

    I was trying this, but can't seem to get it working. I fetched the linked .deb package and installed it. In one terminal I started "xmimd -v" locally on the N9. It immediately reports "Server running" and stays there (not daemonized). On another terminal, still locally on the N9, I start a python GTK program. Nothing I do seem to trigger the virtual keyboard.

    Being puzzled by this, I also tried setting the GTK_IM_MODULE and XMODIFIERS environment variables, although I understood the text as if it was only needed for chroot and remote environments. Still no reaction.

    Could anyone please guide me in the right direction? Am I starting the xmimd in wrong way? Am I starting the python GTK application in wrong way?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 3 | 1   2     3   | Next
vBulletin® Version 3.8.8
Normal Logout