-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.Xmodmap
555 lines (377 loc) · 10.2 KB
/
.Xmodmap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
! This file must be processed with xmodmap in order to take effect. In
! some desktop environments and depending on your personal
! configuration, this might be done automatically by the startup files.
!
! Use the "xev"-Tool to find out the required keycodes.
!
! Run script "xmodmap-template-generator" to generate a template for
! this file which contains all symbolic names available for mapping.
!
! Alternatively, to do this manually, look into the Files
!
! /usr/include/X11/XF86keysym.h
! /usr/include/X11/keysym.h
!
! to find the symbolic names, like for instance the line
!
! #define XF86XK_AudioLowerVolume 0x1008FF11 /* Volume control down */
!
! Remove the "XK_"-substring from the symbolic #define name in order to
! determine the symbolic name to use in the .Xmodmap file:
!
! Undesired acceleration for keys can be disabled with a command like
!
! $ xset -r 174 -r 176
!
! After xmodmap has successfully processed the assignments, use the
! Xfce4 keyboard shortcurtcut editor in order to assign a function to
! the multimedia key, such as executing an arbitrary program.
!
! If your desktop Environment or Windows Manager does not support such
! hotkey handling, the package xbindkeys can be installled for this as
! a stand-alone solution.
!
! Note that xmodmap can only modify the existing keyboard
! configuration, but it cannot reset it back to some defaults. Use
! "setxkbmap -layout de" to reset the bindings if needed (replace the
! "de" in this example with your preferred layout).
! Mode Switch Lock
!keycode ? = XF86ModeLock
! Monitor/panel brightness
!keycode ? = XF86MonBrightnessUp
! Monitor/panel brightness
!keycode ? = XF86MonBrightnessDown
! Keyboards may be lit
!keycode ? = XF86KbdLightOnOff
! Keyboards may be lit
!keycode ? = XF86KbdBrightnessUp
! Keyboards may be lit
!keycode ? = XF86KbdBrightnessDown
! System into standby mode
!keycode ? = XF86Standby
! Volume control down
keycode 174 = XF86AudioLowerVolume
! Mute sound from the system
keycode 160 = XF86AudioMute
! Volume control up
keycode 176 = XF86AudioRaiseVolume
! Start playing of audio >
!keycode ? = XF86AudioPlay
! Stop playing audio
!keycode ? = XF86AudioStop
! Previous track
!keycode ? = XF86AudioPrev
! Next track
!keycode ? = XF86AudioNext
! Display user's home page
!keycode ? = XF86HomePage
! Invoke user's mail program
!keycode ? = XF86Mail
! Start application
!keycode ? = XF86Start
! Search
!keycode ? = XF86Search
! Record audio application
!keycode ? = XF86AudioRecord
! Invoke calculator program
!keycode ? = XF86Calculator
! Invoke Memo taking program
!keycode ? = XF86Memo
! Invoke To Do List program
!keycode ? = XF86ToDoList
! Invoke Calendar program
!keycode ? = XF86Calendar
! Deep sleep the system
!keycode ? = XF86PowerDown
! Adjust screen contrast
!keycode ? = XF86ContrastAdjust
! Rocker switches exist up
!keycode ? = XF86RockerUp
! and down
!keycode ? = XF86RockerDown
! and let you press them
!keycode ? = XF86RockerEnter
! Like back on a browser
!keycode ? = XF86Back
! Like forward on a browser
!keycode ? = XF86Forward
! Stop current operation
!keycode ? = XF86Stop
! Refresh the page
!keycode ? = XF86Refresh
! Power off system entirely
!keycode ? = XF86PowerOff
! Wake up system from sleep
!keycode ? = XF86WakeUp
! Eject device (e.g. DVD)
!keycode ? = XF86Eject
! Invoke screensaver
!keycode ? = XF86ScreenSaver
! Invoke web browser
!keycode ? = XF86WWW
! Put system to sleep
!keycode ? = XF86Sleep
! Show favorite locations
!keycode ? = XF86Favorites
! Pause audio playing
!keycode ? = XF86AudioPause
! Launch media collection app
!keycode ? = XF86AudioMedia
! Display "My Computer" window
!keycode ? = XF86MyComputer
! Display vendor home web site
!keycode ? = XF86VendorHome
! Light bulb keys exist
!keycode ? = XF86LightBulb
! Display shopping web site
!keycode ? = XF86Shop
! Show history of web surfing
!keycode ? = XF86History
! Open selected URL
!keycode ? = XF86OpenURL
! Add URL to favorites list
!keycode ? = XF86AddFavorite
! Show "hot" links
!keycode ? = XF86HotLinks
! Invoke brightness adj. UI
!keycode ? = XF86BrightnessAdjust
! Display financial site
!keycode ? = XF86Finance
! Display user's community
!keycode ? = XF86Community
! "rewind" audio track
!keycode ? = XF86AudioRewind
!keycode ? = XF86BackForward
! Launch Application
!keycode ? = XF86Launch0
! Launch Application
!keycode ? = XF86Launch1
! Launch Application
!keycode ? = XF86Launch2
! Launch Application
!keycode ? = XF86Launch3
! Launch Application
!keycode ? = XF86Launch4
! Launch Application
!keycode ? = XF86Launch5
! Launch Application
!keycode ? = XF86Launch6
! Launch Application
!keycode ? = XF86Launch7
! Launch Application
!keycode ? = XF86Launch8
! Launch Application
!keycode ? = XF86Launch9
! Launch Application
!keycode ? = XF86LaunchA
! Launch Application
!keycode ? = XF86LaunchB
! Launch Application
!keycode ? = XF86LaunchC
! Launch Application
!keycode ? = XF86LaunchD
! Launch Application
!keycode ? = XF86LaunchE
! Launch Application
!keycode ? = XF86LaunchF
! switch to application, left
!keycode ? = XF86ApplicationLeft
! switch to application, right
!keycode ? = XF86ApplicationRight
! Launch bookreader
!keycode ? = XF86Book
! Launch CD/DVD player
!keycode ? = XF86CD
! Launch Calculater
!keycode ? = XF86Calculater
! Clear window, screen
!keycode ? = XF86Clear
! Close window
!keycode ? = XF86Close
! Copy selection
!keycode ? = XF86Copy
! Cut selection
!keycode ? = XF86Cut
! Output switch key
!keycode ? = XF86Display
! Launch DOS (emulation)
!keycode ? = XF86DOS
! Open documents window
!keycode ? = XF86Documents
! Launch spread sheet
!keycode ? = XF86Excel
! Launch file explorer
!keycode ? = XF86Explorer
! Launch game
!keycode ? = XF86Game
! Go to URL
!keycode ? = XF86Go
! Logitch iTouch- don't use
!keycode ? = XF86iTouch
! Log off system
!keycode ? = XF86LogOff
!keycode ? = XF86Market
! enter meeting in calendar
!keycode ? = XF86Meeting
! distingush keyboard from PB
!keycode ? = XF86MenuKB
! distinuish PB from keyboard
!keycode ? = XF86MenuPB
! Favourites
!keycode ? = XF86MySites
! New (folder, document...
!keycode ? = XF86New
! News
!keycode ? = XF86News
! Office home (old Staroffice)
!keycode ? = XF86OfficeHome
! Open
!keycode ? = XF86Open
!keycode ? = XF86Option
! Paste
!keycode ? = XF86Paste
! Launch phone; dial number
!keycode ? = XF86Phone
! Compaq's Q - don't use
!keycode ? = XF86Q
! Reply e.g., mail
!keycode ? = XF86Reply
! Reload web page, file, etc.
!keycode ? = XF86Reload
! Rotate windows e.g. xrandr
!keycode ? = XF86RotateWindows
! don't use
!keycode ? = XF86RotationPB
! don't use
!keycode ? = XF86RotationKB
! Save (file, document, state
!keycode ? = XF86Save
! Scroll window/contents up
!keycode ? = XF86ScrollUp
! Scrool window/contentd down
!keycode ? = XF86ScrollDown
! Use XKB mousekeys instead
!keycode ? = XF86ScrollClick
! Send mail, file, object
!keycode ? = XF86Send
! Spell checker
!keycode ? = XF86Spell
! Split window or screen
!keycode ? = XF86SplitScreen
! Get support (??)
!keycode ? = XF86Support
! Show tasks
!keycode ? = XF86TaskPane
! Launch terminal emulator
!keycode ? = XF86Terminal
! toolbox of desktop/app.
!keycode ? = XF86Tools
!keycode ? = XF86Travel
!keycode ? = XF86UserPB
!keycode ? = XF86User1KB
!keycode ? = XF86User2KB
! Launch video player
!keycode ? = XF86Video
! button from a mouse wheel
!keycode ? = XF86WheelButton
! Launch word processor
!keycode ? = XF86Word
!keycode ? = XF86Xfer
! zoom in view, map, etc.
!keycode ? = XF86ZoomIn
! zoom out view, map, etc.
!keycode ? = XF86ZoomOut
! mark yourself as away
!keycode ? = XF86Away
! as in instant messaging
!keycode ? = XF86Messenger
! Launch web camera app.
!keycode ? = XF86WebCam
! Forward in mail
!keycode ? = XF86MailForward
! Show pictures
!keycode ? = XF86Pictures
! Launch music application
!keycode ? = XF86Music
! Display battery information
!keycode ? = XF86Battery
! Enable/disable Bluetooth
!keycode ? = XF86Bluetooth
! Enable/disable WLAN
!keycode ? = XF86WLAN
! Enable/disable UWB
!keycode ? = XF86UWB
! fast-forward audio track
!keycode ? = XF86AudioForward
! toggle repeat mode
!keycode ? = XF86AudioRepeat
! toggle shuffle mode
!keycode ? = XF86AudioRandomPlay
! cycle through subtitle
!keycode ? = XF86Subtitle
! cycle through audio tracks
!keycode ? = XF86AudioCycleTrack
! cycle through angles
!keycode ? = XF86CycleAngle
! video: go one frame back
!keycode ? = XF86FrameBack
! video: go one frame forward
!keycode ? = XF86FrameForward
! display, or shows an entry for time seeking
!keycode ? = XF86Time
! Select button on joypads and remotes
!keycode ? = XF86Select
! Show a view options/properties
!keycode ? = XF86View
! Go to a top-level menu in a video
!keycode ? = XF86TopMenu
! Red button
!keycode ? = XF86Red
! Green button
!keycode ? = XF86Green
! Yellow button
!keycode ? = XF86Yellow
! Blue button
!keycode ? = XF86Blue
! Sleep to RAM
!keycode ? = XF86Suspend
! Sleep to disk
!keycode ? = XF86Hibernate
! Toggle between touchpad/trackstick
!keycode ? = XF86TouchpadToggle
! The touchpad got switched on
!keycode ? = XF86TouchpadOn
! The touchpad got switched off
!keycode ? = XF86TouchpadOff
! Mute the Mic from the system
!keycode ? = XF86AudioMicMute
!keycode ? = XF86Switch_VT_1
!keycode ? = XF86Switch_VT_2
!keycode ? = XF86Switch_VT_3
!keycode ? = XF86Switch_VT_4
!keycode ? = XF86Switch_VT_5
!keycode ? = XF86Switch_VT_6
!keycode ? = XF86Switch_VT_7
!keycode ? = XF86Switch_VT_8
!keycode ? = XF86Switch_VT_9
!keycode ? = XF86Switch_VT_10
!keycode ? = XF86Switch_VT_11
!keycode ? = XF86Switch_VT_12
! force ungrab
!keycode ? = XF86Ungrab
! kill application with grab
!keycode ? = XF86ClearGrab
! next video mode available
!keycode ? = XF86Next_VMode
! prev. video mode available
!keycode ? = XF86Prev_VMode
! print window tree to log
!keycode ? = XF86LogWindowTree
! print all active grabs to log
!keycode ? = XF86LogGrabInfo
! Ensure dead keys are employed properly to compose acute, grave, tilde
! and circumflex combinations. This may be the default already, but
! defining them here makes those settings independent of any defaults.
keycode 21 = dead_acute dead_grave dead_acute dead_grave dead_cedilla dead_ogonek dead_cedilla
keycode 35 = plus asterisk plus asterisk dead_tilde macron asciitilde
keycode 49 = dead_circumflex degree dead_circumflex degree U2032 U2033 U2032