This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Cursor Theme goes back to Oxygen White

Tags: None
(comma "," separated)
fresta
Registered Member
Posts
13
Karma
0
OS
I have installed Kubuntu 10.04.4-amd64 with KDE 4.4.5

I have this problem with mouse cursor appearance: when I go to System settings, Keyboard and mouse, Mouse, Cursor Theme, I find it set to Oxygen White. If I change it to KDE Classic the cursor changes, but only for the current session. When I reboot the cursor defaults back to Oxygen White.

How can I make the change persistent?

Thanks
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This change should be persistent. Does your user own all files under ~/.kde*?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
fresta
Registered Member
Posts
13
Karma
0
OS
I know the change should be persistent, but for an unknown reason it is lost or changed back to default value.
This is the content of .kde directory in my home dir. Which file should store the coursor theme setting?

Code: Select all
~$ ls -al .kde/
total 20
drwx------  5 fede fede 4096 2012-05-16 23:07 .
drwxr-xr-x 30 fede fede 4096 2012-05-27 15:40 ..
drwxr-xr-x  2 fede fede 4096 2012-05-16 23:07 Autostart
lrwxrwxrwx  1 fede fede   22 2012-05-16 23:07 cache-Nexub -> /var/tmp/kdecache-fede
drwxr-xr-x  2 fede fede 4096 2012-05-16 23:07 env
drwx------  5 fede fede 4096 2012-05-16 23:07 share
lrwxrwxrwx  1 fede fede   17 2012-05-16 23:07 socket-Nexub -> /tmp/ksocket-fede
lrwxrwxrwx  1 fede fede   13 2012-05-16 23:07 tmp-Nexub -> /tmp/kde-fede


Thanks
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The cursor theme is stored in share/config/kcminputrc

There is a section of code which does reset the contents of this file in the 'startkde' script, maybe it might be worth checking to see if this is running on all startups, instead of only when the file does not exist.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
fresta
Registered Member
Posts
13
Karma
0
OS
In my file:

.kde/share/config/kcminputrc

The cursor theme is set like this:

cursorTheme=#kde_legacy#

If I change it to redglass or whiteglass
it changes accordingly like this.

cursorTheme=redglass
or
cursorTheme=whiteglass

The only value that is not persistent after rebooting is #kde_legacy# which is the only one to have hashes (#) at the beginning and the end.
Could the hashes be the problem? Can I remove them form kcminputrc file?

Thanks

Last edited by fresta on Tue Jun 19, 2012 9:41 pm, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Unfortunately it appears that this is a problem unique only to the KDE Legacy theme - as it is not a true XCursor format cursor - and by mistake/bug is not supported properly in the code which applies the cursor on startup.

If such apps exist, you may wish to try and extract the legacy theme from X once it is applied, and create a XCursor format theme using it, and set that as your theme instead - which should work fine in theory.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
mpy
Registered Member
Posts
1
Karma
0
OS
I ran into exactly the same problem >:(

It appears that this is indeed a bug, I found for example the following reports:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/305201
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/288502

My somehow crude workaround is the following:
Code: Select all
cd /usr/share/icons
tar cvf oxygen-disabled.tar oxy-*
rm oxy-* -r
Who needs any of this oxygen-crap?! xD

I also deleted *.cache in the /usr/share/icons hierarchy -- I'm not sure if that was such a good idea, as these files are not regenerated till now...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Those cache files from what I understand are pre-built indexes listing the available icons I believe, and are used to enhance performance. Otherwise, their removal will have no ill effects.

As for those bug reports, please ensure they are followed up to the KDE Bug Tracker, bugs.kde.org, so the KDE Developers can be made aware of the issue.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]