Re: Changes in xmodmap or something?
Bob Proulx <bob@proulx.com> writes:
[...]
> I think you have configured AltGr or other modifier without realizing
> it.
>
>> I'd like to get things back to what I'm used to but when I start
>> reading xmodmap manpage... I have to hide all my guns so I don't just
>> go ahead and shot myself. ;)
>>
>> I'm used to being able to press the keyboard alt key and then whatever
>> else I've set in .inputrc to call certain commands. Now when I press
>> Alt+a for example, in an Xterm (Xterm (295)) I get:
>>
>> `á'
>
> That is the result of AltGr-a. Leading me to believe that you have
> Alt configured as AltGr. A common configuration.
>
> Is that the Left-Alt, Right-Alt, or both? Most people would configure
> Right Alt as the AltGr key. Then use the Left Alt for Meta. If you
> are in the habit of using Right Alt for Meta then this would be a
> conflict of use. But you could reconfigure to use a different key and
> continue as you have been.
>
I've reconfigured the keyboard stuff with dpkg.
dpkg-reconfigure keyboard-configuration
I configured right alt to be alt_gr as you suggested was a common
setup.
But also selected the menu key as compose.
/etc/default/keyboard now says:
,----
| XKBMODEL="pc104"
| XKBLAYOUT="us"
| XKBVARIANT=""
| XKBOPTIONS="lv3:ralt_switch,compose:menu,terminate:ctrl_alt_bksp"
| BACKSPACE="guess"
`----
I don't see any change whatsoever. Pressing ALT_L+x in an xterm still
shows: ø
Both alt keys appear to do the same thing.
So, now trying configuring with NO alt_gr and NO compose keys.
The only change is the OPTIONS line:
XKBOPTIONS="lv3:ralt_alt,terminate:ctrl_alt_bksp"
And once again... no change whatever after restarting X. ALT_L+x
still shows: 'ø'
Is it normal that messing with /etc/default/keyboard has no effect on
these keys?
Oh, and I also ran xmodmap -pke under both settings into file1 and
file2, diffed them... no difference.
Should the settings in /etc/default/keyboard effect the ouput of
`xmodmap -pke'
[...]
> Recently I asked a similar question in this thread. Here is the start:
>
> http://lists.debian.org/debian-user/2013/08/msg00819.html
>
> And for me the resolution is described here:
>
> http://lists.debian.org/debian-user/2013/08/msg00832.html
At the first url this command:
setxkbmap -rules evdev -model evdev -layout us -variant altgr-intl
Is said to set up the altgr_intl keyboard layout... and to hide all
non-english char behind right ALT.
When I run that... I see no change whatsoever....
Other than a change in xmodmap output where the `mod1' line has lost
ALT_R:
mod1 Alt_L (0x40), Meta_L (0xcd)
One thing I didn't mention in my setup, it's been there so long I
don't even think about it. I run thru a KVM switch:
IOGEAR miniview 4 port DVI
But I've been running thru a KVM for many years, and that particular one
for several yrs.
But just to isolate that possibility... something I at least know how
to do, I've plugged the keyboard direct to the computer and, no
surprise, it didn't make a bit of difference.
Reply to: