Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A fix for a miscolored X11 cursor on Intel Macs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A fix for a miscolored X11 cursor on Intel Macs
Authored by: kumbera on Mar 02, '07 03:00:41PM
I have a workaround for this problem that requires no changes to your Apple or to X11 on any system. This fixed all the problems I was having with xterm, emacs, firefox and gimp.

1. on your intel Mac in an X11 terminal window run:


   ssh remote_linux
where remote_linux is the name of a Linux host.

2. After you have authenticated to remote_linux, run the following commands:


   mkdir ~/.icons
   cd ~/.icons
   cp -R /usr/share/icons/HighContrast .
Don't miss the '.' at the end of the previous command

   ln -s HighContrast default
To verify everything is working, run 'xterm' back to your Apple display and admire your nice easy to follow cursor. If your xterm dies with a segmentation fault then there is a problem with the cursor tree your copied with the 'cp -R'. When I tried to use the /usr/share/icons/locolor directory tree my xterms died with a segmentation fault.

Both /usr/share/icons/HighContrast and /usr/share/icons/mono worked for me. Please be aware that not all distributions ship with the same cursors. For example Ubuntu 6.10 didn't have mono. On all the systems I checked (Fedora, RHE, and Ubuntu) HighContrast was present in /usr/share/icons.

When Apple fixes X11 you can simply do a 'rm ~/.icons/default' in your account on the Linux system and you should be back to using the system default icons.

This fix was created from the clear and obvious instructions in the Xcursor man page. :-)

[ Reply to This | # ]

A fix for a miscolored X11 cursor on Intel Macs
Authored by: angrypanda on Mar 08, '07 04:06:04AM

Doesn't work for me.

I tried logging in to a FC5 machine, and copying the hicolor or Bluecurve icon folders to ~/.icons as the HighContrast icon set was not installed on this system.

I made the link to default and logged out, logged back in, and still get the useless yellow cursor.

Oh well, back to the patch.

Jb



[ Reply to This | # ]
A fix for a miscolored X11 cursor on Intel Macs
Authored by: kumbera on Apr 12, '07 01:50:44PM
Sorry this was my fault. I've installed several optional icon sets on my Linux systems.

I hope a more portable set of steps on the remote linux system are:

   mkdir ~/.icons
   cd ~/.icons
   cp -R /usr/share/icons/hicolor .
   ln -s hicolor default
If the cp -R fails then you need to do a
ls -F /usr/share/icons
and change 'hicolor' in both places in the above commands to a valid directory returned by the 'ls -F' command. (Don't use the 'default' directory in /usr/share/icons it won't work.)

[ Reply to This | # ]
A fix for a miscolored X11 cursor on Intel Macs
Authored by: nharward on Mar 22, '07 11:33:11AM

This worked like a charm for me, my distro in question is RHEL ES4 (nahant). Thank you for the post!



[ Reply to This | # ]
A fix for a miscolored X11 cursor on Intel Macs
Authored by: hmsenn on May 03, '07 05:40:27AM

I just switched from PPC to Intel and ran into the yellow-cursor problem. I am reluctant to apply the patch as it seems to undo the performance enhancements in Apple's latest X11 update, as previously posted here.

So my problem now is that the .icons trick does not work for me either. I connect to a SuSE machine, where the only icon set available is /usr/share/icons/wmappl. I also tried icon sets in /opt/kde3/share/icons (such as hicolor), but to no avail - the yellow thing on my screen stays (in xterm, emacs, etc.).

- Any ideas as to why this is not working?
- Is there a way to check that the stuff in ~/.icons gets actually noticed by whatever is supposed to read this information?
- Any variations on the theme I could fiddle around with? (Such as getting additional icon sets on the Linux box, changing the X client's settings, etc.)

Any help greatly appreciated as this is a real pain!

Cheers
Hans



[ Reply to This | # ]
A fix for a miscolored X11 cursor on Intel Macs
Authored by: thuldai on Jun 11, '08 03:26:10AM

I'd also be interested in an update of this ~/.icons/ hint.

I tried it on my remote machine, which started off with an empty /usr/share/icons/. So I copied icon sets (among others HighContrast ones) from other Linux computers into my ~/.icons/ there, but that didn't do anything.

I used the package from lycestra instead (heavy heartedly) and that seems to work well on 10.4.11.



[ Reply to This | # ]