Help configuring xkb

Kernels & Hardware, configuring network, installing services

Help configuring xkb

Postby iamnotreallyhere » 2017-11-30 07:13

Client server setup connecting via xdmcp.

I need client keys to match server settings in order for numpad to work properly. Editing or scripting server side isn't an option at this time.

Basically, when numlock is pushed it locks the windows in place on the remote session.

What I think I need to do is remap the local keys using XKB. But I am unsure how to do this,

xmodmap looks like this:

1356-211 xmodmap: Up to 4 keys per modifier, (keycodes in parentheses):

shift Shift_L, Shift_R
lock Caps_Lock
control Control_L, Control_R
mod1 Alt_L , Alt_R
mod2 Num_Lock
mod3
mod4 Super_L , Super_R, BadKey, BadKey
mod5 ISO_Level3_Shift, Mode_switch



BUT is supposed to look like this:

1356-211 xmodmap: Up to 4 keys per modifier, (keycodes in parentheses):

shift Shift_L, Shift_R
lock Caps_Lock
control Control_L, Control_R
mod1 Alt_L , Alt_R
mod2
mod3
mod4
mod5 Num_Lock


Can someone please help with this I am so stuck.
iamnotreallyhere
 
Posts: 8
Joined: 2017-10-04 14:49

Re: Help configuring xkb

Postby iamnotreallyhere » 2017-12-05 12:06

Below is how the keyboard layout should be and the keyboard information. Maybe there is already a layout that I can use or find? Or some one knows of?





;00000409.kbd US Keyboard mapping file.
;<Vendor>=Neoware
;<Country>=US
;<Keyboard Type>=QWERTY
;<Description>=US QWERTY IBM102
;<File>=00000409.kbd
;<Version>=1.0
;<History>=Mar/25/1998,File created.GAC


