
Spaceの両側で同じCTRL機能を使用できるように、~/.Xmodmap
キーコードを118に設定するように編集しました。Control_L
削除して追加する必要がありましたが、Control_L
今はcontrol
うまくいきます。
keycode 127 = Insert
remove control = Control_L
keycode 118 = Control_L
add control = Control_L
keycode 135 = ISO_Level3_Shift
keycode 108 = space
remove mod1 = Alt_L
keycode 94 = Alt_L ISO_Next_Group Alt_L ISO_Next_Group
add mod1 = Alt_L
どちらも同じように動作してAlt+Tab
も、今は動作しません。新しく別のプログラムに切り替えて、最初のプログラムに戻ります。タスク切り替えメニューはまったく表示されません。Alt
Alt+Tab
Alt
出力xmodmap -pm
:
[hax@localhost ~]$ xmodmap -pm
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69), Control_L (0x76)
mod1 Alt_L (0x40), Alt_L (0x5e), Alt_L (0xcc), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), space (0x6c), ISO_Level3_Shift (0x87), Mode_switch (0xcb)
xbindkeys -k
以前のバージョンの出力Alt
:
[hax@localhost ~]$ xbindkeys -k
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"NoCommand"
m:0x8 + c:64
Alt + Alt_L
xbindkeys -k
新しい出力Alt
:
[hax@localhost ~]$ xbindkeys -k
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"NoCommand"
m:0x8 + c:94
Alt + Alt_L
xev
以前のバージョンの出力Alt
:
KeyPress event, serial 37, synthetic NO, window 0x3e00001,
root 0x9b, subw 0x0, time 10657877, (328,658), root:(1612,798),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 40, synthetic NO, window 0x3e00001,
root 0x9b, subw 0x0, time 10657981, (328,658), root:(1612,798),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
xev
新しい出力Alt
:
KeyPress event, serial 40, synthetic NO, window 0x3e00001,
root 0x9b, subw 0x0, time 10659997, (328,658), root:(1612,798),
state 0x0, keycode 94 (keysym 0xffe9, Alt_L), same_screen YES,
XKeysymToKeycode returns keycode: 64
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 40, synthetic NO, window 0x3e00001,
root 0x9b, subw 0x0, time 10660077, (328,658), root:(1612,798),
state 0x8, keycode 94 (keysym 0xffe9, Alt_L), same_screen YES,
XKeysymToKeycode returns keycode: 64
XLookupString gives 0 bytes:
XFilterEvent returns: False