You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Dragonstorm

Beginner

  • "Dragonstorm" started this thread

Posts: 4

Location: Ukraine

Occupation: Programmer

  • Send private message

1

Wednesday, March 1st 2006, 3:52pm

KControl can't find kcm modules

Hi to All,

Some time I used Gentoo 2005.0, KDE 3.4 and 3.5.1 compiled from sources. And all was fine.

Recently I turned to SuSE 10.0 for some reasons. I install minimal graphical system with X and build KDE 3.5.1 from sources, as usually. But when I run KDE first (in minimal variant - arts, kdelibs, kdebase), strange problem appears.

It seems that KControl cannot find kcm modules, so all configuration pages doesn't appear. Local configuration windows displayed empty too. In addition, KDE menu turned to small and reduced copy of SuSE menu (suse provides one similar menu for both KDE and Gnome)

I released that it's in some way connected with YaST KDE extensions. But I don't know, where KDE stores it's global default menu structure and modules description files (if not in $KDEDIR/share). When I completely remove $KDEDIR and perform "make install" again, all packages is installed normally. kcm modules are on its usuall places, in $KDEDIR/lib/kde3. But the problem remains.

How SuSE can influent pure source tree, downloaded from kde.org?
Perhaps I should verify all KDE env variables? Perhaps $KDEDIRS, $KDEROOTHOME, $XDG_CONFIG_DIRS or so can completelly change usuall behavior? (I set $KDEDIR only, $PATH and $LD_LIBRARY_PATH to run KDE)

Best regards and thanks for assistance :)

This post has been edited 3 times, last edit by "Dragonstorm" (Mar 1st 2006, 6:07pm)


Dragonstorm

Beginner

  • "Dragonstorm" started this thread

Posts: 4

Location: Ukraine

Occupation: Programmer

  • Send private message

2

Friday, March 3rd 2006, 11:06am

Ok, I solve this problem. The answer is to remove all $XDG_... env variables from /etc/profile, /etc/sysconfig/* files and other places, where your distro keeps its settings.

XDG variables points KDE to the wrong folders, where some distros places its shared menus, additional modules and etc. If, as in my case, original SuSE KDE rpm's was not installed, this variables points to empty folders.

Config changes for SuSE 10.0:
/etc/sysconfig/windowmanager:
INSTALL_DESKTOP_EXTENSIONS="no"
CREATE_XDG_MENUS="false"
KDE_BUILD_GLOBAL_SYCOCA="no"