After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 716418 - Shotwell "profiles" with separate pictures folder and prefs
Shotwell "profiles" with separate pictures folder and prefs
Status: RESOLVED FIXED
Product: shotwell
Classification: Other
Component: general
unspecified
Other All
: High enhancement
: ---
Assigned To: Shotwell Maintainers
Shotwell Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-17 04:50 UTC by Adam Dingle
Modified: 2019-06-16 11:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simple wrapper script work-in-progress (622 bytes, text/x-sh)
2016-12-15 11:13 UTC, Jens Georg
Details

Description Charles Lindsay 2013-11-25 21:45:17 UTC


---- Reported by adam@yorba.org 2010-06-17 09:50:00 -0700 ----

Original Redmine bug id: 2146
Original URL: http://redmine.yorba.org/issues/2146
Searchable id: yorba-bug-2146
Original author: Adam Dingle
Original description:

Martin Weißhaupt <mweisshaupt1988@googlemail.com> has suggested that we should
store the import directory separately for each Shotwell profile.  That seems
like a reasonable idea.

We could consider storing some other preferences separately for each profile
as well; worth  discussing at least.

Related issues:
duplicated by shotwell - 4157: Using -d uses another database directory,
but settings ar... (Duplicate)



---- Additional Comments From shotwell-maint@gnome.bugs 2012-01-04 17:35:00 -0800 ----

### History

####

#1

Updated by Adam Dingle over 3 years ago

  * **Priority** deleted (<strike>_High_</strike>)

####

#2

Updated by Adam Dingle over 3 years ago

  * **Priority** set to _High_

We discussed. This change wouldn't be completely trivial and so it won't quite
make 0.6. We should fix this for 0.7, though.

####

#3

Updated by Adam Dingle about 3 years ago

  * **Priority** deleted (<strike>_High_</strike>)
  * **Tracker** changed from _Bug_ to _Feature_

####

#4

Updated by Adam Dingle almost 3 years ago

It might even be nice to store a completely separate set of GConf keys for
each profile.

####

#5

Updated by Adam Dingle over 2 years ago

  * **Priority** set to _High_

See recent email discussion at

http://lists.yorba.org/pipermail/shotwell/2011-March/001888.html

####

#6

Updated by Adam Dingle over 2 years ago

  * **Target version** set to _0.10_

####

#7

Updated by Adam Dingle over 2 years ago

  * **Target version** deleted (<strike>_0.10_</strike>)

####

#8

Updated by Eric Gregory about 2 years ago

  * **Subject** changed from _store import directory separately for each Shotwell profile_ to _Shotwell "profiles" with separate pictures folder and prefs_
  * **Description** updated (diff)
  * **Keywords** set to _preference, profile, database_


####

#9

Updated by Andreas - about 2 years ago

Any chance that this issue will be solved soon?


####

#10

Updated by Jim Nelson about 2 years ago

  * **Target version** set to _0.12_

This has been on the wishlist for some time now.  Let's consider it for 0.12.


####

#11

Updated by Jim Nelson about 2 years ago

  * **Description** updated (diff)
  * **Target version** deleted (<strike>_0.12_</strike>)

####

#12

Updated by Adam Dingle almost 2 years ago

  * **Target version** set to _0.12_

####

#13

Updated by Adam Dingle almost 2 years ago

  * **Target version** deleted (<strike>_0.12_</strike>)



--- Bug imported by chaz@yorba.org 2013-11-25 21:45 UTC  ---

This bug was previously known as _bug_ 2146 at http://redmine.yorba.org/show_bug.cgi?id=2146

Unknown Component 
   Using default product and component set in Parameters 
Unknown version " in product shotwell. 
   Setting version to "!unspecified".
Unknown milestone "unknown in product shotwell. 
   Setting to default milestone for this product, "---".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
Resolution set on an open status.
   Dropping resolution 

Comment 1 Noah 2013-12-01 17:43:05 UTC
Just an update to the dconf hack required for shotwell 0.13.1 (latest available
on Fedora 18):

Note that shotwell pulls configuration info from a dconf profile.  As
originally mentioned, a temporary dconf profile can be created like this:

  $ cat /etc/dconf/profile/usertest 
  user-db:usertest

Then from the user account, run this to initialize the
$HOME/.config/dconf/usertest file:

  $ env DCONF_PROFILE=usertest dconf update

Then create a pair of temporary directories for shotwell's "data" (sqlite db
files) and "cache" (thumbnail and log file) directories:

  $ mkdir -p $HOME/.shotwell_test/xdg_data_home $HOME/.shotwell_test/xdg_cache_home

Then one can start up a shotwell session that won't see or write the user's
default shotwell files by providing three environment variable overrides:

  $ env DCONF_PROFILE=usertest XDG_DATA_HOME=$HOME/.shotwell_test/xdg_data_home XDG_CACHE_HOME=$HOME/.shotwell_test/xdg_cache_home shotwell

Note this method does not bother using the application-specific -d/--datadir
option, and instead just uses the dconf and xdg standard environment variable
overrides.  The existing -d option isn't particularly useful by itself since it
does not provide for a private set of preferences or a private set of
thumbnail files, but instead only provides a private sqlite file.
Comment 3 Jens Georg 2016-12-15 11:13:42 UTC
Created attachment 342008 [details]
Simple wrapper script work-in-progress
Comment 5 Jens Georg 2019-06-16 11:49:59 UTC
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.