Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: hmmm on May 27, 2009, 01:57:32 AM
-
Hello. How i can do big cursor in GUI? Or how i can change cursors theme?
ps: sorry for my english :)
-
tinyX uses bitmap cursors, ie black and white in a special format. See how to create them here:
http://www.justlinux.com/nhf/X_Window/Custom_Cursors.htm
You can also install Xorg and get access to the pretty cursors in linux, ones that can be found at sites like gnome-look for example
-
The cursor used by Xvesa is simply an X font (pcf) called cursor. You can find one here:
http://dir.filewatcher.com/d/Debian/Other/big-cursor_3.8.tar.gz.11569.html
If you extract the file usr/share/fonts/X11/misc/big-cursor.pcf.gz to some directory, run mkfontdir in that directory, and then use this command:
xset +fp /path/to/my/font/directory
it *should* use the new cursor font
Cursor themes, as far as I know, use a different cursor type which is specific to Xorg, so you'll need to install that if you want to use them. I can't help with that type of cursor.
-
If the font isn't used automatically, see the -fc option of Xvesa
-
If you extract the file usr/share/fonts/X11/misc/big-cursor.pcf.gz to some directory, run mkfontdir in that directory
mkfontdir - command not found.
-
mkfontdir is available in the Xorg extension - no need to actually run or configure Xorg, just get the extension, run mkfontdir, remove extension. The font index file only needs to be generated when bitmap fonts are added or removed.
-
mkfontdir is /usr/sbin/mkfontdir (at least as of version 1.3).
-
Problem solved.
I download big-cursor.pcf.gz and mv big-cursor.pcf.gz /usr/lib/X11/font/misc/cursor.pcf.gz :)
ps: xset +fp /path/to/my/font/directory and Xvesa -fc don't help me. May be my /dev/hands is wry :)