LinuxQuestions.org
Visit Jeremy's Blog.
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 07-12-2004, 11:35 AM   #1
zeedoo
LQ Newbie
 
Registered: Jul 2004
Posts: 18

Rep: Reputation: 0
how to launch programs on internet connect?


hi,

now that i m finally connected (thanks to very helpful people on this forum) ... how do i launch programs as soon as i am connected?
 
Old 07-12-2004, 12:04 PM   #2
p-static
Member
 
Registered: Jul 2004
Distribution: Gentoo
Posts: 101

Rep: Reputation: 15
Well, I suppose you could modify the scripts you use to start the connection, or better yet create another script that starts the connection and then starts whichever programs you want.
 
Old 07-12-2004, 12:13 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
If you are using kppp there is the Setup -> Accounts tab -> Edit -> Execute tab.
 
Old 07-12-2004, 02:19 PM   #4
zeedoo
LQ Newbie
 
Registered: Jul 2004
Posts: 18

Original Poster
Rep: Reputation: 0
i am on gnome ...
 
Old 07-12-2004, 04:08 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Let's assume that you have a directory called /etc/ppp. In that directory, you should have several scripts, including one called ip-up. If you read that script, you will see that ip-up will look for a script called ip-up.local, and run it if it exists and is executable. If you do not have ip-up.local, create it and add the command lines (one per line) for the apps you want to start when you make your internet connection.
Something like:

#!/bin/sh
/opt/mozilla/mozilla

which would be executed by ip-up to start mozilla when the connection is made.
 
  


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
auto launch programs at login desmondtm Linux - Newbie 1 12-01-2005 04:51 PM
Scripting help. How to launch 2+ programs simultaneously. ColKurtz Linux - Newbie 2 02-18-2005 06:14 PM
can't launch programs as root Error1312 SUSE / openSUSE 3 02-10-2005 11:28 AM
programs attempt to launch twice mgmcc Linux - Newbie 13 01-10-2005 09:14 AM
How to launch new programs ? mdcooper Linux - Newbie 3 03-04-2003 10:34 AM

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

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