Stunkymonkey / nautilus-open-any-terminal

GNU General Public License v3.0
536 stars 54 forks source link

Open Guake here always opens the terminal in home folder #115

Closed paloha closed 7 months ago

paloha commented 7 months ago

Hello, I have just installed nautilus-open-any-terminal on Ubuntu 23.10. I am using guake terminal and wanted to be able to open it in a specific folder from Nautilus.

I executed the following:

sudo apt install python3-nautilus
git clone https://github.com/Stunkymonkey/nautilus-open-any-terminal.git
cd nautilus-open-any-terminal
./tools/update-extension-user.sh install
nautilus -q
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal terminal guake
glib-compile-schemas ~/.local/share/glib-2.0/schemas/

As expected, after right-clicking in Nautilus, there is a new Open in Guake or Open Guake here, depending on where you click. However, no matter where I am located, the new Guake tab always opens only in the home folder. Obviously, such behavior would render this whole thing useless, as I could just do Ctrl+L and Ctrl+C in Nautilus and then pop up Guake with F12 and then write cd plus Ctrl+C and enter.

Could you please let me know how to configure nautilus-open-any-terminal in order to open Guake in the folder where Nautilus is currently open? Thank you

Stunkymonkey commented 7 months ago

@paloha I can reproduce this. After the program is started all new shells start with the same folder as the initialized one (I guess in your case the home folder).

I can also report if we supply the full folder path instead of . it works.

@lvxnull I guess we will have to use the same workaround as in blackbox right?

I guess we need to adjust:

lvxnull commented 7 months ago

I can't reproduce. Opening with --show --new-tab=. seems works on debian 12 in both the shell and the nautilus extension.