! 00000409 US xmodmap Keyboard mapping file.
keycode 8 = Escape
keycode 9 = grave asciitilde
keycode 10 = 1 exclam
keycode 11 = 2 at
keycode 12 = 3 numbersign
keycode 13 = 4 dollar
keycode 14 = 5 percent
keycode 15 = 6 asciicircum
keycode 16 = 7 ampersand
keycode 17 = 8 asterisk
keycode 18 = 9 parenleft
keycode 19 = 0 parenright
keycode 20 = minus underscore
keycode 21 = equal plus
keycode 22 = backslash bar
keycode 23 = bracketleft braceleft
keycode 24 = bracketright braceright
keycode 25 = semicolon colon
keycode 26 = apostrophe quotedbl
keycode 27 = less greater
keycode 28 = comma less
keycode 29 = period greater
keycode 30 = slash question
keycode 31 = a A
keycode 32 = c C
keycode 33 = m M
keycode 34 = q Q
keycode 35 = s S
keycode 36 = x X
keycode 37 = z Z
keycode 38 = asciitilde asciicircum
keycode 39 =
keycode 40 =
keycode 41 =
keycode 42 =
keycode 43 =
keycode 44 =
keycode 45 =
keycode 46 =
keycode 47 =
keycode 48 =
keycode 49 =
keycode 50 =
keycode 51 =
keycode 52 =
keycode 53 =
keycode 54 =
keycode 55 =
keycode 56 =
keycode 57 =
keycode 58 =
keycode 59 =
keycode 60 =
keycode 61 =
keycode 62 =
keycode 63 = F1
keycode 64 = F2
keycode 65 = F3
keycode 66 = F4
keycode 67 = F5
keycode 68 = F6
keycode 69 = F7
keycode 70 = F8
keycode 71 = F9
keycode 72 = F10
keycode 73 = F11
keycode 74 = F12
keycode 75 = F13
keycode 76 = F14
keycode 77 = F15
keycode 78 = F16
keycode 79 = F17
keycode 80 = F18
keycode 81 = F19
keycode 82 = F20
keycode 83 = F21
keycode 84 = F22
keycode 85 = F23
keycode 86 = F24
keycode 87 = F25
keycode 88 = F26
keycode 89 = F27
keycode 90 = F28
keycode 91 = F29
keycode 92 = F30
keycode 93 = F31
keycode 94 = F32
keycode 95 = F33
keycode 96 = F34
keycode 97 = F35
keycode 98 = BackSpace
keycode 99 = Tab
keycode 100 = Linefeed
keycode 101 = Return
keycode 102 = Pause Break
keycode 103 = Scroll_Lock
keycode 104 = Delete
keycode 105 = DRemove
keycode 106 = Multi_key Meta_L
keycode 107 = Home
keycode 108 = Left
keycode 109 = Up
keycode 110 = Right
keycode 111 = Down
keycode 112 = Prior
keycode 113 = Next
keycode 114 = End
keycode 115 = Select
keycode 116 = Print
keycode 117 = Insert
keycode 118 = Find
keycode 119 = Mode_switch
keycode 120 = Num_Lock
keycode 121 = KP_Tab
keycode 122 = KP_Enter
keycode 123 = KP_F1
keycode 124 = KP_F2
keycode 125 = KP_F3
keycode 126 = KP_F4
keycode 127 = KP_Multiply
keycode 128 = KP_Add
keycode 129 = KP_Separator
keycode 130 = KP_Subtract
keycode 131 = KP_Decimal
keycode 132 = KP_Divide
keycode 133 = KP_0
keycode 134 = KP_1
keycode 135 = KP_2
keycode 136 = KP_3
keycode 137 = KP_4
keycode 138 = KP_5
keycode 139 = KP_6
keycode 140 = KP_7
keycode 141 = KP_8
keycode 142 = KP_9
keycode 143 = Shift_L
keycode 144 = Shift_R
keycode 145 = Control_L
keycode 146 = Control_R
keycode 147 = Caps_Lock
keycode 148 = Meta_L
keycode 149 = Meta_R
keycode 150 = Alt_L
keycode 151 = Alt_R
keycode 152 = space
keycode 153 = b B
keycode 154 = d D
keycode 155 = e E
keycode 156 = f F
keycode 157 = g G
keycode 158 = h H
keycode 159 = i I
keycode 160 = j J
keycode 161 = k K
keycode 162 = l L
keycode 163 = n N
keycode 164 = o O
keycode 165 = p P
keycode 166 = r R
keycode 167 = t T
keycode 168 = u U
keycode 169 = v V
keycode 170 = w W
keycode 171 = y Y
keycode 172 = Execute
keycode 173 = Kanji
keycode 174 = Henkan_Mode
keycode 175 = Help
keycode 176 = KP_Add
keycode 177 = Multi_key Meta_R
keycode 178 =
keycode 179 =
keycode 180 =
keycode 181 =
keycode 182 =
keycode 183 =
keycode 184 =
keycode 185 =
keycode 186 =
keycode 187 = Meta_L
keycode 188 = Meta_R
keycode 189 = Menu
keycode 190 =
keycode 191 =
keycode 192 =
keycode 193 =
keycode 194 =
keycode 195 =
keycode 196 =
keycode 197 =
keycode 198 =
keycode 199 =
keycode 200 =
keycode 201 =
keycode 202 =
keycode 203 =
keycode 204 =
keycode 205 =
keycode 206 =
keycode 207 =
keycode 208 =
keycode 209 =
keycode 210 =
keycode 211 =
keycode 212 =
keycode 213 =
keycode 214 =
keycode 215 =
keycode 216 =
keycode 217 =
keycode 218 =
keycode 219 =
keycode 220 =
keycode 221 =
keycode 222 =
keycode 223 =
keycode 224 =
keycode 225 =
keycode 226 =
keycode 227 =
keycode 228 =
keycode 229 =
keycode 230 =
keycode 231 =
keycode 232 =
keycode 233 =
keycode 234 =
keycode 235 =
keycode 236 =
keycode 237 =
keycode 238 =
keycode 239 =
keycode 240 =
keycode 241 =
keycode 242 =
keycode 243 =
keycode 244 =
keycode 245 =
keycode 246 =
keycode 247 =
keycode 248 =
keycode 249 =
keycode 250 =
keycode 251 =
keycode 252 =
keycode 253 =
keycode 254 =
clear shift
clear lock
clear control
clear mod1
clear mod2
clear mod3
clear mod4
clear mod5
add shift = Shift_L Shift_R
add lock = Caps_Lock
add control = Control_L Control_R
add mod1 = Alt_L Alt_R
add mod5 = Num_Lock
iamnotreallyhere
 
Posts: 8
Joined: 2017-10-04 14:49


Return to System configuration

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable