nautilus-terminal icon indicating copy to clipboard operation
nautilus-terminal copied to clipboard

[Feature Request] Nautilus follows terminal movement

Open jcklpe opened this issue 5 years ago • 9 comments

So when you have the terminal open and and you click into folder in Nautilus, the terminal updates alongside your directory position in Nautilus. BUT, if you cd FolderName the Nautilus view does not sync alongside the changes in the terminal. I think one thing that would be nice is for Nautilus to follow along with the terminal so that the two would be kept more in sync.

Also just to let you know I've established a process for my Open Source Branding project, which I had messaged you about a couple of months ago. If you would please log an issue here, just so that I can begin to try out my new process, that would be awesome! https://github.com/jcklpe/Open-Source-Branding/issues/new?template=branding-request.md

jcklpe avatar Oct 21 '18 19:10 jcklpe

Hi,

It would be nice to change Nautilus current directory when cd-ing in the terminal, but there is no reliable way to detect when this change occur in, the terminal. I have also no idea about how to update Nautilus' current directory... there is no API to do that so we have to find a hack for that...

So I will not implement this feature as it is too complicated and I have not enough time currently to do it.

Also just to let you know I've established a process for my Open Source Branding project, which I had messaged you about a couple of months ago.

I will open an issue later, when the program will have a GUI to display a logo :)

PS: Sorry for the long time I take to answer, I have too many project to deal with and too many things to handle IRL too :(

flozz avatar Dec 02 '18 13:12 flozz

@flozz No worries! I'm just thankful for this project and the work you've already done :)

jcklpe avatar Dec 03 '18 18:12 jcklpe

Agree. This is good enough already for all. And if that function could be applied, that should be an option not to be used for someone. Because when we change a directory in nautilus after changed a directory with cd in terminal, usually we need to reset the directoy in terminal with the nautilus location frequently as well.

BTW, This is really cool @flozz . Thanks and Cheers.

kakadais avatar Mar 07 '19 22:03 kakadais

how about inspect the working directory of the shell? it is exposed in /proc/$PID/cwd, but it will not work with tmux or gnu screen.

GHolk avatar Sep 30 '19 10:09 GHolk

@GHolk Ok but that do not solves de other issue → forcing Nautilus de change its current directory 😟

flozz avatar Oct 01 '19 11:10 flozz

First of all thank for all your work done @flozz . To achieve that, maybe you can ask for this feature to Nautilus devs?(https://wiki.gnome.org/Apps/Files/Resources).

jesramgue avatar Jan 22 '20 11:01 jesramgue

I am installing this plugin for this purpose. Instead of toggling F4 key, it would be very beneficial to have nautilus follow what I did in this nautilus terminal.

So, I don't need to type ls and pwd a lot.

I am supporting and waiting for this feature.

bagustris avatar Jun 23 '21 00:06 bagustris

I am also supporting for this feature, that would be so nice.

I switched from KDE to GNOME. I had Dolphin and this feature was build-in.

fernent avatar Sep 16 '21 09:09 fernent

I am currently working on other projects that take me a lot of time. At least the only thing I can say is that I will not even try to look at this before Nautilus migrates to GTK 4 as it can break everything, then, we will see :)

flozz avatar Sep 23 '21 10:09 flozz