LinuxQuestions.org
Visit Jeremy's Blog.
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 01-03-2003, 06:10 PM   #1
commuter
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Rep: Reputation: 0
Adding executables to my .bashrc


I'm starting to get the hang of this a little so I thought I would add a program to execute at login which I run every session!

I'm running:
RH8 w KDE
program is gkrellm

I added the following lines to my .bashrc file in my home directry!

#Run executables here
gkrellm

I logged off and logged back on and the only thing running was gkrellm?
No KDE menus or taskbar, I tried right and left clicking, nada, tried all the function keys, nada?

I finally hit CTRL/ALT/Backspace and the login screen came up.
I logged in as root deleted the lines I had added to my .bashrc.
Logged back in as regular user and all was fine again?

Where do I add programs I would automatically like to run at login?
Thx I'm searching the threads no but figured I'd put it out there!
commuter
 
Old 01-03-2003, 06:18 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
add & to the end of the gkrellm line.
 
Old 01-03-2003, 06:30 PM   #3
commuter
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Original Poster
Rep: Reputation: 0
Thank You and I just finished searching the threads (I should have done that first) so I now know that the & puts the program in the backround and I'm not stuck in an active bash session or something to that effect!
I also found this thread helpful:
http://www.linuxquestions.org/quest...&threadid=27095
Thx again for your patience
commuter
 
Old 01-03-2003, 06:35 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Btw you mean this thread
 
Old 01-03-2003, 06:43 PM   #5
commuter
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Original Poster
Rep: Reputation: 0
uh.. oops yup thats the one thanx for clearing that up.
I'll put this on my list of things to learn!
commuter
BTW: it seams for every item I cross off my list I add three! LOL
But I am having fun
 
Old 01-03-2003, 06:49 PM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Wish I could get Mandrake 9.0 PowerPack soon to let the good times roll...

I guess you shouldn't let the forum auto-convert such long urls to hyperlinks.
 
  


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
adding perm. alias to .bashrc Lleb_KCir Linux - General 7 12-09-2004 03:35 PM
executables humblestudent87 Linux - Newbie 6 07-22-2004 12:42 PM
adding aliases, refreshing .bashrc NonSumPisces Linux - Newbie 8 06-26-2004 12:39 AM
Executables q64 Linux - Newbie 3 03-29-2004 04:31 AM
Where are the executables? rooman Linux - Software 6 06-05-2002 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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