Open davidmhewitt opened 7 years ago
Unfortunately, the vapi file we're using for libgtop doesn't include the necessary get_open_files functions. Generating a new file with vapigen seems to include the function but generates a whole bunch of other issues.
I'm going to mark this as blocked for now as the thought of manually fixing/writing vapi files for a library that big makes me a bit sad.
Hi, @davidmhewitt Tested this on my machine ( not extensively ), it works fine.I think the elementary team should shipit now unless it is causing major issues for users/testers. Hopefully we can workout any issues. I'm excited to work on this.
Leaving this as more of a note to myself:
Currently using lsof to detect if the camera device in use. Can we use libgtop like the power indicator does to detect which processes are using the camera device. Would be much cleaner to use a library for this.