summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-02-25 13:55:36 +0100
committerJonas Smedegaard <dr@jones.dk>2014-02-25 13:55:36 +0100
commit8cb330e47ead3e9848d2ef73bbf1bbedfaac5343 (patch)
tree737fb4d0c43be9b9dc53d7fd97bcbc63ab6b04e9
parent77af62888f16d8b2204c506583a1bfbee69372e3 (diff)
Rewrite office profile: base + (most of) LibreOffice with all locales and OpenGL plugin, and Evince.
-rw-r--r--content/desktop/office/preseed.cfg39
1 files changed, 34 insertions, 5 deletions
diff --git a/content/desktop/office/preseed.cfg b/content/desktop/office/preseed.cfg
index fa166d8..4077df0 100644
--- a/content/desktop/office/preseed.cfg
+++ b/content/desktop/office/preseed.cfg
@@ -1,17 +1,32 @@
-# install Xfce desktop with LibreOffice and Evince PDF reader
+# install the lightweight Xfce desktop, and...
+# * include LibreOffice core with all locales except Galaxy theme
+# * include LibreOffice Calc and Writer except Java support or email composer
+# * include LibreOffice Impress with OpenGL plugin
+# * include Evince PDF reader and exclude ePDFView
+# * include crypto helper tools
# * include CPU firmware and automatic maintenance routines
# * fix include recommendations of other packages (uuid, bash)
# * apply security updates immediately after install
# * exclude support for print via Bluetooth
-# * exclude epdfview PDF reader
tasksel tasksel/desktop multiselect xfce
-tasksel tasksel/first multiselect desktop, laptop
-d-i pkgsel/include string xfce4 evince-gtk firmware-linux unattended-upgrades uuid-runtime bash-completion -bluez-cups -epdfview
+tasksel tasksel/first multiselect laptop
+#xfce4-session tango-icon-theme lightdm
+#libreoffice-gtk -libreoffice-style-galaxy
+#$(for lang in ar ast be bg br bs ca cs cy da da de dz el en-gb eo es et eu fa fi fr ga gl he hr hu id in is it ja ka km ko ku lt lv mk mn nb ne nl nn oc om pl pt pt-br ro ru rw si sk sl sr sv tg th tr ug uk uz vi za zh-cn zh-tw; do echo libreoffice-l10n-$lang; done)
+#libreoffice-l10n-ar libreoffice-l10n-ast libreoffice-l10n-be libreoffice-l10n-bg libreoffice-l10n-br libreoffice-l10n-bs libreoffice-l10n-ca libreoffice-l10n-cs libreoffice-l10n-cy libreoffice-l10n-da libreoffice-l10n-da libreoffice-l10n-de libreoffice-l10n-dz libreoffice-l10n-el libreoffice-l10n-en-gb libreoffice-l10n-eo libreoffice-l10n-es libreoffice-l10n-et libreoffice-l10n-eu libreoffice-l10n-fa libreoffice-l10n-fi libreoffice-l10n-fr libreoffice-l10n-ga libreoffice-l10n-gl libreoffice-l10n-he libreoffice-l10n-hr libreoffice-l10n-hu libreoffice-l10n-id libreoffice-l10n-in libreoffice-l10n-is libreoffice-l10n-it libreoffice-l10n-ja libreoffice-l10n-ka libreoffice-l10n-km libreoffice-l10n-ko libreoffice-l10n-ku libreoffice-l10n-lt libreoffice-l10n-lv libreoffice-l10n-mk libreoffice-l10n-mn libreoffice-l10n-nb libreoffice-l10n-ne libreoffice-l10n-nl libreoffice-l10n-nn libreoffice-l10n-oc libreoffice-l10n-om libreoffice-l10n-pl libreoffice-l10n-pt libreoffice-l10n-pt-br libreoffice-l10n-ro libreoffice-l10n-ru libreoffice-l10n-rw libreoffice-l10n-si libreoffice-l10n-sk libreoffice-l10n-sl libreoffice-l10n-sr libreoffice-l10n-sv libreoffice-l10n-tg libreoffice-l10n-th libreoffice-l10n-tr libreoffice-l10n-ug libreoffice-l10n-uk libreoffice-l10n-uz libreoffice-l10n-vi libreoffice-l10n-za libreoffice-l10n-zh-cn libreoffice-l10n-zh-tw
+#libreoffice-calc libreoffice-writer -libreoffice-java-common -libreoffice-emailmerge
+#libreoffice-impress libreoffice-ogltrans
+#evince-gtk -epdfview
+#parcimonie haveged
+#firmware-linux unattended-upgrades
+#uuid-runtime bash-completion
+#-bluez-cups
+d-i pkgsel/include string xfce4-session tango-icon-theme lightdm libreoffice-gtk -libreoffice-style-galaxy libreoffice-l10n-ar libreoffice-l10n-ast libreoffice-l10n-be libreoffice-l10n-bg libreoffice-l10n-br libreoffice-l10n-bs libreoffice-l10n-ca libreoffice-l10n-cs libreoffice-l10n-cy libreoffice-l10n-da libreoffice-l10n-da libreoffice-l10n-de libreoffice-l10n-dz libreoffice-l10n-el libreoffice-l10n-en-gb libreoffice-l10n-eo libreoffice-l10n-es libreoffice-l10n-et libreoffice-l10n-eu libreoffice-l10n-fa libreoffice-l10n-fi libreoffice-l10n-fr libreoffice-l10n-ga libreoffice-l10n-gl libreoffice-l10n-he libreoffice-l10n-hr libreoffice-l10n-hu libreoffice-l10n-id libreoffice-l10n-in libreoffice-l10n-is libreoffice-l10n-it libreoffice-l10n-ja libreoffice-l10n-ka libreoffice-l10n-km libreoffice-l10n-ko libreoffice-l10n-ku libreoffice-l10n-lt libreoffice-l10n-lv libreoffice-l10n-mk libreoffice-l10n-mn libreoffice-l10n-nb libreoffice-l10n-ne libreoffice-l10n-nl libreoffice-l10n-nn libreoffice-l10n-oc libreoffice-l10n-om libreoffice-l10n-pl libreoffice-l10n-pt libreoffice-l10n-pt-br libreoffice-l10n-ro libreoffice-l10n-ru libreoffice-l10n-rw libreoffice-l10n-si libreoffice-l10n-sk libreoffice-l10n-sl libreoffice-l10n-sr libreoffice-l10n-sv libreoffice-l10n-tg libreoffice-l10n-th libreoffice-l10n-tr libreoffice-l10n-ug libreoffice-l10n-uk libreoffice-l10n-uz libreoffice-l10n-vi libreoffice-l10n-za libreoffice-l10n-zh-cn libreoffice-l10n-zh-tw libreoffice-calc libreoffice-writer -libreoffice-java-common -libreoffice-emailmerge libreoffice-impress libreoffice-ogltrans parcimonie haveged firmware-linux unattended-upgrades uuid-runtime bash-completion -bluez-cups
d-i pkgsel/upgrade select safe-upgrade
# setup harddrive with full disk encryption
# * overwrite any existing data without warning
-d-i partman-auto/method string crypto
+partman-auto partman-auto/method string crypto
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
@@ -26,6 +41,7 @@ d-i partman/confirm_nooverwrite boolean true
# * attempt to auto-detect hardware
# * domain name irrelevant on desktop host without MTA
# * use CDN for package updates
+# * disable direct root login (use sudo instead)
# * report usage statistics back to Debian developers
d-i netcfg/choose_interface select auto
d-i netcfg/get_domain string unassigned-domain
@@ -36,4 +52,17 @@ d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i apt-setup/services-select multiselect security, updates
d-i apt-setup/security_host string security.debian.org
+d-i passwd/root-login boolean false
popularity-contest popularity-contest/participate boolean true
+
+# tidy loose ends...
+# * fix mark auto-installed packages as such
+# * silence confusing panel question at initial XFCE login
+# * replace appfinder with mail-reader in default XFCE panel
+# * disable storing Xfce session at logout by default
+#chroot /target apt-mark auto $(chroot /target apt-mark showmanual | grep '^lib') acpi acpi-support-base acpid adduser apt apt-utils aptitude-common base-files base-passwd bash bash-completion bsdmainutils bsdutils busybox coreutils cpio cron dash debconf debconf-i18n debian-archive-keyring debianutils diffutils dmidecode dpkg e2fslibs e2fsprogs findutils fonts-freefont-ttf gcc-4.7-base gnupg gpgv grep groff-base grub-common gzip hostname ifupdown initramfs-tools initscripts insserv install-info iproute isc-dhcp-client isc-dhcp-common keyboard-configuration kmod laptop-detect linux-image-amd64 locales login logrotate lsb-base mawk mount multiarch-support ncurses-base ncurses-bin net-tools netbase netcat-traditional passwd pciutils perl-base procps readline-common rsyslog sed sensible-utils sysv-rc sysvinit sysvinit-utils tar tasksel tasksel-data tzdata udev usbutils util-linux uuid-runtime vim-common xz-utils zlib1g
+#cd /target/etc/xdg/xfce4/xfconf/xfce-perchannel-xml
+#cp -a ../../panel/default.xml xfce4-panel.xml && touch xfce4-panel.xml.orig
+#cp -a xfce4-panel.xml xfce4-panel.xml.old && sed -i -r -e 's,xfce4-appfinder,exo-mail-reader,' xfce4-panel.xml
+#cp -a xfce4-session.xml xfce4-session.xml.orig && sed -i -r -e 's,(<property name="general"[^>]*>),\1\n <property name="SaveOnExit" type="bool" value="false"/>,' xfce4-session.xml
+d-i preseed/late_command string chroot /target apt-mark auto $(chroot /target apt-mark showmanual | grep '^lib') acpi acpi-support-base acpid adduser apt apt-utils aptitude-common base-files base-passwd bash bash-completion bsdmainutils bsdutils busybox coreutils cpio cron dash debconf debconf-i18n debian-archive-keyring debianutils diffutils dmidecode dpkg e2fslibs e2fsprogs findutils fonts-freefont-ttf gcc-4.7-base gnupg gpgv grep groff-base grub-common gzip hostname ifupdown initramfs-tools initscripts insserv install-info iproute isc-dhcp-client isc-dhcp-common keyboard-configuration kmod laptop-detect linux-image-amd64 locales login logrotate lsb-base mawk mount multiarch-support ncurses-base ncurses-bin net-tools netbase netcat-traditional passwd pciutils perl-base procps readline-common rsyslog sed sensible-utils sysv-rc sysvinit sysvinit-utils tar tasksel tasksel-data tzdata udev usbutils util-linux uuid-runtime vim-common xz-utils zlib1g && cd /target/etc/xdg/xfce4/xfconf/xfce-perchannel-xml && cp -a ../../panel/default.xml xfce4-panel.xml && touch xfce4-panel.xml.orig && cp -a xfce4-panel.xml xfce4-panel.xml.old && sed -i -r -e 's,xfce4-appfinder,exo-mail-reader,' xfce4-panel.xml && cp -a xfce4-session.xml xfce4-session.xml.orig && sed -i -r -e 's,(<property name="general"[^>]*>),\1\n <property name="SaveOnExit" type="bool" value="false"/>,' xfce4-session.xml