talismanick has quit [Remote host closed the connection]
fitrh has joined #river
aryak has quit [Ping timeout: 260 seconds]
aktina has quit [Ping timeout: 255 seconds]
aktina has joined #river
aryak has joined #river
fitrh has quit [Ping timeout: 256 seconds]
fitrh has joined #river
fitrh has quit [Remote host closed the connection]
Den4ikRus has joined #river
leopoldek has quit [Ping timeout: 252 seconds]
alexherbo2 has joined #river
TheAnachron has joined #river
alexherbo2 has quit [Remote host closed the connection]
Guest47 has joined #river
Guest47 has quit [Client Quit]
alexherbo2 has joined #river
Soliprem has quit [Remote host closed the connection]
kraem has quit [Remote host closed the connection]
kraem has joined #river
kraem has quit [Remote host closed the connection]
kraem has joined #river
sm2222 has joined #river
sm2222 has quit [Remote host closed the connection]
sm2222 has joined #river
sm2222 has quit [Ping timeout: 245 seconds]
sm2222 has joined #river
alexherbo2 has quit [Remote host closed the connection]
Guest42 has joined #river
Guest42 has quit [Client Quit]
Guest42 has joined #river
<Guest42>
Hi, man riverctl says I can specify a keyboard layout file and links to its documentation. But I cant find an understandable example or default file which I then could edit. All examples I find use magic like include commands including something not even linked from the page, but I cant find a complete file to start with. Where can I get, say, a
<Guest42>
default complete US Layout file?
<leon-p>
Guest42: there is a xkbcommon CLI command thing which dumps the keyboard layout spec compiled from your current settings, that may be a starting point
<leon-p>
xkbcli compile-keymap
<leon-p>
note that you most likely do not actually want to create your own entire keymap. including a common one and only changing specific keys is orders of magnitude less work and achieves the same thing
<leon-p>
note you can overwrite keys in your keymap even if they were previously defined in one of your includes
<leon-p>
back in 2021 I wrote an article about that. i've since discovered it's not entirely correct, but it should still work
<Guest42>
Thank you. I probably will settle with a simpler file that includes others eventually, sure, but a) I want to experiment and b) I want to understand the xkb topic and for that having everything visible instead of wondering wha is a consequence of includes etc is useful.
<Guest42>
Just to make sure I understand correctly: Both keyboard-layout and keyboard-layout-file override prior invocations of both? To reeturn from my custom file to a builtin layout, I just do the keyboard-layout command from my init again?
<leon-p>
pretty sure no one understands xkb
<leon-p>
and yes
<Guest42>
Ok lets say 'understand or guess enough to get to my goal' :D
<leon-p>
reasonable :)
<Guest42>
Thank you!
<leon-p>
it's easy to change a few keymaps, but if you want harder stuff, like custom modifiers and shift levels, you'll have a far worse time, so beware
alexherbo2 has joined #river
mtm has quit [Ping timeout: 260 seconds]
<Guest42>
Is tty switching affected by xkb?
mtm has joined #river
<leon-p>
it's a special case
<leon-p>
So Alt+Ctrl+F1 emits a special keycode, which river hard-codes to switching the TTY
<leon-p>
what exactly do you want to do?
<Guest42>
Nothing about Alt or Ctrl or F_, no worries. The blogpost is a useful introduction btw. It already does some of what I want (hjkl), I also want a few Unicode things, and shorten finger path to some inconveniently-reached keys (using modifiers). And then, well, some curious experimentation won't hurt : )
<Guest42>
Step by step, I'll follow the blog post first (partially at least)
<Guest42>
And then more complex stuff (or I will be content, dunno)
Guest42 has quit [Quit: Client closed]
leopoldek has joined #river
TheAnachron has quit [Quit: TheAnachron]
sm2222 has quit [Ping timeout: 276 seconds]
alexherbo2 has quit [Remote host closed the connection]
Palanix has quit [Ping timeout: 260 seconds]
Palanix has joined #river
sm2222 has joined #river
sm2222 has quit [Ping timeout: 248 seconds]
sm2222 has joined #river
sm2222 has quit [Ping timeout: 244 seconds]
kaisan1 has joined #river
Den4ikRus_ has joined #river
Dr_Jazz has joined #river
sentry has joined #river
aimixsaka has joined #river
<soulseeder>
I think this question went unanswered a few days ago: is there a way to know the current keyboard layout?
Den4ikRus has quit [*.net *.split]
Snetry has quit [*.net *.split]
choucavalier has quit [*.net *.split]
ayushnix has quit [*.net *.split]
kaisan has quit [*.net *.split]
Jazzah has quit [*.net *.split]
Jazzah has joined #river
Dr_Jazz is now known as Jazzah
Jazzah has quit [Changing host]
Den4ikRus_ is now known as Den4ikRus
leopoldek has quit [Remote host closed the connection]