Note: I'm now using XFCE scaling feature instead of the option below. Leave this up as I might go back to using wmx again
The default X cursor font exists both as a bitmap font (file cursor.pcf.gz) and as a Type 1 font (file cursor.pfa). The recipe provided below makes the bitmap font unavailable to the system and turns the font name cursor into an alias for the appropriately rescaled Type 1 font (via the fonts.alias file).
-
TODO: figure out how to make this permanent so
sysupgradewill not overwrite the changes -
rm /usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gzto remove the bitmap font -
mkfontdir /usr/X11R6/lib/X11/fonts/misc/to remove the bitmap font from the font directory. -
Create the file /usr/X11R6/lib/X11//Type1/fonts.alias with the following contents, adjusting 801 to the desired cursor size.
echo "cursor -xfree86-cursor-medium-r-normal--0-801-0-0-p-0-adobe-fontspecific" > /usr/X11R6/lib/X11//Type1/fonts.alias