change default directory from screenshots to directory mac 1

change default directory from screenshots to directory mac

#change default directory from screenshots to directory ubuntu
export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/
gsettings set org.gnome.gnome-screenshot auto-save-directory '/home/michel/Téléchargements'

#Read the value of the variable:
gsettings get org.gnome.gnome-screenshot auto-save-directory

#Reset the variable to its default value:
gsettings reset org.gnome.gnome-screenshot auto-save-directory

Here is what the above code is Doing:
1. The first line is a workaround for a bug in Ubuntu.
2. The second line sets the variable to the desired value.
3. The third line reads the value of the variable.
4. The fourth line resets the variable to its default value.

Similar Posts