diff -Naur rox-filer-2011-10-22-has_configure01t008/ROX-Filer/src/main.c rox-filer-2011-10-22-has_configure/ROX-Filer/src/main.c --- rox-filer-2011-10-22-has_configure01t008/ROX-Filer/src/main.c 2017-08-05 17:25:27.876406320 +0800 +++ rox-filer-2011-10-22-has_configure/ROX-Filer/src/main.c 2017-08-05 17:30:10.619727565 +0800 @@ -90,6 +90,8 @@ int home_dir_len; const char *home_dir, *app_dir; +int quirky_home_dir_len; +const char *quirky_home_dir="/file"; GtkTooltips *tooltips = NULL; @@ -281,6 +283,7 @@ home_dir = g_get_home_dir(); home_dir_len = strlen(home_dir); + quirky_home_dir_len = strlen(quirky_home_dir); app_dir = g_strdup(getenv("APP_DIR")); /* Get internationalisation up and running. This requires the diff -Naur rox-filer-2011-10-22-has_configure01t008/ROX-Filer/src/toolbar.c rox-filer-2011-10-22-has_configure/ROX-Filer/src/toolbar.c --- rox-filer-2011-10-22-has_configure01t008/ROX-Filer/src/toolbar.c 2011-10-23 01:48:50.000000000 +0800 +++ rox-filer-2011-10-22-has_configure/ROX-Filer/src/toolbar.c 2017-08-05 17:33:01.773053594 +0800 @@ -19,6 +19,9 @@ /* toolbar.c - for the button bars that go along the tops of windows */ +extern int quirky_home_dir_len; +extern const char *quirky_home_dir; + #include "config.h" #include @@ -346,10 +349,10 @@ event = get_current_event(GDK_BUTTON_RELEASE); if (event->type == GDK_BUTTON_RELEASE && NEW_WIN_BUTTON(event)) { - filer_opendir(home_dir, filer_window, NULL); + filer_opendir(quirky_home_dir, filer_window, NULL); } else - filer_change_to(filer_window, home_dir, NULL); + filer_change_to(filer_window, quirky_home_dir, NULL); gdk_event_free(event); }