Comment 9 for bug 393727

Revision history for this message
Ramón Rocha (ramon.rocha) wrote :

I don't know how to make a patch but if you change this "if" statement around line 100 in savers/slideshow.c from

if (location != NULL) {
    g_object_set (engine, "images-location", location, NULL);
}

to something like

if (location != NULL) {
    wordexp_t expanded_location;
    wordexp(location, &expanded_location, 0);
    location = expanded_location.we_wordv[0];
    g_object_set (engine, "images-location", location, NULL);
}

and #include <wordexp.h> it will expand ~/Pictures correctly