2022/12/09

2022-12-09 04:30:30 +0100artefact_(~artefact@137.185.137.88.rev.sfr.net)
2022-12-09 04:34:49 +0100artefact(~artefact@88.137.185.137) (Ping timeout: 256 seconds)
2022-12-09 04:34:53 +0100artefact_artefact
2022-12-09 10:19:02 +0100b50d(~b50d@62.96.54.30)
2022-12-09 13:36:25 +0100 <Piraty> how does kmonad work?
2022-12-09 17:17:10 +0100 <NobbZ[m]> I am using a Moonlander with a QWERTZ based but custom layout (in the keyboards firmware), which works well for me on linux, but breaks on mac as some of the special keys are just weird over there…
2022-12-09 17:17:10 +0100 <NobbZ[m]> Is kmonad able to help me here to make me use it the same with mac and linux?
2022-12-09 17:32:25 +0100madam(~madam@176.207.207.165)
2022-12-09 17:41:23 +0100 <madam> Hi, just dicoverd this nice project. I use a Kinesis Freestyle 2 keyboard with gb(uk) layout. Sometimes I need the german umlauts ä, ö, ü. So I thought doing this with a kmonad layer, but istead of printing out ä, ö, ü it prints out @a, @o, @u. My config -> http://ix.io/4i9C
2022-12-09 17:41:38 +0100 <madam> What am I doing wrong here?
2022-12-09 17:49:31 +0100 <n0r> madam: Either you need to set your OS's keyboard layout to something containing umlauts and remap everything to fit your physical keyboard again, or you need to setup composing. By literally writing unicode chars into the config, kmonad does the latter, however, your composing is not set up or kmonad doesn't know the correct compose key, so your desktop doesn't understand kmonad wants it to do composing and it becomes rubbish.
2022-12-09 17:55:10 +0100b50d(~b50d@62.96.54.30) (Remote host closed the connection)
2022-12-09 18:01:42 +0100 <madam> thx @n0r. composing solutions sounds good. So if I understand this right, if I find out the unicodes for the letters, I'd allias them to a keystroke?
2022-12-09 18:08:08 +0100 <madam> also the freestyle 2 template I'm using is a us layout I think thoug I have the uk Keyboard which does not have the right alt key instead it has the alt gr key
2022-12-09 18:10:14 +0100 <madam> how would I set the AltGr Key as Compose key in the config file?
2022-12-09 19:14:49 +0100 <n0r> madam: Right Alt and AltGr are the same thing, there is no difference. It is just a matter of what they printed on the keycap.
2022-12-09 19:18:24 +0100 <NobbZ[m]> @n0r Are you perhaps also able to answer my question? Does kmonad allow me to unify the behaviour of my keyboard between linux and macos?
2022-12-09 19:18:24 +0100 <lambdabot> I want me grog!
2022-12-09 19:21:18 +0100 <n0r> NobbZ: I barely ever used MacOS, so I hoped someone else knew better then me. I'll try to answer it, take it with a grain of salt.
2022-12-09 19:21:34 +0100 <madam> @n0r thx. think I'm close here. If I press AltGr(ralt)+[ then relese it and press a, it prints out ä. how could I defalias this keystroke?
2022-12-09 19:21:34 +0100 <lambdabot> I'll keel haul ya fer that!
2022-12-09 19:22:37 +0100 <n0r> NobbZ: Probably yes. It might get quite confusing though if you have indirections both on the keybord firmware level and the Kmonad level.
2022-12-09 19:24:30 +0100 <n0r> NobbZ: So I suggest keeping either one or the other level minimal and trivial. I unfortunatly don't know what specific things you should do to line up the keyboard behavior.
2022-12-09 19:29:16 +0100 <n0r> madam: `#(RA-[ a)` if I'm not mistaken.
2022-12-09 19:37:52 +0100 <madam> @n0r awesome, this works. thank you very much for your time and your support.
2022-12-09 19:37:52 +0100 <lambdabot> Aye
2022-12-09 19:38:31 +0100 <NobbZ[m]> Thamks for the input @n0r, I think I will take a closer look and experiment with it.
2022-12-09 19:38:31 +0100 <NobbZ[m]> Danke Dir!
2022-12-09 19:39:27 +0100 <madam> for the capital letter it'd be `#(RA-S-[ a)` right?
2022-12-09 19:39:51 +0100 <n0r> NobbZ: Gern doch
2022-12-09 19:40:59 +0100 <n0r> madam: Either that or `#(RA-[ S-a)`, I'm not sure how composing works.
2022-12-09 19:42:13 +0100 <n0r> I myself use the de-us layout where RA-a is ä, but it is a much less flexible option.
2022-12-09 19:47:59 +0100 <madam> n0r: nice this works like charm now
2022-12-09 19:48:02 +0100 <n0r> madam: Oh I'm dumb lol. If you tell kmonad `(defcfg cmp-seq ralt)` there should be no need to manually write out the composing, kmonad will translate unicode symbols for you. That is what it tried in the first place, it just assumed the compose key was something else.
2022-12-09 20:56:15 +0100madam(~madam@176.207.207.165) (Ping timeout: 260 seconds)
2022-12-09 21:11:45 +0100madam(~madam@176.207.207.165)
2022-12-09 22:31:06 +0100wonko-the-sane(~wonk-the-@gateway/tor-sasl/wonko-the-sane)
2022-12-09 22:56:44 +0100wonko-the-sane(~wonk-the-@gateway/tor-sasl/wonko-the-sane) (Ping timeout: 255 seconds)
2022-12-09 22:59:02 +0100wonko-the-sane(~wonk-the-@gateway/tor-sasl/wonko-the-sane)
2022-12-09 23:19:59 +0100madam(~madam@176.207.207.165) (Quit: Leaving)