Tiny Core Base > TCB Talk
I need a small black cursor
robc:
there may be a permissions/ownership issue. Replace the zsnes line with aterm and run the xsetroot command manually, it will tell you if there are any problems then
Medox:
here you have a screenshot (of aterm)
but my remaster script already adds permissions (I hope the right ones)
still the same...
mikshaw:
As far as I know, xsetroot -cursor only changes the cursor that appears over the root window, not over application windows. You may need to use an application like unclutter if you want to hide remove the cursor.
Another option is to try to find a blank cursor font somewhere (sorry I dunno where at the moment) and replace the original /usr/lib/X11/fonts/misc/cursor.pcf.gz file with it.
robc:
I'm not sure what to tell you :-\
I just repeated my steps and it works for a base 2.3 system. Here is what I did after opening aterm in the base:
--- Code: ---tc@box:~$ echo "#define nn1_width 16
#define nn1_height 16
static unsigned char nn1_bits[] {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};" > emptycursor
tc@box:~$ sudo cp emptycursor /opt
tc@box:~$ tar zxf /mnt/hda3/tce/optional/Xorg-7.4.tcel
tc@box:~$ sudo cp usr/local/bin/xsetroot /usr/local/bin
tc@box:~$ xsetroot -cursor /opt/emptycursor /opt/emptycursor
--- End code ---
I attached my emptycursor file in case that helps.
Medox:
thanks for your responses.
i found this a couple of minutes ago:
http://stlouis-shopper.com/cgi-bin/mozdev-wiki/kiosk-wiki.pl?KioskSetups/TouchScreen
--- Quote ---I have replaced the default X cursors with invisible ones. Replace (make a backup 1st) the file cursor.pcf.gz in the directory /usr/X11R6/lib/X11/fonts/misc/ (or wherever your 'misc' fonts are located; use 'locate cursor.pcf.gz' to find out) with the one in the tar file I have attached to this link [cusor.tar.gz] The source file is cursor.bdf. You can recreate cursor.pcf.gz from that with: bdftopcf cursor.bdf | gzip -c > cursor.pcf.gz
--- End quote ---
and it finally works. 8)
p.s. here you have a mirror for this useful invisible cursor:
http://www.box.net/shared/9xcghe8j1t
Navigation
[0] Message Index
[*] Previous page
Go to full version