Use Network Drive with Gnome Photos

I was wanting to try using Gnome Photos instead of Shotwell and all of my photos are on a NAS shared with samba. The Gnome Photos app seems to only work with the Pictures directory. My question is, is there a way to change this directory to a network location?

I’ve tried editing the user-dirs.dirs file to look something like this made up example but it’s not working:

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_VIDEOS_DIR="$HOME/Videos"
XDG_PICTURES_DIR=“smb://192.168.1.123/NASfolder”

Any ideas?

Scott

Is the NAS share working? Do you see NAS drive on the using machine? I.e. do you have the share mounted somewhere?

man mount

Maybe you could use an automount unit for systemd and mount your NASfolder into a subdirectory of Pictures.

2 Likes

should be bind under $HOME/Pictures so it will be used instead of the local folder

This worked perfectly. I had to fumble my way through wikis and tutorials but I figured out how and it solved my problem. Thanks!!

1 Like