Darrell Anderson wrote:
>> All I want to know is whether the non gui
commands of TDE such as
>> kwriteconfig and kreadconfig can (easily) be built without the X
>> overhead.
> You would either have to: -separate
non-X-dependent parts of Qt
> like for Qt4 -not do that separation but instead use the X
> functions as weak symbols and add a dlopen() of X libraries to
> every X-using Qt3 application
I really
don't see a really easy option; there is a third option
which would be to compile both with-X and without-X versions of
kdelibs and Qt3 but without significant linker magic it is likely
to load both versions of kdelibs and Qt3 within a Trinity session.
Fair enough. Too bad. :(
Here's an easy option:
if [ -r ~/.kde/share/config/kcminputrc -a \
"x`grep LeftHanded ~/.kde/share/config/kcminputrc`" != "x" ];
then
echo left
else
echo right
fi
-- Bruce