This question already has an answer here:
In Ubuntu 17.10, I try to change the default screenshot directory used to save the image when I press PrtSc. Settings were applied in
dconf-editor. I see the changes made in the custom value box. But there is no effect. Nothing happens. The screenshot still saves to the Pictures folder. Used the following line in terminal without
sudo and there is no error but no change in save location.
gsettings set org.gnome.gnome-screenshot auto-save-directory "file:///home/$USER/Pictures/Captured/"
sudo results in this error:
(process:8589): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=ac62be018ab5403f95ededd7e8c7f101 --binary-syntax --close-stderr”: Child process exited with code 1
The directory exists and I also tried it with my actual username instead of
$USER. I have tried omitting
file:// and following these answers without luck. It has worked for me in the past.