21
5
How can I open a new terminal window from a terminal in linux?
21
5
How can I open a new terminal window from a terminal in linux?
22
That's system specific. On KDE, just type konsole
. On Gnome, it's gnome-terminal
. What should work on every X system is xterm
.
Edit: Removed the bit about $TERM
, as it is an "identifier for the text window’s capabilities" and not necessarily the name of an executable binary.
In Linux Mint 18.1 Cinnamon I have TERM="xterm-256color" that does not correspond to a binary command to open a terminal :( – giuspen – 2016-12-15T18:50:52.337
2Edited my answer, the thing I wrote about $TERM
was based on a wrong assumption. I guess gnome-terminal
should work on Mint. – joni – 2017-01-01T16:48:10.007
18
I think what you want is:
Ctrl+Shift+T -> new tab
or
Ctrl+Shift+N -> new terminal
+1 because it's a keyboard shortcut...which doesn't address the question asked (as I understand it), but sure helps me! :-) – jvriesem – 2015-09-04T18:13:15.467
2
The command that I set to run on startup is "x-terminal-emulator" and that opens the terminal we all know and love.
2
Press ALT + F2
, then type-in gnome-terminal
or xterm
and Enter.
2
I recommend using an external program such as pcmanfm
to launch a new terminal. This way, your root permissions and login state remain in the new terminal.
If you don't have it already, include the first line, otherwise skip this step (or don't, it won't reinstall):
# apt-get install pcmanfm
Start the filemanager pcmanfm
# pcmanfm
a file manager window will now open, showing your current working directory.
Select this window and press F4. A new terminal
window will now open with your current permissions (eg root).
pcmanfm
, the file manager, can now be closed.
Thx bertieb, it looks a lot better like this. – Boomkop3 – 2015-08-17T01:02:54.413
No problem, you may want to have a glance at the formatting help page - it's a bit different to what you might be used to but you should get up to speed pretty quick :)
– bertieb – 2015-08-17T01:07:20.417@bertieb: You can still apply numbered formatting by using a period after each number instead. – Jamal – 2015-08-17T01:23:19.800
@Jamal I was avoiding <ol>
because (ironically) I couldn't remember how to make it respect multi-line content like code blocks! – bertieb – 2015-08-17T08:21:10.967
1
If you just have command line access (via ssh, for example), you should research screen.
0
In Ubuntu, you can do it using xdotool.
To do so, you have to install xdotool with the command:
sudo apt-get install xdotool
and then you can use the command below to open up a new terminal window:
xdotool key ctrl+alt+t
0
Additional solution for those running a Linux flavor (Ubuntu etc.) via the Windows Subsystem for Linux:
Shift-click the Linux application icon in your taskbar.
This will open a second terminal window.
0
I always do things like this with the disown command.
For example:
lxterminal &disown
And voila, we have a new lxterminal process that is not preoccupying your former terminal with debugging output. This can be used for most programs, not just terminals so I ended up using it a lot, especially good to know for scripting.
or this: xterm &
– Qwerty – 2016-01-21T13:22:37.520
@Qwerty or that, but doesn't this xterm window close if you close the window that issued the command? If you disown it it will keep running. – Cestarian – 2016-01-24T16:54:31.190
Related: How to launch an application with default “terminal emulator” on Ubuntu? and Why does “man x-terminal-emulator” return the output of “man gnome-terminal”?
– G-Man Says 'Reinstate Monica' – 2020-01-04T22:11:03.007