<div dir="ltr"><div><div><div><div><div><div><div>I've been looking into this, searching a lot, but unable to find what I need.<br><br></div>The situation:<br><br></div>I have multiple profiles for firefox. Everytime I shut down my computer I just let them be killed, which means that the next time I start them up they will ask me if I want to restore the previous session. These previous sessions often consist of multiple windows (with multiple tabs, but that's beside the point).<br>
<br></div>In my .clfswmrc I've setup a hook so that firefox windows go to the 'browser' frame (using absorb-window-nw-hook). But I would really like to have these different profiles's windows go to different frames.<br>
<br></div>How can I set this up? I can't use the window name, as this is the tab title in firefox and will be different for each window.<br><br>I was thinking if I could find the initial process id (PID) I could somehow check if a navigator window was a child of the original PID and then send them to the appropriate frame based on that.<br>
<br></div>In my searches I found a thread on the stumpwm list where someone else seems to have been trying the same thing, but sadly the thread stops at a point where it remains unresolved:<br><br><a href="http://lists.nongnu.org/archive/html/stumpwm-devel/2009-08/msg00002.html">http://lists.nongnu.org/archive/html/stumpwm-devel/2009-08/msg00002.html</a><br>
<br></div>I searched the code for something like the '(xlib:get-property (window-xwin w) :_NET_WM_PID)' mentioned there, but no dice.<br><br>So, is this possible? Any pointers would be very much appreciated...<br>
<br></div>thijso<br><div><div><br></div></div></div>