So. Um why might you want this exactly???
well. think of a crazy world where usb devices might actually be pluggable into devices with usb slots.
Like a mouse in say a kindle.
Cursor would be handy at that point.
Or using a vnc client (with no helpful settings) also helpful.
or typing via vnc onto the OSKb (since odd letters are prepended in some clients)
now: "X Theming" does not work since XCB does not support xcursor yet.
well to a certain degree. (Actually "Themes" can be made to work a bit but I digress.)
We just want a cursor set - the defaults will do...
For this you would need:
Root Access. An updated cursor file.
Ideally also the xsetroot
tool would be nice
I have read through
and the gist of it is:
a) find cursor files as bdf
b) run bdftopcf -o cursor.pcf cursor.bdf
c) splat it in cd /usr/share/fonts/X11/misc/
there is currently a symlink with the FULL PATH to emptycursor.pcf in there...
[root@kindle misc]# mntroot rw
scp the newcursor.pcf file to /usr/share/fonts/X11/misc/newcursor.pcf
(or whatever you do for file transfer)
[root@kindle root]# cd /usr/share/fonts/X11/misc/
[root@kindle misc]# ln -sbf /usr/share/fonts/X11/misc/newcursor.pcf cursor.pcf
[root@kindle misc]# mntroot ro
then [root@kindle misc]# killall Xorg
to see the new stuff load with a shiny cursor (left_ptr by default I think)
the change this you would
[root@kindle /]# xsetroot -cursor_name right_ptr
cursor.bdf (DO NOT PUT THIS ON THE DEVICE, IT'S FOR REFERENCE)
newcursor.pcf - the cursors file
main app: (would live in /mnt/us/usr/bin)
xsetroot - you call this (in this case) to set the cursor with -cursor_name
supporting libs: (would live in /mnt/us/usr/lib)
Shared library: [libXmuu.so.1]
Shared library: [libX11.so.6]
Shared library: [libXcursor.so.1]
Shared library: [libc.so.6]
and maybe "one day" a shell script when I get round to it to run xsetroot with the libs automatically added to the path - OR
simply configure your system as outlined at
and run [root@kindle upstart]# xsetroot -cursor_name left_ptr
like I do.
(I've shoved mine in a startup file)
[root@kindle root]#cd; nano .bashrc
# add some aliases for our busybox wangle
if [ -f /mnt/us/.alias ]; then
#prevent the SS by default...
lipc-set-prop com.lab126.powerd preventScreenSaver 1
#setup the blank cursor by default...
xsetroot -cursor_name heart
You will also note that applications running vnc now will use the correct icons remotely (gvncviewer we are looking at you) - this benefit could be paired with creating/using a blank icon for the default on the device, thus providing the best of both worlds, no icon on device, icons via vnc.
There are great notes here on themes and their shortcomings with awesome
(I have a bunch built I could bundle them too)
Notes on injecting things like calls to xsetroot automatically (we have a lua solution) http://awesome.naquadah.org/wiki/Autostart