On Thu, Sep 10, 2009, Jeremy Huddleston wrote:
> On Sep 10, 2009, at 18:25, Bill Campbell wrote:
>> I have several related issues on a 15in Macbook Pro running Snow
>> Leopard 10.6 when using a KVM switch with a Microsoft ``Natural''
>> 4000 keyboard and a 24in 1920x1200 monitor.
>> First the X11 specific problem, the geometry seems hosed when
>> bringing the external monitor up from sleep or going back to the
>> built-in monitor from sleep. Most notably a perl::Tk program
>> barfs with negative sizes on pack() after bringing up the
>> external monitor. I can understand X11 might well get the
>> display geometry on startup so has bogus values until it's
> Nope, we update the screen geometry whenever you plug in a monitor,
> disconnect a monitor, change resolution... I just did this myself and
> it's working fine as far as I can tell. Can you please provide a
> reduced test case in a bug report at http://xquartz.macosforge.org?
I'm not sure how I would set up a reduced test case. The most
recent experience occurred after I switched to the external
monitor. X11 was running with a single xterm window open left
from the main monitor. I start a remote session using X11
forwarding ``ssh -f user@system xterm -e csmenu'' where csmenu is
a python curses program that runs programs out of my ~/lbin
directory. I then use clusterssh on the remote to open 17 ssh
xterm windows to client systems, then remote clusterssh again
which opens 5 more ssh xterm windows to local systems here.
FWIW, the original remote system is running SuSE Linux Enterprise
10, and is our primary file and e-mail server.
The clusterssh program is perl using perl::Tk to create multiple
connections where one can either execute commands on all systems
via a Tk window or work in each individual window as one would
with a simple ssh connection.
When I start these 22 clusterssh xterm sessions in the 1920x1200
monitor normally they will cascade without overlap, but if I do
this on this monitor after bringing the external monitor up from
sleep without restarting X11 they cascade as though they were on
the main monitor then start piling up in the top left as they do
on the shorter vertical resolution.
>> I have not tried installing this on the Macbook Pro as I am afraid
>> it will hose the keyboard mapping when using the built-in keyboard.
>> Am I right here or can I install Intellikey to get these mappings
>> when using the external keyboard?
> /shrug ... http://google.com ?
The most applicable thing I found a while back on google was this
link which links to an Applescript that basically goes into
System Preferences and tweaks the settings then asks which
keyboard one wants. This script is a bit dated WRT Snow Leopard
as it assumes that the external keyboard will be identified as
``PC'' while Snow Leopard has ``Natural@ Ergonomic Keyboard 4000''.
Snow Leopard also seems to automatically select the proper
keyboard type while this script asks which one to use.
Nothing I've found so far addresses the issue of running the
Microsoft Intellikey software on a Macbook Pro so I'll try doing
booting from a SuperDuper snapshot to try that without screwing
up the regular system (Learn by Destroying :-).
>> Currently I am remapping the Option and Command keys using the
>> System Preferences->Keyboard->Modifier Keys, selecting the
>> Microsoft keyboard, and switching the Option and Command keys so
>> they behave almost like an Apple keyboard or using Intellikey.
>> The problem is that these changes don't stick and have to be
>> reset every time I either switch between the machines with the
>> KVM switch or bring the system up from sleep.
> That's unfortunate.
>> Is there any way to get these changes to stick? I would think that
>> this setting
>> would be retained once selected for a particular keyboard type.
> File a bug report at http://bugreport.apple.com
Done, bug report 7216382.
INTERNET: email@hidden Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
There is no worse tyranny than to force a man to pay for what he does not
want merely because you think it would be good for him. -- Robert Heinlein
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden