02-29-2012, 10:50 AM | #31 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Searching in the logfile, I found these lines:
PHP Code:
PHP Code:
|
02-29-2012, 06:37 PM | #32 | |
Connoisseur
Posts: 55
Karma: 124493
Join Date: Jan 2012
Device: Kindle Touch
|
Quote:
Code:
xev -name 'L:A_N:application_ID:com.erez.fullgallery001_PC:N' |
|
Advert | |
|
03-01-2012, 12:21 PM | #33 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
I just sent you a PM!
|
03-06-2012, 05:15 PM | #34 |
Enthusiast
Posts: 34
Karma: 10
Join Date: Dec 2011
Location: Germany
Device: Kindle PW4
|
Any updates?
This would be so nice if you get something wotking |
05-24-2012, 07:00 AM | #35 |
Connoisseur
Posts: 73
Karma: 7140
Join Date: Feb 2012
Device: Kindle Touch
|
I compiled a simple application testPlayer with gtk. After runnig, i cheked it by a command xwininfo -tree -root. It seems, that it is behind all widows. How to show this application above them?
*.c source code: #include <gtk/gtk.h> main(int argc, char *argv[]) { GtkWidget *window; gtk_init(&argc, &argv); window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(window), "Center"); gtk_window_set_default_size(GTK_WINDOW(window), 230, 150); gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER); gtk_widget_show(window); g_signal_connect_swapped(G_OBJECT(window), "destroy", G_CALLBACK(gtk_main_quit), NULL); g_print (" main 0 \n"); gtk_main(); g_print (" main 1 \n"); return 0; } logs: xwininfo: Window id: 0x51 (the root window) (has no name) Root window id: 0x51 (the root window) (has no name) Parent window id: 0x0 (none) 20 children: 0x1400001 "testPlayer": ("testPlayer" "TestPlayer") 10x10+10+10 +10+10 MapState=IsUnMapped 1 child: 0x1400002 (has no name): () 1x1+-1+-1 +9+9 MapState=IsUnviewable 0x600013 "L:SS_N:screenSaver_FH:F_ID:blanket-adscreensaver_FS:F_O:U": () 600x800+0+0 +0+0 MapState=IsUnMapped 0xc00033 "L:C_N:searchBar_SBTH:70_SBPH:70_ID:system": ("pillowd" "Pillowd") 600x70+0+30 +0+30 MapState=IsViewable Last edited by Ehhh; 05-24-2012 at 03:57 PM. |
Advert | |
|
05-24-2012, 08:09 AM | #36 |
Connoisseur
Posts: 73
Karma: 7140
Join Date: Feb 2012
Device: Kindle Touch
|
I changed the title , and application starts to work well. Thank you!!
|
10-17-2012, 09:11 AM | #37 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
rename "after the fact"
Code:
xprop -name "oldname" -f WM_NAME 8s -set WM_NAME L:D_N:application_ID:newname:false_PC:T_RC:true_O:U Get window id's etc... Quote:
xdotool windowreparent <windowid> <rootid> [root@kindle root]# xdotool windowreparent 0x1000003 0x51 force topmost. : ) for my reference Also helpful: [root@kindle root]# xdotool windowminimize 0xe00003 [root@kindle root]# xdotool windowminimize 0x1000024 hide the main layers [root@kindle root]# xdotool windowminimize 0xe00033 hide search bar Last edited by twobob; 10-17-2012 at 10:20 AM. |
|
10-17-2012, 03:05 PM | #38 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Helpful awesome refs:
Spoiler:
also useful... http://dev.man-online.org/man1/xdotool/#lbAK http://www.semicomplete.com/projects...l#window_stack back to the thrust of the message: As the id's of the windows are not constant... [root@kindle root]# xprop -root | grep -o -e [0-9]"x"[a-zA-Z0-9]* is a place to start getting some values in realtime. seemingly the root 0x51 is constant at least (not that that helps right now but might) also: [root@kindle root]# COUNTER=4; until [ $COUNTER -lt 1 ]; do xdotool search --classname --onlyvisible Pillowd windowminimize;let COUNTER-=1; done is helpful [root@kindle root]# Code:
COUNTER=4; until [ $COUNTER -lt 1 ]; do xdotool search --classname --onlyvisible webreader windowminimize;let COUNTER-=1; done
Get "HOME" ID [root@kindle root]# xwininfo -tree -root | grep "home" | grep -o -e 0x[a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9]*# example Quote:
Last edited by twobob; 10-17-2012 at 11:36 PM. Reason: more links |
|
10-18-2012, 10:14 AM | #39 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Spoiler:
mirrored at https://www.mobileread.com/forums/sho...16&postcount=4 I'm currently testing that as a one shot solution. few issue with statusbar being "hid" long term, may do a geometry workaround in the medium term. geometry workaround now in place. Otherwise Now useful. Provides a complete "safe" screen tear-down and build-back. EDIT: To use these tools the way I use them: I configure my system as outlined at minimodding. http://minimodding.com/article9-Kind...ng-custom-apps Cheers Last edited by twobob; 10-19-2012 at 09:59 AM. Reason: I'lll add the tool, minimodding link |
10-18-2012, 02:39 PM | #40 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Dude! Code in indent-killing quote blocks? What's up with that? How about some nice colorful php blocks, or at least correctly formatted code blocks, eh?
I like to set font size = 1 in code blocks (Advanced edit mode) to fit more on the visible line width. Last edited by geekmaster; 10-18-2012 at 02:42 PM. |
10-18-2012, 03:50 PM | #41 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
Feel free to refactor it into a method-based call. I haven't bothered yet but obviously that would be tidier. Last edited by twobob; 10-19-2012 at 09:53 AM. Reason: method |
|
12-04-2012, 10:11 AM | #42 |
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
X apps on Kindle Paperwhite
Hi!
Kindle Paperwhite Does anybody know whether the Kindle Touch window naming rule also works for Paperwhite? can anybody test the following command xev -name L:A_N:application_ID:somename_M:false_PC:N will it work (show blank window) with Paperwhite? Thanks! |
12-04-2012, 10:36 AM | #43 | |
Zealot
Posts: 121
Karma: 82565
Join Date: Aug 2010
Location: Maryland, USA
Device: dxg, k3w,k4nt,kpw
|
Quote:
Stays untill interrupted by Ctrl/C. Sends the following output to the console: Spoiler:
|
|
12-04-2012, 11:22 AM | #44 |
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
h1uke,
Thanks! |
12-04-2012, 12:54 PM | #45 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
EDIT: Meh. nothing
|
Tags |
k5 tools |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content Apps that run on Kindle 4 without keyboard | Blog Kindle | Amazon Kindle | 8 | 04-14-2014 04:06 AM |
Run Android Apps on your Windows PC | Dave_S | Android Devices | 4 | 04-13-2012 06:52 PM |
Development poll: Google mobile native apps @ PE/EE and able to Sync! at Ermine final release | kksh | enTourage Archive | 23 | 05-23-2011 02:05 PM |
PRS-500 Why no native Reader apps? | curiouser | Sony Reader Dev Corner | 28 | 05-10-2007 04:08 PM |