Focus while owl process running

If I try to focus manually after the installation with:

Otherwise, start it using the Focus desktop icon, or from the command line:

~/owl/./owl.py --focus

I get an error that the camera is owned by another process.

I had to do the following first:

systemctl stop owl.service

I had thought I fixed this in the focus_owl_desktop.sh script, but looks like it still tries to stop the owl.py process with pkill instead of systemctl. You’re approach is correct, I just need to implement it in the focus gui and give that a refresh too.

Thanks for pointing it out!

For anyone else running in to the same problem, you just need to follow these steps:

  1. stop the existing owl process with: sudo systemctl stop owl.service
  2. then run the ~/owl/./owl.py --focus command to start the GUI
  3. Once you’re done focusing you need to restart the owl service, so run sudo systemctl start owl.service
  4. To check everything is operating correctly, run this after restarting the owl.service: sudo journalctl -u owl.servce -f and you should see the various logs print out to the command line