View Single Post
Old 10-17-2012, 10:11 AM   #37
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: 6021146
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
Doesn't cause layer to be topmost as layering is already decided by this point.

Get window id's etc...
Quote:
Grammar for xprop:

xprop [<disp>] [<select option>] <option>* <mapping>* <spec>*

disp ::= -display host:dpy
select option ::= -root | -id <id> | -font <font> | -name <name>
option ::= -len <n> | -notype | -spy | {-formats|-fs} <format file>
mapping ::= {-f|-format} <atom> <format> [<dformat>]
| -remove <propname>
| -set <propname> <value>
spec ::= [<format> [<dformat>]] <atom>
format ::= {0|8|16|32}{a|b|c|i|m|s|t|x}*
dformat ::= <unit><unit>* (can't start with a letter or '-')
unit ::= ?<exp>(<unit>*) | $<n> | <display char>
exp ::= <term> | <term>=<exp> | !<exp>
term ::= <n> | $<n> | m<n>
display char ::= <normal char> | \<non digit char> | \<octal number>
normal char ::= <any char except a digit, $, ?, \, or )>
Control window props

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 11:20 AM.
twobob is offline   Reply With Quote