FS#18923 - [compiz] Doesn't support GNOME cursor settings
Attached to Project:
Community Packages
Opened by Alessio Biancalana (dottorblaster) - Friday, 02 April 2010, 11:34 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 13 August 2011, 20:14 GMT
Opened by Alessio Biancalana (dottorblaster) - Friday, 02 April 2010, 11:34 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 13 August 2011, 20:14 GMT
|
Details
Description: If you try to change your WM from Metacity to
Compiz, or Openbox, or another thing but GNOME's Metacity,
you will get the X11 cursor as the black Xorg default (and
this is ugly!).
Falling back to Metacity solves the problem, but it's not a solution. Additional info: * package version(s): all GNOME 2.30 up-to-date @ 2 Apr 2010 - 13:28 Steps to reproduce: Change the WM from Metacity to Compiz (tested), Openbox (tested). |
This task depends upon
Closed by Jelle van der Waa (jelly)
Saturday, 13 August 2011, 20:14 GMT
Reason for closing: No response
Additional comments about closing: no response we don't have gnome2.3 anymore
Saturday, 13 August 2011, 20:14 GMT
Reason for closing: No response
Additional comments about closing: no response we don't have gnome2.3 anymore
EDIT: seems like it is for any qt application
Also, Firefox shows strange behaviour:
Navigating through the menus sometimes changes the cursor to the default. Just klick on 'File' and move the cursor to 'Edit', 'View' and so on.
In my case now, it is reset to the default on 'File' and 'History', but this changes from time to time, I also saw it changing on 'Edit'.
- create a directory /usr/share/icons/default/ (did not exist in my case)
- create /usr/share/icons/default/index.theme and add the following lines:
[icon theme]
Inherits=foobar
It appears the DMZ-White theme is pretty complete as far as a cursor set goes. If you inherit that, you will find that drag and drop cursors etc. appear in Firefox (and anywhere else).
Any cursor that isn't included in your own cursor set will use the DMZ-White version. However you still have to do the /usr/share/icons/default/ hack in order to have the theme you want not get overridden by an ugly X cursor.
You also have to inherit your own cursor theme in order for it to not get overridden by a DMZ-White cursor e.g.:
[Icon Theme]
Inherits=Aero,DMZ-White
I have attached a file of terminal output that (I hope) shows how I've gotten it to work.
Cheers!
Technically, this is not a bug in GNOME, but I don't get it why they designed the cursor choice system to use Metacity instead of gnome-settings-daemon. Except for the window borders, all other appearance settings are set trough gnome-settings-daemon, why would someone want to set cursor themes trough the window manager then?
I'll give the patch a try next week and see if no side effects come up. If everything is fine (also in kde) I'll apply it, if not...bad luck.
display.o: In function `compDisplaySetCursorTheme':
display.c:(.text+0x613): undefined reference to `XcursorSetTheme'
display.c:(.text+0x622): undefined reference to `XcursorSetDefaultSize'
collect2: ld returned 1 exit status
I have also attached the modified PKGBUILD.
Any ideas?