Red Hat Bugzilla – Bug 989152
lightdm: cursor theme doesn't change
Last modified: 2015-06-13 03:12:19 EDT
Just that, the cursor theme doesn't want to change, but something curious is that how you can see in the first picture, apparently the cursor theme changed, but, just in the screenshot, so I take another screenshot but with my webcam, and how you can see, the cursor didn't changed at all, I just noticed that the theme just work when I put the cursor on my Firefox window, if I put it on, Caja, or I don't know, Gimp, Clementine, etc, etc, the cursor keep having the Adwaita theme.
(This happen with ALL cursor themes.)
Created attachment 779241 [details]
Created attachment 779242 [details]
This is known issue, i send it to upstream.
As first workaround you can edit
[rave@mother ~]$ cat /usr/share/icons/default/index.theme
Change here the theme to whatever you want.
But this isn't the real issue.
and restart X.
thanks it worked.
*** Bug 970023 has been marked as a duplicate of this bug. ***
This bug still present on Fedora 20.
Bug is present also on Cinnamon.
bug is not present if you don't install the Cinnamon group. (Using Cinnamon recently installed on a minimal install)
Which display manager you're using?
I ask because i played a bit around today and it seems that lightdm is the culprit.
If i set lightdm to autologin for a user i can switch the cursor theme in both desktops, mate and cinnamon.
If i use 'sddm' as DM everything works well without setting autologin.
So it seems that lightdm sets the cursor and it is present afer login.
Could you pls confirm that?
Ha, pretty interesting, yep, actually I'm not using any display manager, uhm, I've made two different Fedora cinnamon installs today: A minimal install, and the other one with Cinnamon group installed (with weird dependencies like gnome deprecated stuff, anaconda, initial-setup, etc, can you guys remember when Cinnamon came up with ConsoleKit as dependency and we had a horrible delay after login?... maybe, just maybe, that was something wrong with lightdm too) and, the first one is really really stable and fast of course I installed some other packages like pulseaudio and things like that for sound), the second one isn't stable at all, and its really really buggy, many people use the NetInstall to have Cinnamon from their first boot, and sadly is the worst way to get it.
Sorry, I don't know if I can ask this here but I want to know if that means that Fedora 21 will not have Cinnamon with MDM (Mint Display Manager) as Display Manager.
I'm not shure, but cinnamon use also lightdm if you install it directly from dvd or netiso.
But for questions about cinnamon you can ask at irc freenode channel fedora-mate. This channel is also for cinnamon and Leigh the maintainer is very often there.
I found out that also compiz sets the cursor theme. Starting the session from sddm or gdm and without compiz brings the mate cursor theme and i can happy switch the theme with mate-appearance properties.
But with compiz enable i can switch the theme with the ccsm configuration tool.
So compiz user have a possibility to switch the cursor theme.
This doesn't work if lightdm is used as display manager.
1. Using lightdm in default configuration with any windows-manger, it's not possible to switch the cursor theme with mate-appearance properties or ccsm.
2. Using autologin in lightdm don't set the cursor theme and it's possible to switch the theme with mate-appearance properties (with marco) or ccsm (if compiz is running).
3. With ssdm or gdm as display manager (without autologin) we have the same situation as in (2).
OK, let see what lightdm maintainer thinks about that, maybe it is fixable.
Otherwise i'm thinking about switching to ssdm for f21.
Rex, do you see any chance that this is fixable?
Otherwise, using lightwight sddm sounds good for me.
I see, well, sddm it's pretty cool, switching to sddm wouldn't be bad At all and can give some personality to Fedora's cinnamon spin.
Based on comment #15, I don't see how the DM is related to the cursor theme at all honestly. That's essentially a session task (to be handled by mate/cinnamon/whatever).
That said, I can say without reservation that changing default cursor theme to something other than the default fedora cursor theme (adwaita) is a very unfun problem (having explored doing so in kde spin), and would strongly encourage you to consider simply not doing it. Doing it *right* (imho) would require changes/work in the libXcursor package (ie, owner of /usr/share/icons/default/index.theme )
There is no need to change /usr/share/icons/default/index.theme.
It is really the lightdm DM.
- system boots
- if no cursor theme is set in DM configuration the DM use what is writen in index.theme.
- session starts and use the theme which is set in mate-appearance properties and you can switch there the cursour theme as you like.
But this works only with sddm or gdm in my tests.
If i use lightdm, the DM hardcoded the setting in session, you can't switch the theme anymore.
You can test it in a VM, it's 100% reproducable.
It has taken a very long time for me to find out that lightdm did cause the issue.
Also only with lightdm the cursor theme switch in session if you move over some apps, between what is set in index.theme and mate-appearance properties
Ie, with yumex or firefox you see the theme which is set in mate-appearance properties, if you move with the mouse over the empty desktop you see what is set in indextheme.
But i don't wanna make you unecessary work, if it's not fixable it's OK. I'm really thinking about switching to sddm for f21.
Switching the cursor theme is for me more important as a high configurable DM like lightdm, because this is a accessibility issue. Users with impaired vision absolutely depend on the ability to increase the mouse pointer size and color.
Also sddm is pretty nice lightwight and has very less dependencies.
Ps, user said it's the same with cinnamon.
(In reply to Rex Dieter from comment #18)
> Based on comment #15, I don't see how the DM is related to the cursor theme
> at all honestly. That's essentially a session task (to be handled by
Does this expain it?
Interesting, ugh, ok, I'll follow those bugs and see if we can find some resolution.
No luck, seems some folks have investigated the issue, and have a fair understanding of it. There are some workarounds (with side-effects), but nothing yet that resembles a proper fix, as far as I can tell.
Rebuilding lightdm-gtk with gtk2 fixes the issue.
Now i can change the cursor theme with mate-appearance-properties.
Some scratch builds for testing.
f20 build comming soon.
build for f20
lightdm-gtk-1.8.5-6.fc21 has been submitted as an update for Fedora 21.
lightdm-gtk-1.8.5-8.fc20,lightdm-1.10.2-1.fc20 has been submitted as an update for Fedora 20.
What about this issue in Fedora 19?
will be releasing an update/fix for f19 too.
Package lightdm-kde-0.3.2.1-8.fc20, lightdm-gtk-1.8.5-9.fc20, lightdm-1.10.3-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing lightdm-kde-0.3.2.1-8.fc20 lightdm-gtk-1.8.5-9.fc20 lightdm-1.10.3-1.fc20'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).
lightdm-gtk-1.8.5-9.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
lightdm-kde-0.3.2.1-8.fc20, lightdm-gtk-1.8.5-9.fc20, lightdm-1.10.3-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
Created attachment 1038236 [details]
almost the same bug, seems that cinnamon doesn't edit /usr/share/icons/default/index.theme it cannot be a lightdm issue since I've never installed a display/login manager.
(In reply to Duff Padmasana from comment #33)
> Created attachment 1038236 [details]
> almost the same bug, seems that cinnamon doesn't edit
Cinnamon has no right to edit this file, this is correct behavior.
>it cannot be a lightdm issue since I've
> never installed a display/login manager.
Lightdm-gtk set it
diff -up lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c.lp#1024482 lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c
--- lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c.lp#1024482 2014-10-06 13:52:51.869311249 -0500
+++ lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c 2014-10-06 13:54:15.032163963 -0500
@@ -2267,6 +2267,9 @@ main (int argc, char **argv)
/* Disable global menus */
+ /* LP: #1024482 */
+ g_setenv ("GDK_CORE_DEVICE_EVENTS", "1", TRUE);
/* Initialize i18n */
setlocale (LC_ALL, "");
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);