always returns the first terminal directory (i3/gnome-terminal)
Opened this issue · 3 comments
runnings multiples gnome-terminal in i3 in several workspaces and I get something like this :
➜ tmp>xcwd
/home/myuser/d1
➜ tmp>pwd
/home/myuser/d2
I think this is happening due to the fact that gnome-terminal
uses client-server model (only one process being up at all times: gnome-terminal-server
), and it doesn't seem like there's a way to revert to the standalone mode. What a shame.
What I'm doing now is just using Ctrl
+ Shift
+ N
instead, when I want to fork.
I am having this same issue with urxvtd and urxvtc.
Not sure if this project is still being maintained, however I noticed today that in urxvt, executing this command in ~/dir1
while I had a process running in another terminal (pwd being ~/dir2
), xcwd
would output the directory of the terminal with an active process. Seems related to the above.
Running on Manjaro i3 Linux.