While using gphoto2 for my nikon d810 I want to capture images with --trigger-capture. I set the capturetarget by using gphoto2 --set-config capturetarget=1, when i check it it's fine and it's on memory card. However, at a random point in time it changes to internal ram. Since i have to trigger every 1.5 seconds i cannot check the setting all the time but would like to know how to hardcode this so it never resets.
important details: I can check the setting in my bash shell, where it's fine, and then check it through a python shell and there it's changed to internal ram.
if the setting changes that you see with --get-config capturetarget
the setting is stored in $HOME/.gphoto/settings
this file might not keep its value, or get overwritten or deleted. check if that happens?