Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yellow cursors



On 2007-08-12 17:20:18 -0700, James Welcher wrote:
> This is a know issue when connecting from Intel Macs to Linux boxes.
> You may note that the FIRST xclient you start (say an xterm) will
> recognize .Xresources, but subsequent clients will not.

Yes, I've noticed that quartz-wm seems to redefine the environment,
at least for programs run via the X11 Applications menu. I have

XAPPLRESDIR=$HOME/.app-defaults
export XAPPLRESDIR

in my /etc/X11/xinit/xinitrc file, so that quartz-wm gets this
environment variable, but it isn't taken into account for the
Applications programs it launches. I use the following workaround.
I've written a script x11-wrapper containing:

#!/opt/local/bin/zsh
exec "$@"

This has the effect to read the environment variables I set up
in my .zshenv file, in particular XAPPLRESDIR. And in the
$HOME/Library/Preferences/com.apple.x11.plist file, I have:

                <array>
                        <string>xterm</string>
                        <string>x11-wrapper xterm -e zsh</string>
                        <string>t</string>
                </array>
                <array>
                        <string>uxterm</string>
                        <string>x11-wrapper uxterm -e zsh</string>
                        <string>u</string>
                </array>

-- 
Vincent Lefèvre <email@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >Yellow cursors (From: James Rome <email@hidden>)
 >Re: Yellow cursors (From: "James Welcher" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.