https://bugs.kde.org/show_bug.cgi?id=230247
Lamarque V. Souza <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #10 from Lamarque V. Souza <lamarque gmail com> 2010-09-07 19:06:53 --- I use Gentoo and used to have this problem until KDE SC 4.5.0, with KDE SC 4.5.1 it is working ok after some changes I had to make because I use kdeprefix USE flag, which installs KDE in a separated directory (/usr/kde/4.5). There is some time that Gentoo does not support kdeprefix but I decided to keep using it. One thing I noticed when I had this problem is that /usr/kde/4.4/share (I use kmail-4.4.5) wasn't in XDG_DATA_DIRS because /usr/kde/4.5/bin/startkde overrides the settings in /etc/env.d/ by removing all /usr/kde/*/share directories and adding only /usr/kde/4.5/share. After I changed startkde to add /usr/kde/4.4/share it worked as expected. OpenSuse 11.3 use /usr/share/kde4 to store the KDE's share directory and by what I saw in /usr/bin/startkde and /etc/profile.d/xdg-environment.sh it does not add /usr/share/kde4 to XDG_DATA_DIRS, maybe this is the cause of the problem in OpenSuse. I cannot fully test this because I do not have OpenSuse installed here. Another thing I noticed is that plasma-desktop runs akonadi-server at login, so when I call kmail akonadi-server is already running and kmail does not need to call Akonadi::Control::start(). Even if I stop akonadi-server (akonadictl stop) and start kmail, kmail is able to start akonadi and run ok here. The only thing I had to do is configure XDG_DATA_DIRS correctly in startkde. It is very important that XDG_DATA_DIRS is correctly configured in startkde or all KDE programs use a misconfigured XDG_DATA_DIRS to call programs, which affects Akonadi::Control::start(). I created a .desktop file in ~/.config/autostart to call env command to save the environment variables to a file and then I noticed XDG_DATA_DIRS wasn't configured correctly. In konsole XDG_DATA_DIRS was configured correctly because it always run the /etc/profile script that restores the correct configuration. -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Kdepim-bugs mailing list [email protected] https://mail.kde.org/mailman/listinfo/kdepim-bugs
