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 03-26-2004, 11:24 PM   #1
moschi
Member
 
Registered: Mar 2004
Location: boulder, co
Distribution: slack 12, debian 4, ubuntu server 6.10
Posts: 68

Rep: Reputation: 15
start things on login


so i want fetchmail to start automatically.
i've done some searching, but i can't figure out what i need to edit to make things run/start when i login.

thanks

--andrew
 
Old 03-26-2004, 11:39 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Depends on how you login, mate, and what
kind of environment you are in... if it were
a full-screen console put it ~/.bash_login,
if it's a desktop environment they have means
of their own, if you're using ~/.xsession
or ~/.xinitrc these would offer themselves to
detach some process ...



Cheers,
Tink
 
Old 03-26-2004, 11:42 PM   #3
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
Open /home/YOUR USERNAME/.bashrc using KEdit (or a similar editor)

Where it says:
Code:
# User specific aliases and functions
Add this:
Code:
alias fetchmail='fetchmail'
To make sure this will work, type " fetchmail " (without the quotes) in a terminal
If fetchmail starts, this will work. If not, simply replace " fetchmail " with the correct command.

Example:
Code:
alias fetchmail="/usr/bin/fetchmail"
Save .bashrc

Now everytime you login fetchmail will start.

Last edited by vi0lat0r; 03-26-2004 at 11:44 PM.
 
Old 03-27-2004, 12:34 AM   #4
moschi
Member
 
Registered: Mar 2004
Location: boulder, co
Distribution: slack 12, debian 4, ubuntu server 6.10
Posts: 68

Original Poster
Rep: Reputation: 15
awesome, thanks guys
 
Old 03-27-2004, 01:42 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by vi0lat0r
Open /home/YOUR USERNAME/.bashrc using KEdit (or a similar editor)

Where it says:
Code:
# User specific aliases and functions
Add this:
Code:
alias fetchmail='fetchmail'
To make sure this will work, type " fetchmail " (without the quotes) in a terminal
If fetchmail starts, this will work. If not, simply replace " fetchmail " with the correct command.

Example:
Code:
alias fetchmail="/usr/bin/fetchmail"
Save .bashrc

Now everytime you login fetchmail will start.
How do you believe will defining an alias
automatically run fetchmail? :)


Cheers,
Tink
 
Old 03-27-2004, 02:16 AM   #6
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
I use it to start SMB on login, that's how ;-)
 
Old 03-27-2004, 03:07 AM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If this actually happens for you your installation
is majorly screwed mate ;}



Cheers,
Tink
 
  


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
Suse: confused on many things, why is installing things so hard? blackflare Linux - Newbie 11 10-16-2007 05:35 AM
Start Applications Menu - Missing things invalid Linux - Software 2 03-03-2005 03:19 PM
"Updated" now have 3 things in Grub at start up. Lee Oswald Linux - Software 1 02-20-2004 11:01 AM
I want to start using Linux (mandarake) - things involved... MvD Linux - Newbie 24 08-29-2003 08:41 AM
KDE / MDK9.1 / X Login probs (amongst other things) Liuokin Linux - Software 1 06-15-2003 01:03 PM


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