PostmarketOS sxmo pinephone keyboard keymaps?
#1
How are you supposed to change your keymap? I found this
https://wiki.postmarketos.org/index.php?...land.29.3F
..but it does not explain how to find out what any of these variables mean, or how to find the keymap syntax I am trying to use.

setxkbmap apparently isn't a thing on wayland and there doesn't seem to be any alternative.

I discovered setup-keymap just abusing autocomplete. Running it as root, I select colemak and it seems to work perfectly, no errors and its very promising. Until you try to type and nothing has changed.

I decided the only thing left was to recompile the pinephone-keyboard firmware. I made a hardware remapping to colemak and then while reading the flashing debricking instructions, decided it would probably be better to just ask in the forums before I destroy my equipment

The only thing I can think of left is kmonad but I would have to recompile it for ARM, and the instructions are frustrating me because there isn't anything called stack in the repos and I am hesitant to go through the process of porting an entirely different package manager just to compile whatever nix is, surely there is a simpler way but if not alright I just want to know for sure.

Can someone point me in the right direction?
  Reply
#2
AAaaa I pressed ctrl+r and don't know if my solution sent. While trying to figure out why as well the alternative keys like = and _ weren't working I found the solution to my colemak problem. The following fixes both of them.

~/.config/sxmo/sway

input "0:0TongueinePhone_Keyboard" {
xkb_layout us
xkb_variant colemak
xkb_model ppkb
xkb_options lv3:ralt_switch
}

AltG or the right alt would be how you use = or _ etc. To find the layout and variant you can use setup-keymap, substituting the right option. Hope it helps
  Reply
#3
(06-17-2022, 12:40 AM)afwtioane Wrote: ~/.config/sxmo/sway

input "0:0TongueinePhone_Keyboard" {
xkb_layout us
xkb_variant colemak
xkb_model ppkb
xkb_options lv3:ralt_switch
}

AltG or the right alt would be how you use = or _ etc. To find the layout and variant you can use setup-keymap, substituting the right option. Hope it helps

You are my hero! This is exactly what I wanted to achieve (minus the colemak part) but struggled with—I thought I had to flash a modified firmware >.<
Thank you so much for posting this!

(yes I registered here just to say thanks Wink)
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  sxmo pim nextcloud Uturn 8 6,003 02-22-2022, 03:23 PM
Last Post: TRS-80
  Battery life on sxmo xark 1 2,074 02-12-2022, 10:07 AM
Last Post: TRS-80
  Official Channels for Sxmo Support anjanmomi 2 3,054 02-12-2022, 09:50 AM
Last Post: TRS-80
  sxmo & php --- 2 1,763 01-31-2022, 01:45 PM
Last Post: ---
  sxmo improvements unrealb2 7 5,639 11-17-2021, 06:43 AM
Last Post: fdlamotte
  SXMO on Debian IVp 0 2,165 08-21-2021, 02:33 PM
Last Post: IVp
  Megi's multiboot sxmo image aithal 1 2,171 06-14-2021, 08:07 AM
Last Post: fdlamotte
  SXMO svkbd with joypad layout [for basic dosbox play] streak 0 1,471 05-27-2021, 08:47 AM
Last Post: streak
  Sxmo on Arch IVp 4 6,373 05-19-2021, 03:18 AM
Last Post: dukla2000
  Sxmo presentation at AlpineConf 2021 proycon 1 2,111 05-14-2021, 12:56 PM
Last Post: streak

Forum Jump:


Users browsing this thread: 1 Guest(s)