私はGUIテキストエディタSciTEを使用しており、次のキーの組み合わせを使用してSciTEから長方形のテキスト領域を選択したいと思います AltShiftUp。AltShiftDown
Linux Mintではこれを行うことができるようですが、Debianでは動作しません。
Debian はこれらのキーをブロックします。
ユーザーアプリケーションでこれらのキーを使用できるようにする方法を知りたいです。
私のシステム:
- Linux Mint 18、MATE 1.14.1
- Debian 8.7(提示)、MATE 1.8.1
私はAltShift両方のシステムでキーボードレイアウト(英語 - ロシア語)を切り替えるために使用します。
私はそれが(私の「指を覚えている」ので)そのままであることを願っています。
私が試したこと:すべてのキーの組み合わせを開き、変更して無効にして、Linuxを再起動
しdconf-editor
ましたmouse-button-modifier
。それは私の問題を解決できませんでした。 <Alt>
<Super>
興味深い詳細:
VirtualBox(ホスト= Debian、ゲスト= Linux Mint)を使用すると、Alt-Shift-Up/Down
キーの組み合わせがゲストシステム内で動作します!
xev
AltShiftUpLinux Mintからの出力:
KeyPress event, serial 38, synthetic NO, window 0x3c00001,
root 0x26b, subw 0x3c00002, time 1272551, (42,42), root:(465,335),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x3c00001,
root 0x26b, subw 0x3c00002, time 1273025, (42,42), root:(465,335),
state 0x18, keycode 50 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x3c00001,
root 0x26b, subw 0x3c00002, time 1273538, (42,42), root:(465,335),
state 0x19, keycode 111 (keysym 0xff52, Up), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x3c00001,
root 0x26b, subw 0x3c00002, time 1273605, (42,42), root:(465,335),
state 0x19, keycode 111 (keysym 0xff52, Up), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x3c00001,
root 0x26b, subw 0x3c00002, time 1274384, (42,42), root:(465,335),
state 0x19, keycode 50 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x3c00001,
root 0x26b, subw 0x3c00002, time 1274824, (42,42), root:(465,335),
state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
xev
Debian からの出力AltShiftUp:
KeyPress event, serial 38, synthetic NO, window 0x4000001,
root 0x296, subw 0x4000002, time 13862445, (48,45), root:(85,108),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x4000001,
root 0x296, subw 0x4000002, time 13862855, (48,45), root:(85,108),
state 0x18, keycode 50 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
PropertyNotify event, serial 38, synthetic NO, window 0x4000001,
atom 0x1c0 (XKLAVIER_STATE), time 13862856, state PropertyNewValue
PropertyNotify event, serial 38, synthetic NO, window 0x4000001,
atom 0x1c0 (XKLAVIER_STATE), time 13862857, state PropertyNewValue
PropertyNotify event, serial 38, synthetic NO, window 0x4000001,
atom 0x1c0 (XKLAVIER_STATE), time 13862857, state PropertyNewValue
PropertyNotify event, serial 38, synthetic NO, window 0x4000001,
atom 0x1c0 (XKLAVIER_STATE), time 13862858, state PropertyNewValue
KeyPress event, serial 38, synthetic NO, window 0x4000001,
root 0x296, subw 0x4000002, time 13863422, (48,45), root:(85,108),
state 0x2018, keycode 111 (keysym 0xff52, Up), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x4000001,
root 0x296, subw 0x4000002, time 13863489, (48,45), root:(85,108),
state 0x2018, keycode 111 (keysym 0xff52, Up), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x4000001,
root 0x296, subw 0x4000002, time 13864456, (48,45), root:(85,108),
state 0x2018, keycode 50 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x4000001,
root 0x296, subw 0x4000002, time 13864793, (48,45), root:(85,108),
state 0x2018, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
xev
AltShiftLinux Mintからの出力:
KeyPress event, serial 38, synthetic NO, window 0x3c00001,
root 0x26b, subw 0x3c00002, time 3118153, (47,39), root:(78,133),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x3c00001,
root 0x26b, subw 0x3c00002, time 3118245, (47,39), root:(78,133),
state 0x18, keycode 50 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x3c00001,
root 0x26b, subw 0x3c00002, time 3118377, (47,39), root:(78,133),
state 0x19, keycode 50 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
PropertyNotify event, serial 38, synthetic NO, window 0x3c00001,
atom 0x1c4 (XKLAVIER_STATE), time 3118380, state PropertyNewValue
PropertyNotify event, serial 38, synthetic NO, window 0x3c00001,
atom 0x1c4 (XKLAVIER_STATE), time 3118382, state PropertyNewValue
PropertyNotify event, serial 38, synthetic NO, window 0x3c00001,
atom 0x1c4 (XKLAVIER_STATE), time 3118383, state PropertyNewValue
PropertyNotify event, serial 38, synthetic NO, window 0x3c00001,
atom 0x1c4 (XKLAVIER_STATE), time 3118385, state PropertyNewValue
KeyRelease event, serial 38, synthetic NO, window 0x3c00001,
root 0x26b, subw 0x3c00002, time 3118535, (47,39), root:(78,133),
state 0x2018, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
xev
Debian からの出力AltShift:
KeyPress event, serial 38, synthetic NO, window 0x4000001,
root 0x296, subw 0x4000002, time 16284126, (36,50), root:(76,134),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x4000001,
root 0x296, subw 0x4000002, time 16284503, (36,50), root:(76,134),
state 0x18, keycode 50 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
PropertyNotify event, serial 38, synthetic NO, window 0x4000001,
atom 0x1c0 (XKLAVIER_STATE), time 16284506, state PropertyNewValue
PropertyNotify event, serial 38, synthetic NO, window 0x4000001,
atom 0x1c0 (XKLAVIER_STATE), time 16284506, state PropertyNewValue
PropertyNotify event, serial 38, synthetic NO, window 0x4000001,
atom 0x1c0 (XKLAVIER_STATE), time 16284507, state PropertyNewValue
PropertyNotify event, serial 38, synthetic NO, window 0x4000001,
atom 0x1c0 (XKLAVIER_STATE), time 16284507, state PropertyNewValue
KeyRelease event, serial 38, synthetic NO, window 0x4000001,
root 0x296, subw 0x4000002, time 16284786, (36,50), root:(76,134),
state 0x2018, keycode 50 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x4000001,
root 0x296, subw 0x4000002, time 16285071, (36,50), root:(76,134),
state 0x2018, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
ご覧のとおり、キーAltShiftの組み合わせは異なる方法で処理されます。
- Debian キーボードレイアウトでは PRESS キーを押して開き、
- Linux Mintでは、キーボードレイアウトがRELEASEキーに切り替わります。
注文する:
ALT pressed
SHIFT pressed
(at this moment Debian switches layout)
SHIFT released
(at this moment Linux Mint switches layout)
ALT released
AltShiftUpたぶんこれがDebianで動作しない理由かもしれません。
AltShiftUpDebianとどのように共存できますかAltShift?