4 ms·
> all I want to do is fuzzy match window titles to named audio streams in pipewire, > basic desktop functionality I feel your pain, but find your idea of "bas
by saint_yossarian 10mo ago
> all I want to do is fuzzy match window titles to named audio streams in pipewire,
> basic desktop functionality
I feel your pain, but find your idea of "basic" functionality amusing.
That said, `pw-dump` / `pactl` will give you client names, which often match the window titles.
- mikkupikku 10mo agoI know how to get the audio stream names, the problem is the window titles. With X it's easy, just call xdotool. I'm sure it's probably easy enough on Windows and MacOS too. Wayland is the weird one for making focused window titles privileged information. Anyway, I do think I've created what should be considered basic desktop functionality here, a simple hotkey that mutes or otherwise changes the volume only of the focused window. Every desktop should have it. This is just one of the tools I've made for myself with X which I do not want to do without and this makes Wayland a non-option for me. If I can't use X and can't replicate things like this with Wayland, then maybe I should switch to MacOS at that point because the dream of controlling my own computer seems like it's dying anyway.
- KerrAvon 10mo agoWayland is approximately correct in this case and Windows and Mac are behind the security curve for bincompat reasons; window titles certainly leak PII. There should be a way to do it, but it is sensitive information.
- wpm 10mo agoIs there any documented attack on macOS or Windows that utilized window title information?
- michaelmrose 10mo agoNever in history. If you have software running on your system attacking you then you have so many more issues than the adversary knowing your window titles.
- rcxdude 10mo agoSure, but again there's no interest in actually making a standard way to do it. I can understand it being something that arbitrary applications probably shouldn't be able to access, but that somehow turns into no way to do it, or complete fragmentation where every DE does it with arbitrary differences (or, more realistically, some DEs support it and others don't).
- yjftsjthsd-h 10mo agoOkay; is there a way to do it? Can I, the user, decide that I do actually want a program to see titles? Or is it still impossible because 17 years isn't enough to implement utterly trivial APIs that people want?
- account42 9mo agoYou are aware that by default programs you run have access to your entire home directory, right? Applying any restrictions to them in the windowing protocol is security theater.