Re: winebrowser: Use user's preferred browser

2006-04-14 Thread Jeremy White
 +kfmclient 
 exec,gnome-open,kmail,mozilla-thunderbird,thunderbird,evolution;

A Gnome user will be offended if you spool up the entire KDE environment
just to launch a URL; a KDE user will be similarly offended by gnome-open.
Further, if I'm a Gnome user, I may have KDE on my system, and kfmclient exec
may work, but it's likely to not be the browser I *really* want used.

The standard that's developing is that you don't invoke a KDE program
unless KDE_FULL_DESKTOP is set and you don't invoke a Gnome session
unless GNOME_DESKTOP_SESSION_ID is set.

Cheers,

Jeremy




Re: winebrowser: Use user's preferred browser

2006-04-14 Thread Hans Leidekker
On Friday 14 April 2006 15:31, Jeremy White wrote:

  +kfmclient
  exec,gnome-open,kmail,mozilla-thunderbird,thunderbird,evolution;

Have you tested the clients you added? kmail doesn't understand mailto URLs
passed on the command line last I looked.

 -Hans




Re: winebrowser: Use user's preferred browser

2006-04-14 Thread Neil Skrypuch
On Friday, April 14, 2006 09:31, Jeremy White wrote:
  +kfmclient
  exec,gnome-open,kmail,mozilla-thunderbird,thunderbird,evolution;

 A Gnome user will be offended if you spool up the entire KDE environment
 just to launch a URL; a KDE user will be similarly offended by gnome-open.
 Further, if I'm a Gnome user, I may have KDE on my system, and kfmclient
 exec may work, but it's likely to not be the browser I *really* want used.

 The standard that's developing is that you don't invoke a KDE program
 unless KDE_FULL_DESKTOP is set and you don't invoke a Gnome session
 unless GNOME_DESKTOP_SESSION_ID is set.

 Cheers,

 Jeremy

I had thought about this, though I wasn't aware of any good way of detecting 
KDE/Gnome running. A quick googling shows that it's actually KDE_FULL_SESSION 
though, not KDE_FULL_DESKTOP.

I'll add in this feature and post an updated patch shortly.

- Neil




Re: winebrowser: Use user's preferred browser

2006-04-14 Thread Kevin Koltzau
On Friday 14 April 2006 9:31 am, Jeremy White wrote:
 The standard that's developing is that you don't invoke a KDE program
 unless KDE_FULL_DESKTOP is set and you don't invoke a Gnome session

IIRC its if KDE_FULL_SESSION==true




Re: winebrowser: Use user's preferred browser

2006-04-14 Thread Neil Skrypuch
On Friday, April 14, 2006 11:07, Hans Leidekker wrote:
 On Friday 14 April 2006 15:31, Jeremy White wrote:
   +kfmclient
   exec,gnome-open,kmail,mozilla-thunderbird,thunderbird,evolution;

 Have you tested the clients you added? kmail doesn't understand mailto URLs
 passed on the command line last I looked.

  -Hans

Yes, I tested all of the items I added, except for gnome-open, which I asked 
someone with Gnome to test for me.

KMail understands mailto:[EMAIL PROTECTED] URLs for me at least (tested on KDE 
3.5.2 
and KDE 3.4.3). 'kmail mailto:[EMAIL PROTECTED]' brings up a new message 
addressed 
to [EMAIL PROTECTED], as expected.

- Neil