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 | # An meinem Laptop (Thinkpad x61t) befinden sich unter dem Monitor drei Sondertasten, im folgenden bezeichnet als:
# Rotate-Taste (darüber ein Symbol eines drehenden Rechtecks)
# Toolbox-Tasste (darüber ein Symbol eines Werkzeugkastens(?)
# ?-Taste (Lässt sich nur mit einem Stift oder spitzem Fingernagel drücken)
# Das ganze spielt sich unter openbox/lxde ab:
### xev Ausgaben ###
# Rotate-Taste
KeyPress event, serial 36, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 1117281, (438,75), root:(734,394),
state 0x0, keycode 199 (keysym 0x1008ff74, XF86RotateWindows), same_screen YES,
XKeysymToKeycode returns keycode: 162
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 39, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 1117330, (438,75), root:(734,394),
state 0x0, keycode 199 (keysym 0x1008ff74, XF86RotateWindows), same_screen YES,
XKeysymToKeycode returns keycode: 162
XLookupString gives 0 bytes:
XFilterEvent returns: False
# Toolbox-Taste:
KeyPress event, serial 36, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 1141190, (79,142), root:(375,461),
state 0x0, keycode 160 (keysym 0x1008ff4e, XF86LaunchE), same_screen YES,
XKeysymToKeycode returns keycode: 148
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 39, synthetic NO, window 0x2600001,
root 0x11a, subw 0x0, time 1141271, (79,142), root:(375,461),
state 0x0, keycode 160 (keysym 0x1008ff4e, XF86LaunchE), same_screen YES,
XKeysymToKeycode returns keycode: 148
XLookupString gives 0 bytes:
XFilterEvent returns: False
# ?-Taste
# keine Ausgabe!
### showkey Ausgaben ###
# Rotate-Taste
Tastencode 191 gedrückt
Tastencode 191 losgelassen
# Toolbox-Taste
Tastencode 152 gedrückt
Tastencode 152 losgelassen
#?-Taste
#keine Ausgabe!
### showkey -s Ausgaben ###
# Rotate-Taste
0x74 0xf4
# Toolbox-Taste
0xe0 0x12 0xe0 0x92
#?-Taste
#keine Ausgabe!
### dmesg-Ausgabe ###
# ?-Taste
[ 764.294580] atkbd.c: Unknown key released (translated set 2, code 0x67 on isa0060/serio0).
[ 764.294587] atkbd.c: Use 'setkeycodes 67 <keycode>' to make it known.
# sudo setkeycodes 67 entfernt zwar die demsg-Meldungen, erzeugt allerdings keine xev/showkey Reaktionen.
### xmodmap -pke (gekürzt) ###
[...]
keycode 152 = XF86LaunchF NoSymbol XF86LaunchF NoSymbol XF86LaunchF
[...]
keycode 199 = XF86RotateWindows NoSymbol XF86RotateWindows NoSymbol XF86RotateWindows
[...]
keycode 249 = XF86RotateWindows NoSymbol XF86RotateWindows NoSymbol XF86RotateWindows
keycode 250 = XF86LaunchF NoSymbol XF86LaunchF NoSymbol XF86LaunchF
keycode 251 = XF86LaunchE NoSymbol XF86LaunchE NoSymbol XF86LaunchE
### .config/openbox/lxde-rc.xml (gekürzt) ###
# Befehle nur zu Test-Zwecken so gesetzt
<!-- Custom-Keys -->
<keybind key="XF86Launch1">
<action name="Execute">
<execute>lxterminal</execute>
</action>
</keybind>
<keybind key="XF86RotateWindows">
<action name="Execute">
<execute>/usr/local/bin/rotate</execute>
</action>
</keybind>
<keybind key="XF86Launch5">
<action name="Execute">
<execute>/usr/local/bin/rotate</execute>
</action>
</keybind>
<keybind key="XF86LaunchF">
<action name="Execute">
<execute>winecfg</execute>
</action>
</keybind>
<keybind key="XF86LaunchE">
<action name="Execute">
<execute>/usr/local/bin/wine_D2</execute>
</action>
</keybind>
# Weiterhin Interressant:
# xdotool key XF86LaunchF
# xdotool key XF86LaunchE
# xdotool key XF86RotateWindows
# etc.
# bewirken korrektes Ausführen der gewünschten Befehle (winecfg etc...)
# Vielen Dank schonmal im vorraus ;)
|