Can anyone tell me why xmodmap and xkeycaps do not work in F-10 as they do in F-9?
This keeps me from upgrading this computer.
Bob
Kevin Kofler wrote:
Bob Goodwin wrote:
Can anyone tell me why xmodmap and xkeycaps do not work in F-10 as they do in F-9?
Because Fedora 10 switched to evdev as the default keyboard driver.
Kevin Kofler
It looks to me like I will have to suffer with the absence of this functionality for an indefinite period if I switch to Fedora-10? Google [evdev] provides no solution but apparently I am not alone.
Thanks for the response.
Bob
On Sunday, Feb 22nd 2009 at 11:52 -0000, quoth Kevin Kofler:
=>Bob Goodwin wrote: =>> Can anyone tell me why xmodmap and xkeycaps =>> do not work in F-10 as they do in F-9? => =>Because Fedora 10 switched to evdev as the default keyboard driver.
I'm not sure why you think it doesn't work. I'm one of those people, increasingly rare, who grew up on a Sun keyboard, and I simply must have my capslock and ctrl keys switched on a pc keyboard. I generated a file for use by xmodmap using xkeycaps and then I added
518 > cat swapcaps.sh #! /bin/bash xmodmap .xmodmap-saturn.syslang.net 519 >
to my ~/.kde/Autostart
Works great.
Steven W. Orr wrote:
On Sunday, Feb 22nd 2009 at 11:52 -0000, quoth Kevin Kofler:
=>Bob Goodwin wrote: =>> Can anyone tell me why xmodmap and xkeycaps =>> do not work in F-10 as they do in F-9? => =>Because Fedora 10 switched to evdev as the default keyboard driver.
I'm not sure why you think it doesn't work.
One indication that it does not work is that when I run /usr/bin/xmodmap -e 'keycode 116=degree' in F-9 the key to the right of the right ALT key produces a degree ° symbol.
The same command in F-10 makes it useless, that same key does nothing and the cursor down arrow key generates the degree symbol instead as well as no longer moving the cursor making it impossible to navigate though a file listing.
/usr/bin/xkeycaps no longer gives meaningful indications and the menu for selecting the keyboard type is presented in some very difficult [for me] to read font.
There are other problems but these are typical of what I am seeing. There is a very good possibility that I am doing something wrong but I haven't found it. I haven't seen anyone else complaining which doesn't help my confidence ...
Thanks.
Bob
I'm one of those people, increasingly rare, who grew up on a Sun keyboard, and I simply must have my capslock and ctrl keys switched on a pc keyboard. I generated a file for use by xmodmap using xkeycaps and then I added
518 > cat swapcaps.sh #! /bin/bash xmodmap .xmodmap-saturn.syslang.net 519 >
to my ~/.kde/Autostart
Works great.
Bob Goodwin wrote:
One indication that it does not work is that when I run /usr/bin/xmodmap -e 'keycode 116=degree' in F-9 the key to the right of the right ALT key produces a degree ° symbol.
The same command in F-10 makes it useless, that same key does nothing and the cursor down arrow key generates the degree symbol instead as well as no longer moving the cursor making it impossible to navigate though a file listing.
You're hardcoding a keycode number, but evdev uses different keycodes.
Kevin Kofler
Kevin Kofler wrote:
Bob Goodwin wrote:
One indication that it does not work is that when I run /usr/bin/xmodmap -e 'keycode 116=degree' in F-9 the key to the right of the right ALT key produces a degree ° symbol.
The same command in F-10 makes it useless, that same key does nothing and the cursor down arrow key generates the degree symbol instead as well as no longer moving the cursor making it impossible to navigate though a file listing.
You're hardcoding a keycode number, but evdev uses different keycodes.
Kevin Kofler
I can believe that! Where can I find the correct codes?
If I can use those "Windows" keys and disable Caps Lock I will be satisfied.
Bob
Kevin Kofler wrote:
Bob Goodwin wrote:
One indication that it does not work is that when I run /usr/bin/xmodmap -e 'keycode 116=degree' in F-9 the key to the right of the right ALT key produces a degree ° symbol.
The same command in F-10 makes it useless, that same key does nothing and the cursor down arrow key generates the degree symbol instead as well as no longer moving the cursor making it impossible to navigate though a file listing.
You're hardcoding a keycode number, but evdev uses different keycodes.
Kevin Kofle
The correct keycodes can be displayed with "xev." I was able to make changes accordingly. Most important is keycode 66 which disables the "Caps Lock" key.
/usr/bin/xmodmap -e 'keycode 134=degree' /usr/bin/xmodmap -e 'keycode 135=mu' /usr/bin/xmodmap -e 'keycode 66=NoSymbol'
Thanks for the pointer. A simple solution but I have struggled with it for a while.
Bob