diff --git a/helpers/make-ubuntukylin-default-settings b/helpers/make-ubuntukylin-default-settings index d904f98cd2e46676f70fdffa0d530c97a5803595..cd6339b5a52695cc37ee933a9e5572654c2e048c 100644 --- a/helpers/make-ubuntukylin-default-settings +++ b/helpers/make-ubuntukylin-default-settings @@ -32,7 +32,10 @@ find -type f |xargs rename s/firefox/abrowser/g # browser config sed -i "s|browser.startup.homepage=.*\"|browser.startup.homepage=about:home\"|" debian/abrowser/trisquelkylin.cfg + +# note: the default wallpaper is actually at ubuntukylin-wallpapers: 30_ubuntukylin-wallpapers.gschema.override sed -i "s|picture-filename=.*|picture-filename='/usr/share/backgrounds/$CODENAME.jpg'|" debian/20_trisquelkylin-default-settings.gschema.override + #Restore default naming whike keeping the maintainer details. sed -i '/trisquel.info/!s|trisquel|ubuntu|g' debian/control sed -i '/github.com/s|Trisquel|Ubuntu|g' debian/control diff --git a/helpers/make-ubuntukylin-wallpapers b/helpers/make-ubuntukylin-wallpapers new file mode 100644 index 0000000000000000000000000000000000000000..c69674229c24503afc90bd571d3b15730d8ba755 --- /dev/null +++ b/helpers/make-ubuntukylin-wallpapers @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Copyright (C) 2022 Luis Guzmán <ark@switnet.org> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# + +VERSION=0 + +. ./config + +# Tune default background for kylin +sed -i "s|background=.*|background=\"/usr/share/backgrounds/$CODENAME.jpg\"|" 30_ubuntukylin-wallpapers.gschema.override +sed -i "s|picture-uri=.*|picture-uri=\'file:///usr/share/backgrounds/$CODENAME.jpg\'|" 30_ubuntukylin-wallpapers.gschema.override + +changelog "Rebranding for trisquel." + +compile