I haven't tried this myself, but perhaps it works.

I found the following via Google by searching for "window id from pid":

https://stackoverflow.com/questions/2250757/is-there-a-linux-command-to-determine-the-window-ids-associated-with-a-given-pro

I then searched to see if you can get the pid of a process started in xinitrc, and found this:

https://bbs.archlinux.org/viewtopic.php?id=104145

--
Guy Rouillier


On 2/10/2024 7:53:39 AM, "Riza Dindir" <riza.din...@gmail.com> wrote:

Hello,

I am starting xterm in my xinitrc. Is it possible to get the window id of that xterm?

Regards

Reply via email to