View Single Post
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#125
Originally Posted by javispedro View Post
Here's a first release: http://depot.javispedro.com/nit/harm..._1.0_armel.deb. xmim should be installed in Harmattan, not inside Easy Debian.
My attempt to ease the Javispedro solution for MeeGo vkbd working on Easy Debian @ Nokia N9/N950. To install :

a) install the xmimd deb above in MeeGo;

b) copy the scripts xmimd.sh, xephwm-id.sh and suxephwm-id.sh to /home/user of you Nokia N9/N950;

c) as root on MeeGo, copy "xmimd.sh" to /usr/bin :
$ devel-su
# cd ~user
# chmod 755 xmimd.sh
# cp ~/xmimd.sh /usr/bin

d) inside Debian chroot (as root), copy xephwm-id.sh and suxephwm-id.sh to /usr/bin :
[root@chroot: /] cd ~
[root@chroot: /] chmod 755 xephwm-id.sh suxephwm-id.sh
[root@chroot: /] cp xephwm-id.sh suxephwm-id.sh /usr/bin

To run :

1) following my tests, the part :
Originally Posted by javispedro View Post
3. Now get into the terminal inside the chroot. You have to set a few environment variables:
Code:
export GTK_IM_MODULE=xim
export XMODIFIERS="@im=xmim"
needs to be done before opening Debian LXDE;

2) then inside Debian chroot (as root, i.e, after typing "debian") :
[root@chroot: /] xephwm-id.sh
or
[root@chroot: /] suxephwm-id.sh

3) in another terminal, this time a MeeGo terminal as user or root :
$ xmimd.sh

4) inside Debian LXDE, open any software and give focus in a text input to see the MeeGo virtual keyboard.

Explanation : xephwm-id.sh / suxephwm-id.sh runs xephwm / suxephwm and get the Xephyr window id saving it in /home/user/.xephyr-debian_id. Then xmimd.sh runs ximimd with the Xephyr window id from this file /home/user/.xephyr-debian_id.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2012-04-15 at 02:56.
 

The Following User Says Thank You to rcolistete For This Useful Post: