On Mon, 30 Mar 2015 20:56:39 -0700 (PDT) Rusi Mody <rustompm...@gmail.com> wrote:
> 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!] Ye gods - I had seriously planned on staying away from that whole mess :) > 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 Thank you, that was really informative. However, as xmodmap seems to work just fine if I give it two parameters, I will just do that until it breaks completely :) Thanks again for the explanation! Petter -- "I'm ionized" "Are you sure?" "I'm positive."
pgptV7OifNx8h.pgp
Description: OpenPGP digital signature