On Wed, 31 Aug 2005 11:21:32 +0800 Didier Casse <[EMAIL PROTECTED]>
babbled:

> Hi all,
>          I have a question. I'm automating certain things at the
> moment and I wanted to know how we can determine the window class via
> command line for a particular app? Please don't tell me to execute
> xprop WM_CLASS|cut -d \, -f 2 and click on every single window that I
> find!

execute and use xprop etc. there is no way to find out otherwise as the CODe in
the APP SETs the property - and it may be set to any numebr of things. it may
have nothnig to do with the executable as the exe may wrap other executables
etc. it may use sdl to display and sdl loves to set menaingless names and
classes of SDL etc. :) every app will vary. beware! :)

> Some apps however give some clues in their dot desktop file of their WMCLASS:
> 
> e.g:
> StartupWMClass=scribus
> StartupWMClass=gqview
> StartupWMClass=Emacs
> StartupWMClass=Firefox-bin
> StartupWMClass=Grip
> StartupWMClass=vncviewer
> 
> I guess those are specific and can't be changed. I'd appreciate some
> clues about those. Thanks a lot.
> 
> -- 
> With kind regards,
> Didier.
> 
> ------------
> Yum/apt repository for DR17/EFL: http://sps.nus.edu.sg/~didierbe
> 
> Didier F.B Casse
> PhD candidate, Singapore Synchrotron Light Source (SSLS)
> National University of Singapore.
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多                              [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to