Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

xwininfo fails to locate client?

Major Senior
Registered User
Join date: 12 Apr 2006
Posts: 104
06-02-2006 16:17
Anyone have a suggestion as to why the Second Life client would fail to be found by xwininfo -name "Second Life" ??

When locating it by its id, it claims that "Second Life" is infact its name. Very odd.
Major Senior
Registered User
Join date: 12 Apr 2006
Posts: 104
06-02-2006 16:20
From: Major Senior
Anyone have a suggestion as to why the Second Life client would fail to be found by xwininfo -name "Second Life" ??

When locating it by its id, it claims that "Second Life" is infact its name. Very odd.


Hmm .. xprop tells me that the name is "Second Life" in UTF8... ponderous.
Major Senior
Registered User
Join date: 12 Apr 2006
Posts: 104
Never mind
06-02-2006 16:59
Found a way to automaticly locate the window id. Fun.
Darkside Eldrich
Registered User
Join date: 10 Feb 2006
Posts: 200
06-02-2006 19:26
From: Major Senior
Found a way to automaticly locate the window id. Fun.

Share?
Major Senior
Registered User
Join date: 12 Apr 2006
Posts: 104
06-02-2006 20:30
From: Darkside Eldrich
Share?


xwininfo -root -tree | awk '/"Second Life".*"SDL_App"/{print $1}'

Have made a little helper script called slwinid that does this that is being used in my sl utils, as it is needed for slupload and slnoidle.

Working on figuring out why xse has decided to start fighting the window manager at this point though. :)
Rizzermon Sopor
Registered User
Join date: 15 Mar 2006
Posts: 43
06-03-2006 17:55
From: Major Senior
xwininfo -root -tree | awk '/"Second Life".*"SDL_App"/{print $1}'

Have made a little helper script called slwinid


Oh, thanks for sharing that Major. That will go as a great addition to my little screen capture script that I use to capture "video" using xwd in SL from the SL linux client. It will help me to add another step of automation to it I do believe. :D

Edit: I already added it to my script and it works great! :D