:: Re: [DNG] compose key with Dell key…
Etusivu
Poista viesti
Vastaa
Lähettäjä: al3xu5
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] compose key with Dell keyboard
Wed, 17 May 2023 11:16:57 -0400 - Haines Brown <haines@???>:

> I used to have an IBM M-5 keyboard and used the Alt_R key as the
> compose key. When I switched to a Dell Quiet Key keyboard compose
> ceased to work.
>
> I find that
>
>   $ nano /etc/default/keyboard
>     XKBMODEL="pc105"
>     XKBLAYOUT="us"
>     XKBVARIANT=""
>     XKBOPTIONS="compose:ralt"
>     BACKSPACE="guess"

>
> I copied the currrent keyboard map to my home direcory:
>
> $ xmodmap -pke > ~/.Xmodmap
>
> When I go to edit it to define a compose key, they map lacks the
> key I need:
>
>   $ xmodmap -pke | grep Alt
>     keycode  64 = Alt_L Meta_L Alt_L Meta_L

>
> but no Alt_R or ralt. I could use right Windows but do not see it
> in the map either.
>


On my keyboard Alt_R is working and I have:

$ cat /etc/default/keyboard
XKBMODEL="pc105"
XKBLAYOUT="it"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"

(almost sure a restart of Xserver should be required to effect changes in
/etc/default/keyboard)

and:

$ xmodmap -pk | grep Alt
       64        0xffe9 (Alt_L)    0xffe7 (Meta_L)    0xffe9
  (Alt_L)    0xffe7 (Meta_L) 204        0x0000 (NoSymbol)
  0xffe9 (Alt_L)    0x0000 (NoSymbol)    0xffe9 (Alt_L)    


so... no Alt_R nor ralt...

...but I have Mode_switch which should be synonymous with AltGr:

$ xmodmap -pke | grep Mode_switch
keycode 203 = Mode_switch NoSymbol Mode_switch

So maybe you need to use Mode_switch...

Regards
al3xu5

--
Say NO to copyright, patents, trademarks and industrial design
restrictions!
____________________________________________________________________________

Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8 B624 DA50 835B 2624 A36B