Thursday, April 26, 2007

Cannot find konq-kubuntu.rc problem and fix

On one of the five machines i've upgraded from Edgy to Feisty, i got a weird error with Konqueror. When starting it, i got a very weird Konqueror without Address line for example and two symptomatic errors
konqueror: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file
konq-kubuntu.rc
konqueror: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file
konq-kubuntu.rc

For us that know some KDE programming that means Konqueror was trying to find the konq-kubuntu.rc
file to create it's gui but failed to find it.

Quick solution was looking for some file that referenced konq-kubuntu.rc I found it at .kde/share/apps/konqueror/profiles/webbrowsing

As i had another working machines it was easy to see that XMLUIFile=konq-kubuntu.rc should be XMLUIFile=konqueror.rc and now it is working like a charm :-)

2 comments:

Anonymous said...

Muchas gracias por la info.

Me pasaba lo mismo también después de actualizar de edgy a feisty, aunque sólo después de pulsar Ctrl+N para abrir una ventanta nueva. La primera ventana al lanzar konqui salía bien.

En cualquier caso lo he solucionado gracias a tí. Lo que no se me había ocurrido es lanzarlo desde la línea de comandos y no se donde puedo ver el log para ver los mensajes de error, pero ahora ya está solucionado :-)

Gracias otra vez
Marcos

Anonymous said...

Hey thanks! I have exactly this problem, and was hoping it would just go away :P For me, the bar only disappears when I launch a new window from within Konq, rather than starting konq fresh. So profiles again makes sense :)

Cheers