How get window list and focused window?

Qiangning Hong hongqn at gmail.com
Wed Sep 7 13:31:09 CEST 2005


The ruby script eutotrans.rb at http://forchheimer.se/transset-df/ is a
interesting tool to automatically set window opacity according to focus.
 It is written for enlightment, so I want to take some effort to make it
working under Xfce.

In eutotrans.rb, the author use these two enlightment-specific command:

1) eesh -ewait window_list  # to get ids of all the windows
2) eesh -ewait window_list | grep Focus # to get the id of focus window

Is there something equivenlant in Xfce?


-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=1>
Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=183>



More information about the Xfce mailing list