Skip to main content

24 augustus 2026

Configuring Keyboard Shortcuts to Send to the Local System

If you use the Omnissa Horizon Blast or PCoIP display protocol, you can create a view-keycombos-config file to specify which keyboard shortcuts should not be forwarded to the remote desktop.

You might prefer to have some keys or key combinations handled by your local client system when working in a remote desktop. For example, you might want to use a particular key combination to start the screen saver on your client computer. You can create a file located at /etc/omnissa/view-keycombos-config and specify the key combinations and individual keys.

Place each key or key combination on a new line using either of the following formats:

<modName>scanCode
scanCode

The first example is for a key combination. The second example is for a single key. The scanCode value is the keyboard scan code, in hexadecimal.

In this example, modName is one of four modifier keys: ctrl, alt, shift, and super. The Super key is keyboard-specific. For example, the Super key is usually the Windows key on a Microsoft Windows keyboard but is the Command key on a Mac OS X keyboard. You can also use <any> as a wildcard for modName. For example, <any>0x153 specifies all combinations of the Delete key, including the individual Delete key for the US keyboard. The value you use for modName is not case-sensitive.

Specifying the Scan Code for a Key

The scanCode value must be in hexadecimal format. To determine which code to use, open the appropriate language- and keyboard-specific file in the /usr/lib/omnissa/xkeymap directory on your client system. In addition to the key codes listed in that file, you can also use the following codes:

Multimedia Keys
Key NameScan Code
PREVIOUS_TRACK0x110
NEXT_TRACK0x119
MUTE0x120
CALCULATOR0x121
PLAY_PAUSE0x122
STOP0x124
VOLUME_DOWN0x12e
VOLUME_UP0x130
BROWSER_HOME0x132
BROWSER_SEARCH0x165
BROWSER_FAVORITES0x166
BROWSER_REFRESH0x167
BROWSER_STOP0x168
BROWSER_FORWARD0x169
BROWSER_BACK0x16A
MY_COMPUTER0x16B
MAIL0x16C
MEDIA_SELECT0x16D
Hangul and Hanja Keys
Key NameScan Code
HANGUL_EN0x72
HANJA_EN0x71
HANGUL_KO0x172
HANJA_KO0x171
HANGUL0xF2
HANJA0xF1
System Sleep, Wake, and Power Keys
Key NameScan Code
SYSTEM_SLEEP0x15F
SYSTEM_WAKE0x163
SYSTEM_POWER0x15e

The following list shows the example contents of a /etc/omnissa/horizon-keycombos-config file. Code comments are preceded by the # character.

<ctrl>0x152      #block ctrl-insert
<alt>15          #block alt-tab
<ctrl><alt>0x153 #block ctrl-alt-del
<any>0x137       #block any combinations of the Print key
0x010               #block the individual Q key in a US English keyboard 
                 #or block the individual A key in a French keyboard
0x03b            #block the individual F1 key
0x04f            #block the individual 1 key in a numeric keypad

Was deze pagina nuttig?

Feedback geven over dit onderwerp

Was dit onderwerp nuttig?

Vermeld geen persoonlijke of vertrouwelijke informatie.

Link genereren…