[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PPP / ADSL / demand / GUI prompt question



Well, another, quite intuitive way of achieving what you want would be 
to write a script to launch Iceweasel, and use that script instead of 
the Iceweasel icon. In the script, you could type in all the commands 
you currently type by hand, then type iceweasel on the next line, and 
finally, type all the commands you currently use to disconnect. Then, 
you would just make a nice desktop shortcut to the script, with a big 
shiny icon, and you're all set and done. The script would execute pon, 
launch iceweasel, and when you close iceweasel, it would execute poff. 
Can't get much simpler than that. If you just LOVE to have a dialog 
(and if you use Gnome), you could also intersperse the script with a 
bunch of colorful zenity dialogs (man zenity).

Of course, all this is quite useless if your xADSL is not "pay-per-
minute"; if it's "pay-per-megabyte", then it's best to have it always 
on -- that's even cooler than having cool dialogs!

-- 
Regards,

Klistvud
Certifiable Loonix User #481801


Reply to: