On Sat, 2016-09-24 at 15:06 -0500, Bowen Wang wrote:
I just got my rawhide installed last night. This is pretty good. But there
are some issues that I cannot solve myself:
1. I cannot remap my keyboard layout using xmodmap. My xmodmap script is as
xmodmap -e "remove Lock = Caps_Lock"
xmodmap -e "keycode 66 = BackSpace BackSpace BackSpace BackSpace"
xmodmap -e "keycode 22 = Tab ISO_Left_Tab Tab ISO_Left_Tab"
xmodmap -e "keycode 23 = Escape NoSymbol Escape"
xmodmap -e "keycode 9 = Caps_Lock"
xmodmap -e "clear control"
xmodmap -e "clear mod1"
xmodmap -e "remove mod4 = Super_L Super_R"
xmodmap -e "keycode 133 = Alt_L Meta_L Alt_L Meta_L"
xmodmap -e "keycode 134 = Alt_R Meta_R Alt_R Meta_R"
xmodmap -e "keycode 37 = Super_L NoSymbol Super_L"
xmodmap -e "keycode 64 = Control_L NoSymbol Control_L"
xmodmap -e "keycode 105 = Super_R NoSymbol Super_R"
xmodmap -e "keycode 108 = Control_R NoSymbol Control_R"
xmodmap -e "add Control = Control_L Control_R"
xmodmap -e "add mod1 = Alt_L Meta_L Alt_R Meta_R"
xmodmap -e "add mod4 = Super_L Super_R"
xmodmap -e "add Lock = Caps_Lock"
I can use this script on all other linux machines. When I put this in
fedora rawhide, it didn't work. Some of the keymap can work outside the
terminal, for example, some of the remap can work in Firefox, buy not in
I have tried to put this script file in several place:
a file named rc.local in /etc or /usr, sorry I cannot remember
They all didn't work.
I use the Programmer Dvorak Keyboard Layout.
Can anyone help me this out? Thanks.
Hi Bowen! Just wanted to make sure you're aware Rawhide is the most
'unstable' development version of Fedora; it's more stable and tested
than it used to be but we still don't recommend it for everyday use.
It's awesome to have people running it (we want more!) but we do
recommend you have a stable Fedora release around too just in case
Rawhide goes wrong.
As for your problem - if you're running Workstation, then it's probably
not working because you're not using X :) Workstation in Fedora 25 and
Rawhide now defaults to using Wayland. So if that's your situation,
you'll need to look up how to do the equivalent of xmodmap on Wayland -
I don't know about this off-hand. I looked it up just quickly with
Google, and here are some references that may help:
(note: from 2011, so things may have
Basically xmodmap indeed doesn't work on Wayland, you need to customize
the xkb configuration instead. xkb is...er...fun to learn about...hope
those links help. :) Good luck! Maybe if you're successful you could
write up a handy blog post or something explaining your findings?
Thanks a lot!
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net