Remapping the tilde key (~) in Linux guest running in VMWare Fusion

When running a Linux guest in VMWare Fusion, the ‘~’ (tilde) key is remapped to the ‘§’ key. Here’s how to bring the tilde back to its natural place on the Mac keyboard.

In the Linux guest, create the file ~/.xmodmaprc (for Red Hat) or ~/.Xmodmap (for SUSE), with the following line:
keycode 94 = grave asciitilde
Save the file and then restart X.

Note that this only works for X, i.e., it doesn’t work when your runlevel is smaller than 5.

Advertisements
Remapping the tilde key (~) in Linux guest running in VMWare Fusion

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s