You are not logged in.
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
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
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
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
Offline
ah ok, thanks - nice doc BTW
thanks
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
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
Thanks a lot for all your help!
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
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
Xorg still use that file. If the file doesn't exist, create it.
Offline