GNU bug report logs - #54889
29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome

Previous Next

Package: emacs;

Reported by: bg.jheng <at> gmail.com

Date: Tue, 12 Apr 2022 16:51:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 54889 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: bg.jheng <at> gmail.com
Cc: 54889 <at> debbugs.gnu.org
Subject: Re: bug#54889: 29.0.50; shift keys can't function when using
 setxkbmap with custom_symbol in gnome
Date: Wed, 13 Apr 2022 11:24:50 +0800
[Please use "Reply All" to reply, otherwise your messages will not be
recorded in the bug tracker.]

bg.jheng <at> gmail.com writes:

> Hi,
> thans reply.
>
> 1. i tried to use this cmd as attached:
>        xmodmap -pk  >  modifier_map_Shift__on
>        xmodmap -pk  >  modifier_map_Shift__off
>
>      do you mean this cmd?

I asked for the the output of `xmodmap' (without any arguments,
including "-pk") when your system is configured so that typing Shift+N,
for example, results in "H-_".

> 2. when i am testing,
>      i noticed that SHIFT+anykey can output capital letter,
>      even though  to set  'modifier_map_Shift' off in the file: mysymbol,
>      so in fact, if there are no
>        // modifier_map Shift { <LFSH> };
>       // modifier_map Shift { <RTSH> };
>      i can input any latter with Shift keys in emacs 29 if i do not set 'modifier_map Shift' on.
>
>      because originally i install archlinux with gnome (default xwayland)
>      i referenced arch wiki to use this cmd to output the whole layout:
>         xkbcomp $DISPLAY ~/.config/xkb/xkb_output.xkb
>      there are modifier_map in the output  file,
>      so i thought it shall has to  set  ' modifier_map Shift' there.
>      after test,  it seems no modifier_map Shift still works.
>
>      but i tried three application that accepted  level three key:
>      firefox, urxvt, emacs,
>      only emacs can't use shift key to input  capital letter with the set ' modifier_map Shift' on.

Did you try building `--with-xinput2'?  And do you have any funny
options such as `x-gtk-use-native-input' enabled?

What happens if you run Emacs like this?

  emacs -q -xrm 'Emacs.useXIM: false'

Thanks in advance.




This bug report was last modified 3 years and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.