LinuxQuestions.org
Review your favorite Linux distribution.
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 07-20-2005, 06:33 AM   #1
g_srinivas
Member
 
Registered: Jul 2005
Location: USA
Distribution: SuSE 9
Posts: 49

Rep: Reputation: 15
Question any way to continue using the terminal while any program is being run?


hello...
      i am not having any problem but i am asking this question just for my linux knowledge. i want to know that if i run any program from terminal, then is it possible to still continue using the terminal while ther program is still running in the foreground?

for example, when i run the following command xmms player pops up and the terminal gets busy.. till i close this player. so, my question is there any special flag i can give to let free the terminal once the program has started.

   [root@localhost /]# xmms

i know that i could start up another terminal session if i want... but just for knowledge sake i am asking to know if there is any possibility for such purpose.

Thanks


 
Old 07-20-2005, 06:39 AM   #2
vmniza
LQ Newbie
 
Registered: Feb 2004
Posts: 19

Rep: Reputation: 1
you type the command with an & symbol at the end (a space should be given in between the command and & that will work fine

eg:
#xmms &
 
Old 07-20-2005, 06:55 AM   #3
g_srinivas
Member
 
Registered: Jul 2005
Location: USA
Distribution: SuSE 9
Posts: 49

Original Poster
Rep: Reputation: 15
Question another newbie question...

many thanks... for the quick reply...

also i was wondering how i can manually add shortcuts for programs which dont add up automatically on the programs menu or on the desktop when installed?

for example if i want to add xmms into my programs audio video menu or on the desktop... how would be the correct way to do it?

thanks


-----
...and the hunger for knowledge continues!
 
Old 07-20-2005, 07:52 AM   #4
Hobbletoe
Member
 
Registered: Sep 2004
Location: Dayton, Oh
Distribution: Linux Mint 10, Linux Mint 11
Posts: 148

Rep: Reputation: 18
You can also suppend your current process by doing a <Ctrl>+Z in that terminal window. After that, doing a bg will continue that process, but in the background, just as if you had run the command with the & originally.

I.e. (with output)

$ xmms
^Z
[1]+ Stopped xmms
$ bg
[1]+ xmms &
$

In case you forget to kick something off in the background. You can also use the jobs command to see what processes are currently running in the background.
 
Old 07-20-2005, 08:14 AM   #5
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
To tell you how to make menu changes/desktop shortcuts we need to know what WM/DE you are running, such as Gnome,KDE or fluxbox.

Gnome or KDE both have control centres from which you can make these changes i believe.

Fluxbox:

to add desktop shortcuts you're going to need to isntall fbdesk or some other desktop shortcut program, and edit ~/.fluxbox/fbdesk.icons

to edit the fluxbox menu, you need to edit ~/.fluxbox/menu

both are in a pretty self explanitary format.

note: you can run XMMS and most day to day programs as a regular user, no need for root, just invites trouble

Last edited by ethics; 07-20-2005 at 08:16 AM.
 
Old 07-20-2005, 08:26 AM   #6
g_srinivas
Member
 
Registered: Jul 2005
Location: USA
Distribution: SuSE 9
Posts: 49

Original Poster
Rep: Reputation: 15
I am mostly using GNOME and KDE. I had never heard of Fluxbox.. but after googling it a big, i guess i am gonna try this one as well.

But for now, can you tell me the way to add links to programs on desktop or program group for GNOME and KDE.

Thanks
 
Old 07-20-2005, 09:30 AM   #7
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
I'm not on linux box at mo, so forigve me for small errors but right click the desktop and you should have an option for 'create shortcut' or 'create launcher'.

select that and then take a look at what you can do, there should be a field for the shortcut name, and the program to execute (as well as icon etc.) for most programs just putting in the name should be enough. so e.g. xmms would suffice for a launcher to start xmms
 
  


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
How to run MP3 file thru Terminal in K.D.E or Terminal itz2000 Linux - Newbie 5 08-04-2005 10:49 PM
How to run a program on another terminal SharpyWarpy Linux - General 2 02-10-2005 03:09 PM
Starting program remotely and have them continue to run after the session is ended OJAtkinson Linux - General 2 12-07-2004 01:06 PM
Viewing program messages when program isn't run from command line? Locura Linux - Software 1 09-27-2003 09:19 AM
terminal program metallica1973 Linux - General 4 02-24-2003 12:04 AM


All times are GMT -5. The time now is 11:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration