LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 12:35 PM   #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, 01: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, 01:13 PM   #3
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

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

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

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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 05:51 PM
Scripting help. How to launch 2+ programs simultaneously. ColKurtz Linux - Newbie 2 02-18-2005 07:14 PM
can't launch programs as root Error1312 Suse/Novell 3 02-10-2005 12:28 PM
programs attempt to launch twice mgmcc Linux - Newbie 13 01-10-2005 10:14 AM
How to launch new programs ? mdcooper Linux - Newbie 3 03-04-2003 11:34 AM


All times are GMT -5. The time now is 12:15 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration