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
Thanks much, but you must have missed my original post --- I'm already doing that. :)
In my original message I asked why I saw specific Nvidia error messages when using an allegedly non-gui command in a console outside of X. I solved that mystery and was shown that the commands were built with X dependencies.
The discussion since then is why those non-gui commands can't build without the X dependency. My "too bad" comment was in reference to building those commands otherwise. :)
Darrell