LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-16-2009, 12:09 AM   #1
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Rep: Reputation: 32
Terminal doesn't allow me to run the next command :(


OK. I started ubuntu in Consule mode, then i did "xinit" to start X Window System, then i did "metacity" to start window manager and then it looks like this..

Quote:
queenz@queenz-ubuntu:~$ metacity
|
And that's it.. queenz@queenz-ubuntu:~$ line doesn't appear anymore.. Maybe there are some tricks that i can do to be able to run the next command?
 
Old 02-16-2009, 12:52 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by QueenZ View Post
OK. I started ubuntu in Consule mode, then i did "xinit" to start X Window System, then i did "metacity" to start window manager and then it looks like this..



And that's it.. queenz@queenz-ubuntu:~$ line doesn't appear anymore.. Maybe there are some tricks that i can do to be able to run the next command?
Did you try typing "ctl-z"? Your metacity program is running in the foreground of the terminal and won't return to the terminal prompt until it finishes or is terminated by you. If you type ctl-z it should move to the background then you'll get your terminal prompt back.
cheers,
jdk
 
Old 02-16-2009, 12:54 AM   #3
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
You can place a '&' at the end of the metacity line, or type "[CTRL]-z" and then "bg" to pause the last command and then put it in the background.

Of course metacity doesn't do much by itself, you might just want to create a script to start xterm or something, then metacity - edit .xinitrc, for instance and then just use startx.
 
Old 02-16-2009, 04:46 AM   #4
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by jdkaye View Post
Did you try typing "ctl-z"? Your metacity program is running in the foreground of the terminal and won't return to the terminal prompt until it finishes or is terminated by you. If you type ctl-z it should move to the background then you'll get your terminal prompt back.
cheers,
jdk
thanks, i didn't know that
 
Old 02-16-2009, 09:39 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
If you press ctrl+Z, metacity will be backgrounded but also suspended. You must then type "bg" to allow it to resume in the background.

Or, type "metacity &" in the first place.
 
  


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
run command in new gnome-terminal checkchan Linux - General 10 08-29-2012 04:55 AM
Terminal command: cannot run bootinst.sh gordon__1 Linux - Newbie 4 01-28-2008 03:11 PM
Run a command on another terminal. mpyusko Slackware 3 06-23-2007 04:44 AM
Run command on a different terminal jantman Linux - General 3 06-07-2006 02:32 PM
Is there a terminal command that I can run that will........... ludwig W Linux - Networking 20 11-28-2005 04:59 PM


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