Bastian Venthur <[EMAIL PROTECTED]> writes:

> I guess this does not work, if I understand this stuff correctly upstream 
> heavily relies on the Inherits-line: For each color he provides a "basic" 
> theme with many files and all the derivate cursors of the same color simply 
> inherit from the basic theme and have only a few new/other cursors in their 
> cursors-dir.

Oh, is multilevel inheritance forbidden?  If so, that's a problem,
because pointing /etc/alternatives/x-cursor-theme directly at a
regular index.theme file does not work -- as X does not chase symlinks
itself, it looks for components relative to
/usr/X11R6/lib/X11/icons/default, which contains only the symlink to
/etc/alternatives/x-cursor-theme. :-/

> Done. Thanks very much for this part -- I did not take the whole stuff 1:1 
> but 
> it helped a lot to understand the procedure. 

Great; you're welcome.

> You can find an updated version of crystalcursors here: 
> http://venthur.de/debian/crystalcursors/

Thanks!  I'll take a look when I get a chance.

> Now there is one problem left. And it's kinda tricky to explain, but I hope 
> you can help me:

I ran into this myself when playing with setting things up manually,
at which point I noticed that everything else used wrapper
index.themes files and concluded that they would be necessary here as well.

> What have these themes in common? In their index.theme they all miss the 
> Inherits-line! Since all other themes inherit from these themes, they *have* 
> this line and so they work.

...sort of; I think pointing the alternative directly at a "working"
themes may actually lead to using the theme from which it inherits.

> Ok, without having any clue about the syntax and semantics of the index.theme 
> file, I just tried to insert eg a
>
> Inherits = crystalblue
>
> line for the crystalblue-theme, which causes KDM to hang infinitly on the 
> next 
> start (I guess it searches recursivly and I caused an infinite loop by 
> referring to its own parent dir).

Right, you can't make a theme inherit from itself!

> What's even more strange: in KDE you can choose any of the themes and they 
> *all* work as expected. So I guess Xorg has some problems with cursors 
> without Iherits-line. But since the "basic" themes don't inherit from some 
> other theme I have no idea how to fix it.

KDE's theme selector presumably supplies the theme name to X more
directly, allowing it to find the components without trouble.

> Do you have any idea how to fix the problem?

As I said, I believe you need to create wrappers.

Thanks.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger [EMAIL PROTECTED] (NOT a valid e-mail address) for more info.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to