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 10-28-2003, 02:00 PM   #1
justanotherstev
LQ Newbie
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 5

Rep: Reputation: 0
Smile A week of Linux.....couple misc questions


Hi, I've been playing with linux on my secondary system and have tried my darndest to resolve some issues on my own but can't figure them out. I am using Red Hat 9

Be prepared to laugh at the 'newb-oscity' of my questions

1.) I am using enlightenment as a WM and am able to get it to start up automatically when i log in. But it doesn't seem to be starting Gnome automatically. When I am in E, and use the menu to browse my home folder, Gnome loads and I lose my background from E, but E is still loaded (I assume so by the pagers at the bottom). How do i get Gnome to load with E. I've tried the xinitrc, Xsession, etc... but i seem to have to use a gnome option to activate gnome (its not a biggie, just tryin to make it a bit easier)........Do i even need Gnome to load?

2.) I have installed and am able to use Eterm. How do I get Eterm to show colors when using the 'ls' command without have to type 'ls --color' everytime. 'ls' with color shows with Xterm but not Eterm...I couldn't find where to set it in any config files

3.) Another terminal question..... How do i initiate a program from a terminal but retain the use of that terminal session. Lets say i want to start Mozilla, In my eterm, I type 'mozilla' and it loads, but if i want to use the terminal again, I have to cntrl-z or close mozilla...cntrl-z is fine to a point, but lets say its a program that i don't want to halt...like a messenger or a monitor....do i just have to iconify the term being 'used' and open another?


Thanks for your time
 
Old 10-28-2003, 02:07 PM   #2
zovres
Member
 
Registered: Sep 2002
Posts: 184

Rep: Reputation: 30
Another terminal question..... How do i initiate a program from a terminal but retain the use of that terminal session

just add " &" at the end of your command
 
Old 10-28-2003, 02:56 PM   #3
Mirrorball
Member
 
Registered: May 2003
Location: Brazil
Distribution: Gentoo
Posts: 81

Rep: Reputation: 15
1) You use either E or Gnome. But Gnome applications will load normally on E, you don't have to do anything. If you want to use Gnome as a WM, you choose a Gnome session when you log in.
 
Old 10-28-2003, 04:10 PM   #4
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
2.) I have installed and am able to use Eterm. How do I get Eterm to show colors when using the 'ls' command without have to type 'ls --color' everytime. 'ls' with color shows with Xterm but not Eterm...I couldn't find where to set it in any config files

You can set an alias for ls to equal ls --color I thought this was done automagicly in RH 7.2 and above, maybe not. Anyway, you can check to see what aliases are already defined by doing alias -p at a prompt. My aliases for l type commands:

alias l.='ls -d .* --color=tty'
alias ll='ls -l --color=tty'
alias ls='ls --color=tty'

You can set these on the commandline which will last for that session or you can add them (exactly as shown above) to your .bashrc file and they will be "permanent"

So a short summary:
alias -p (see if ls='ls --color=tty' is set)
add alias ls='ls --color' to .bashrc
start new eterm session and try ls command. I think it is the =tty on the end of the --color directive that is doing it.
 
Old 10-28-2003, 04:26 PM   #5
Starchild
Member
 
Registered: Sep 2003
Location: At a tea party with Alice in Wonderland.
Distribution: Fedora 7
Posts: 65

Rep: Reputation: 15
Re: A week of Linux.....couple misc questions

Quote:
Originally posted by justanotherstev

3.) Another terminal question..... How do i initiate a program from a terminal but retain the use of that terminal session. Lets say i want to start Mozilla, In my eterm, I type 'mozilla' and it loads, but if i want to use the terminal again, I have to cntrl-z or close mozilla...cntrl-z is fine to a point, but lets say its a program that i don't want to halt...like a messenger or a monitor....do i just have to iconify the term being 'used' and open another?
Use &

i.e: [user@thismachine dir]$mozilla &

And you will be able to continue using the terminal as usual even while the program runs.

Just remember, that any program started from a terminal, will die when that terminal is closed/dies. There is a program called screen if you want to get around this. Never did manage to get it to work like I wanted though.

Good luck!
 
  


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
A couple linux server questions... SonoranFun Linux - Distributions 1 01-25-2005 08:49 AM
A couple of Linux newbie questions BBB Linux - Newbie 4 09-03-2004 09:18 AM
How to download Linux? and a couple other questions... RHLinuxGUY Linux - Newbie 3 12-01-2003 06:29 PM
Misc. Linux questions. ugenn Linux - Newbie 7 04-16-2002 10:42 AM
More Misc Linux Questions... ugenn Linux - Newbie 4 04-16-2002 10:38 AM


All times are GMT -5. The time now is 01:04 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