| 315 | |
| 316 | === Persistent GSettings === |
| 317 | |
| 318 | Sometimes you may get a warning from the GTK+ applications about !GSettings like this: |
| 319 | {{{ |
| 320 | GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. |
| 321 | }}} |
| 322 | |
| 323 | When working inside the `jhbuild` environment, you may need to run a session D-Bus daemon in it and make sure that the `dconf` module is built: |
| 324 | {{{ |
| 325 | #!sh |
| 326 | # Make sure dconf is built and enter the jhbuild environment |
| 327 | ./Tools/jhbuild/jhbuild-wrapper --gtk build dconf |
| 328 | ./Tools/jhbuild/jhbuild-wrapper --gtk shell |
| 329 | # Launch a D-Bus instance inside the environment |
| 330 | eval "$(dbus-launch --sh-syntax)" |
| 331 | # |
| 332 | # ...do some work testing/work now... |
| 333 | # |
| 334 | # Kill the D-Bus daemon inside jhbuild environment before exiting |
| 335 | kill $DBUS_SESSION_BUS_PID |
| 336 | exit |
| 337 | }}} |