VMware
1 2 Previous Next 23 Replies Last post: Oct 15, 2007 5:04 AM by Caffeino   Go to original post
Click to view mrfusion's profile Lurker 4 posts since
Jul 30, 2007
magi,

My problems with key mappings stem from the fact that I'm a recent switcher to the Mac OS after about 15 years of using a Windows box, plus I have a development job which requires that I work with Windows extensively. To make it easier for me to switch back and forth between the two operating systems, I have used the Keyboard and Mouse "Key Mapping" dialog in the Mac's System Preferences to remap the Command (Cmd) key to the Control (Ctrl) key and the Ctrl key to the Cmd key.

This mapping is great because most key combinations in Windows use the Ctrl key and most key combinations in Mac use the Cmd key yet between the two *physical* machines, it's basically the same for my poor fingers!

The big problem with this is that Fusion automatically maps the Windows Ctrl key to the Ctrl key on the Mac and since I've remapped it, the Mac's *physical* Cmd key becomes the Ctrl key in Windows and now I'm back to the same problem of tripping over every single key combo I might try to do in Windows.

I wish Fusion let me remap keys the same way so that for Fusion, I could "remap my remapped" keys such that Ctrl goes back to the physical Ctrl key and Cmd goes back to the physical Cmd key, and this only when Fusion has the input focus.
Click to view dmgraham's profile Lurker 4 posts since
Dec 23, 2006
I'd love to hear how you'd rather it work though --
IMO, just swapping the keys isn't the complete answer[...]

Magi:

You can't please everyone if you make the program work the way any particular user wants it to work. You really need to make the software flexible to accommodate every user's preference.

Here's my suggestion for a quick fix:

1. Trap specifically for Command+Tab in Unity, which I think nearly everyone can agree should invoke the Mac OS X application switcher.

2. Make it optional to re-map Command+C/X/V to it's Windows CTRL equivalents. Even though this isn't my preference, it likely should be the default behavior.

3. Honor the mks.keyboard.swapAlt = TRUE option in Unity. If somebody went through the trouble of editing a conf file that should really mean that they know what they are doing and want it! ;-)

Longer term, I'd really like it if you created a more flexible Keyboard preference GUI that would allow people to implement all of their crazy ideas. You should be able to:

1. Decide whether to allow Fusion menu items while a VM is running. I can't tell you how many times I hit what I think is Alt+H only to accidentally hide the entire VM. (Yes, I know that these can be changed with OS X's Keyboard and Mouse preferences).

2. Allow any Mac key to be mapped to a Windows key equivalent.

3. Allow for specific mapping of Command to CTRL for the common equivalents (e.g., copy, paste, etc). Default=Enabled.

4. Add an option to override of Command+Tab in Unity regardless of mappings. Default=Enabled.

Microsoft's Mac RDP client handles this quite well, although they don't have the unique challenges of how to handle things in a Unity environment. Beyond that, I love the Keyboard preference options in the open source Chicken of the VNC application. It provides for custom key equivalents for different windowed environments, which I can see has a lot of parallels (no pun intended) with Fusion.

I'm a database and user interface developer and would love to assist and/or test with this. Please e-mail directly if you want.

- Dave
Click to view josquin's profile Novice 3 posts since
Aug 10, 2007
Sorry for the dumb question, but how do I the swap of the location of the control and command keys like I can do in Parallels? My fingers are trained to use Cmd-C, Cmd-S, etc. on the Mac side, and I would like to do the same in Windows.

Parallels has a simple option to do the switch. Is there a VMWare equivalent? Swapping the Command and the Alt keys are not quite what I want.

P.S. Loving VMWare, especially the extra memory space and virtual processor that I get over Parallels!

Click to view daxab's profile Novice 9 posts since
Jul 13, 2007
Something about the swapAlt option doesn't play nicely with Remote Desktop Connection, by the way. I document this in gory detail in this other thread: http://www.vmware.com/community/thread.jspa?threadID=93476
Click to view weipah's profile Lurker 1 posts since
Sep 24, 2007

Is there also a way to change the second return key like on Macbooks as AltGr key?

This feature was very usefull in Parallels, because in windows you often do need backslash-characters.

Click to view bjanzen's profile Lurker 1 posts since
Oct 8, 2007
In my version, 1.0 (51348), the file is ~/Library/Preferences/VMWare Fusion/preferences. I changed it there and it worked.
Click to view ashleymoran's profile Novice 3 posts since
Oct 6, 2007
This is really useful for installing FreeBSD - see my discussion here: http://communities.vmware.com/message/770005

Any chance this can be made into a per-VM setting rather than system-wide?
Click to view Caffeino's profile Lurker 1 posts since
Oct 15, 2007
There is a particular fix for a lot of these issues that I can't believe that noone has mentioned yet, being the excellent "input remapper" for macbooks.

I thought almost all boot camp users was on this one, I could certainly not manage wihtout it.

This allows complete flexibility, myself I have:

ctrl - fn - win - alt

but all options are possible.

Seems fusion doesn't send the fn key, this is not optimal but have obvious purpose, it can easily be sacrificed.

fn -ctr - win - alt

is what I have set it to now, and that works a charm.

A big bonus is that the standard setup includes alt gr mapping of the right apple button, also works.

What is not working is having the enter key remapped to right click, a fantastic concept that I would love to have in osx as well since it is available while using the touchpad. Some fix for this with input remapper would be very nice, a year into using mostly solely the mbp for windows that is about as mapped into my hands as ctrl on the rightmost was when I started using boot camp ...

A possible solution for almost all of the xp/mac keyboard issue is if there could be option of manually swapping fn and ctrl ala the fix mentioned at the top of the thread. It is not a problem not to have an fn key, but it occupies the space of the windows ctrl key. There are very few other issues left that can't then be handled rather easily with input remapper.

As an example, it is only a few minutes to map all of ctrl - v, ctrl - a and so on to command (in my setup, now alt) - v and so on. Alt - v or any other alt shortcuts have not conflicted yet in any app I use -- obviously the problem would be to access native program shortcuts, not unpredictable results. It is often possible to change program shortcuts, and there are also functionality in input remapper I believe to address such issues. It shouldn't be a problem to make a ready settings file for vmware for input remapper featuring this.

Input remapper being free software, it is well possible that you could be able to rent the code and integrate something slightly more user friendly into you control center -- it is important though that it be left as an option to run the original program, as that also takes care of fan speed in boot camp XP. This solution could with quite limited work allow having a button in the tools section with "use apple copy and selection shortcuts", as an example -- I am doing it now and it is solid.

URLs doesn't seem to be working from Opera or just now, but input remapper can be found at;

http://www.olofsson.info/

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities