Index: kdebase/kxkb/rules.cpp =================================================================== --- kdebase/kxkb/rules.cpp (revision 481653) +++ kdebase/kxkb/rules.cpp (working copy) @@ -17,13 +17,13 @@ #include "rules.h" -const char* X11DirList[2] = {"/usr/X11R6/lib/X11/", "/usr/local/X11R6/lib/X11/"}; +const char* X11DirList[3] = {"/usr/X11R6/lib/X11/", "/usr/local/X11R6/lib/X11/", "/usr/share/X11/"}; const char* rulesFileList[2] = {"xkb/rules/xorg", "xkb/rules/xfree86"}; KeyRules::KeyRules(): m_layouts(90) { - for(int ii=0; ii<2; ii++) + for(int ii=0; ii<3; ii++) if( QDir(X11DirList[ii]).exists() ) { X11_DIR = X11DirList[ii]; break;