3 ms·
Re-configuring everything so screen sharing works is obnoxious, sure. You know what's way more obnoxious? Every single website having full access to every singl
by saulrh 3y ago
Re-configuring everything so screen sharing works is obnoxious, sure. You know what's way more obnoxious? Every single website having full access to every single pixel and keystroke going into every single application on my entire machine, which is the only reason screen sharing is "functional" on X. And on Windows, for that matter.
Also, if your auto-keyboard tool was hooking in using X debug extensions like xdotool did, your tool was broken and wrong in the first place. The correct way to submit synthetic input events is to build a synthetic input device. uinput makes this shockingly straightforward: https://kernel.org/doc/html/v4.12/input/uinput.html#keyboard-events https://kernel.org/doc/html/v4.12/input/uinput.html#keyboard.... There are even high-level bindings (via libevdev) for high-level languages: https://gitlab.freedesktop.org/libevdev/python-libevdev/-/blob/master/examples/fake-tablet.py?ref_type=heads https://gitlab.freedesktop.org/libevdev/python-libevdev/-/bl....
- oliwarner 3y ago> Every single website having full access to every single pixel and keystroke going into every single application on my entire machine Could you cite something for that?
- znpy 3y ago> You know what's way more obnoxious? Every single website having full access to every single pixel and keystroke going into every single application on my entire machine, which is the only reason screen sharing is "functional" on X. I doubt that's real, websites run in the sandboxed javascript vm and can only get what the browser (and often the user) explicitly allows. I know that regular X applications can have access to all pixels and keystrokes, but i doubt a regular normal website can do that. This looks more like vague FUD than anything. Link me a normal website that can grab a screenshot of my desktop without any consent from my or I'll be keeping calling this kind of comments utter BS.