Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pkw

macrumors newbie
Original poster
Can someone help me modify my keyboard layout? I'm using iMac with OCLP Sonoma.

My default layout is English - British (GB). I would like to modify it to add Polish characters, with right Cmd as the modifier key.
I have Polish (Programmers) keyboard enabled too, but it swaps some characters like # instead of £.
So in essence I want a kind of hybrid British-Polish one, with everything like in GB but adding PL characters.
I've tried doing it with Karabiner-Elements with the help of ChatGPT creating a JSON file, but it's not working and I'm going around in circles.
I tried a utility called Ukelele which didn't work either.
So I end up switching between layouts which is inconvenient.

Any suggestions?

(apologies if it's in the wrong forum, mods please move if needed).

Thanks!
 
Is it difficult to use Karabiner to map something like Right Cmd + letter into the Polish character, while keeping your normal English-British layout unchanged? So for example Right Cmd + z > ż. You could do all of them manually without needing a JSON file(?!?!), yes? If it's somehow too difficult in Karabiner I'd just spend the money on Keyboard Maestro, which can so all that and much more.
 
You can't map Polish characters in Simple Modifications, and Complex Modifications requires JSON. Thanks for the suggestion but I'm not forking out for another utility, will have to find a way to get this working somehow.
 
I've tried doing it with Karabiner-Elements with the help of ChatGPT creating a JSON file, but it's not working and I'm going around in circles.
I tried to create something advanced with a JSON file in Karabiner as well (a macro of a string of characters), using Claude AI to help me. Couldn't get it to work. Kept giving me an error. Fed the error messages into Claude AI and it guided me into writing the JSON code directly into the config file using the command line instead of Karabiner's editor, and it worked on first attempt. I think something might be up with the editor in Karabiner.
 
I tried to create something advanced with a JSON file in Karabiner as well (a macro of a string of characters), using Claude AI to help me. Couldn't get it to work. Kept giving me an error. Fed the error messages into Claude AI and it guided me into writing the JSON code directly into the config file using the command line instead of Karabiner's editor, and it worked on first attempt. I think something might be up with the editor in Karabiner.
Thanks, yes I did flag the error and chatgpt kept rewriting it (I think the Karabiner editor is quite fussy about the JSON clauses), but it still didn't work. I need to better understand it and write myself, for now I'm using Polish layout with right-cmd as modifier in Karabiner, the only annoying thing (mostly) is the # character in shift-3 instead of £, so whenever I need the latter I temporarily switch to GB just to write one character😆
 
If it is only the £ symbol that you are missing when using Polish keyboard, use text replacement/autocorrect, e.g. gbp→ £, to insert the pound symbol.
 
  • Like
Reactions: pkw
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.