SafeEyes
SafeEyes copied to clipboard
Smart recognition of screencasting and video conferences?
Dear @slgobinath,
I am wondering if there is any way to detect running screencasting applications and video conferencing apps? The latter shall include things like meet.google.com running in the browser, for instance.
With this, is it somehow possible to automatically (smartly) pause SafeEyes as long as these apps are running?
That would be neat. :-)
Thanks!
It is a great idea!
I have a plan to support Google Calendar using gcalcli
to avoid breaks while you are in a meeting.
For screencasting and video conferences, we need to find a good way to detect them. If anyone has an idea, please share it.
Thanks
Hooray, glad your open for this idea, thanks @slgobinath! :-)
@slgobinath any news on recognising a Google Meet meeting either by checking the tab name or tab url?
Hey all,
This would be a great feature, and I'll plus-one it. Just want to remind everyone about bountysource.com, which is a great way to incentivize development of features like this :).
+1 for implementing this feature or finding a way to do this.
I have a concept in my head of how to do it using external script. If successful I will report back.
- Script running in background, every 10 seconds, checks for presence of a window based on a filter list or regex, using
wmctrl -l
. - If such a "video conference" window exists (e.g. with window title "Meet – xxx-xxxx-xxx — Mozilla Firefox"), then send pause command to safeeyes using
safeeyes -d
- If no such windows found then enable safeeyes with
safeeyes -e
.
The problem will be that it will keep re-enabling safeeyes if you manually disabled it for some other reason, but lets see how bad it is in practice
So its possible to implement my idea above just by running this bash command every 10 seconds or so (e.g. using crontab).
bash -c "if wmctrl -l | grep -q \"Meet - \"; then safeeyes -d; else safeeyes -e; fi"
Just replace "Meet - "
with whatever window name you want to detect.
Hey, this is awesome! Good work!