6 char buf[PATH_MAX], buf2[4096];
8 // run xdrb -load .Xdefaults & .Xresources
9 // NOTE: one day we should replace this with an e based config + service
10 if (e_config->deskenv.load_xrdb)
12 e_user_homedir_concat(buf, sizeof(buf), ".Xdefaults");
13 if (ecore_file_exists(buf))
15 snprintf(buf2, sizeof(buf2), "xrdb -load %s", buf);
16 ecore_exe_run(buf2, NULL);
18 e_user_homedir_concat(buf, sizeof(buf), ".Xresources");
19 if (ecore_file_exists(buf))
21 snprintf(buf2, sizeof(buf2), "xrdb -load %s", buf);
22 ecore_exe_run(buf2, NULL);
27 // NOTE: one day we should replace this with an e based config + service
28 if (e_config->deskenv.load_xmodmap)
30 e_user_homedir_concat(buf, sizeof(buf), ".Xmodmap");
31 if (ecore_file_exists(buf))
33 snprintf(buf2, sizeof(buf2), "xmodmap %s", buf);
34 ecore_exe_run(buf2, NULL);
38 // make gnome apps happy
39 // NOTE: one day we should replace this with an e based config + service
40 if (e_config->deskenv.load_gnome)
42 ecore_exe_run("gnome-settings-daemon", NULL);
45 // make kde apps happy
46 // NOTE: one day we should replace this with an e based config + service ??
47 if (e_config->deskenv.load_kde)
49 ecore_exe_run("kdeinit", NULL);
55 e_deskenv_shutdown(void)