tags 342388 +patch thanks
The attached patch allows for individual users to keep their preferred default template in ~/.inkscape/templates/default.svg with this patch applied, a user who wants to have a default template of, say, US letter, could simply do: mkdir -p ~/.inkscape/templates ln /usr/share/inkscape/templates/Letter.svg ~/.inkscape/templates/default.svg A better patch would allow additional templates in this per-user directory (~/.inkscape/templates) to show up in the File|New submenu as well, so you could add your own customized templates without superuser privileges. Even better would be a graphical way to create this link. Perhaps in the Inkscape Preferences Dialog, under the "Misc" tab, a choose-one drop-down list of available templates, titled "Default Template" Hope this is useful, --dkg --- inkscape-0.43/src/file.cpp 2005-10-08 03:17:34.000000000 -0400 +++ inkscape-0.43.dkg/src/file.cpp 2005-12-18 02:41:29.000000000 -0500 @@ -124,7 +124,10 @@ // the default layer, etc. If you wish to localize this file, please create a // localized share/templates/default.xx.svg file, where xx is your language code. char *default_template = g_build_filename(INKSCAPE_TEMPLATESDIR, _("default.svg"), NULL); - if (Inkscape::IO::file_test(default_template, G_FILE_TEST_IS_REGULAR)) { + char *user_default_template = g_build_filename(profile_path("templates"), _("default.svg"), NULL); + if (Inkscape::IO::file_test(user_default_template, G_FILE_TEST_IS_REGULAR)) { + return sp_file_new(user_default_template); + } else if (Inkscape::IO::file_test(default_template, G_FILE_TEST_IS_REGULAR)) { return sp_file_new(default_template); } else { return sp_file_new(NULL); -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]