Re: xmodmap question
On Sunday, March 29, 2015 at 5:30:05 PM UTC+5:30, Petter Adsen wrote:
> I've been playing with xmodmap to change the comma on the numpad
> (Norwegian layout) to a period, as I mainly use the numpad for entering
> IP addresses. According to the man page, section "Expression Grammar",
> the first keysym is for the key with no modifier, and a second is for
> the key with Shift as a modifier.
>
> However, when I run 'xmodmap -e "keycode 91=period"', the key simply
> "dies", it no longer outputs anything, although 'xmodmap -pk' lists it
> as set to "period". If I run 'xmodmap -e "keycode 91=period period"',
> it works just fine (although it also sets it with Shift, but I don't
> mind that).
>
> What am I doing wrong? Why can't I just change the keysym to be sent
> without a modifier?
xmodmap is obsolete and increasingly broken in current distros.
We are supposed to switch to setxkbmap.
[I never said its better!]
I asked same question on emacs list and got this answer from Yuri Khan
https://groups.google.com/d/msg/gnu.emacs.help/yesOU0m0vIE/TDUo7QZDPdkJ
Reply to: