ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/riverwm/river || channel logs: https://libera.irclog.whitequark.org/river/
talismanick has quit [Ping timeout: 264 seconds]
talismanick has joined #river
talismanick has quit [Client Quit]
talismanick has joined #river
waleee has quit [Ping timeout: 260 seconds]
talismanick has quit [Ping timeout: 244 seconds]
tdeo has quit [Read error: Connection reset by peer]
tdeo has joined #river
ahmadraniri[m] has left #river [#river]
mon_aaraj has quit [Ping timeout: 276 seconds]
mon_aaraj has joined #river
mon_aaraj has quit [Ping timeout: 276 seconds]
mon_aaraj has joined #river
wrkzk has quit [Ping timeout: 240 seconds]
fitrh has joined #river
fitrh has quit [Remote host closed the connection]
fitrh has joined #river
snakedye has joined #river
pmnw has joined #river
mon_aaraj has quit [Ping timeout: 256 seconds]
emersion has quit [Remote host closed the connection]
mon_aaraj has joined #river
emersion has joined #river
mon_aaraj has quit [Ping timeout: 255 seconds]
mon_aaraj has joined #river
pmnw has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.1)]
mon_aaraj has quit [Ping timeout: 276 seconds]
mon_aaraj has joined #river
mon_aaraj has quit [Ping timeout: 244 seconds]
mon_aaraj has joined #river
emersion has quit [Remote host closed the connection]
emersion has joined #river
waleee has joined #river
carloratm has joined #river
<carloratm> Hi all, is it possible to have sloppy focus on river?
<ifreund> carloratm: what is sloppy focus?
<carloratm> ifreund: focus that follows the mouse
<ifreund> carloratm: search for focus-follows-cursor in the riverctl man page
<carloratm> thx
<ifreund> no problem!
<NikhilSingh[m]1> How can I restart a service without sudo.
carloratm has quit [Ping timeout: 260 seconds]
waleee has quit [Ping timeout: 244 seconds]
snakedye_real has joined #river
carloratm has joined #river
fitrh has quit [Remote host closed the connection]
fitrh has joined #river
snakedye_real has quit [Read error: Connection reset by peer]
<carloratm> How can I start waybar when river starts?
<plumeus> One option is to start it from `.config/river/init`
snakedye_real has joined #river
snakedye_real has quit [Read error: Connection reset by peer]
<plumeus> like, if you use a shell script, you could just put waybar inside the config
snakedye_real has joined #river
<carloratm> must be executed in background?
<plumeus> You could execute it any time
<plumeus> start river, open a terminal, run `waybar`
<plumeus> I just thought you meant that you wanted it to run automatically
<carloratm> I mean, in the init file, should I put waybar & ?
<plumeus> ah, yeah
<carloratm> ok
fitrh has quit [Remote host closed the connection]
wrkzk has joined #river
mon_aaraj has quit [Ping timeout: 272 seconds]
mon_aaraj has joined #river
snakedye_real has quit [Ping timeout: 240 seconds]
snakedye has quit [Ping timeout: 244 seconds]
snakedye has joined #river
hellmouth has joined #river
<NikhilSingh[m]1> How can I map a keybind to perform action with sudo.
<mizzunet> try pkexec
<hellmouth> Hello there. Really liking what I'm seeing with River, though I'm having some trouble with a monitor. I have two monitors connected to my laptop via a USB-C dock. In swaywm, both external monitors work. In River, however, only one works. The non-working one isn't visible in tools like wlr-randr, wlay, wlopm from inside River. My understanding
<hellmouth> is that both swaywm and river are using wlroots and that I can expect both monitors to be handled roughly the same (or is that not true?) Does anyone have any suggestions for how to debug a problem like this? I suppose that's more of a Wayland question, but I'm open to all suggestions. I doubt it's River-specific, but who knows?
<hellmouth> As soon as I saw the monitor wasn't even noticed by wlr-randr and wlopm, I sort of hit a dead end. It's strange that it works fine in swaywm.
<ifreund> hellmouth: what sway/river versions did you test? Do they use the same wlroots version?
<plumeus> "only one works", could you explain this?
<plumeus> I've used River with two monitors, worked fine for the most part.
<hellmouth> @ifreund good point, I'll check, one sec
<hellmouth> @plumeus My best description is that the monitor in question enters a disabled/sleeping power mode
<NikhilSingh[m]1> Ignore figured out.
<plumeus> I had weird interactions like how River wouldn't start if I booted my laptop with a display port inserted, or how River would freeze every few times I plugged my laptop to my monitor without restarting. Both were a bit weird and I never looked into the cause because I didn't use the monitor much.
<tleydxdy[m]> also maybe check the logs
Guest59453453249 has joined #river
<Guest59453453249> is there anyway I can have multiple keyboard layouts on river?
<Guest59453453249> right now the way you choose keyboard layout is specifying it as an environment variable
<Guest59453453249> so i tried using export XKBetc etc = "layout", hoping it would allow me to switch layouts on fly
<Guest59453453249> but yeah it didn't work unfortunately
<hellmouth> tleydxdy[m] I'd like to check the logs, though I haven't found any wayland logs or river logs
<leon-p> Guest59453453249: separate them with a comma and setup an xkb shortcut to switch between them
<leon-p> check the xkb manpages for more, can't remember how to do it exactly right now
<Guest59453453249> leon-p ah ok thanks
<tleydxdy[m]> hellmouth: they are just printed to stdout and stderr
mon_aaraj has quit [Ping timeout: 256 seconds]
<hellmouth> tleydxdy[m] Ah, ok, makes sense
<hellmouth> ifreund I believe the wlroots version is the same (0.15.1). It came from installing sway via arch's main repo, though I cloned River's github and compiled.
<hellmouth> In any case, it sounds like I should expect them to behave the same if these things are all the same. That makes me think I have some disparity somewhere
<hellmouth> Sorry, I'm new to Wayland and not too familiar with how it all comes together. I'll do some more troubleshooting. And tleydxdy[m] 's point about stderr and stdout is helpful -- I'll disable Ly and just start River from the TTY and see what I get
<ifreund> the best way to get logs would be running river from a tty and directing stderr/stdout to a file. For example `river > out.log 2>&1`
<hellmouth> yup
<hellmouth> Thanks everyone, I think at least knowing I can stop hunting for log files and also that it's expected that the monitors *should* be handled the same, all things considered equal, is enough to get me started
snakedye has quit [Ping timeout: 255 seconds]
snakedye has joined #river
wrkzk has quit [Quit: WeeChat 3.5]
wrkzk has joined #river
Guest59453453249 has quit [Quit: Client closed]
lbia has joined #river
<hellmouth> Hm. Looks like the monitor in question isn't sending a modeset when wlroots requests it
notzmv has quit [Ping timeout: 276 seconds]
notzmv has joined #river
<hellmouth> Okay, it ended up being a bandwidth issue with my USB-C dock, as the monitor works when it's the only one connected to the dock. This is also an issue for me in X11, but X11 will at least recognize it so I can reduce the refresh rate of the monitor with xrandr. I'm not sure what sway is doing differently. Looks like there's at least one other
<hellmouth> person with this problem: https://github.com/riverwm/river/issues/502
snakedye_real has joined #river
<tiosgz> hellmouth: would be nice if you could leave a comment on that issue with your discoveries
wrkzk has quit [Quit: WeeChat 3.5]
<hellmouth> Yup, just did
<tiosgz> thanks
flub has joined #river
<ifreund> hellmouth: it might help to compare debug logs with sway here under the conditions where sway works but river doesn't, feel free to attach logs to the issue and I'll take a look when I have time
<hellmouth> Yeah, I just added some additional information to my comment. Unfortunately, sway wasn't as verbose when I tried running it last. I'll double-check that I didn't mess up the redirection
<ifreund> passing -d to sway should make it more verbose
<hellmouth> Ah, cool, I'll try it
<ifreund> and -log-level debug to river wouldn't hurt either
<hellmouth> For what it's worth, this issue is squarely with me and my setup. This ultrawide monitor has been problematic in X11 with its modelines and this USB-C dock doesn't help matters
<hellmouth> It's this weird Acer monitor that was sold under two model names (XV340CK and XV340CK P) and I've had EDID issues with it
cabal704 has joined #river
<ifreund> could be a hardware/driver issue indeed, what makes me curious though is that both you and the other person who opened that issue reported it working on sway
waleee has joined #river
notzmv has quit [Ping timeout: 260 seconds]
snakedye_real has quit [Ping timeout: 256 seconds]
snakedye_real has joined #river
pvsr has joined #river
snakedye_real has quit [Quit: snakedye_real]
notzmv has joined #river
cabal704 has quit [Quit: WeeChat 3.5]