diff --git a/config/chromium/master_preferences.es b/config/chromium/master_preferences.es new file mode 100644 index 0000000..5ee382c --- /dev/null +++ b/config/chromium/master_preferences.es @@ -0,0 +1,26 @@ +{ + "distribution": { + "import_bookmarks": false, + "import_bookmarks_from_file": "/etc/chromium/initial_bookmarks.html", + "skip_first_run_ui": true, + "make_chrome_default": false, + "make_chrome_default_for_user": false, + "create_all_shortcuts": true, + "show_welcome_page": false + }, + "browser": { + "show_home_button": true, + "check_default_browser" : false + }, + "bookmark_bar": { + "show_on_all_tabs": false + }, + "extensions": { + "theme": { + "use_system": true + } + }, + "homepage": "http://start.kano.me", + "homepage_is_newtabpage": false, + "accept_languages": "es-419,es,en-US,en" +} diff --git a/debian/postinst b/debian/postinst index 0bd7765..afa5a36 100644 --- a/debian/postinst +++ b/debian/postinst @@ -11,6 +11,7 @@ lxde_openbox_rc=/etc/xdg/openbox/LXDE/rc.xml custom_openbox_rc=/usr/share/kano-desktop/openbox/rc.xml chromium_master_prefs=/usr/lib/chromium-browser/master_preferences +chromium_master_prefs_dir=/usr/lib/chromium-browser custom_chromium_master_prefs=/usr/share/kano-desktop/config/chromium/master_preferences chromium_bookmarks=/usr/lib/chromium-browser/initial_bookmarks.html @@ -79,8 +80,8 @@ case "$1" in cp $chromium_master_prefs $chromium_master_prefs-old fi - # Set our own preferences file - cat $custom_chromium_master_prefs > $chromium_master_prefs + # Set our own preferences file + cp $custom_chromium_master_prefs* $chromium_master_prefs_dir # Do a safeguard copy of the Chromium bookmarks if [ -f "$chromium_bookmarks" ]; then