uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy_ has joined #river
uncomfy has quit [Read error: Connection reset by peer]
uncomfy_ has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Read error: Connection reset by peer]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Quit: uncomfy]
eShaev9z_ has joined #river
eShaev9z has quit [Ping timeout: 265 seconds]
mohan43u has quit [Quit: WeeChat 4.4.2]
mohan43u has joined #river
fitrh has joined #river
fitrh has quit [Remote host closed the connection]
fitrh has joined #river
fitrh has quit [Remote host closed the connection]
leopoldek has quit [Ping timeout: 265 seconds]
ninewise has joined #river
andyrtr_ has joined #river
andyrtr has quit [Ping timeout: 252 seconds]
andyrtr_ is now known as andyrtr
andyrtr has quit [Ping timeout: 252 seconds]
andyrtr has joined #river
andyrtr_ has joined #river
andyrtr has quit [Ping timeout: 248 seconds]
andyrtr_ is now known as andyrtr
andyrtr has quit [Ping timeout: 252 seconds]
andyrtr has joined #river
andyrtr_ has joined #river
andyrtr has quit [Ping timeout: 252 seconds]
andyrtr_ is now known as andyrtr
andyrtr_ has joined #river
andyrtr has quit [Ping timeout: 248 seconds]
andyrtr_ is now known as andyrtr
andyrtr_ has joined #river
andyrtr has quit [Ping timeout: 260 seconds]
andyrtr_ is now known as andyrtr
mdallastella has quit [Remote host closed the connection]
mdallastella has joined #river
mdallastella has quit [Remote host closed the connection]
mdallastella has joined #river
leopoldek has joined #river
<__toor__>
I got screensharing working :)
<__toor__>
Now I will try and throw out pulseaudio and replace it with pipewire-pulse since I anyway need to have pipewire installed for screensharing to work
<__toor__>
seems to work. ok enough fiddling for now. ;-)
<__toor__>
does river support Xwayland rootless? ifreund
<__toor__>
Xwayland says it seens wm support for it to work
<__toor__>
-rootless run rootless, requires wm support
<__toor__>
or perhaps that is for a wm running inside Xwayland. not sure really what it means.
cateru has joined #river
<cateru>
hi.
<cateru>
im trying to capture a window using zig
<cateru>
is there a library i can use ?
<cateru>
any hints are welcome
<cateru>
thank you so much
<ifreund>
__toor__: yes, you need to build wlroots and river with xwayland support
<ifreund>
and river invokes the xwayland binary itself with the necessary arguments
<cateru>
i will run the code inside riverwm that supports xwayland.
<cateru>
so i won't need to build anything. right ?
tiosgz has joined #river
<tiosgz>
cateru: ifreund was responding to a question before you joined (see the channel log if you're interested) and the answer isn't relevant to your issue. welcome to irc :)
<tiosgz>
as for your question, i'm quite confused. are you really trying to capture a window using zig (the programming language)?
<cateru>
yes
<tiosgz>
(geez. typed several things and deleted them. pls take my replies with some salt and patience.)
<tiosgz>
as of now it isn't possible to capture a specific window under river, other than capturing the whole screen and cropping that to the window
<tiosgz>
to capture the whole screen, you'll need to use the relevant wayland protocol (wlr-screencopy or something i believe), and to use that you need libwayland and zig-wayland
<tiosgz>
(there's ext-screencopy coming which can capture a specific window afaik, but i don't know if it's even landed in wayland-protocols. and it definitely isn't in river yet.)
<cateru>
nice
<cateru>
capturing screen works
<cateru>
so i will only need zig-wayland
<cateru>
do i need to run the code inside river or can i create headless wayland sessions and run capture from them
<tiosgz>
you don't need river specifically, but in that case you need another compositor (since that's what runs the wayland session). plus the compositor needs to support the protocol you use
<tiosgz>
("runs" as in the compositor is the wayland session)
<cateru>
thank you so much
<cateru>
is there a way to simulate events like mouse and keyboard events
<leon-p>
there is a protocol for virtual keyboard events at least
<leon-p>
I recommend you look through /usr/share/wayland-protocols (if you have wayland-protocols installed). you'll likely find the answer to many questions therw
<__toor__>
ifreund: I ran into that realization and quickly backed out ... ;-)
<__toor__>
I will use gamescope in a docker container. I got minecraft working (via flatpak) and a sidecar loaded gamescope instance. They are running rootless so no spurioous empty Xorg window appears before the game starts rendering
<__toor__>
This pretty much concludes my OS build I think. Now I just need to package it up so its consumable by the general public. That is, so I can reinstall it myself on my other machines LOL