Version: (using KDE 4.2.0) OS: Linux Installed from: Ubuntu Packages (this also affected 4.1 - I just didn't get round to raising a bug) System settings -> keyboard & mouse -> mouse -> cursor themes allows me to change the pointer theme. But... When I log out and back in again, the theme used ALWAYS reverts to Oxygen White. Despite this, the cursor themes module still seems to think I've selected the correct theme, as it comes up as selected when I open that module. On occasions I don't even need to log out to lose my selected theme, sometimes it just reverts during a session. Stranger still, at times some pointer types revert, while others stay with the theme I've chosen. If I actually LIKED Oxygen White, I wouldn't mind ;-)
Can you try reproducing this bug with a new created user account only for testing? Thanks
Hi Darío, Tried that and the result is the same. It seems a little inconsistent though; First time I logged in as the new user, I changed the theme to KDE classic, then went to log out - the cursor actually changed to Oxygen White as I hovered over the logout dialogue and then reverted completely when I logged back in. Changed it again and logged out/in and it stayed as set, but after logging out and in again it went back to Oxygen White. This seems to be the default theme for the login dialogue - I wonder if something global might be persisting?
Small update. I just went to log off from my normal userid after changing the theme again. As soon as the logout dialogue appears, the cursor theme reverts to Oxygen White. If I click cancel, it returns to my chosen theme. And stranger still, in my current session, the pointer changes according to where it is. Hovering over the desktop, it's KDE classic. Within the Kmail window it's Oxygen White, though it's back to KDE classic over Kmail's window decorations. Firefox is the same as Kmail as are xterm and konsole, but gpe-calendar and Galeon keep the correct pointer wherever I hover over them. Interesting...
Mh, sometimes the apps doesn't register the Mouse cursor theme change properly so hovering the cursor on them shows the old theme. You can test running a small app called "kapplymousetheme", it should update the cursor theme (not sure if it works properly).
That works INITIALLY. Change cursor theme run kapplymousetheme Correct pointers appear in all windows. Right-click desktop and select "leave" Cursor immediately reverts to Oxygen White. If I cancel the logout, it goes back to my selected theme. But if I log out and back in again, I'm back to Oxygen White.
It's like the cursor theme isn't applied in KSMServer (the application that handles the logout dialog) Can you try this: ? - Change cursor theme - Run kapplymousetheme - Logout - Login again (you should have the Oxygen White theme now) - Run kapplymousetheme What theme do you have? (I'm trying to detect if the mouse theme isn't correctly saved (so it's lost on re-login; or if it is correctly saved (the value), but it isn't updated properly on login )
It stays as Oxygen White. So your surmise that it isn't being saved sounds feasible. What file is it saved in? I can dig around and see if it's being written (or writable!)
Under ~/.kde4/share/config/: kcminputrc startupconfig startupconfigfiles startupconfigkeys Not sure which is the one that holds the value (may be all)
On cursor change, "kcminputrc" is being updated.
The plot thickens... ~/.kde4/share/config/kcminputrc is NOT updated when I configure the theme but ~/.kde/share/config/kcminputrc IS updated. Notably, the former file had a creation time roughly when I upgraded to 4.2 yesterday and included the line: "cursorTheme=Bluecurve-inverse" If I change that line to "cursorTheme=redglass" the theme remains through logout/login. I wonder if this is a cock-up by Ubuntu in the way they've implemented KDE4 by using ~/.kde rather than ~/.kde4?
As you have a .kde maybe your system have a mixed KDE3/KDE4 bug... In your KDE4 desktop account, what is the output of the following command : "export | grep KDEHOME" May be your KDEHOME dir got wrong pointing to the .kde/ (KDE3) dir and it's mixing all the configurations. (not saving/loading properly)
You seem to have hit the nail on the head, Darío. KDEHOME wasn't set at all. So by exporting it as ~/.kde in /etc/profile, I can make things work right.Change theme, log out, log back in - theme comes up as configured. This looks even more like a Kubuntu error to me...
It's indeed a system configuration/packaging issue :)
Many thanks for all your help Darío. I'll raise an Ubuntu bug.
You are welcome. I'm glad you solved the problem. ;)