ChanServ changed the topic of #river to: river - a dynamic tiling Wayland compositor || https://codeberg.org/river/river || channel logs: https://libera.irclog.whitequark.org/river/
twelve has quit [Ping timeout: 265 seconds]
sentry has quit [Ping timeout: 252 seconds]
Snetry has joined #river
eoli3n has quit [Ping timeout: 260 seconds]
eoli3n has joined #river
palanix has quit [Ping timeout: 265 seconds]
palanix_ has joined #river
palanix_ is now known as palanix
adamcstephens has quit [Remote host closed the connection]
adamcstephens has joined #river
palanix_ has joined #river
palanix has quit [Ping timeout: 276 seconds]
palanix_ is now known as palanix
palanix has quit [Ping timeout: 265 seconds]
Nosrep has quit [Ping timeout: 245 seconds]
palanix has joined #river
catman has quit [Remote host closed the connection]
twelve has joined #river
vimproved has quit [Ping timeout: 252 seconds]
twelve has quit [Remote host closed the connection]
Ireozar has quit [Ping timeout: 248 seconds]
Ireozar has joined #river
vimproved has joined #river
Guest60 has joined #river
Guest60 has quit [Quit: Client closed]
palanix_ has joined #river
palanix has quit [Ping timeout: 260 seconds]
palanix_ is now known as palanix
twelve has joined #river
twelve has quit [Remote host closed the connection]
<fleischie> Hello. I am trying to set the compose key and used `riverctl keyboard-layout` but I am unsure, whether this worked. How would I debug this?
<fleischie> Or let me be more specific: Does this set a config file somewhere? Somehow that this is also preserved over sessions?
<fleischie> Because using the command does work for the current session.
catman has joined #river
<pkap> fleischie: riverctl commands are per river session. Commonly you put them in your river init file so it will set when river launches. To set the compose key you need to look for the compose options in the xkeyboard-config manpage
<fleischie> OK. And this is the only mechanism that river offers in terms of keyboard setup?
<fleischie> I know that my previous river setup (I am on a new laptop) had something, that made the setup automatic without a river init command. :thinking:
<fleischie> On the other hand I have tried so many things now, that I forgot which way the correct one was.
notzmv has joined #river
<pkap> fleischie: there is another way in form of the XKB_DEFAULT_LAYOUT and XKB_DEFAULT_OPTIONS environment variables. If you set these before you launch river, river will set up the keyboard layout accordingly.
<pkap> Probably this is what you had in your previous config.
Nosrep has joined #river
notzmv has quit [Ping timeout: 248 seconds]
<fleischie> I will have to check..
<fleischie> OK, seems previously I was using a custom script that would start river after setting exactly those XKB_DEFAULT_ environment variables. Now it's "just" starting `river`, hence no setting of environment variables.
<fleischie> Thank you pkap. 🫶
<fleischie> If anybody else is conflicted by this: I use ly that - by default - starts river only by calling `river`. But it also - again by default - bootstraps the environment by means of exporting all of one's shell's profile. Hence I added the $XKB_DEFAULT_ variables in there and that works.
<fleischie> Thanks again.
Guest47_dave has joined #river
<Guest47_dave> Hello! how do I go about remapping caps lock to control in river?
<leon-p> Guest47_dave: you can set an xkboption, if you wait a minute I'll go looking for the right one
<ifreund> (you can find all the options in the xkeyboard-config man page)
<leon-p> I use caps:escape_shifted_compose to get Ctrl when caps is pressed along and compose when presses with shift
<leon-p> (doesn't work on all keyboards though, not sure why)
<Guest47_dave> leon-p ifreund great! looks like I set that with `keyboard-layout -options "..."` Thank you both
<leon-p> note that it needs to be the same command that sets your layout, you can't first set the layout and then later set the options
<leon-p> And ctrl:nocaps is the "normal" way to make caps behave as control
<FireFly> different approach (and you can decide which you prefer better, there's tradeoffs), I use https://gitlab.com/interception/linux/tools for that kind of thing so it works transparently in both tty and graphical environments
<FireFly> (well, actually for xcape-style "escape when tapped, ctrl when held" behaviour)
<Guest47_dave> working perfectly (used: `riverctl keyboard-layout -options "caps:ctrl_modifier"`).
siaal has quit [Quit: ZNC - https://znc.in]
Guest47_dave has quit [Quit: Client closed]
siaal has joined #river
notzmv has joined #river
notzmv has quit [Ping timeout: 252 seconds]
notzmv has joined #river
notzmv has quit [Ping timeout: 248 seconds]
sentry has joined #river
Snetry has quit [Ping timeout: 260 seconds]
Nosrep has quit [Remote host closed the connection]
notzmv has joined #river
notzmv has quit [Ping timeout: 252 seconds]
flower_ has joined #river
flower_ has quit [Quit: Lost terminal]
notzmv has joined #river
Szadek727 has quit [Quit: off]
Szadek727 has joined #river
notzmv has quit [Ping timeout: 244 seconds]
Guest72 has joined #river
notzmv has joined #river
Guest72 has quit [Quit: Client closed]