Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: hmmm on May 27, 2009, 01:57:32 AM

Title: Big cursor in GUI
Post 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 :)
Title: Re: Big cursor in GUI
Post by: curaga on May 27, 2009, 07:38:26 AM
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
Title: Re: Big cursor in GUI
Post by: mikshaw on May 27, 2009, 08:00:45 AM
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.
Title: Re: Big cursor in GUI
Post by: curaga on May 27, 2009, 08:24:19 AM
If the font isn't used automatically, see the -fc option of Xvesa
Title: Re: Big cursor in GUI
Post by: hmmm on May 27, 2009, 09:30:35 AM
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.
Title: Re: Big cursor in GUI
Post by: curaga on May 27, 2009, 10:40:10 AM
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.
Title: Re: Big cursor in GUI
Post by: mikshaw on May 27, 2009, 03:21:11 PM
mkfontdir is /usr/sbin/mkfontdir (at least as of version 1.3).
Title: Re: Big cursor in GUI
Post by: hmmm on May 29, 2009, 02:39:59 AM
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 :)