4 ms·
I wonder how zoom determines if a screenshot is taken. On Linux/Wayland at least, there's no API for an app to determine that this is happening. So they'd have
by WhyNotHugo 7y ago
I wonder how zoom determines if a screenshot is taken.
On Linux/Wayland at least, there's no API for an app to determine that this is happening. So they'd have to show the watermark all the time.
- diebeforei485 7y agoLikely by detecting certain keystrokes (that's what Snapchat does on iOS for example). Idk if there are other ways on macOS or Windows.
- WhyNotHugo 7y agoDefinitely not on Linux. Global hotkeys are managed by the compositor and can't be spied on by applications. There's also no API no read keystrokes from external apps. This is actually a security feature. AFAIK, on iOS, the app is actually sent an event by the OS when a screenshot is captured.
- kbr2000 7y agoYou might be specifically talking about Wayland here then, but with X on the other hand, it's not difficult for example [0] [0] https://security.stackexchange.com/questions/170596/is-it-possible-to-do-exploit-free-linux-keylogging-with-non-root-client-only-x-w https://security.stackexchange.com/questions/170596/is-it-po...
- KMnO4 7y agoThere is an API on iOS: UIApplicationUserDidTakeScreenshotNotification https://developer.apple.com/documentation/uikit/uiapplicationuserdidtakescreenshotnotification?language=objc https://developer.apple.com/documentation/uikit/uiapplicatio...
- diebeforei485 7y agoI was not aware of this- thank you!
- toupeira 7y agoYes as I understand the watermark is on the Zoom video stream you're viewing, so it doesn't need to detect when you take a local screenshot.