View Single Post
Old 10-18-2012, 10:14 AM   #39
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6015922
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:
go-game.sh
PHP Code:
#xdotool windowminimize 0x1200002  ==
     
for i in $(xwininfo -tree -root grep "home" | \
grep --e 0x[a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9]* ); do
        echo 
item$i
        xdotool windowminimize $i
    done
    
     
for i in $(xwininfo -tree -root grep "blankBackground" | \
grep --e 0x[a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9]* ); do
        echo 
item$i
        xdotool windowminimize $i
    done
    
     
for i in $(xwininfo -tree -root grep "searchBar" | \
grep --e 0x[a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9]* ); do
        echo 
item$i
        xdotool windowminimize $i
    done

# can very occasionally require this twice 
#(awesome getting in the way?) so we do it twice anyways.    
wmctrl -r L:A_N:titleBar_ID:system -'0,0,0,600,1'
wmctrl -r L:A_N:titleBar_ID:system -'0,0,0,600,1' 
stop-games.sh
PHP Code:
#!/bin/sh

  
for i in $( xdotool search --classname webreader ); do
            echo 
item$i
            xdotool windowactivate $i
        done
        
    
#xdotool windowminimize 0x1200002  ==
     
for i in $(xwininfo -tree -root grep "home" | \
grep --e 0x[a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9]* ); do
        echo 
item$i
        xdotool windowactivate $i
    done
    
     
for i in $(xwininfo -tree -root grep "blankBackground" | \
grep --e 0x[a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9]* ); do
        echo 
item$i
        xdotool windowactivate $i
    done
    
     
for i in $(xwininfo -tree -root grep "searchBar" | \
grep --e 0x[a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9]* ); do
        echo 
item$i
        xdotool windowactivate $i
    done

wmctrl 
-r L:A_N:titleBar_ID:system -'0,0,0,600,30' 


mirrored at http://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
Attached Files
File Type: gz xdotool-kindle-touch-mnt-us.tar.gz (712.6 KB, 67 views)

Last edited by twobob; 10-19-2012 at 09:59 AM. Reason: I'lll add the tool, minimodding link
twobob is offline   Reply With Quote