You are not logged in.

#1 2019-04-01 12:38:38

amit112amit
Member
Registered: 2019-04-01
Posts: 2

[SOLVED] Ctrl + ` key combination is not working

I am using the linux-lts kernel and i3 ( not i3-gaps) window manager on my Dell XPS 15 9560 laptop. I installed Visual Studio Code from the official repository but I noticed that pressing 'Ctrl + `' was not opening the integrated terminal in VS Code. So I used 'xev' to check what happens when I press 'Ctrl + `'. I noticed that when I press only Ctrl or only `, I get correct output from xev but when I press the keys together, I get a KeymapNotify event.

KeyPress event, serial 28, synthetic NO, window 0x5000001,
    root 0x19f, subw 0x0, time 3568020, (245,255), root:(1209,259),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeymapNotify event, serial 28, synthetic NO, window 0x0,
    keys:  4294967199 0   0   0   32  0   0   0   0   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 0x5000001,
    root 0x19f, subw 0x0, time 3568604, (245,255), root:(1209,259),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

I checked that my keyboard layout is being detected correctly, as shown below. and it seems right.

[agd@amit-pc ~]$ setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules:      evdev
model:      pc105
layout:     us
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+us+inet(evdev)
geometry:   pc(pc105)
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+us+inet(evdev)"	};
	xkb_geometry  { include "pc(pc105)"	};
};
[agd@amit-pc ~]$ 

I read the ArchWiki for all topics about configuring keyboard mappings for Xorg but I am not able to identify what is relevant to my issue. Please help. Kindly let me know what other diagnostic commands I should run and post results of.

Last edited by amit112amit (2019-04-01 14:56:23)

Offline

#2 2019-04-01 12:58:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,530
Website

Re: [SOLVED] Ctrl + ` key combination is not working

It looks like something else (i3 maybe) has grabbed the Ctrl+` combination or at least the ` already.

Last edited by Trilby (2019-04-01 12:59:53)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2019-04-01 13:05:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,523

Re: [SOLVED] Ctrl + ` key combination is not working

xdotool key "XF86LogGrabInfo"

Then check your Xorg log - should tell you what client holds a passive grab on this.

Offline

#4 2019-04-01 14:53:32

amit112amit
Member
Registered: 2019-04-01
Posts: 2

Re: [SOLVED] Ctrl + ` key combination is not working

Thank you for your reply, Trilby. I checked my i3 config. I did not have any keybinding for Ctrl + `.
Thanks seth. Your reply helped me find the culprit. I am using 'dunst' and it had a mapping for history set to 'Ctrl + `'.
I had to look up how to use XF86LogGrabInfo for active grabs but I was able to find it eventually.

Thanks a lot!

Last edited by amit112amit (2019-04-01 14:56:35)

Offline

Board footer

Powered by FluxBB