Leo Famulari <l...@famulari.name> skribis: [...]
>> Seriously though, I think the trick is to have the XDG variables >> correctly set, which is done automatically on GuixSD: >> >> --8<---------------cut here---------------start------------->8--- >> $ env | grep XDG >> XDG_CONFIG_DIRS=/home/ludo/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg >> XDG_DATA_DIRS=/gnu/store/jhkid4l3w4wkq01gsqw3sfzzivy0y8vw-glib-2.46.1/share:/gnu/store/jzzsyrvyacsjkpj82bjq0qgy28j8yk35-gtk+-3.18.2/share:/gnu/store/sw8k4554wav93l5ffh0hk6mxq4krhfw2-emacs-24.5/share:/gnu/store/jhkid4l3w4wkq01gsqw3sfzzivy0y8vw-glib-2.46.1/share:/gnu/store/jzzsyrvyacsjkpj82bjq0qgy28j8yk35-gtk+-3.18.2/share:/gnu/store/sw8k4554wav93l5ffh0hk6mxq4krhfw2-emacs-24.5/share:/run/current-system/profile/share:/home/ludo/.guix-profile/share:/run/current-system/profile/share >> --8<---------------cut here---------------end--------------->8--- > > It worked! > > Should these be added as search-paths in the transmission package > definition? No, these are in ‘glib’, but see <http://bugs.gnu.org/22138>. > What is the desired effect of setting XDG_CONFIG_DIRS that way? Aren't > those directories still read-only? The purpose is to make “these things” work; it’s briefly mentioned in the manual (info "(guix) Build Systems"). > There is also the warning message: > GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will > not be saved or shared with other applications. > > ... but that is simply not true. The settings are saved as expected > under ~/.config/transmission I have: --8<---------------cut here---------------start------------->8--- $ /gnu/store/lxi4bp22sqmz0g8wf0i171pxgv871wcc-transmission-2.84-gui/bin/transmission-gtk ** (transmission-gtk:28007): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files (transmission-gtk:28007): GLib-GIO-WARNING **: Failed to execute child process "update-desktop-database" (No such file or directory) --8<---------------cut here---------------end--------------->8--- (I think in general you could check whether there are discrepancies between your system and GuixSD using ‘guix system vm’, with ‘transmission:gui’ installed globally.) Ludo’.