You are not logged in.
Pages: 1
Hi evereyone,
I use vscode as my text editor, and Alt + arrow key is useful in vscode to move lines.
But it seems like after pressing and holding alt key, arrow key doesnot seems to work.
It only work when adding another key like "alt+ctrl+arrow_key",
Note: The arrow key in numpad work well with combination of alt but numpad is very far.
Thanks in advance to everyone for helping
Last edited by John Path (2021-11-14 13:47:31)
Offline
Seems alt+arrow is grabbed by a shortcut?
Run
xev -event keyboardpress alt+arrow, release them again and post the output.
Offline
press alt+arrow, release them again and post the output.
Thanks for trying to help me i am quiet busy with my work these days here is the output of while pressing alt+arrow
xev -event keyboard
Outer window is 0x1c00001, inner window is 0x1c00002
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 25, synthetic NO, window 0x1c00001,
root 0x963, subw 0x0, time 3052646, (186,91), root:(1255,648),
state 0x0, keycode 104 (keysym 0xff8d, KP_Enter), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x1c00001,
root 0x963, subw 0x0, time 3056187, (186,91), root:(1255,648),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 99 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 28, synthetic NO, window 0x1c00001,
root 0x963, subw 0x0, time 3057977, (186,91), root:(1255,648),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: FalseOffline
KeyPress event, serial 28, synthetic NO, window 0x1c00001,
root 0x963, subw 0x0, time 3056187, (186,91), root:(1255,648),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 99 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 28, synthetic NO, window 0x1c00001,
root 0x963, subw 0x0, time 3057977, (186,91), root:(1255,648),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: FalseSmells like global shortcut indeed.
Run
sleep 5; xdotool key "XF86LogGrabInfo" and make sure to press alt+somearrow when xdotool hits.
This will print the grabbed shortcuts into the xorg log, w/ the pressed one conveniently being the active one.
Offline
I found out that it was a keybinding added by a patch in dwm, I changed the keybinding for that task and its working well.
Thanks for your help SETH
Offline
Pages: 1