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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/8626a68b-8baa-4cac-9449-cd4470a8d...@googlegroups.com

Reply via email to