CentOSCubes error message
Here’s how to fix the ‘Cannot open theme file /usr/share/apps/kdm/themes/CentOSCubes’ error message on CentOS.
After an update to a CentOS system, I was presented with the following error message on the login screen:
Cannot open theme file /usr/share/apps/kdm/themes/CentOSCubes
It wasn’t a critical error – more of an annoyance. Dismissing the message box displayed a basic-looking KDM that allowed me to log in.
Problem
The problem on my system was that the default CentOS KDM theme was updated and the old one, CentOSCubes, dropped from the artwork package. Here’s a (resolved) CentOS bug report on the issue.
Fixed
To get rid of the error message I simply changed the KDM config file to point to the new theme:
Check what themes are available:
ls -1 /usr/share/apps/kdm/themes/
Change the line begining ‘Theme=’ in the config file:
/usr/share/config/kdm/kdmrc
e.g.
1 |
Theme=/usr/share/apps/kdm/themes/TreeFlower |
Error message gone!
Hey,
Thank you! It worked on my box. I was looking for a way to change the theme and finally I found the best one by reading the article!
Thanks!