By default, SNiFF+ recognizes the Xwindows modifier key 1 (
mod1 ) as <Meta> . Some vendors use the same modifier key for generating special characters. Using the same <Meta><key> combination for generating special characters and as a SNiFF+ keyboard shortcut can cause a conflict. In such a case the special character is generated and the SNiFF+ keyboard shortcut is executed as well. If you want to use a special modifier for SNiFF+ keyboard shortcuts, you can redefine the Xwindows modifier keys and tell SNiFF+ to recognize a different key as <Meta> .The output shows that both the left and the right
<Meta> keys are translated to mod1 .% xmodmap - |
clear mod1
|
|
clear mod2
|
|
add mod1 =
|
Meta_R Mode_switch
|
add mod2 =
|
Meta_L
|
<CTRL>D
|
| |
You can apply the modification at every start-up of your Xwindows server by adding the appropriate lines to the
.xinitrc file. (Please refer to the Xwindows documentation for more information.) Please note that the Mode_switch key may not be necessary on your machine.