I'm using python on a Raspberry Pi to display an image slideshow with the program fim.
subprocess.call(["fim /home/pi/slates"], shell=True)
Once fim has opened the focus stays on fim, not python. There are keyboard commands in python that no longer respond.
How do I go back to python after fim has been opened? Is there a way to control fim through python if it's no longer in focus?