Troels Henriksen a écrit : > Alternative/additional idea: look for the process indicated by the > _NET_WM_PID property, then use the working directory of that process.
It seems the value of _NET_WM_PID is not always useful: For urxvtc clients, it is equal to the pid of urxvtd. -- Bastien