HMH
HMH
I'd recommend looking into pipewire, if you use the gstreamer plugin it is not that bad to implement, you may want to have a look at my implementation here: https://github.com/H-M-H/Weylus/blob/master/src/capturable/pipewire.rs....
Weylus is licensed under the AGPL but I am fine if you use my code for pipewire (https://github.com/H-M-H/Weylus/blob/4679d5220ebfe0ecd79f33368f04353d658b0491/src/capturable/pipewire.rs and https://github.com/H-M-H/Weylus/blob/4679d5220ebfe0ecd79f33368f04353d658b0491/src/capturable/pipewire_dbus.rs) under the GPL-3.
I do not know a way around this except using compositor specific APIs (https://github.com/H-M-H/Weylus/issues/3#issuecomment-652670480), which is not exactly desirable.
No dialog and a black screen except for the cursor sounds very much like XWayland, are you sure pipewire is used?
Alright, I have had a look at `xmas-elf` and unfortunately the documentation is all but existent. Nonetheless I could get it working after some guess work. The following function reads...
I just found an even better solution, there is: https://manpages.debian.org/testing/dpkg-dev/dpkg-shlibdeps.1.en.html which handles this correctly.
`dpkg-shlibdeps` unfortunately assumes a debian package path structure, which actually is not required. Assuming you have your binary `my_program` located in some folder, you have to create the subfolder `debian`...
I just stumbled across this trying to fix another issue. I had a look at the linked elf parser and implemented a function that extracts the needed shared libs: https://github.com/mmstick/cargo-deb/issues/170#issuecomment-820574508...
It might be helpful to have a look how KWin does it for night colors: https://github.com/KDE/kwin/tree/master/colorcorrection
```sh for f in /tmp/nvim*/0; do nvr --servername $f -cc 'call SetTheme()' done ``` Is what I am using for running instances, where SetTheme does the dark/light switching. nvr is...