You are not logged in.

#1 2004-11-04 16:18:26

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

X11 Cursor Theming Wiki Page

I just added an X11 Cursor Theming Wiki page.  English was never my strongpoint, so does someone wanna go through and edit/make it better?

http://wiki.archlinux.org/index.php/X11%20Cursors

Thanks  big_smile


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#2 2004-11-04 16:26:25

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: X11 Cursor Theming Wiki Page

hey, because I'm not sure of this and I dont have time to look it up:
what directory structure does X look for to match the cursors?  how should a dir layout look for a named theme?  is there a way to override the path and make, say, a ~/cursors/my_theme folder and set Xcursor.theme: my_theme?

Just some thing i thought I'd bring up..

according to some of the garbage i've found:
/usr/X11R6/lib/X11/icons/MYTHEME and
~/.icons/MYTHEME should work - dunno

Offline

#3 2004-11-04 16:29:47

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: X11 Cursor Theming Wiki Page

It looks in
/usr/share/icons/<icontheme>/cursors/
and
~/.icons/<icontheme>/cursors

And possibly other places


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#4 2004-11-04 16:48:17

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: X11 Cursor Theming Wiki Page

ah ok, thanks - nice doc BTW

Offline

#5 2004-11-04 17:07:24

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: X11 Cursor Theming Wiki Page

phrakture wrote:

ah ok, thanks - nice doc BTW

thanks big_smile  big_smile  big_smile


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#6 2004-11-04 22:16:18

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: X11 Cursor Theming Wiki Page

I guess I can place this url to my thread with 9 nice cursor themes pkgbuilds:
http://bbs.archlinux.org/viewtopic.php?p=51886#51886
(just to be sure we are not duplicating same work).

Xcursor manual also covers same topic. Let me paste most interesting parts:

Cursors can
       exist in several sizes and the library  automatically  picks  the  best
       size.

This is of course related to Xcursor.size - IMO for the first run it's better to not set this so X will automatically choose default size.

Xcursor (mostly) follows the freedesktop.org spec  for  theming  icons.
       The  default  search  path  it  uses is $HOME/.icons, /usr/share/icons,
       /usr/share/pimaps,  /usr/X11R6/lib/X11/icons.   Within  each  of  these
       directorys,  it  searches for a directory using the theme name.  Within
       the theme directory, it looks for cursor files in the 'cursors'  subdi-
       rectory.  It uses the first cursor file found along  the path.

       If necessary, Xcursor also looks for a "index.theme" file in each theme
       directory to find inherited themes and  searches  along  the  path  for
       those themes as well.

       If  no  theme is set, or if no cursor is found for the specified theme,
       Xcursor checks the "default" theme.

Many webpages with cursor themes advise you to change index.theme in default dir - don't do it. It's not the way it should be done.
The index.theme file is not always needed. In fact it's only real function is to inform x that a given theme inherits other theme. So with this kind of themes be careful for changing theme directory names (change index.theme inherits line if it's needed).

IMO /usr/share/icons is the best directory (most neutral) for placing additional cursor themes that will be available for all users (that's what I used in my pkgbuilds).

And last imporant warning

RESTRICTIONS
       Xcursor will probably change radically in  the  future;  weak  attempts
       will be made to retain some level of source-file compatibility.

... so don't be surprised (but I think this is rather distant future :-)).

BTW I added some info to the wiki page.

Offline

#7 2004-11-05 03:38:11

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: X11 Cursor Theming Wiki Page

Thanks a lot for all your help! big_smile


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#8 2005-08-11 23:10:25

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: X11 Cursor Theming Wiki Page

Paki wrote:

I can't finish following the instructions from the wiki page. I can't find the file "~/.Xdefaults".

Perhaps the newsest versions of X.org don't use this file any longer?

Help?

- Paki

IIRC, .Xdefaults is not a supplied file, and is something you have to create yourself.

Offline

#9 2005-08-11 23:11:00

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: X11 Cursor Theming Wiki Page

Xorg still use that file. If the file doesn't exist, create it.

Offline

Board footer

Powered by FluxBB