How to setup Shotwell for multi-user access?

Typical use case: A family notebook with multiple user accounts.

How do I setup Shotwell so all users have access to the same photo directory and each is able to import photos?


dalloliogm is partially right, but it's not like we never considered it.

First, if you have multiple users who want to use Shotwell on their own photo libraries, and they have their own accounts on the machine, then everybody can log in to their own account and have their own database and their own picture library. That's true for Shotwell out-of-the-box.

If you're expecting each user to have their own database and picture directory but not have their own account on the machine, there is a solution. Run Shotwell like this:

$ shotwell --datadir=<datadir>

Shotwell will use the supplied directory to hold the database and other assorted files for the library.

The larger problem is one where you want all the users to share the same photos, as in, the assorted Shotwell databases point to the same physical photos. We currently have no support for updating the database if the backing file is changed or moved. The next release (0.8) should have better support for this, as it will scan the library at startup and also optionally monitor the user's library for run-time changes.

Also, Shotwell is a non-destructive editor. If one user crops a photo, for example, the other users won't see that change because the backing file has not changed. Synchronizing databases is something we're thinking of, but it's not a simple problem.


I have just tried this method and it seems to work but I can't guarantee it's bug-free, so use it at your own risk.

1.Press Alt+F2 and type gksudo nautilus then press enter.

2.Enter your password, nautilus will start with administrator rights.

3.Browse to /home and right click -> Create folder, name it as "shotwell_common". Then right click on it, then click on properties-permissions. Give read+write access to "others". After that right click on the folder again then click on "Make Link". A link will be created there(in /home) named "link to shotwell_common".

4.Create another folder in /home named "shotwell_library" and change the permissions as above.

5.Start nautilus by clicking on Places->Home Folder from the menu on panel and press Ctrl-H. A folder named ".shotwell" will be visible. Delete it. Now copy the "link to shotwell_common" from /home to /home/user and rename it ".shotwell". Then launch shotwell and go to Edit->Preferences. Enter the path /home/shotwell_library as library location.

6.Import atleast one image file into shotwell. Shotwell's "photobrowser.db" file will be now created inside /home/shotwell_common.

7.Launch terminal and type sudo chmod -R o+rw /home/shotwell_common and press enter, as usual it will ask for password blah blah.

8.Repeat step-5 for every user of your computer.

9.You may now delete "link to shotwell_common" from /home now following step-1/2/3.

Don't forget to tell your family members two points:

a)When they import some images they should always choose the "copy to library" option.

b)They have no privacy while using shotwell now.