I did this in my .xinitrc (I launch X manually) so the unsetting of KDEDIRS was local in my case.
I was using a separate /etc/profile.d script. Same effect. :)
Do the KDE4 kmix and akonadi still start on Trinity launch ? The startkde code never set KDEDIRS for me since I use the /opt/kde3 prefix, and the /usr/share/autostart files are still interpreted by Trinity.
Neither starts anymore after I edited the Trinity startkde. Looking at my process list in konsole indicates no KDE 4 apps running.
Darrell