Author Topic: 'r' key not working under linux  (Read 3706 times)

Stephen Quoll

  • Newbie
  • *
  • Posts: 3
    • View Profile
'r' key not working under linux
« on: July 06, 2020, 10:26:55 am »
Hello all, hopefully I'm just doing something silly but I'm stumped.

When I change my keyboard layout to "Planet | Planet Computers Cosmo Communicator" my 'r' key no longer works.  It sometimes closes dialogs, it causes the mouse cursor to appear, but no 'r'.

I change to any other layout, it works fine (but obviously most of the rest of the keyboard then doesn't).  I've got a US-layout keyboard.

Anyone else experienced this weirdness or has any ideas?

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
'r' key not working under linux
« Reply #1 on: July 06, 2020, 03:53:57 pm »
Quote from: Stephen Quoll
Hello all, hopefully I'm just doing something silly but I'm stumped.

When I change my keyboard layout to "Planet | Planet Computers Cosmo Communicator" my 'r' key no longer works.  It sometimes closes dialogs, it causes the mouse cursor to appear, but no 'r'.

I change to any other layout, it works fine (but obviously most of the rest of the keyboard then doesn't).  I've got a US-layout keyboard.

Anyone else experienced this weirdness or has any ideas?

Probably not only  "r" , but c ( vol down ), b (vol up ), and all with Fn functions . I had this problem  when I have installed exagear and it changed some directories and  files .  Problem is /usr/share/X11/xkb/ . Inside this directory are subdirectories : compat, geometry, keycodes, rules,  symbols and types. I will put here the bck of these directories, but mine I have changed to use accents and I am using the gemini keyboard  and not cosmo. Also I have a backup of the original gemini keyboard inside /usr/share/xkb/symbols/planet_vndr. You must rename gemini.bck to gemini. Please make  a backup of xkb  first . You must reboot cosmo after the changes Good luck
« Last Edit: July 06, 2020, 04:14:01 pm by cam1965 »

Stephen Quoll

  • Newbie
  • *
  • Posts: 3
    • View Profile
'r' key not working under linux
« Reply #2 on: July 06, 2020, 10:34:57 pm »
Quote from: cam1965
Quote from: Stephen Quoll
Hello all, hopefully I'm just doing something silly but I'm stumped.

When I change my keyboard layout to "Planet | Planet Computers Cosmo Communicator" my 'r' key no longer works.  It sometimes closes dialogs, it causes the mouse cursor to appear, but no 'r'.

I change to any other layout, it works fine (but obviously most of the rest of the keyboard then doesn't).  I've got a US-layout keyboard.

Anyone else experienced this weirdness or has any ideas?

Probably not only  "r" , but c ( vol down ), b (vol up ), and all with Fn functions . I had this problem  when I have installed exagear and it changed some directories and  files .  Problem is /usr/share/X11/xkb/ . Inside this directory are subdirectories : compat, geometry, keycodes, rules,  symbols and types. I will put here the bck of these directories, but mine I have changed to use accents and I am using the gemini keyboard  and not cosmo. Also I have a backup of the original gemini keyboard inside /usr/share/xkb/symbols/planet_vndr. You must rename gemini.bck to gemini. Please make  a backup of xkb  first . You must reboot cosmo after the changes Good luck

Thank you for the reply!  I wanted it to be that simple, but I think I might be dealing with something else.

The cosmo symbol file in that tarball was the same as what I had with no change when I tried it (just 'r' not working).  I moved gemini.bck to gemini and tried it too; 'r', 't', 'c', 'v', 'b', 'n' and 'm' stop working in that configuration.

I might be at the 'back everything up and try a reinstall' stage.

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
'r' key not working under linux
« Reply #3 on: July 07, 2020, 06:47:19 am »
Quote from: Stephen Quoll
Quote from: cam1965
Quote from: Stephen Quoll
Hello all, hopefully I'm just doing something silly but I'm stumped.

When I change my keyboard layout to "Planet | Planet Computers Cosmo Communicator" my 'r' key no longer works.  It sometimes closes dialogs, it causes the mouse cursor to appear, but no 'r'.

I change to any other layout, it works fine (but obviously most of the rest of the keyboard then doesn't).  I've got a US-layout keyboard.

Anyone else experienced this weirdness or has any ideas?

Probably not only  "r" , but c ( vol down ), b (vol up ), and all with Fn functions . I had this problem  when I have installed exagear and it changed some directories and  files .  Problem is /usr/share/X11/xkb/ . Inside this directory are subdirectories : compat, geometry, keycodes, rules,  symbols and types. I will put here the bck of these directories, but mine I have changed to use accents and I am using the gemini keyboard  and not cosmo. Also I have a backup of the original gemini keyboard inside /usr/share/xkb/symbols/planet_vndr. You must rename gemini.bck to gemini. Please make  a backup of xkb  first . You must reboot cosmo after the changes Good luck

Thank you for the reply!  I wanted it to be that simple, but I think I might be dealing with something else.

The cosmo symbol file in that tarball was the same as what I had with no change when I tried it (just 'r' not working).  I moved gemini.bck to gemini and tried it too; 'r', 't', 'c', 'v', 'b', 'n' and 'm' stop working in that configuration.

I might be at the 'back everything up and try a reinstall' stage.

You have to copy all the subdirectories, not only the cosmo or gemini file inside symbols. And select the correct keyboard ( cosmo in your case ) in the kde configuration. But you can also reinstall the linux from the boot menu. So you will be sure that is not a software problem. Good luck.
Other cause maybe is that you have attributed a shortcut using the Fn key in kde configuration ( Fn + r )  to a program. You cannot use the Fn key as shortcut. You must use ALT instead. This is another issue that may cause your problem. Please reset to the defaut configuration in KDE.
« Last Edit: July 07, 2020, 06:52:06 am by cam1965 »

g.husson

  • Newbie
  • *
  • Posts: 5
    • View Profile
'r' key not working under linux
« Reply #4 on: July 08, 2020, 05:26:10 pm »
Quote from: Stephen Quoll
When I change my keyboard layout to "Planet | Planet Computers Cosmo Communicator" my 'r' key no longer works.  It sometimes closes dialogs, it causes the mouse cursor to appear, but no 'r'.
I change to any other layout, it works fine (but obviously most of the rest of the keyboard then doesn't).  I've got a US-layout keyboard.

Hello, do you have several language keymaps available ? If yes, remove those you do not need, reboot and retry.
I had some problems with cosmo keyboard type with FR and US languages available (I added FR but didn't removed US).

Stephen Quoll

  • Newbie
  • *
  • Posts: 3
    • View Profile
'r' key not working under linux
« Reply #5 on: July 14, 2020, 11:41:39 pm »
I ended up reinstalling, and everything is working now.

I took a backup first though, and did a recursive diff of /usr/share/X11 with what I had before and after the reinstall.  The only difference was the modified gemini symbol files, that weren't used.

I had multiple layouts defined at one point, but had since removed all but US, and only had the standard shortcuts.  I thought I'd removed most of KDE's config too as a test before reinstalling, but didn't keep a copy of the broken config to trawl through.  Since I suspect that's where the issue was, I have now and will look carefully if it happens again

Now on to see if I can get more things working!