![]() |
PostmarketOS sxmo pinephone keyboard keymaps? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Sxmo on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=161) +---- Thread: PostmarketOS sxmo pinephone keyboard keymaps? (/showthread.php?tid=16843) |
PostmarketOS sxmo pinephone keyboard keymaps? - afwtioane - 06-16-2022 How are you supposed to change your keymap? I found this https://wiki.postmarketos.org/index.php?title=Sxmo/Tips_and_Tricks&mobileaction=toggle_view_desktop#How_to_change_the_keyboard_layouts.3F_.28wvkbd.2Fwayland.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? RE: PostmarketOS sxmo pinephone keyboard keymaps? - afwtioane - 06-17-2022 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:0 ![]() 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 RE: PostmarketOS sxmo pinephone keyboard keymaps? - manubert - 09-11-2022 (06-17-2022, 12:40 AM)afwtioane Wrote: ~/.config/sxmo/sway 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 ![]() |