GNOME Bugzilla – Bug 660353
Adwaita X11 cursor theme not used
Last modified: 2013-01-25 22:39:24 UTC
Created attachment 197655 [details] xorg-misc-fonts default left_ptr cursor versus adwaita cursor On Archlinux Gnome doesn't use the X11 cursor theme Adwaita, but rather the xorg default cursor theme xorg-fonts-misc /usr/share/fonts/misc/cursor.pcf.gz. `gsettings get org.gnome.desktop.interface cursor-theme` does have 'Adwaita'. Fedora seems to do it by adding icons/default/index.theme defining Inherits=Adwaita in libXcursor package... http://pkgs.fedoraproject.org/gitweb/?p=libXcursor.git;a=tree which makes me wonder, is this upstream or downstream job? (screenshot: left: xorg default cursor, right: Adwaita cursor)
what i wonder is why it works in firefox and once I move the cursor outside of the window, even when i'm on the edge to window decoration, the cursor changes.
Moving to gnome-themes-standard, where people will know better :-)
(In reply to comment #1) > what i wonder is why it works in firefox and once I move the cursor outside of > the window, even when i'm on the edge to window decoration, the cursor changes. Okay, so your problem is you don't get the xorg cursor outside of Firefox basically?
Adwaita cursor is not available in desktop but only in firefox/thunderbird.
(In reply to comment #0) > Fedora seems to do it by adding icons/default/index.theme defining > Inherits=Adwaita in libXcursor package... > http://pkgs.fedoraproject.org/gitweb/?p=libXcursor.git;a=tree which makes me > wonder, is this upstream or downstream job? Ok I see what you mean now. After talking with Matthias on IRC and googling information about this for a bit, it looks like setting Inherit=$theme in /usr/share/icons/default/index.theme is indeed the supported way of setting the global cursor theme. Note this doesn't mean you need to hardcode that in the libXcursor package like Fedora does; Debian-based distros e.g. seem to be able to control this setting with an update-alternatives option.
Oh, Fedora also uses 'gtk-cursor-theme-name = Adwaita' in /etc/gtk-3.0/settings.ini, which might be part of the reason why you don't get the cursor in GTK applications.
I know in gnome 2.x we could had cursor themes and worked fine. What is the problem now that it couldn't be used automatically? Hardcoding that it seems like a workaround and if i use other theme, the cursor will be Adwaita instead the one from the new theme.
On Fedora 16: $ gconftool-2 -g /desktop/gnome/peripherals/mouse/cursor_theme dmz-aa Seems like our problem. We need to be packaging "Adwiata" for this schema.
The gconf key is a leftover on your system. We don't even install those schemas anymore. The libXcursor defaults are used for non-gtk applications. Applications generally inherit the cursor from the root window, so to check whether an application uses the right cursor theme, you have to go to widget that explicitly sets a cursor, such as an entry.
(In reply to comment #9) > The gconf key is a leftover on your system. We don't even install those schemas > anymore. The problem is that metacity/mutter still reads those keys: http://git.gnome.org/browse/mutter/tree/src/core/prefs.c#n468
Mutter got ported to GSettings, and I just tried setting a different cursor using 'gsettings set org.gnome.desktop-interface cursor-theme' and it worked fine. I don't think there's anything to fix in Adwaita - closing as INCOMPLETE, feel free to reopen if you think this still applies.