trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2011

Re: [trinity-devel] 3.5.13 Usability -- KDE 4 Takes Over

From: /dev/ammo42 <mickeytintincolle@...>
Date: Mon, 14 Nov 2011 09:05:04 +0100
Le Sun, 13 Nov 2011 18:31:42 -0800 (PST),
Darrell Anderson <humanreadable@...> a �crit :

> I'm testing my 3.5.13 packages. I'm running Slackware 13.1 in a
> virtual machine. Full stock installation.
> 
> KDE 4 is installed. All KDE 3.5.10 packages have been removed.
> 
> Every time I started Trinity the Akonadi server dialog appeared, the
> desktop changed to KDE 4 Desktop View, and the KDE 4 file indexer
> started.
> 
> Long story short: I traced the problem to the Trinity startkde script.
> 
> The default 3.5.13 Trinity startkde script incorrectly sets the
> $KDEDIRS environment variable and includes the /usr directory. That
> means KDE 4 apps start when starting Trinity.
> 
> The $KDEDIRS environment variable is intended to be a user defined
> variable and should not be set globally.
> 
> Further review of startkde shows duplication of code and some code in
> the KDEHOME section that makes no sense.
> 
> Even if somebody explains why $KDEDIRS should be set in startkde,
> somebody still needs to explain why /usr is in that path.
> 
> I will file a bug report. Before I do that I would appreciate
> comments and observations from other people regarding startkde. Other
> people must be running into this same problem. :)
If you use the kdeetc3-3.5.13-noarch-1.tgz package I already sent to
the list, there is the /etc/profile.d/kde3.sh script which sets the
KDEDIR (without the 'S') variable to /opt/kde3 (just adapt it
to your actual Trinity installation prefix).
You can then prevent Plasma from loading by
$ unset KDEDIRS
before running /opt/kde3/bin/startkde: it is set by the KDE4 Slackware
packages in /etc/profile.d/kde.sh. Trinity will then use the KDEDIR
variable that is set, in my case, to /opt/kde3.
(in fact if you keep this KDEDIRS variable you will also have other
issues, such as broken Konqueror home page and half-broken
translations because the KDE4 ones will be used)
But the KDE4 autostart files (and then, kmix and akonadi)
in /usr/share/autostart will still load, it's a known problem.
As a final note, the /etc/profile.d/kde.sh script will not break KDE4
since KDEDIRS has precedence over KDEDIR.
> 
> Thanks!
> 
> Darrell
> 
> Darrell
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> trinity-devel-unsubscribe@... For additional
> commands, e-mail: trinity-devel-help@... Read
> list messsages on the Web archive:
> http://trinity-devel.pearsoncomputing.net/ Please remember not to
> top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>