2012/12/9 E. Liddell <ejlddll@...>: > On Sun, 9 Dec 2012 17:00:25 +0400 > Fat-Zer <fatzer2@...> wrote: > > Try filtering KDE4 out of your PATH? kde-sunset accomplishes > that with a few lines near the beginning of startkde . . . you mean to put ${KDEDIR}/bin prior to of /usr/bin? already done.... 2012/12/9 François ANDRIOT <francois.andriot@...>: > Le 09/12/2012 14:00, Fat-Zer a écrit : > > I think all distros have the same problem someday. > It is usually worked around by adding a "plasma-desktop" script in TDE's > path (/opt/trinity/bin) > Brrr... that sounds really ugly... > See: > > http://bugs.trinitydesktop.org/show_bug.cgi?id=93 > > http://bugs.trinitydesktop.org/show_bug.cgi?id=274 > > http://bugs.trinitydesktop.org/show_bug.cgi?id=384 > > http://git.trinitydesktop.org/cgit/tde-packaging/tree/debian/squeeze/kdebase/debian/plasma.autodetect?id=v3.5.13.1 > > > > The $DESKTOP_SESSION shell variable is set in 'startkde' script. I think the > current value in 3.5.13.1 is "trinity". thanks for info, that was helpful Seems I found a reason of all this: trinity runs autostart files from /usr/share as well as from it's own autorun subdirectory. The nice workaround will be to remove /usr/share/autostart from an autorun path. I haven't found yet there those paths are come from but it should work. Anyway it's not a solution... IMHO the solution will be to stop using files contaning OnlyShowIn=KDE (it will require small fixes in tdelibs and tdebase) and change all such entries in our desktop files to TDE.