Fix keyboard layout
#1
I am using Manjaro plasma and I'm having some trouble getting the keyboard layout to work with the characters under the number row.

I have tried the suggestion on https://forum.pine64.org/showthread.php?tid=16507 (Step 8) as well as reading the doc at https://wiki.archlinux.org/title/X_keyboard_extension

When I create the layout and try to load it I get
Code:
# setxbmap -layout ppkb
WARNING: Running setxkbmap against an XWayland server

and they changes don't seem to work. Even if I for example override a number key with a different number.

Has anyone had any success in fixing this?
  Reply
#2
Somewhat working

Console:
Follow instructions at https://codeberg.org/HazardChem/PinePhon...h/main/tty
The file to edit is /etc/vconsole.conf. If keymaps is included in yout /etc/mkinitcpio.conf then it will work from initramfs (run mkinitcpio -P to refresh it)

caveat: Ctrl key is no longer working for me

Wayland/Plasma:
Update your /usr/share/xkb/* to the files in https://codeberg.org/HazardChem/PinePhon...h/main/xkb

I'm not sure the correct way to configure wayland/plasma to use the layout but I had success with creating
~/.config/kxkbrc

Code:
[Layout]
LayoutList=us
Model=ppkb


I tried several things but I think this is what got it to work in Plasma/Wayland.

If you don't want to change the files in /usr/share/xkb/ you can create them in your home directory, see:
https://xkbcommon.org/doc/current/md_doc...ation.html

Ideally we could select it using the 'System Settings' application, as it is on the desktop, but I'm not sure which packages are needed to get this to work.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Battery meter slowly reducing under keyboard charger robocone 1 1,717 12-26-2022, 09:37 AM
Last Post: robocone
  Manjaro 5.17.5-1 Keyboard stopped working Yst 7 5,228 06-09-2022, 11:12 AM
Last Post: graphicpanda444
  Screen keyboard Japanese input issue Yst 1 1,577 04-30-2022, 09:13 PM
Last Post: TRS-80
  Keyboard Case Power Management Daemon estokes 11 8,099 04-19-2022, 07:41 AM
Last Post: PineFLOWn
  Howto Full disk encryption manjaro and detached header (with keyboard) robocone 0 2,118 03-09-2022, 06:53 AM
Last Post: robocone
  Keyboard stopped working -- big problem tckosvic 15 9,880 02-06-2022, 02:04 PM
Last Post: Emilio

Forum Jump:


Users browsing this thread: 1 Guest(s)