Hi, There are two situations. Local program, remote program via X forward.
All I can think of is to iterate local procs and read DISPLAY env. I have no idea how to do with remote programs. Any ideas? -- 竹密岂妨流水过 山高哪阻野云飞 And for G+, please use magiclouds#gmail.com.