Comment 3 for bug 1074928

Revision history for this message
moma (osmoma) wrote : Re: udio-recorder doesn't run under Quantal Ubuntu distribution

Hello Mark,

1a) Please check if you find the "org.gnome.audio-recorder.gschema.xml".
$ ls -l /usr/share/glib-2.0/schemas/*audio*

I think you already have put the file in /usr/share/glib-2.0/schemas/.

1b) Then re-compile all XML schemas (do as root or sudo). Have you done this? Run:

glib-compile-schemas /usr/share/glib-2.0/schemas/
-----

2) The original code of conf_get_base_settings() in src/dconf.c was this. Can you temporarily replace the function with this code. I modified this function to be able to detect if user has compiled and installed the GSettings-schema file correctly. This older version simply seq-faults if the "settings" object is NULL. Test the code from a terminal window.

GSettings *conf_get_base_settings() {
    // Return GSettings (base) object. This points to /apps/audio-recorder/.

    GSettings *settings = g_settings_new(APPLICATION_SETTINGS_SCHEMA);

    if (!G_IS_SETTINGS(settings)) {
         LOG_ERROR("Cannot find settings for %s\n", APPLICATION_SETTINGS_SCHEMA);
         return NULL;
    }
    return settings;
}
--------

3) Does Arch-Linux use DConf as its Gsettings backend? It propably does. I am not sure how to check this.
Does Arch run GNOME or KDE?

Kindly report your findings.