Just wasted a couple of hours getting #sunshine to work with a #wayland compositor only to find out virtual screens are not supported by #kmsgrab at all.
AND
#wlroots does not support faking the ‘connected’ state of an output.
Wow, I just got #arbtt capturing to run with a #wlroots based #wayland compositor (like #sway, I use #river) and it was surprisingly simple. Just run this command once per minute:
lswt --json | jq '{date:now|strftime("%FT%TZ"),rate:60000,inactive:0,windows:map({title,program:.app_id,active:.activated}),desktop:""}' | arbtt-import -a -t JSON
I have also a homegrown solution to set the inactive flag, but it’s not as pretty.
If you're using #phosh in docked mode a lot and (like me) play videos while doing other things then upcoming changes in #phoc to have apps always-on-top and keybindings to move windows into screen corners might be helpful:
The Matrix Foundation is going to clean-up the last traces of the Libera Chat bridge. This could break links to your rooms if you didn't set an alias for them.
@matrix I understand the decision to shutter the bridge, but I am disappointed. I had been using the official bridge for years now to communicate with the others @archlinux and other channels like #wlroots. Fortunately, Arch has its own bridge, so I can still use Matrix for that!
If you're running #phoc's development branch (main, tracking #wlroots git) on a device with split display controller and gpu (like the #librem5 with #etnaviv and mxsfb / dcss) make sure to set
In X11, you could use XWarpPointer, but using xwayland or wlroots this doesn't get translated, due to security reasons, or so I've read online. So what alternative exist in Wayland?
Setting the mouse position is a very common way to implement a centered mouse cursor for say a first-person shooter, among other use cases often in #gamedev
Dis-moi :mastodon: cela existe un logiciel pour tester le #touchscreen d'une tablette (vérifier qu'il n'y a pas de défauts physiques, je veux dire) ?
Sous #Linux puisque dans mon cas il s'agit d'une tablette x86.
Scenefx being helpful as always! Configurable box shadows in my #wayland compositors with just 5 lines of additional code.
For anyone who is not aware, scenefx is a wlr_scene implementation with eye-candy built in. You can use scenefx in your existing scene api #wlroots compositor by simply linking without changing any of the code.
Reading the TinyWL source code makes me want to get into working on the #wlroots#Rustlang bindings so I can get the best of both worlds, the ease of using #Rust and the work that wlroots does for me.
I know Smithay exists but it probably doesn't fit my wants, and I want wlroots specifically.