On 10/02/2024 19:53, Riza Dindir wrote:
No-one has mentioned this solution yet, so for completeness I'll throw it in: XResQueryClientIds can be used to query the real pid of window. Unlike `_NET_WM_PID`, it can't be faked or modified. You can get the pid of your xterm when you start it (ie: using $?), then find the window(s) that match it.Hello,I am starting xterm in my xinitrc. Is it possible to get the window id of that xterm?
Cheers, Antoine
Regards