"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
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
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:foo@bar.net URLs for me at least (tested on KDE 3.5.2 and KDE 3.4.3). 'kmail mailto:foo@bar.net' brings up a new message addressed to foo@bar.net, as expected.
- Neil
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
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
On Fri, Apr 14, 2006 at 08:31:11AM -0500, 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.
You should also go looking for the distribution specific wrappers that do this already.
On SUSE at least there is a: desktop-launch $URL
Not sure of its standard status, but it at least referenced by google on some Freedesktop.org lists.
Ciao, Marcus