VMware, Inc. 345
Chapter 16 Connecting Devices
intokeysymsthathavenameslikespace,escape,xand2.YoucanuseanXapplication
tocontrolthemappingbyusingthefunctionXChangeKeyboardMapping()orbythe
programxmodmap.Toexplorekeyboardmappings,youcanusethexevcommand,
whichshowsthekeycodesandkeysymsforkeystypedintoitswindow
.
Akey
codecorrespondsroughlytoaphysicalkey,whileakeysymcorrespondstothe
symbolonthekeytop.Forexample,withanXFree86serverrunningonaPC,theZkey
ontheGermankeyboardhasthesamekeycodeastheYkeyonanEng
lishkeyboard.
TheGermanZ
keysym,however,isthesameastheEnglishZkeysym,anddifferent
fromtheEnglishYkeysym.
Configure How Keysyms Are Mapped
Whenkeycodemappingcannotbeusedorisdisabled,Workstationmapskeysymsto
v‐scancodes.Ifalanguage‐specifickeyboarddoesnotappeartobesupportedby
Workstation,youmightneedtosetapropertythattellsWorkstationwhichkeysym
tabletouse.
Beforeyoubegin,performthefollowingtasks:
Tochangethemappingofafewkeys,determinethekeysymnameforeachkey
thatisnotmappedcorrectly.
Theeasiestwaytofindthekeysymnameforakeyistorunthexevorxmodmap
-pkcommands.TheXheaderfile/usr/include/X11/keysymdef.hhasa
completelistofkeysyms.Thenameofakeys
ymisthesameasitsCconstant
withouttheXK_prefix.
Touseadifferentkeysymtable,determinewhichmappingtabletouse.
ThetablesarelocatedinthexkeymapdirectoryintheWorkstationinstallation
directory(usually/usr/lib/vmware).Thetableyoumustusedependsonthe
keyboardlayout.ThenormaldistributionincludestablesforPCkeyboardsforthe
UnitedStatesandanu
mberofEuropeancou
ntriesandlanguages.Formostof
these,boththe101‐key(or102‐key)andthe104‐key(or105‐key)variantsare
available.
Ifnoneofthemappingtablesiscompletelycorrect,findonethatworksbest,copy
ittoanewlocation,andchangetheindividualkeysymmappings.
Kommentare zu diesen Handbüchern