LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2008, 01:09 AM   #1
Rajusn
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
How to start a program after login


Hi everybody,
can anybody tel how to run a program or automatically execute a prg(executable file) after login.... pls guide me with som example...


Thanks
 
Old 05-22-2008, 01:17 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Just add it to the bottom of your (hidden file) .bash_profile in your home dir
 
Old 05-22-2008, 02:09 AM   #3
Rajusn
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for ur reply...
i am new to this script... for eg .if i want to execute mozilla as soon as i login...
ths path s
/usr/bin/mozilla
should i include only ths ...

pls reply...
 
  


Reply



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 do I automatically start a program at start up? victordh Linux - General 7 10-27-2013 06:02 AM
How to configure auto login & after login auto startup some program. hocheetiong Linux - Newbie 1 02-18-2008 12:49 AM
start a program when I login, not boot jturnbul Slackware 36 01-26-2006 12:00 PM
start gui based program after user login shahidawan Linux - General 9 07-27-2005 08:46 PM
How to start program on X login donbellioni Linux - General 11 07-28-2004 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 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
Open Source Consulting | Domain Registration