KDE_FULL_SESSION and version detection
Lubos Lunak
l.lunak at suse.cz
Sun Feb 4 19:14:49 GMT 2007
On Sunday 04 February 2007 17:48, Aaron J. Seigo wrote:
> hi all...
>
> we need a way to differentiate a KDE4 session from a KDE3 session at
> runtime. this is useful for, for instance, xdg-utils scripts.
>
> a thought that occurred to me is including a version string in
> KDE_FULL_SESSION rather that just setting it to 'true'. simply looking for
> kde4-config may not be (well, is not) sufficient. thoughts?
There's bound to be somebody[*] silly enough to
write 'test "$KDE_FULL_SESSION" = "true"' instead of
simply 'test -n "$KDE_FULL_SESSION"', so the question is whether we care.
Also, doing this would mean asserting that we don't care about even basic
KDE3 vs KDE4 backwards compatibility.
[*] xdg-utils, ironically.
--
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12 tel: +420 284 028 972
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http//www.suse.cz
More information about the kde-core-devel
mailing list