Little problem with compiz and cursor

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

Little problem with compiz and cursor

Postby Bunkmil » Fri Oct 08, 2010 2:34

Hi,

I don't know why, but in some applications (firefox), the whiteglass cursor theme looks just great, and in some others (nautilus), it looks like the ugly default gnome x cursor. I'm pretty sure that it's caused by compiz, because when it's not running, the cursor's fine.

Anyone experienced this problem ? Have a solution ?

I'm running an up to date version of sabayon amd64 gnome edition.

Thanks!
Bunkmil
Young Hen
 
Posts: 33
Joined: Wed Apr 29, 2009 16:38

Re: Little problem with compiz and cursor

Postby alonsoty » Fri Oct 08, 2010 9:39

I do not even know why, but I think it's because the icons aren't drawned by emerald but directly from X.
Then maybe there is some expert who can explain to us how it works under Gnome... :?:

However, I resolved in this way (for some time now):
1. Install the cursors theme you want use (if different) and make sure you select it in Gnome: System -> Preferences -> Appearance.

2. Create the file in your home: /home/Bunkmil/.icons/default/index.theme
containing:
Code: Select all
[Icon Theme]
Name=whiteglass
Comment=Bunkmil's Default
Inherits=whiteglass
[Desktop Entry]
Name[en_US]=index.theme

change the Inherits entry with your selected cursor theme (the folder name); the one shown is for the Sabayon Gnome default.
Then restart X...
Last edited by alonsoty on Fri Oct 08, 2010 23:51, edited 1 time in total.
alonsoty
Advanced Hen
 
Posts: 236
Joined: Sat Sep 16, 2006 20:39
Location: Marchesonia - Italy

Re: Little problem with compiz and cursor

Postby Bunkmil » Fri Oct 08, 2010 12:35

Thanks alonsoty!

Your workaround worked, except that I can't adjust the cursor size through Gnome: System -> Preferences -> Appearance anymore.
Bunkmil
Young Hen
 
Posts: 33
Joined: Wed Apr 29, 2009 16:38

Re: Little problem with compiz and cursor

Postby alonsoty » Fri Oct 08, 2010 23:30

it is true ... I never noticed!
In the end I find myself always to quarrel with Compiz, damn!!! :twisted:

I found that it is due to the scalable format of the cursors; Compiz (or Emerald) can not retrieves informations about the size through X.
In fact, I've never seen the problem since I always use the 'fixed-size' versions.
But with the 'whiteglass' theme of Sabayon (which is scalable), I see the cursor change in size by moving over the different windows!
I also tried creating the file ~ /. Xdefaults and forcing the dimension through:
Code: Select all
Xcursor.theme:whiteglass
Xcursor.size:24 (it's the regular size)

but equally does not work with Compiz!

Ultimately you can do like me: renouncing to set the size directly from Gnome by using fixed-size cursors themes.
The small, regular or big version are often available so, you can choose the dimension, by directly set the corresponding theme...

I post the link at the package with the themes cursors I usually use, you will notice that the first two item exist in version Small or Regular.
AlonsoTy_cursors.tar.bz2
When I select a different one then also edit the file index.theme (Inherits entry) in my home folder and everything works well.

Image

Bye
alonsoty
Advanced Hen
 
Posts: 236
Joined: Sat Sep 16, 2006 20:39
Location: Marchesonia - Italy

Re: Little problem with compiz and cursor

Postby aecius » Mon Jun 13, 2011 6:40

Thank you alonsoty 8)
aecius
Baby Hen
 
Posts: 3
Joined: Tue Mar 08, 2011 22:04


Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 3 guests