LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-27-2007, 08:49 PM   #1
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
Spawn new terminal from current terminal?


Title kinda says it all. I'm wondering about a way to make a new terminal instance to type new commands into. I like multiple shells (one for each directory i am working in). Currently I use gnome to make a new terminal instance.
 
Old 07-27-2007, 08:59 PM   #2
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
You could try typing in one of the following commands:
gnome-terminal &
xterm &
konsole &

The '&' will put the command in the background, freeing up the command line. If you don't include the '&', you won't be able to type in anything in the original terminal until the new terminal is closed.

--Shaun
 
Old 07-27-2007, 09:11 PM   #3
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
excellent, thanks. I gave "gnome-terminal &" a single character alias and it is pretty handy this way.

But, if I were interested in setting a hotkey that would instantly spawn a shell. Where might I look?
 
Old 07-27-2007, 09:16 PM   #4
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
I have never created hotkeys in Gnome before but check out this site:
http://www.captain.at/howto-gnome-cu...d-shortcut.php

--Shaun
 
Old 07-28-2007, 07:11 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
You also might want to check out the screen command which allows you to make virtual consoles. What is great about screen is that you can establish the screen sessions you need, disconnect from them, and then reconnect from a completely different terminal. Kind of like VNC for the console crowd. There is a nice summary of screen commands here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux C syscall to get number of columns of current terminal? reishin Programming 4 07-15-2009 01:59 AM
how to access struct tty_struct corresponding to current terminal raklo Programming 2 09-03-2006 02:17 PM
Gnome Terminal: Show only current directory at prompt? extrasolar Linux - Software 5 08-01-2006 01:11 PM
how to get Terminal to start in current folder woodywellhung Linux - Software 1 04-28-2004 09:13 AM
Lock the current terminal session? kipbenson4 Linux - Newbie 1 08-14-2003 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration