LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2014, 06:00 AM   #1
Toofle
LQ Newbie
 
Registered: Mar 2014
Posts: 7

Rep: Reputation: Disabled
Running 2 terminals at once?


Hello everyone,

Quite recently i rolled into Debian, especially since we're learning to program here at uni.

Debian is way more user friendly than windows is for programmers.

There is only 1 problem. I like my IRC client called weechat. But it runs in the terminal. So when i have it active I can't use the terminal. So i'd like to open another. One to run weechat and the other to do stuff in.

Since weechat can't be opened as a program from main menu and you have to open it from terminal i'm kinda in a bad spot. And i really don't want to use a crappy gui IRC client if it's not neccesary.

Anyone know how? or maybe an alternate idea?

Many Thanks,

Toofle

Last edited by Toofle; 03-23-2014 at 01:06 PM.
 
Old 03-23-2014, 07:05 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,384

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354

So open another terminal.
 
Old 03-23-2014, 07:23 AM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
The most obvious solution is the one mentioned above, ie. Open another terminal application. Alternatively you could use tools such as 'screen' or 'tmux', which works fine even without starting the graphical user interface. If you don't run X, then screen/tmux are really helpful. Please read also about virtual terminals.
 
Old 03-23-2014, 07:24 AM   #4
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,075

Rep: Reputation: 189Reputation: 189
"Terminal" can refer to at least a couple of similar yet different scenarios, which require similar/different actions to activate a second terminal. (Are the waters muddy enough, yet?)

Is X running and you've opened a terminal from within X? If so, you *should* be able to open a second tabbed terminal with ctrl-shift-t, regardless, you can access and log in to any unused tty with ctrl-alt-F(1-7).

As the previous poster suggested, you can simply open a second terminal, but I'm guessing that you're unaware as to "how".

An extremely valuable tool when using the cli is 'screen'. It would easily solve your issue. See 'man screen', and searchfoo for details. In my opinion, 'tmux' is even better, you could have 'windows' and 'panes' happening from within your session.

cheers,


edit -- well, as you can see by the timestamps, sycamorex has given similar advice in far fewer words, which is a testament to his knowledge and wisdom, amongst other super hero powers. Plus, his day started 5 hours before mine!

Last edited by mrclisdue; 03-23-2014 at 07:32 AM. Reason: beaten to the punch...
 
Old 03-23-2014, 08:10 AM   #5
Toofle
LQ Newbie
 
Registered: Mar 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by descendant_command View Post

So open another terminal.
This is the problem, I can't open another terminal since it will just put the terminal with weechat on the screen instead of opening a new one.
 
Old 03-23-2014, 08:12 AM   #6
Toofle
LQ Newbie
 
Registered: Mar 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrclisdue View Post
"Terminal" can refer to at least a couple of similar yet different scenarios, which require similar/different actions to activate a second terminal. (Are the waters muddy enough, yet?)

Is X running and you've opened a terminal from within X? If so, you *should* be able to open a second tabbed terminal with ctrl-shift-t, regardless, you can access and log in to any unused tty with ctrl-alt-F(1-7).

As the previous poster suggested, you can simply open a second terminal, but I'm guessing that you're unaware as to "how".

An extremely valuable tool when using the cli is 'screen'. It would easily solve your issue. See 'man screen', and searchfoo for details. In my opinion, 'tmux' is even better, you could have 'windows' and 'panes' happening from within your session.

cheers,


edit -- well, as you can see by the timestamps, sycamorex has given similar advice in far fewer words, which is a testament to his knowledge and wisdom, amongst other super hero powers. Plus, his day started 5 hours before mine!
Thanks! i'm going to give this a try!
 
Old 03-23-2014, 08:25 AM   #7
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by Toofle View Post
This is the problem, I can't open another terminal since it will just put the terminal with weechat on the screen instead of opening a new one.
Be aware that is not the way things normally work.

I can guess your desktop UI has some button or menu item that opens a terminal program if there wasn't one open already but if there was one open, just brings it to the foreground.

If that is the case, you just need to use one of many other methods for launching a terminal program. If you know the program name (generally different from what appears in the UI button or menu selection) you might just type its name with trailing " &" in one terminal to open a second. Then you can open weechat in one of them.
 
Old 03-23-2014, 11:48 AM   #8
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,163
Blog Entries: 10

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
terminator!
 
Old 03-23-2014, 01:06 PM   #9
Toofle
LQ Newbie
 
Registered: Mar 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks for all the help/info, tmux seems to work fantastic, also the ctrl + shift + t works for tabs, going to try them all out for few weeks each.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Multiple terminals in Fedora vrms9 Linux - Newbie 1 04-28-2012 04:55 AM
how many terminals are running in background while rhel installation abhijeetdutta Linux - Server 3 02-03-2010 07:49 PM
USB problem on linux terminals vie NComputing X300 terminals Aleks` Linux - General 1 12-04-2008 06:39 PM
Linux Crashes when two X terminals are running niko9enzo Linux - General 14 11-15-2007 02:38 PM
running applications from different terminals masand Linux - General 0 04-08-2004 07:23 AM


All times are GMT -5. The time now is 05:43 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration