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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/393727

Title:
  Pictures folder:  --location requires absolute path

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to