Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 989152 - lightdm: cursor theme doesn't change
Summary: lightdm: cursor theme doesn't change
Alias: None
Product: Fedora
Classification: Fedora
Component: cinnamon
Version: 22
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
: 970023 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2013-07-28 01:07 UTC by Neil
Modified: 2015-06-13 07:12 UTC (History)
9 users (show)

Fixed In Version: lightdm-kde-
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-06-13 07:00:50 UTC
Type: Bug

Attachments (Terms of Use)
secondpic (39.99 KB, image/jpeg)
2013-07-28 01:08 UTC, Neil
no flags Details
firstpic (889.38 KB, image/png)
2013-07-28 01:10 UTC, Neil
no flags Details
index.theme (486.45 KB, image/png)
2015-06-13 06:42 UTC, Neil
no flags Details

System ID Private Priority Status Summary Last Updated
Debian BTS 671121 0 None None None Never
Debian BTS 742460 0 None None None Never
Launchpad 1024482 0 None None None Never

Description Neil 2013-07-28 01:07:47 UTC
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.)


Comment 1 Neil 2013-07-28 01:08:50 UTC
Created attachment 779241 [details]

Comment 2 Neil 2013-07-28 01:10:11 UTC
Created attachment 779242 [details]

Comment 3 Wolfgang Ulbrich 2013-07-28 09:53:57 UTC
This is known issue, i send it to upstream.

Comment 4 Wolfgang Ulbrich 2013-07-29 16:05:46 UTC
As first workaround you can edit
[rave@mother ~]$ cat /usr/share/icons/default/index.theme 
[Icon Theme]

Change here the theme to whatever you want.
But this isn't the real issue.

Comment 5 Wolfgang Ulbrich 2013-07-29 16:06:16 UTC
and restart X.

Comment 6 Neil 2013-08-02 18:52:11 UTC
thanks it worked.

Comment 7 Wolfgang Ulbrich 2013-08-09 23:15:06 UTC
*** Bug 970023 has been marked as a duplicate of this bug. ***

Comment 8 Neil 2014-01-15 01:45:47 UTC
This bug still present on Fedora 20.

Comment 9 Neil 2014-07-10 22:23:12 UTC
Bug is present also on Cinnamon.

Comment 10 Neil 2014-08-24 17:24:24 UTC
bug is not present if you don't install the Cinnamon group. (Using Cinnamon recently installed on a minimal install)

Comment 11 Wolfgang Ulbrich 2014-08-24 20:02:38 UTC
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?

Comment 12 Neil 2014-08-25 01:14:45 UTC
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.

Comment 13 Neil 2014-08-30 23:54:42 UTC
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.

Comment 14 Wolfgang Ulbrich 2014-08-31 06:57:12 UTC
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.

Comment 15 Wolfgang Ulbrich 2014-09-07 14:32:50 UTC
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.

To summarize:
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.

Comment 16 Wolfgang Ulbrich 2014-09-07 14:35:39 UTC
Rex, do you see any chance that this is fixable?
Otherwise, using lightwight sddm sounds good for me.

Comment 17 Neil 2014-09-07 15:53:21 UTC
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.

Comment 18 Rex Dieter 2014-09-08 12:40:23 UTC
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 )

Comment 19 Wolfgang Ulbrich 2014-09-08 16:46:54 UTC
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.

Comment 20 Wolfgang Ulbrich 2014-09-08 16:49:46 UTC
Ps, user said it's the same with cinnamon.

Comment 21 leigh scott 2014-10-04 12:12:43 UTC
(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
> mate/cinnamon/whatever).

Does this expain it?

Comment 22 Rex Dieter 2014-10-04 12:17:36 UTC
Interesting, ugh, ok, I'll follow those bugs and see if we can find some resolution.

Comment 23 Rex Dieter 2014-10-04 12:26:19 UTC
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.

Comment 24 Wolfgang Ulbrich 2014-10-04 13:20:17 UTC
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.

Comment 25 Wolfgang Ulbrich 2014-10-04 13:49:10 UTC
build for f20

Comment 26 Fedora Update System 2014-10-05 13:45:55 UTC
lightdm-gtk-1.8.5-6.fc21 has been submitted as an update for Fedora 21.

Comment 27 Fedora Update System 2014-10-06 12:13:28 UTC
lightdm-gtk-1.8.5-8.fc20,lightdm-1.10.2-1.fc20 has been submitted as an update for Fedora 20.,lightdm-1.10.2-1.fc20

Comment 28 glad08 2014-10-07 13:55:01 UTC
What about this issue in Fedora 19?

Comment 29 Rex Dieter 2014-10-07 14:42:51 UTC
will be releasing an update/fix for f19 too.

Comment 30 Fedora Update System 2014-10-11 06:53:25 UTC
Package lightdm-kde-, 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- 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:,lightdm-gtk-1.8.5-9.fc20,lightdm-1.10.3-1.fc20
then log in and leave karma (feedback).

Comment 31 Fedora Update System 2014-10-11 07:03:00 UTC
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.

Comment 32 Fedora Update System 2014-11-27 08:36:01 UTC
lightdm-kde-, 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.

Comment 33 Neil 2015-06-13 06:42:56 UTC
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.

Comment 34 leigh scott 2015-06-13 07:00:50 UTC
(In reply to Duff Padmasana from comment #33)
> Created attachment 1038236 [details]
> index.theme
> almost the same bug, seems that cinnamon doesn't edit
> /usr/share/icons/default/index.theme 

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 */
     g_unsetenv ("UBUNTU_MENUPROXY");
+    /* LP: #1024482 */
+    g_setenv ("GDK_CORE_DEVICE_EVENTS", "1", TRUE);
     /* Initialize i18n */
     setlocale (LC_ALL, "");
     bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);

Note You need to log in before you can comment on or make changes to this bug.