PINE64
Anyone know how to start a terminal at current dir with Nemo? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Anyone know how to start a terminal at current dir with Nemo? (/showthread.php?tid=12783)



Anyone know how to start a terminal at current dir with Nemo? - rp3 - 01-14-2021

Hi, I'm just using the default filemanager included with mobian, and I often would want to quickly start a terminal in the folder I am currently in.

I can find some options which should work, but no luck so far. I have enabled an icon on the taskbar of nemo which should start a terminal, but nothing happens.

In browsing the web, I found reference to this in regard to enabling a terminal in nemo, but I don't know how it would apply to mobian:
gsettings set org.cinnamon.desktop.default-applications.terminal exec <terminal-name>

I also found reference to "nemo-terminal", but I don't know how to install it (or if I should).

Can anyone help me with this?

Regards to all!


RE: Anyone know how to start a terminal at current dir with Nemo? - sfb - 01-18-2021

(01-14-2021, 05:40 AM)rp3 Wrote: Hi, I'm just using the default filemanager included with mobian, and I often would want to quickly start a terminal in the folder I am currently in.

I can find some options which should work, but no luck so far. I have enabled an icon on the taskbar of nemo which should start a terminal, but nothing happens.

In browsing the web, I found reference to this in regard to enabling a terminal in nemo, but I don't know how it would apply to mobian:
gsettings set org.cinnamon.desktop.default-applications.terminal exec <terminal-name>

I also found reference to "nemo-terminal", but I don't know how to install it (or if I should).

Can anyone help me with this?

Regards to all!
Thing is, mobian uses kingscross by default. Have ou tried sudo apt install nemo-terminal in kingscross you can check what apt does before it installs.


RE: Anyone know how to start a terminal at current dir with Nemo? - rp3 - 01-19-2021

Thanks for your suggestion sfb,
I tried:
sudo apt install nemo-terminal
but got error:  "unable to locate package nemo-terminal"

however, I noticed on a website that nemo normally uses gnome-terminal to open terminals, so I tried installing this as follows:
sudo apt install gnome-terminal
this succeeded, and a new icon for "Terminal" appeared on the desktop

This terminal seems quite similar to Kings Cross, and even shares the same command history.

Gnome terminal seems to run from Nemo, already cd'd to the current folder when the relevant toolbar icon in Nemo is selected.

Notes:

- I had to go into Nemo's preferences, and click to enable the terminal icon in Nemo's toolbar.

- I also have to quickly swap to landscape orientation on the phone to physically see this icon in the toolbar, or it is not drawn. (It only takes a few moments to select landscape, click the icon, then select portrait again.)

- I also ran the following command before running Nemo, to try to globally make all program dialogs shrink to fit the screen:

gsettings set sm.puri.phoc scale-to-fit true

This seemed helpful in many cases, though not all.

If anyone knows how to make the "open in terminal" option appear in the file menu or something, this would be really helpful??

Regards everyone.


RE: Anyone know how to start a terminal at current dir with Nemo? - ryo - 01-19-2021

(01-18-2021, 10:20 AM)sfb Wrote:
(01-14-2021, 05:40 AM)rp3 Wrote: Hi, I'm just using the default filemanager included with mobian, and I often would want to quickly start a terminal in the folder I am currently in.

I can find some options which should work, but no luck so far. I have enabled an icon on the taskbar of nemo which should start a terminal, but nothing happens.

In browsing the web, I found reference to this in regard to enabling a terminal in nemo, but I don't know how it would apply to mobian:
gsettings set org.cinnamon.desktop.default-applications.terminal exec <terminal-name>

I also found reference to "nemo-terminal", but I don't know how to install it (or if I should).

Can anyone help me with this?

Regards to all!
Thing is, mobian uses kingscross by default. Have ou tried sudo apt install nemo-terminal in kingscross you can check what apt does before it installs.
Maybe you know, but:
1. Why did they choose "KingsCross" as the name, and some road sign (?) as its logo? It took me a while to figure out it's the terminal.
2. What's the practical difference between this and Gnome Terminal, other than KC having a search button on the top left while GT has a tab icon on that spot, and KC being almost not-translated?

I installed Gnome Terminal and marked KingsCross as "Hide=true".


RE: Anyone know how to start a terminal at current dir with Nemo? - KC9UDX - 01-19-2021

Prolly the same reason Wayland is called Wayland? Only better because King's Cross really is a terminal but Wayland is a town.

(Just guessing)


RE: Anyone know how to start a terminal at current dir with Nemo? - wibble - 01-19-2021

Like many free software program names, it's a joke for those that understand the background, and an oddly arbitrary name for those that don't. King's Cross station in London is at the southern end of the East Coast Main Line, hence a terminus or terminal station. The icon is like the station name signs on the London Underground.


RE: Anyone know how to start a terminal at current dir with Nemo? - KC9UDX - 01-19-2021

Long ago I got tired of descriptive names for my software. For a while I used obscure polka lyrics. I had a web server named Purple Cow (and a blogging package for it called Bull Speak) and a MIDI sequencer named Terarrel!