View Single Post
Old 08-04-2016, 05:39 PM   #23
Hanspeter
Connoisseur
Hanspeter doesn't litterHanspeter doesn't litter
 
Posts: 77
Karma: 150
Join Date: Jul 2014
Device: Kindel PW1, Voyager
Quote:
Originally Posted by knc1 View Post
Try this one, it is already built:
https://packages.debian.org/jessie/a...jongg/download

There has been a lot of posts here on un-packing and running Debian packages in user storage (without a chroot).
I got forward with that one. Attached a wrapped Kual extension, that can start it but you do not see the window as it is below of all other windows

So that is what I have at the moment trying with two shell windows:
1st Window to start the game:
[root@kindle root]# cd /mnt/us/extensions/xmahjongg/
[root@kindle xmahjongg]# ./run.sh
^C
[root@kindle xmahjongg]#

2nd Window to try to get the window shown:
root@kindle root]# export LD_LIBRARY_PATH=/mnt/us/extensions/xmahjongg/lib:$LD_LIBRARY_PATH
[root@kindle root]# xwininfo -tree -root | awk '/xmahjongg/{print $1}'
0x1600004
[root@kindle root]# xwininfo -tree -root | grep home
0x1200026 "L:A_N:application_ID:com.lab126.booklet.home_M:fa lse_PC:TS_RC:true_WT:true_O:U_WTNB:true_WTPB:false ": () 758x899+0+125 +0+125 MapState=IsViewable
0x120004b "L_N:non-centered_ID:com.lab126.booklet.home_M:dismissible_ RD:false_FH:F_CD:true_TAC:search-bar_TAB:menu_RC:false_HIDE:background_BS:true_A:Ki ndleMenu": () 517x786+231+121 +231+121 MapState=IsViewable
[root@kindle root]# /mnt/us/extensions/xmahjongg/bin/xdotool windowreparent 0x1600004 0x1200026
[root@kindle root]#

That gets the window above the home window. You can see it, but the touches are not send to it. When you stop the game with ctrl+c in the other shell window you see that your touches where record and now send to the home window.

[root@kindle root]# /mnt/us/extensions/xmahjongg/bin/wmctrl -r xmahjongg -b toggle,above
then wait about 30 seconds and the game window will pop up. It is payable, but the graphics is messed up for whatever reason.

I call it a day now. I'm out of ideas for today.
HaPe

Last edited by Hanspeter; 08-04-2016 at 05:50 PM.
Hanspeter is offline   Reply With Quote