Click to See Complete Forum and Search --> : default web & email applications


jaybee99
11-10-2003, 03:39 PM
I am writing a java application and want to be able to call the system default web browser & email client at various points.....

I know rh 8 & 9 has the htmlview script which is great - is this present on most/every/no other distros?

how about email? Is there a script somewhere on some/most distros that will know about & launch the preferred email client?

Thanks

hard candy
11-10-2003, 05:38 PM
Are you talking about the mail server daemon? If so, it should be sendmail in the /etc/rc folder under one of the levels depending on the distro. Probably 2 or 3.
As for the client, most major distros have 2 or 3 clients to choose from.
Like redhat now uses Evolution as the default. Some use balsa under gnome, Kde uses kmail.
Again the script is dependent on the distro and the user, it will probably be in the /home directory.
Not much help-but it seems that Redhat, Suse, Debain, mandrake are probably all enough different to make your job a lot harder.

jaybee99
11-11-2003, 05:52 AM
Thanks, its a shame there doesn't seem to be an equivalent to the htmlview script......I suppose it's more complicated because the presence of a browser means that you can probably use it to launch a webpage, so scripts can just check to see what's there, but the presence of an email client doesn't mean it's set up.....