<html><head><style id="css_styles" type="text/css"><!--blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] {  list-style-position: inside;}
body { font-family: 'Segoe UI'; font-size: 12pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
--></style></head><body><div><div>I haven't tried this myself, but perhaps it works.</div><div><br /></div></div><div>I found the following via Google by searching for "window id from pid":<br /><br /><a href="https://stackoverflow.com/questions/2250757/is-there-a-linux-command-to-determine-the-window-ids-associated-with-a-given-pro">https://stackoverflow.com/questions/2250757/is-there-a-linux-command-to-determine-the-window-ids-associated-with-a-given-pro</a><br /><br />I then searched to see if you can get the pid of a process started in xinitrc, and found this:<br /><br /><a href="https://bbs.archlinux.org/viewtopic.php?id=104145">https://bbs.archlinux.org/viewtopic.php?id=104145</a><br /><span><br /></span></div><div><span>-- </span></div><div id="signature_old" style="clear:both"><div dir="ltr"><div>Guy Rouillier</div></div></div><div style="clear:both"><br /></div>
<div><br /></div>
<div>
<div>On 2/10/2024 7:53:39 AM, "Riza Dindir" <<a href="mailto:riza.dindir@gmail.com">riza.dindir@gmail.com</a>> wrote:</div></div><div><br /></div>
<div id="xb5a27e002a20400"><blockquote cite="CA+ek4BFA7OOTS4j4Q7kt-5GZO529fV50bcdM1bgUZcvWmttg_w@mail.gmail.com" type="cite" class="cite2">
<div dir="ltr"><div>Hello,</div><div><br /></div><div>I am starting xterm in my xinitrc. Is it possible to get the window id of that xterm?</div><div><br /></div><div>Regards<br /></div></div>
</blockquote></div>
</body></html>