diff --git a/minios-modules/etc/bash_completion.d/minios-autoinstall b/minios-modules/etc/bash_completion.d/minios-autoinstall new file mode 100644 index 0000000..83cf917 --- /dev/null +++ b/minios-modules/etc/bash_completion.d/minios-autoinstall @@ -0,0 +1,2 @@ +#/usr/bin/env bash +complete -W "build_modules repack_system" minios-install diff --git a/minios-modules/etc/bash_completion.d/minios-install b/minios-modules/etc/bash_completion.d/minios-install new file mode 100644 index 0000000..83cf917 --- /dev/null +++ b/minios-modules/etc/bash_completion.d/minios-install @@ -0,0 +1,2 @@ +#/usr/bin/env bash +complete -W "build_modules repack_system" minios-install diff --git a/minios-modules/etc/minios/config b/minios-modules/etc/minios/config new file mode 100644 index 0000000..bfa19a8 --- /dev/null +++ b/minios-modules/etc/minios/config @@ -0,0 +1,79 @@ +#!/bin/bash +# This is a config file for MiniOS-Live build script and Linux Live Kit boot script. +# You shouldn't need to change anything expect LIVEKITNAME PACKAGE_VARIANT OUTPUT COMP_TYPE + +# Live Kit Name. Defaults to 'linux'; +# This will be the name of the directory created on your CD/USB, which +# will contain everything including boot files and such. +# For example, Slax changes it to 'slax' +# Must not contain any spaces. +# If you change it, you must run ./tools/isolinux.bin.update script +# in order to update isolinux.bin for CD booting. +# If you do not need booting from CD (eg you're booting only from USB) +# then you can ignore recompiling isolinux.bin, just rename LIVEKITNAME +# and you're done. +LIVEKITNAME="minios" + +SYSTEMNAME="MiniOS" + +DISTRIBUTION_TYPE="debian" + +DISTRIBUTION="bullseye" + +DISTRIBUTION_ARCH="amd64" + +PACKAGE_VARIANT="standard" + +LIVE_TYPE="livekit" + +# default is output to log. you can use OUTPUT="/dev/stdout" if you want to route events to standard output. +#OUTPUT="/dev/stdout" +OUTPUT="/dev/null" + +DEBIAN_FRONTEND_TYPE="noninteractive" + +APT_CMD="apt-get" + +APT_OPTIONS="-y" + +APT_OPTIONS2="--no-install-recommends" + +UNION_BUILD_TYPE="overlayfs" + +# +COMP_TYPE="xz" + +# Kernel file, will be copied to your Live Kit +# Your kernel must support aufs and squashfs. Debian Jessie's kernel is ready +# out of the box. +VMLINUZ="/vmlinuz" + +# Kernel version. Change it to "3.2.28" for example, if you are building +# Live Kit with a different kernel than the one you are actually running +if [ -f /usr/bin/dpkg-query ] 2>/dev/null; then + KERNEL=$(dpkg-query -W -f='${binary:Package}\n' linux-image-* | head -n 1 | sed 's/linux-image-//') +else + KERNEL=$(uname -r) +fi + +# List of directories for root filesystem +# No subdirectories are allowed, no slashes, +# so You can't use /var/tmp here for example +# Exclude directories like proc sys tmp +MKMOD="bin etc home lib lib64 opt root sbin srv usr var" + +# If you require network support in initrd, for example to boot over +# PXE or to load data using 'from' boot parameter from a http server, +# you will need network modules included in your initrd. +# This is disabled by default since most people won't need it. +# To enable, set to true +NETWORK=true + +# Temporary directory to store livekit filesystem +LIVEKITDATA=/tmp/$LIVEKITNAME-data-$$ + +# Bundle extension, for example 'sb' for .sb extension +BEXT=sb + +# Directory with kernel .ko modules, can be different in some distros +LMK="lib/modules/$KERNEL" diff --git a/minios-modules/usr/bin/minios-autoinstall b/minios-modules/usr/bin/minios-autoinstall new file mode 100755 index 0000000..e559582 --- /dev/null +++ b/minios-modules/usr/bin/minios-autoinstall @@ -0,0 +1,74 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" +PARENT_DIR="$(dirname "$SCRIPT_DIR")" +CURRENT_DIR="$(pwd)" +ISO_DIR=$CURRENT_DIR/iso +TMP_DIR="/tmp/" + +if [ -f $SCRIPT_DIR/minioslib ]; then + . $SCRIPT_DIR/minioslib || exit 1 +else + . /usr/lib/minioslib || exit 1 +fi +if [ -f $SCRIPT_DIR/config ]; then + . $SCRIPT_DIR/config || exit 1 +elif [ -f /etc/minios/config ]; then + . /etc/minios/config || exit 1 +else + . /run/initramfs/lib/config || exit 1 +fi +if [ -f $CURRENT_DIR/config ]; then + . $CURRENT_DIR/config +fi + +# don't change! use ./autoinstall instead +UNATTENDED="1" + +CMD=(build_modules repack_system) + +# ============= main ================ + +BUILD_DIR="" + +common_variables + +console_colours + +allow_root_only + +create_completion + +# check number of args +if [[ $# == 0 || $# > 3 ]]; then help; fi + +# loop through args +dash_flag=false +start_index=0 +end_index=${#CMD[*]} +for ii in "$@"; do + if [[ $ii == "-" ]]; then + dash_flag=true + continue + fi + find_index $ii + if [[ $dash_flag == false ]]; then + start_index=$index + else + end_index=$(($index + 1)) + fi +done +if [[ $dash_flag == false ]]; then + end_index=$(($start_index + 1)) +fi + +#loop through the commands +for ((ii = $start_index; ii < $end_index; ii++)); do + ${CMD[ii]} +done + +echo -e "${BOLD}${LIGHTYELLOW}$0${ENDCOLOUR} - ${LIGHTGREEN}Command completed successfully!${ENDCOLOUR}" diff --git a/minios-modules/usr/bin/minios-install b/minios-modules/usr/bin/minios-install new file mode 100755 index 0000000..88a4150 --- /dev/null +++ b/minios-modules/usr/bin/minios-install @@ -0,0 +1,74 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" +PARENT_DIR="$(dirname "$SCRIPT_DIR")" +CURRENT_DIR="$(pwd)" +ISO_DIR=$CURRENT_DIR/iso +TMP_DIR="/tmp/" + +if [ -f $SCRIPT_DIR/minioslib ]; then + . $SCRIPT_DIR/minioslib || exit 1 +else + . /usr/lib/minioslib || exit 1 +fi +if [ -f $SCRIPT_DIR/config ]; then + . $SCRIPT_DIR/config || exit 1 +elif [ -f /etc/minios/config ]; then + . /etc/minios/config || exit 1 +else + . /run/initramfs/lib/config || exit 1 +fi +if [ -f $CURRENT_DIR/config ]; then + . $CURRENT_DIR/config +fi + +# don't change! use ./autoinstall instead +UNATTENDED="0" + +CMD=(build_modules repack_system) + +# ============= main ================ + +BUILD_DIR="" + +common_variables + +console_colours + +allow_root_only + +create_completion + +# check number of args +if [[ $# == 0 || $# > 3 ]]; then help; fi + +# loop through args +dash_flag=false +start_index=0 +end_index=${#CMD[*]} +for ii in "$@"; do + if [[ $ii == "-" ]]; then + dash_flag=true + continue + fi + find_index $ii + if [[ $dash_flag == false ]]; then + start_index=$index + else + end_index=$(($index + 1)) + fi +done +if [[ $dash_flag == false ]]; then + end_index=$(($start_index + 1)) +fi + +#loop through the commands +for ((ii = $start_index; ii < $end_index; ii++)); do + ${CMD[ii]} +done + +echo -e "${BOLD}${LIGHTYELLOW}$0${ENDCOLOUR} - ${LIGHTGREEN}Command completed successfully!${ENDCOLOUR}" diff --git a/minios-modules/usr/bin/minios-modules-build b/minios-modules/usr/bin/minios-modules-build new file mode 100755 index 0000000..296bd09 --- /dev/null +++ b/minios-modules/usr/bin/minios-modules-build @@ -0,0 +1,2 @@ +#!/bin/bash +minios-autoinstall build_modules \ No newline at end of file diff --git a/minios-modules/usr/bin/minios-system-repack b/minios-modules/usr/bin/minios-system-repack new file mode 100755 index 0000000..7b7c226 --- /dev/null +++ b/minios-modules/usr/bin/minios-system-repack @@ -0,0 +1,2 @@ +#!/bin/bash +minios-autoinstall repack_system \ No newline at end of file diff --git a/minios-modules/usr/lib/minioslib b/minios-modules/usr/lib/minioslib new file mode 100644 index 0000000..0ee3e45 --- /dev/null +++ b/minios-modules/usr/lib/minioslib @@ -0,0 +1,851 @@ +#!/bin/bash + +# Functions library :: for install scripts +# Author: crims0n. +# + +# ================================================================= +# ================================================================= +# ========================= VARIABLES ============================= +# ================================================================= +# ================================================================= + +function common_variables() { + if [ $DISTRIBUTION_ARCH = "amd64" ]; then + KERNEL_ARCH="amd64" + PACKAGE_VARIANT="standard" + elif [ $DISTRIBUTION_ARCH = "i386" ]; then + KERNEL_ARCH="686-pae" + PACKAGE_VARIANT="minimal" + elif [ $DISTRIBUTION_ARCH = "arm64" ]; then + KERNEL_ARCH="arm64" + fi +} + +# ================================================================= +# ================================================================= +# ===================== COMMON FUNCTIONS ========================== +# ================================================================= +# ================================================================= + +function current_process() { + echo -e "${LIGHTYELLOW}=====> running ${CYAN}${CMD[ii]}${ENDCOLOUR}${LIGHTYELLOW} ...${ENDCOLOUR}" +} + +# ================================================================= +# beautiful console +# красивая консоль +# ================================================================= +function console_colours() { + RED="\e[31m" + GREEN="\e[32m" + YELLOW="\e[33m" + BLUE="\e[34m" + MAGENTA="\e[35m" + CYAN="\e[36m" + LIGHTGRAY="\e[37m" + DARKGRAY="\e[90m" + LIGHTRED="\e[91m" + LIGHTGREEN="\e[92m" + LIGHTYELLOW="\e[93m" + LIGHTBLUE="\e[94m" + LIGHTMAGENTA="\e[95m" + LIGHTCYAN="\e[96m" + BOLD="\e[1m" + DIM="\e[2m" + UNDERLINED="\e[4m" + BLINK="\e[5m" + REVERSE="\e[7m" + HIDDEN="\e[8m" + ENDCOLOUR="\e[0m" +} + +# ================================================================= +# help functions +# функции помощи +# ================================================================= +function help() { + # if $1 is set, use $1 as headline message in help() + if grep 'LANG="ru_RU.UTF-8"' /etc/default/locale >>$OUTPUT; then + if [ -z ${1+x} ]; then + echo -e "${LIGHTYELLOW}Этот скрипт собирает загружаемый ISO образ $SYSTEMNAME.${ENDCOLOUR}" + echo -e + else + echo -e $1 + echo + fi + echo -e "Поддерживаемые команды : ${CYAN}${CMD[*]}${ENDCOLOUR}" + echo -e + echo -e "Синтаксис: ${MAGENTA}$0${ENDCOLOUR} [start_cmd] [-] [end_cmd]" + if [ -L /usr/bin/$LIVEKITNAME-install ] && [ "$0" != "/usr/bin/$LIVEKITNAME-install" ]; then + echo -e "\t${CYAN}$LIVEKITNAME-install${ENDCOLOUR} [start_cmd] [-] [end_cmd]" + fi + echo -e "\tзапуск от start_cmd до end_cmd" + echo -e "\tесли start_cmd опущен, выполняются все команды, начиная с первой" + echo -e "\tесли end_cmd опущен, выполняются все команды до последней" + echo -e "\tвведите одну команду, чтобы запустить определенную команду" + echo -e "\tвведите '-' как единственный аргумент для запуска всех команд" + echo -e "\t" + echo -e "\tПримеры:${LIGHTYELLOW}$0 build_bootstrap - build_chroot${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 - build_chroot${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 build_bootstrap -${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 build_iso${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 -${ENDCOLOUR}" + exit 0 + else + if [ -z ${1+x} ]; then + echo -e "${LIGHTYELLOW}This script builds bootable $SYSTEMNAME ISO image.${ENDCOLOUR}" + echo -e + else + echo -e $1 + echo + fi + echo -e "Supported commands : ${CYAN}${CMD[*]}${ENDCOLOUR}" + echo -e + echo -e "Syntax: ${MAGENTA}$0${ENDCOLOUR} [start_cmd] [-] [end_cmd]" + if [ -L /usr/bin/$LIVEKITNAME-install ] && [ "$0" != "/usr/bin/$LIVEKITNAME-install" ]; then + echo -e "\t${CYAN}$LIVEKITNAME-install${ENDCOLOUR} [start_cmd] [-] [end_cmd]" + fi + echo -e "\trun from start_cmd to end_cmd" + echo -e "\tif start_cmd is omitted, start from first command" + echo -e "\tif end_cmd is omitted, end with last command" + echo -e "\tenter single cmd to run the specific command" + echo -e "\tenter '-' as only argument to run all commands" + echo -e "\t" + echo -e "\tExamples:${LIGHTYELLOW}$0 build_bootstrap - build_chroot${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 - build_chroot${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 build_bootstrap -${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 build_iso${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 -${ENDCOLOUR}" + exit 0 + fi +} + +# ================================================================= +# parsing input commands +# разбор входных команд +# ================================================================= +function find_index() { + local ret + local i + for ((i = 0; i < ${#CMD[*]}; i++)); do + if [ "${CMD[i]}" == "$1" ]; then + index=$i + return + fi + done + help "Command not found : $1" +} + +# ================================================================= +# creating a symbolic link to the executable file for using +# autocompletion on the command line +# создание символической ссылки на исполняемый файл для +# использования автодополнения в командной строке +# ================================================================= +function create_livekitname_install_symlink() { + if [ -L /usr/bin/$LIVEKITNAME-install ]; then + if [ "$(readlink /usr/bin/$LIVEKITNAME-install)" != "$SCRIPT_DIR/install" ]; then + rm -f /usr/bin/$LIVEKITNAME-install + ln -s $SCRIPT_DIR/install /usr/bin/$LIVEKITNAME-install + if grep 'LANG="ru_RU.UTF-8"' /etc/default/locale >>$OUTPUT; then + echo -e "Символическая ссылка ${MAGENTA}/usr/bin/$LIVEKITNAME-install${ENDCOLOUR} была обновлена." + echo -e "Теперь она указывает на ${MAGENTA}$SCRIPT_DIR/install${ENDCOLOUR}." + else + echo -e "The ${MAGENTA}/usr/bin/$LIVEKITNAME-install${ENDCOLOUR} symbolic link has been updated." + echo -e "It now points to ${MAGENTA}$SCRIPT_DIR/install${ENDCOLOUR}." + fi + fi + if [ "$0" != "/usr/bin/$LIVEKITNAME-install" ]; then + if grep 'LANG="ru_RU.UTF-8"' /etc/default/locale >>$OUTPUT; then + echo -e "Вы можете использовать команду ${CYAN}$LIVEKITNAME-install${ENDCOLOUR} для запуска этой программы." + else + echo -e "You can use the ${CYAN}$LIVEKITNAME-install${ENDCOLOUR} command to run this program." + fi + fi + else + ln -s $SCRIPT_DIR/install /usr/bin/$LIVEKITNAME-install + if grep 'LANG="ru_RU.UTF-8"' /etc/default/locale >>$OUTPUT; then + echo -e "Символическая ссылка ${MAGENTA}/usr/bin/$LIVEKITNAME-install${ENDCOLOUR} была добавлена" + echo -e "для ${MAGENTA}$SCRIPT_DIR/install${ENDCOLOUR}." + + else + echo -e "The ${MAGENTA}/usr/bin/$LIVEKITNAME-install${ENDCOLOUR} symbolic link has been added" + echo -e "for ${MAGENTA}$SCRIPT_DIR/install${ENDCOLOUR}." + fi + fi +} + +# ================================================================= +# creating autocompletion on the command line +# создание автодополнения в командной строке +# ================================================================= +function create_completion() { + if [ -d /etc/bash_completion.d ]; then + if [ ! -f /etc/bash_completion.d/$LIVEKITNAME-install ] || ! grep "${CMD[*]}" /etc/bash_completion.d/$LIVEKITNAME-install >>$OUTPUT; then + cat </etc/bash_completion.d/$LIVEKITNAME-install +#/usr/bin/env bash +complete -W "${CMD[*]}" $LIVEKITNAME-install +EOF + fi + if [ "$0" != "/usr/bin/$LIVEKITNAME-install" ]; then + if grep 'LANG="ru_RU.UTF-8"' /etc/default/locale >>$OUTPUT; then + echo -e "Дополнение команд работает только при использовании команды ${CYAN}$LIVEKITNAME-install${ENDCOLOUR}." + echo -e + else + echo -e "Command completion only works when using the ${CYAN}$LIVEKITNAME-install${ENDCOLOUR} command." + echo -e + fi + fi + fi +} + +# ================================================================= +# only allow 'root' to run the script +# разрешаем запуск скрипта только пользователю 'root' +# ================================================================= + +function allow_root_only() { + if [ $(id -u) -ne 0 ]; then + echo -e "${BOLD}${RED}This script should be run as 'root'!${ENDCOLOUR}" + exit 1 + fi + + export HOME=/root + export LC_ALL=C +} + +# ================================================================= +# check that we are inside chroot +# проверяем, что мы внутри chroot +# ================================================================= + +function check_is_in_chroot() { + if [ $(stat -c %i /)="2" ]; then + echo -e "${BOLD}${RED}This script should be run inside chroot only!${ENDCOLOUR}" + exit 1 + fi +} + +# ================================================================= +# ================================================================= +# ======================= MODULES FUNCTIONS ======================= +# ================================================================= +# ================================================================= + +# ================================================================= +# +# +# ================================================================= +function module_check_mounted() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + if grep -qs "$MODULE_MERGED_DIR" /proc/mounts || grep -qs "$MODULE_MERGED_DIR/dev" /proc/mounts || grep -qs "$MODULE_MERGED_DIR/run" /proc/mounts || grep -qs "$MODULE_MERGED_DIR/proc" /proc/mounts || grep -qs "$MODULE_MERGED_DIR/sys" /proc/mounts || grep -qs "$MODULE_MERGED_DIR/dev/pts" /proc/mounts || grep -qs "$MODULE_MERGED_DIR/tmp" /proc/mounts; then + echo -e "${BOLD}${LIGHTYELLOW}Chroot contains mounted filesystems.${ENDCOLOUR}" + if [ "$UNATTENDED" = "1" ]; then + module_chroot_umount_fs + else + read -r -p "$(echo -e ""Do you want to ${GREEN}unmount them${ENDCOLOUR}? [${BOLD}${GREEN}Y${ENDCOLOUR}/n])" response + response=${response,,} + if [[ "$response" =~ ^(no|n)$ ]]; then + exit 1 + else + module_chroot_umount_fs + fi + fi + fi +} + +# ================================================================= +# +# +# ================================================================= +function module_check_build_dir() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + if [ "$UNATTENDED" = "1" ]; then + #echo -e "${RED}!!!Unattended installation!!!${ENDCOLOUR}" + echo -e "The working directory is ${MAGENTA}$MODULE_UPPER_DIR${ENDCOLOUR}." + if [ "$(ls -A $MODULE_UPPER_DIR)" != "" ]; then + module_cleanup + module_check_mounted + fi + else + # ▼ должно быть только перенаправление ошибки! + if [ "$(ls -A $MODULE_UPPER_DIR)" != "" ]; then + echo -e "${MAGENTA}$MODULE_UPPER_DIR${ENDCOLOUR} is not empty." + module_cleanup + module_check_mounted + echo -e "The working directory is ${MAGENTA}$MODULE_MERGED_DIR${ENDCOLOUR}." + else + module_check_mounted + echo -e "The working directory is ${MAGENTA}$MODULE_MERGED_DIR${ENDCOLOUR}." + fi + fi +} + +# ================================================================= +# +# +# ================================================================= +function module_chroot_mount_fs() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + + local MODULES MODULE_LOWER_DIR + + module_check_mounted + + mkdir -p $MODULES_DIR + mount -t tmpfs none $MODULES_DIR + + MODULES_LIST="" + MODULES=(/run/initramfs/memory/bundles/*.$BEXT) + for ((i = ${#MODULES[@]} - 1; i >= 0; i--)); do + MODULE_LOWER_DIR=$(basename ${MODULES[$i]} .$BEXT) + mkdir -p $MODULES_DIR/lower/$MODULE_LOWER_DIR-lower + mount -o bind ${MODULES[$i]} $MODULES_DIR/lower/$MODULE_LOWER_DIR-lower + MODULES_LIST=$MODULES_LIST":""$MODULES_DIR/lower/$MODULE_LOWER_DIR-lower" + done + MODULES_LIST=${MODULES_LIST:1} + + mkdir -p $MODULE_UPPER_DIR $MODULE_WORK_DIR $MODULE_MERGED_DIR + + mount -t overlay overlay -o lowerdir=$MODULES_LIST,upperdir=$MODULE_UPPER_DIR,workdir=$MODULE_WORK_DIR $MODULE_MERGED_DIR + + if [ ! -d $MODULE_MERGED_DIR/dev ]; then + mkdir -p $MODULE_MERGED_DIR/dev + fi + if [ ! -d $MODULE_MERGED_DIR/run ]; then + mkdir -p $MODULE_MERGED_DIR/run + fi + if [ ! -d $MODULE_MERGED_DIR/proc ]; then + mkdir -p $MODULE_MERGED_DIR/proc + fi + if [ ! -d $MODULE_MERGED_DIR/sys ]; then + mkdir -p $MODULE_MERGED_DIR/sys + fi + if [ ! -d $MODULE_MERGED_DIR/tmp ]; then + mkdir -p $MODULE_MERGED_DIR/tmp + fi + + mount --bind /dev $MODULE_MERGED_DIR/dev + + echo "nameserver 8.8.8.8" >$MODULE_MERGED_DIR/etc/resolv.conf + + mount none -t proc $MODULE_MERGED_DIR/proc + mount none -t sysfs $MODULE_MERGED_DIR/sys + mount none -t devpts $MODULE_MERGED_DIR/dev/pts + mount none -t tmpfs $MODULE_MERGED_DIR/tmp +} + +# ================================================================= +# +# +# ================================================================= +function module_chroot_umount_fs() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + + local MODULES MODULE_LOWER_DIR + + set +e + if [ $OUTPUT = "/dev/stdout" ] && [ ! -f /dev/stdout ]; then + umount $MODULE_MERGED_DIR/proc + umount $MODULE_MERGED_DIR/sys + umount $MODULE_MERGED_DIR/dev/pts + umount $MODULE_MERGED_DIR/tmp + umount $MODULE_MERGED_DIR/dev + + rm -f $MODULE_UPPER_DIR/etc/resolv.conf + + umount $MODULE_MERGED_DIR + + umount $MODULES_DIR/lower/* + + umount $MODULES_DIR + else + umount $MODULE_MERGED_DIR/proc >>$OUTPUT 2>&1 + umount $MODULE_MERGED_DIR/sys >>$OUTPUT 2>&1 + umount $MODULE_MERGED_DIR/dev/pts >>$OUTPUT 2>&1 + umount $MODULE_MERGED_DIR/tmp >>$OUTPUT 2>&1 + umount $MODULE_MERGED_DIR/dev >>$OUTPUT 2>&1 + + rm -f $MODULE_UPPER_DIR/etc/resolv.conf >>$OUTPUT 2>&1 + + umount $MODULE_MERGED_DIR >>$OUTPUT 2>&1 + + umount $MODULES_DIR/lower/* >>$OUTPUT 2>&1 + + umount $MODULES_DIR >>$OUTPUT 2>&1 + fi + + set -e + + module_check_mounted +} + +# ================================================================= +# +# +# ================================================================= +function module_cleanup() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + if [ "$UNATTENDED" = "1" ]; then + module_check_mounted + rm -rf $MODULE_UPPER_DIR + if [ -d "$MODULE_UPPER_DIR" ]; then + module_cleanup + fi + else + read -r -p "$(echo -e ""Do you want to ${BOLD}${RED}completely remove content${ENDCOLOUR} of ${MAGENTA}$MODULE_UPPER_DIR${ENDCOLOUR}? [y/${BOLD}${GREEN}N${ENDCOLOUR}])" response + response=${response,,} + if [[ "$response" =~ ^(yes|y)$ ]]; then + module_check_mounted + rm -rf $MODULE_UPPER_DIR + if [ -d "$MODULE_UPPER_DIR" ]; then + module_cleanup + fi + else + echo -e "${MAGENTA}$MODULE_UPPER_DIR${ENDCOLOUR} should be empty to continue." + exit 1 + fi + fi +} + +# ================================================================= +# +# +# ================================================================= +function module_chroot_finish_up() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + + chroot $MODULE_MERGED_DIR /bin/bash -x <>$OUTPUT 2>&1 + dpkg-divert --rename --remove /sbin/initctl >>$OUTPUT 2>&1 +EOF + fi + + if [ -d $MODULE_UPPER_DIR/home/live ]; then + chown 1000:1000 $MODULE_UPPER_DIR/home/live + chown -R 1000:1000 $MODULE_UPPER_DIR/home/live + fi +} + +# ================================================================= +# +# +# ================================================================= +function module_build_cleanup() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + + set +e + + if [ $OUTPUT = "/dev/stdout" ] && [ ! -f /dev/stdout ]; then + rm -f $MODULE_UPPER_DIR/preinstall + rm -f $MODULE_UPPER_DIR/install + rm -f $MODULE_UPPER_DIR/install2 + rm -f $MODULE_UPPER_DIR/cleanup + rm -f $MODULE_UPPER_DIR/$PACKAGE_VARIANT.list + rm -f $MODULE_UPPER_DIR/postinstall + rm -rf $MODULE_UPPER_DIR/rootcopy + rm -rf $MODULE_UPPER_DIR/patches + + rm -f $MODULE_UPPER_DIR/etc/fstab + rm -f $MODULE_UPPER_DIR/etc/mtab + rm -f $MODULE_UPPER_DIR/etc/apt/sources.list~ + rm -Rf $MODULE_UPPER_DIR/etc/systemd/system/timers.target.wants + rm -f $MODULE_UPPER_DIR/etc/systemd/system/multi-user.target.wants/ssh.service + rm -f $MODULE_UPPER_DIR/etc/systemd/system/multi-user.target.wants/dnsmasq.service + rm -f $MODULE_UPPER_DIR/etc/resolv.conf + + rm -f $MODULE_UPPER_DIR/etc/ssh/ssh_host* + + rm -f $MODULE_UPPER_DIR/var/backups/* + rm -f $MODULE_UPPER_DIR/var/cache/ldconfig/* + rm -f $MODULE_UPPER_DIR/var/cache/debconf/* + rm -f $MODULE_UPPER_DIR/var/cache/fontconfig/* + rm -f $MODULE_UPPER_DIR/var/lib/apt/extended_states + rm -f $MODULE_UPPER_DIR/var/lib/systemd/random-seed + rm -f $MODULE_UPPER_DIR/var/lib/apt/lists/deb.* + rm -Rf $MODULE_UPPER_DIR/root/.local/share/mc + rm -Rf $MODULE_UPPER_DIR/root/.cache + rm -f $MODULE_UPPER_DIR/root/.wget-hsts + + rm -f $MODULE_UPPER_DIR/var/lib/dpkg/*-old + rm -f $MODULE_UPPER_DIR/var/log/* + rm -f $MODULE_UPPER_DIR/var/log/*/* + rm -f $MODULE_UPPER_DIR/var/log/*/*/* + rm -f $MODULE_UPPER_DIR/var/cache/apt/archives/*.deb + rm -f $MODULE_UPPER_DIR/var/cache/apt/*.bin + rm -f $MODULE_UPPER_DIR/var/cache/debconf/*-old + rm -f $MODULE_UPPER_DIR/var/lib/dhcp/dhclient.leases + rm -f $MODULE_UPPER_DIR/root/.bash_history + rm -f $MODULE_UPPER_DIR/root/.wget-hsts + rm -Rf $MODULE_UPPER_DIR/usr/share/doc/* + rm -Rf $MODULE_UPPER_DIR/usr/share/info/* + rm -f $MODULE_UPPER_DIR/usr/share/images/fluxbox/debian-squared.jpg + rm -Rf $MODULE_UPPER_DIR/usr/share/fluxbox/nls/??* + rm -Rf $MODULE_UPPER_DIR/usr/share/gnome/help + + rm -Rf $MODULE_UPPER_DIR/usr/share/locale/?? + rm -Rf $MODULE_UPPER_DIR/usr/share/locale/??_* + rm -Rf $MODULE_UPPER_DIR/usr/share/locale/??@* + rm -Rf $MODULE_UPPER_DIR/usr/share/locale/??? + rm -Rf $MODULE_UPPER_DIR/usr/share/i18n/locales/*_* + rm -Rf $MODULE_UPPER_DIR/usr/share/man/?? + rm -Rf $MODULE_UPPER_DIR/usr/share/man/*_* + + rm -Rf $MODULE_UPPER_DIR/usr/share/icons/elementaryXubuntu-dark + rm -Rf $MODULE_UPPER_DIR/usr/share/icons/gnome/256x256 + + rm $MODULE_UPPER_DIR/usr/share/applications/compton.desktop + rm $MODULE_UPPER_DIR/usr/share/applications/debian-uxterm.desktop + #rm $MODULE_UPPER_DIR/usr/share/applications/debian-xterm.desktop + #rm $MODULE_UPPER_DIR/usr/share/applications/htop.desktop + #rm $MODULE_UPPER_DIR/usr/share/applications/mc.desktop + rm $MODULE_UPPER_DIR/usr/share/applications/mcedit.desktop + rm $MODULE_UPPER_DIR/usr/share/applications/pcmanfm-desktop-pref.desktop + rm $MODULE_UPPER_DIR/usr/share/applications/python2.7.desktop + rm $MODULE_UPPER_DIR/usr/share/applications/python3.7.desktop + rm $MODULE_UPPER_DIR/usr/share/applications/vim.desktop + + # Unzip gzipped files (man pages), so LZMA can compress 2times better. + # First we fix symlinks, then uncompress files + # $1 = search directory + uncompress_files() { + local LINK LINE + + find "$1" -type l -name "*.gz" | while read LINE; do + LINK="$(readlink "$LINE" | sed -r 's/.gz$//')" + FILE="$(echo "$LINE" | sed -r 's/.gz$//')" + ln -sfn "$LINK" "$FILE" + rm -f "$LINE" + done + find "$1" -type f -name "*.gz" | xargs -r gunzip + } + + uncompress_files $MODULE_UPPER_DIR/etc/alternatives + uncompress_files $MODULE_UPPER_DIR/usr/share/man + + # remove broken links + # $1 = search directory + remove_broken_links() { + find "$1" -type l -exec test ! -e {} \; -print | xargs rm -vf + } + + remove_broken_links $MODULE_UPPER_DIR/etc/alternatives + remove_broken_links $MODULE_UPPER_DIR/usr/share/man + else + rm -f $MODULE_UPPER_DIR/preinstall >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/install >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/install2 >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/cleanup >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/$PACKAGE_VARIANT.list >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/postinstall >>$OUTPUT 2>&1 + rm -rf $MODULE_UPPER_DIR/rootcopy >>$OUTPUT 2>&1 + rm -rf $MODULE_UPPER_DIR/patches >>$OUTPUT 2>&1 + + rm -f $MODULE_UPPER_DIR/etc/fstab >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/etc/mtab >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/etc/apt/sources.list~ >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/etc/systemd/system/timers.target.wants >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/etc/systemd/system/multi-user.target.wants/ssh.service >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/etc/systemd/system/multi-user.target.wants/dnsmasq.service >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/etc/resolv.conf >>$OUTPUT 2>&1 + + rm -f $MODULE_UPPER_DIR/etc/ssh/ssh_host* >>$OUTPUT 2>&1 + + rm -f $MODULE_UPPER_DIR/var/backups/* >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/cache/ldconfig/* >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/cache/debconf/* >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/cache/fontconfig/* >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/lib/apt/extended_states >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/lib/systemd/random-seed >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/lib/apt/lists/deb.* >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/root/.local/share/mc >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/root/.cache >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/root/.wget-hsts >>$OUTPUT 2>&1 + + rm -f $MODULE_UPPER_DIR/var/lib/dpkg/*-old >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/log/* >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/log/*/* >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/log/*/*/* >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/cache/apt/archives/*.deb >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/cache/apt/*.bin >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/cache/debconf/*-old >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/var/lib/dhcp/dhclient.leases >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/root/.bash_history >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/root/.wget-hsts >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/usr/share/doc/* >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/usr/share/info/* >>$OUTPUT 2>&1 + rm -f $MODULE_UPPER_DIR/usr/share/images/fluxbox/debian-squared.jpg >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/usr/share/fluxbox/nls/??* >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/usr/share/gnome/help >>$OUTPUT 2>&1 + + rm -Rf $MODULE_UPPER_DIR/usr/share/locale/?? >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/usr/share/locale/??_* >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/usr/share/locale/??@* >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/usr/share/locale/??? >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/usr/share/i18n/locales/*_* >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/usr/share/man/?? >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/usr/share/man/*_* >>$OUTPUT 2>&1 + + rm -Rf $MODULE_UPPER_DIR/usr/share/icons/elementaryXubuntu-dark >>$OUTPUT 2>&1 + rm -Rf $MODULE_UPPER_DIR/usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 + + rm $MODULE_UPPER_DIR/usr/share/applications/compton.desktop >>$OUTPUT 2>&1 + rm $MODULE_UPPER_DIR/usr/share/applications/debian-uxterm.desktop >>$OUTPUT 2>&1 + #rm $MODULE_UPPER_DIR/usr/share/applications/debian-xterm.desktop >>$OUTPUT 2>&1 + #rm $MODULE_UPPER_DIR/usr/share/applications/htop.desktop >>$OUTPUT 2>&1 + #rm $MODULE_UPPER_DIR/usr/share/applications/mc.desktop >>$OUTPUT 2>&1 + rm $MODULE_UPPER_DIR/usr/share/applications/mcedit.desktop >>$OUTPUT 2>&1 + rm $MODULE_UPPER_DIR/usr/share/applications/pcmanfm-desktop-pref.desktop >>$OUTPUT 2>&1 + rm $MODULE_UPPER_DIR/usr/share/applications/python2.7.desktop >>$OUTPUT 2>&1 + rm $MODULE_UPPER_DIR/usr/share/applications/python3.7.desktop >>$OUTPUT 2>&1 + rm $MODULE_UPPER_DIR/usr/share/applications/vim.desktop >>$OUTPUT 2>&1 + + # Unzip gzipped files (man pages), so LZMA can compress 2times better. + # First we fix symlinks, then uncompress files + # $1 = search directory + uncompress_files() { + local LINK LINE + + find "$1" -type l -name "*.gz" | while read LINE; do + LINK="$(readlink "$LINE" | sed -r 's/.gz$//')" + FILE="$(echo "$LINE" | sed -r 's/.gz$//')" + ln -sfn "$LINK" "$FILE" + rm -f "$LINE" + done + find "$1" -type f -name "*.gz" | xargs -r gunzip >>$OUTPUT 2>&1 + } + + uncompress_files $MODULE_UPPER_DIR/etc/alternatives >>$OUTPUT 2>&1 + uncompress_files $MODULE_UPPER_DIR/usr/share/man >>$OUTPUT 2>&1 + + # remove broken links + # $1 = search directory + remove_broken_links() { + find "$1" -type l -exec test ! -e {} \; -print | xargs rm -vf >>$OUTPUT 2>&1 + } + + remove_broken_links $MODULE_UPPER_DIR/etc/alternatives >>$OUTPUT 2>&1 + remove_broken_links $MODULE_UPPER_DIR/usr/share/man >>$OUTPUT 2>&1 + fi + + set -e + +} + +# ================================================================= +# +# +# ================================================================= +function build_modules() { + current_process + + MODULES_DIR=$CURRENT_DIR/build + + cd $CURRENT_DIR/modules + + for MODULE in *; do + MODULE_UPPER_DIR="$MODULES_DIR/$MODULE-upper" + MODULE_WORK_DIR="$MODULES_DIR/$MODULE-work" + MODULE_MERGED_DIR="$MODULES_DIR/$MODULE-merged" + + module_check_build_dir + + module_chroot_mount_fs + + # run pre-install script + if [ -f $CURRENT_DIR/modules/$MODULE/preinstall ]; then + cp $CURRENT_DIR/modules/$MODULE/preinstall $MODULE_MERGED_DIR/preinstall + chmod +x $MODULE_MERGED_DIR/preinstall + chroot $MODULE_MERGED_DIR /usr/bin/env \ + OUTPUT=$OUTPUT \ + BUILD_TEST_ISO=$BUILD_TEST_ISO \ + DEBIAN_FRONTEND_TYPE=$DEBIAN_FRONTEND_TYPE \ + APT_CMD=$APT_CMD \ + APT_OPTIONS=$APT_OPTIONS \ + APT_OPTIONS2=$APT_OPTIONS2 \ + LIVE_TYPE=$LIVE_TYPE \ + DISTRIBUTION=$DISTRIBUTION \ + PACKAGE_VARIANT=$PACKAGE_VARIANT \ + /preinstall >>$OUTPUT 2>&1 + fi + + # copy files + if [ $OUTPUT = "/dev/stdout" ] && [ ! -f /dev/stdout ]; then + if [ "$(ls -A $CURRENT_DIR/modules/$MODULE/rootcopy)" != "" ]; then + (cd $CURRENT_DIR/modules/$MODULE/rootcopy && cp --parents -afr * $MODULE_MERGED_DIR/) + fi + else + if [ "$(ls -A $CURRENT_DIR/modules/$MODULE/rootcopy)" != "" ] >>$OUTPUT 2>&1; then + (cd $CURRENT_DIR/modules/$MODULE/rootcopy && cp --parents -afr * $MODULE_MERGED_DIR/) + fi + fi + + # run install script + if [ -f $CURRENT_DIR/modules/$MODULE/install ]; then + cp $CURRENT_DIR/modules/$MODULE/install $MODULE_MERGED_DIR/install + chmod +x $MODULE_MERGED_DIR/install + if [ -f $CURRENT_DIR/modules/$MODULE/cleanup ]; then + cp $CURRENT_DIR/modules/$MODULE/cleanup $MODULE_MERGED_DIR/cleanup + fi + if [ -f $CURRENT_DIR/modules/$MODULE/$PACKAGE_VARIANT.list ]; then + cp $CURRENT_DIR/modules/$MODULE/$PACKAGE_VARIANT.list $MODULE_MERGED_DIR/$PACKAGE_VARIANT.list + fi + if [ $OUTPUT = "/dev/stdout" ] && [ ! -f /dev/stdout ]; then + chroot $MODULE_MERGED_DIR /usr/bin/env \ + OUTPUT=$OUTPUT \ + DEBIAN_FRONTEND_TYPE=$DEBIAN_FRONTEND_TYPE \ + APT_CMD=$APT_CMD \ + APT_OPTIONS=$APT_OPTIONS \ + APT_OPTIONS2=$APT_OPTIONS2 \ + LIVE_TYPE=$LIVE_TYPE \ + DISTRIBUTION=$DISTRIBUTION \ + PACKAGE_VARIANT=$PACKAGE_VARIANT \ + /install + else + chroot $MODULE_MERGED_DIR /usr/bin/env \ + OUTPUT=$OUTPUT \ + DEBIAN_FRONTEND_TYPE=$DEBIAN_FRONTEND_TYPE \ + APT_CMD=$APT_CMD \ + APT_OPTIONS=$APT_OPTIONS \ + APT_OPTIONS2=$APT_OPTIONS2 \ + LIVE_TYPE=$LIVE_TYPE \ + DISTRIBUTION=$DISTRIBUTION \ + PACKAGE_VARIANT=$PACKAGE_VARIANT \ + /install >>$OUTPUT 2>&1 + fi + fi + + # run install2 script + if [ -f $CURRENT_DIR/modules/$MODULE/install2 ]; then + cp $CURRENT_DIR/modules/$MODULE/install2 $MODULE_MERGED_DIR/install2 + chmod +x $MODULE_MERGED_DIR/install2 + if [ "$(ls -A $CURRENT_DIR/modules/$MODULE/patches)" != "" ] >>$OUTPUT 2>&1; then + mkdir $MODULE_MERGED_DIR/patches + (cd $CURRENT_DIR/modules/$MODULE/patches && cp --parents -afr * $MODULE_MERGED_DIR/patches/) + fi + if [ $OUTPUT = "/dev/stdout" ] && [ ! -f /dev/stdout ]; then + chroot $MODULE_MERGED_DIR /usr/bin/env \ + OUTPUT=$OUTPUT \ + DEBIAN_FRONTEND_TYPE=$DEBIAN_FRONTEND_TYPE \ + APT_CMD=$APT_CMD \ + APT_OPTIONS=$APT_OPTIONS \ + APT_OPTIONS2=$APT_OPTIONS2 \ + LIVE_TYPE=$LIVE_TYPE \ + DISTRIBUTION=$DISTRIBUTION \ + PACKAGE_VARIANT=$PACKAGE_VARIANT \ + /install2 + else + chroot $MODULE_MERGED_DIR /usr/bin/env \ + OUTPUT=$OUTPUT \ + DEBIAN_FRONTEND_TYPE=$DEBIAN_FRONTEND_TYPE \ + APT_CMD=$APT_CMD \ + APT_OPTIONS=$APT_OPTIONS \ + APT_OPTIONS2=$APT_OPTIONS2 \ + LIVE_TYPE=$LIVE_TYPE \ + DISTRIBUTION=$DISTRIBUTION \ + PACKAGE_VARIANT=$PACKAGE_VARIANT \ + /install2 >>$OUTPUT 2>&1 + fi + fi + + # copy files + if [ $OUTPUT = "/dev/stdout" ] && [ ! -f /dev/stdout ]; then + if [ "$(ls -A $CURRENT_DIR/modules/$MODULE/rootcopy-postinstall)" != "" ]; then + (cd $CURRENT_DIR/modules/$MODULE/rootcopy-postinstall && cp --parents -afr * $MODULE_MERGED_DIR/) + fi + else + if [ "$(ls -A $CURRENT_DIR/modules/$MODULE/rootcopy-postinstall)" != "" ] >>$OUTPUT 2>&1; then + (cd $CURRENT_DIR/modules/$MODULE/rootcopy-postinstall && cp --parents -afr * $MODULE_MERGED_DIR/) + fi + fi + + # run post-install script + if [ -f $CURRENT_DIR/modules/$MODULE/postinstall ]; then + cp $CURRENT_DIR/modules/$MODULE/postinstall $MODULE_MERGED_DIR/postinstall + chmod +x $MODULE_MERGED_DIR/postinstall + if [ $OUTPUT = "/dev/stdout" ] && [ ! -f /dev/stdout ]; then + chroot $MODULE_MERGED_DIR /usr/bin/env \ + OUTPUT=$OUTPUT \ + DEBIAN_FRONTEND_TYPE=$DEBIAN_FRONTEND_TYPE \ + APT_CMD=$APT_CMD \ + APT_OPTIONS=$APT_OPTIONS \ + APT_OPTIONS2=$APT_OPTIONS2 \ + LIVE_TYPE=$LIVE_TYPE \ + DISTRIBUTION=$DISTRIBUTION \ + PACKAGE_VARIANT=$PACKAGE_VARIANT \ + /postinstall + else + chroot $MODULE_MERGED_DIR /usr/bin/env \ + OUTPUT=$OUTPUT \ + DEBIAN_FRONTEND_TYPE=$DEBIAN_FRONTEND_TYPE \ + APT_CMD=$APT_CMD \ + APT_OPTIONS=$APT_OPTIONS \ + APT_OPTIONS2=$APT_OPTIONS2 \ + LIVE_TYPE=$LIVE_TYPE \ + DISTRIBUTION=$DISTRIBUTION \ + PACKAGE_VARIANT=$PACKAGE_VARIANT \ + /postinstall >>$OUTPUT 2>&1 + fi + fi + + module_chroot_finish_up + + module_build_cleanup + + if [ "$(ls -A $MODULE_UPPER_DIR)" != "" ]; then + mksquashfs $MODULE_UPPER_DIR $CURRENT_DIR/$MODULE-$COMP_TYPE.$BEXT -comp $COMP_TYPE -b 1024K -always-use-fragments -noappend || exit + else + echo -e "${MAGENTA}$MODULE_UPPER_DIR${ENDCOLOUR} ${RED}is empty${ENDCOLOUR}. Nothing to do." + fi + + module_chroot_umount_fs + + done + +} + +function repack_module() { + cd $CURRENT_DIR + OLD_MODULE=$MODULE + MODULE=${MODULE%"-$OLD_COMP_TYPE.$BEXT"} + if [ $COMP_TYPE = $OLD_COMP_TYPE ]; then + echo "The module is already in the required compression format." && exit + fi + + if (ls $CURRENT_DIR/*.$BEXT | grep -q $MODULE 2>/dev/null); then + echo -e "${RED}!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!${ENDCOLOUR}" + echo -e "Please remove $CURRENT_DIR/$MODULE-$COMP_TYPE.$BEXT${ENDCOLOUR} if you want to build ${MAGENTA}$MODULE${ENDCOLOUR}." + echo -e "${RED}!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!${ENDCOLOUR}" + else + mksquashfs /run/initramfs/memory/bundles/$OLD_MODULE $CURRENT_DIR/$MODULE-$COMP_TYPE.$BEXT -comp $COMP_TYPE -b 1024K -always-use-fragments -noappend || exit + fi +} + +function repack_system() { + current_process + + cd /run/initramfs/memory/bundles/ + for MODULE in *; do + if (ls /run/initramfs/memory/bundles/*-xz.$BEXT | grep -q $MODULE >>/dev/null 2>&1); then + OLD_COMP_TYPE="xz" + repack_module + elif (ls /run/initramfs/memory/bundles/*-lz4.$BEXT | grep -q $MODULE >>/dev/null 2>&1); then + OLD_COMP_TYPE="lz4" + repack_module + elif (ls /run/initramfs/memory/bundles/*-zstd.$BEXT | grep -q $MODULE >>/dev/null 2>&1); then + OLD_COMP_TYPE="zstd" + repack_module + fi + done +} diff --git a/minios-modules/usr/share/minios/modules/!!!-example/install b/minios-modules/usr/share/minios/modules/!!!-example/install new file mode 100644 index 0000000..5575421 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/!!!-example/install @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi diff --git a/minios-modules/usr/share/minios/modules/!!!-example/minimal.list b/minios-modules/usr/share/minios/modules/!!!-example/minimal.list new file mode 100644 index 0000000..e7b065e --- /dev/null +++ b/minios-modules/usr/share/minios/modules/!!!-example/minimal.list @@ -0,0 +1 @@ +firefox-esr \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/!!!-example/postinstall b/minios-modules/usr/share/minios/modules/!!!-example/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/!!!-example/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/!!!-example/rootcopy/README b/minios-modules/usr/share/minios/modules/!!!-example/rootcopy/README new file mode 100644 index 0000000..2850f2d --- /dev/null +++ b/minios-modules/usr/share/minios/modules/!!!-example/rootcopy/README @@ -0,0 +1 @@ +Files from this folder will be at the root of the system \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/!!!-example/standard.list b/minios-modules/usr/share/minios/modules/!!!-example/standard.list new file mode 100644 index 0000000..e7b065e --- /dev/null +++ b/minios-modules/usr/share/minios/modules/!!!-example/standard.list @@ -0,0 +1 @@ +firefox-esr \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/install b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/install new file mode 100644 index 0000000..61f720a --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/install @@ -0,0 +1,146 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +echo "nodm nodm/enabled boolean true" | debconf-set-selections +echo "samba-common samba-common/dhcp boolean false" | debconf-set-selections + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if grep slim $SCRIPT_DIR/$PACKAGE_VARIANT.list >>$OUTPUT 2>&1; then + sed -i 's,# hidecursor false,hidecursor false,g' /etc/slim.conf + sed -i 's,screenshot_cmd scrot /root/slim.png,# screenshot_cmd scrot /root/slim.png,g' /etc/slim.conf + if [ $PACKAGE_VARIANT = "minimal" ]; then + sed -i 's,#default_user simone,default_user root,g' /etc/slim.conf + else + sed -i 's,#default_user simone,default_user live,g' /etc/slim.conf + fi + sed -i 's,#auto_login no,auto_login yes,g' /etc/slim.conf + sed -i 's,current_theme debian-softwaves,current_theme minios,g' /etc/slim.conf +fi + +# create user directories +for dir in Desktop Documents Downloads Music Pictures Public Templates Videos; do + mkdir -p /home/live/$dir >>$OUTPUT 2>&1 + mkdir -p /root/$dir >>$OUTPUT 2>&1 + mkdir -p /etc/skel/$dir >>$OUTPUT 2>&1 +done + +update-alternatives --install /usr/share/images/desktop-base/desktop-background desktop-background /usr/share/backgrounds/MiniOS-wallpaper.svg 100 + + cat <>/usr/share/applications/htop.desktop +[Desktop Entry] +Type=Application +Version=1.0 +Name=Htop +GenericName=Process Viewer +GenericName[ca]=Visualitzador de processos +GenericName[da]=Procesfremviser +GenericName[de]=Prozessanzeige +GenericName[en_GB]=Process Viewer +GenericName[es]=Visor de procesos +GenericName[fi]=Prosessikatselin +GenericName[fr]=Visualiseur de processus +GenericName[gl]=Visor de procesos +GenericName[it]=Visore dei processi +GenericName[ko]=프로세스 뷰어 +GenericName[nb]=Prosessviser +GenericName[nl]=Viewer van processen +GenericName[nn]=Prosessvisar +GenericName[pl]=Przeglądarka procesów +GenericName[pt]=Visualizador de Processos +GenericName[pt_BR]=Visualizador de processos +GenericName[ru]=Монитор процессов +GenericName[sk]=Prehliadač procesov +GenericName[sl]=Pregledovalnik opravil +GenericName[sr@ijekavian]=Приказивач процеса +GenericName[sr@ijekavianlatin]=Prikazivač procesa +GenericName[sr@latin]=Prikazivač procesa +GenericName[sr]=Приказивач процеса +GenericName[sv]=Processvisning +GenericName[tr]=Süreç Görüntüleyici +GenericName[uk]=Перегляд процесів +GenericName[zh_CN]=进程查看器 +GenericName[zh_TW]=行程檢視器 +Comment=Show System Processes +Comment[ca]=Visualitzeu els processos del sistema +Comment[da]=Vis systemprocesser +Comment[de]=Systemprozesse anzeigen +Comment[en_GB]=Show System Processes +Comment[es]=Mostrar procesos del sistema +Comment[fi]=Katsele järjestelmän prosesseja +Comment[fr]=Affiche les processus système +Comment[gl]=Mostrar os procesos do sistema. +Comment[it]=Mostra processi di sistema +Comment[ko]=시스템 프로세스 보기 +Comment[nb]=Vis systemprosesser +Comment[nl]=Systeemprocessen tonen +Comment[nn]=Vis systemprosessar +Comment[pl]=Pokaż procesy systemowe +Comment[pt]=Mostrar os Processos do Sistema +Comment[pt_BR]=Mostra os processos do sistema +Comment[ru]=Просмотр списка процессов в системе +Comment[sk]=Zobraziť systémové procesy +Comment[sl]=Prikaz sistemskih opravil +Comment[sr@ijekavian]=Приказ системских процеса +Comment[sr@ijekavianlatin]=Prikaz sistemskih procesa +Comment[sr@latin]=Prikaz sistemskih procesa +Comment[sr]=Приказ системских процеса +Comment[sv]=Visa systemprocesser +Comment[tr]=Sistem Süreçlerini Göster +Comment[uk]=Перегляд системних процесів +Comment[zh_CN]=显示系统进程 +Comment[zh_TW]=顯示系統行程 +Icon=htop +Exec=htop +Terminal=true +Categories=System;Monitor;ConsoleOnly; +Keywords=system;process;task +EOF + cat <>/usr/share/applications/mc.desktop +[Desktop Entry] +Name=Midnight Commander +Name[af]=Middernag Kommandeur +Name[eo]=Meznokta komandanto +Name[fa]=فرمان‌دار نیمه شب +Name[ko]=미드나잇 커멘더 +Name[lv]=Pusnakts Komandieris +Name[nso]=Molaedi wa Bosegogare +Name[th]=มิดไนท์คอมมานเดอร์ +Name[ve]=Muhulwane wa vhukati ha vhusiku +Name[xh]=Umyaleli Waphakathi kobusuku +Name[zu]=Umyaleli waphakathi nobusuku +Comment=File manager +Comment[pl]=Menedżer plików +Exec=mc +Icon=file-manager.png +Terminal=true +Type=Application +Categories=ConsoleOnly;Utility;FileManager;System;FileTools; +Keywords=file manager;console; +EOF + cat <>/usr/share/applications/debian-xterm.desktop +[Desktop Entry] +Name=XTerm +#GenericName=Terminal +Comment=standard terminal emulator for the X window system +Exec=xterm +Terminal=false +Type=Application +#Encoding=UTF-8 +Icon=Terminal +Categories=System;TerminalEmulator; +Keywords=shell;prompt;command;commandline;cmd; +X-Desktop-File-Install-Version=0.26 +EOF diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/postinstall b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/postinstall new file mode 100644 index 0000000..f07d567 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/postinstall @@ -0,0 +1,5 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 + +update-alternatives --set x-terminal-emulator /usr/bin/xterm >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.cinnamon/configs/menu@cinnamon.org/0.json b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.cinnamon/configs/menu@cinnamon.org/0.json new file mode 100644 index 0000000..0d68ace --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.cinnamon/configs/menu@cinnamon.org/0.json @@ -0,0 +1,258 @@ +{ + "layout": { + "type": "layout", + "pages": [ + "panel", + "menu" + ], + "panel": { + "type": "page", + "title": "Panel", + "sections": [ + "panel-appear", + "panel-behave" + ] + }, + "menu": { + "type": "page", + "title": "Menu", + "sections": [ + "menu-layout", + "menu-behave" + ] + }, + "panel-appear": { + "type": "section", + "title": "Appearance", + "keys": [ + "menu-custom", + "menu-icon", + "menu-icon-size", + "menu-label" + ] + }, + "panel-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "overlay-key", + "activate-on-hover", + "hover-delay", + "force-show-panel", + "enable-animation" + ] + }, + "menu-layout": { + "type": "section", + "title": "Layout and content", + "keys": [ + "show-category-icons", + "category-icon-size", + "show-application-icons", + "application-icon-size", + "favbox-show", + "fav-icon-size", + "favbox-min-height", + "show-places", + "show-recents", + "menu-editor-button" + ] + }, + "menu-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "enable-autoscroll", + "search-filesystem" + ] + } + }, + "overlay-key": { + "type": "keybinding", + "description": "Keyboard shortcut to open and close the menu", + "default": "Super_L::Super_R", + "value": "Super_L::Super_R" + }, + "menu-custom": { + "type": "switch", + "default": false, + "description": "Use a custom icon and label", + "tooltip": "Check this to specify a custom icon and label", + "value": true + }, + "menu-icon": { + "type": "iconfilechooser", + "default": "cinnamon-symbolic", + "description": "Icon", + "tooltip": "Select an icon to show in the panel.", + "default_icon": "cinnamon-symbolic", + "dependency": "menu-custom", + "indent": true, + "value": "/usr/share/pixmaps/MiniOS-white.svg" + }, + "menu-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 96, + "step": 1, + "units": "px", + "description": "Icon size", + "dependency": "menu-custom", + "indent": true, + "value": 32 + }, + "menu-label": { + "type": "entry", + "default": "Menu", + "description": "Text", + "tooltip": "Enter custom text to show in the panel.", + "dependency": "menu-custom", + "indent": true, + "value": "" + }, + "favbox-min-height": { + "type": "spinbutton", + "default": 300, + "min": 50, + "max": 1000, + "step": 10, + "units": "px", + "dependency": "favbox-show", + "description": "Minimum height of the favorites section", + "tooltip": "The minimum size allocated for the favorites section (this has an impact on the overall height of the menu).", + "value": 300 + }, + "show-category-icons": { + "type": "switch", + "default": true, + "description": "Show category icons", + "tooltip": "Choose whether or not to show icons on categories.", + "value": true + }, + "category-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Categories icon size", + "dependency": "show-category-icons", + "indent": true, + "value": 22 + }, + "show-application-icons": { + "type": "switch", + "default": true, + "description": "Show application icons", + "tooltip": "Choose whether or not to show icons on applications.", + "value": true + }, + "application-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Applications icon size", + "dependency": "show-application-icons", + "indent": true, + "value": 22 + }, + "favbox-show": { + "type": "switch", + "default": true, + "description": "Show favorites and session buttons", + "tooltip": "Choose whether or not to show the left pane of the menu.", + "value": true + }, + "fav-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 64, + "step": 1, + "units": "px", + "description": "Favorites icon size", + "dependency": "favbox-show", + "indent": true, + "value": 32 + }, + "show-favorites": { + "type": "switch", + "default": true, + "description": "Show favorites", + "tooltip": "Choose whether or not to show favorite files in the menu.", + "value": true + }, + "show-places": { + "type": "switch", + "default": true, + "description": "Show bookmarks and places", + "tooltip": "Choose whether or not to show bookmarks and places in the menu.", + "value": true + }, + "show-recents": { + "type": "switch", + "default": true, + "description": "Show recents", + "tooltip": "Choose whether or not to show recents in the menu.", + "value": true + }, + "enable-autoscroll": { + "type": "switch", + "default": true, + "description": "Enable autoscrolling in application list", + "tooltip": "Choose whether or not to enable smooth autoscrolling in the application list.", + "value": true + }, + "search-filesystem": { + "type": "switch", + "default": false, + "description": "Enable filesystem path entry in search box", + "tooltip": "Allows path entry in the menu search box.", + "value": false + }, + "force-show-panel": { + "type": "switch", + "default": true, + "description": "Force the panel to be visible when opening the menu", + "tooltip": "Opening the menu will also show the main panel (which may be auto-hidden).", + "value": true + }, + "activate-on-hover": { + "type": "switch", + "default": false, + "description": "Open the menu when I move my mouse over it", + "tooltip": "Enable opening the menu when the mouse enters the applet", + "value": false + }, + "hover-delay": { + "type": "spinbutton", + "default": 0, + "min": 0, + "max": 1000, + "step": 50, + "units": "milliseconds", + "dependency": "activate-on-hover", + "description": "Menu hover delay", + "tooltip": "Delay before the menu opens when hovered", + "value": 0 + }, + "enable-animation": { + "type": "switch", + "default": false, + "description": "Use menu animations", + "tooltip": "Allow the menu to animate on open and close", + "value": false + }, + "menu-editor-button": { + "type": "button", + "description": "Open the menu editor", + "callback": "_launch_editor", + "tooltip": "Press this button to customize your menu entries." + }, + "__md5__": "c4b27da93411965126569249b61793d7" +} \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.config/dconf/user b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.config/dconf/user new file mode 100644 index 0000000..92155e0 Binary files /dev/null and b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.config/dconf/user differ diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xinitrc b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xinitrc new file mode 100644 index 0000000..e741276 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec cinnamon-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xsession b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xsession new file mode 100644 index 0000000..1b09cae --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xsession @@ -0,0 +1 @@ +cinnamon-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.cinnamon/configs/menu@cinnamon.org/0.json b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.cinnamon/configs/menu@cinnamon.org/0.json new file mode 100644 index 0000000..0d68ace --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.cinnamon/configs/menu@cinnamon.org/0.json @@ -0,0 +1,258 @@ +{ + "layout": { + "type": "layout", + "pages": [ + "panel", + "menu" + ], + "panel": { + "type": "page", + "title": "Panel", + "sections": [ + "panel-appear", + "panel-behave" + ] + }, + "menu": { + "type": "page", + "title": "Menu", + "sections": [ + "menu-layout", + "menu-behave" + ] + }, + "panel-appear": { + "type": "section", + "title": "Appearance", + "keys": [ + "menu-custom", + "menu-icon", + "menu-icon-size", + "menu-label" + ] + }, + "panel-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "overlay-key", + "activate-on-hover", + "hover-delay", + "force-show-panel", + "enable-animation" + ] + }, + "menu-layout": { + "type": "section", + "title": "Layout and content", + "keys": [ + "show-category-icons", + "category-icon-size", + "show-application-icons", + "application-icon-size", + "favbox-show", + "fav-icon-size", + "favbox-min-height", + "show-places", + "show-recents", + "menu-editor-button" + ] + }, + "menu-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "enable-autoscroll", + "search-filesystem" + ] + } + }, + "overlay-key": { + "type": "keybinding", + "description": "Keyboard shortcut to open and close the menu", + "default": "Super_L::Super_R", + "value": "Super_L::Super_R" + }, + "menu-custom": { + "type": "switch", + "default": false, + "description": "Use a custom icon and label", + "tooltip": "Check this to specify a custom icon and label", + "value": true + }, + "menu-icon": { + "type": "iconfilechooser", + "default": "cinnamon-symbolic", + "description": "Icon", + "tooltip": "Select an icon to show in the panel.", + "default_icon": "cinnamon-symbolic", + "dependency": "menu-custom", + "indent": true, + "value": "/usr/share/pixmaps/MiniOS-white.svg" + }, + "menu-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 96, + "step": 1, + "units": "px", + "description": "Icon size", + "dependency": "menu-custom", + "indent": true, + "value": 32 + }, + "menu-label": { + "type": "entry", + "default": "Menu", + "description": "Text", + "tooltip": "Enter custom text to show in the panel.", + "dependency": "menu-custom", + "indent": true, + "value": "" + }, + "favbox-min-height": { + "type": "spinbutton", + "default": 300, + "min": 50, + "max": 1000, + "step": 10, + "units": "px", + "dependency": "favbox-show", + "description": "Minimum height of the favorites section", + "tooltip": "The minimum size allocated for the favorites section (this has an impact on the overall height of the menu).", + "value": 300 + }, + "show-category-icons": { + "type": "switch", + "default": true, + "description": "Show category icons", + "tooltip": "Choose whether or not to show icons on categories.", + "value": true + }, + "category-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Categories icon size", + "dependency": "show-category-icons", + "indent": true, + "value": 22 + }, + "show-application-icons": { + "type": "switch", + "default": true, + "description": "Show application icons", + "tooltip": "Choose whether or not to show icons on applications.", + "value": true + }, + "application-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Applications icon size", + "dependency": "show-application-icons", + "indent": true, + "value": 22 + }, + "favbox-show": { + "type": "switch", + "default": true, + "description": "Show favorites and session buttons", + "tooltip": "Choose whether or not to show the left pane of the menu.", + "value": true + }, + "fav-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 64, + "step": 1, + "units": "px", + "description": "Favorites icon size", + "dependency": "favbox-show", + "indent": true, + "value": 32 + }, + "show-favorites": { + "type": "switch", + "default": true, + "description": "Show favorites", + "tooltip": "Choose whether or not to show favorite files in the menu.", + "value": true + }, + "show-places": { + "type": "switch", + "default": true, + "description": "Show bookmarks and places", + "tooltip": "Choose whether or not to show bookmarks and places in the menu.", + "value": true + }, + "show-recents": { + "type": "switch", + "default": true, + "description": "Show recents", + "tooltip": "Choose whether or not to show recents in the menu.", + "value": true + }, + "enable-autoscroll": { + "type": "switch", + "default": true, + "description": "Enable autoscrolling in application list", + "tooltip": "Choose whether or not to enable smooth autoscrolling in the application list.", + "value": true + }, + "search-filesystem": { + "type": "switch", + "default": false, + "description": "Enable filesystem path entry in search box", + "tooltip": "Allows path entry in the menu search box.", + "value": false + }, + "force-show-panel": { + "type": "switch", + "default": true, + "description": "Force the panel to be visible when opening the menu", + "tooltip": "Opening the menu will also show the main panel (which may be auto-hidden).", + "value": true + }, + "activate-on-hover": { + "type": "switch", + "default": false, + "description": "Open the menu when I move my mouse over it", + "tooltip": "Enable opening the menu when the mouse enters the applet", + "value": false + }, + "hover-delay": { + "type": "spinbutton", + "default": 0, + "min": 0, + "max": 1000, + "step": 50, + "units": "milliseconds", + "dependency": "activate-on-hover", + "description": "Menu hover delay", + "tooltip": "Delay before the menu opens when hovered", + "value": 0 + }, + "enable-animation": { + "type": "switch", + "default": false, + "description": "Use menu animations", + "tooltip": "Allow the menu to animate on open and close", + "value": false + }, + "menu-editor-button": { + "type": "button", + "description": "Open the menu editor", + "callback": "_launch_editor", + "tooltip": "Press this button to customize your menu entries." + }, + "__md5__": "c4b27da93411965126569249b61793d7" +} \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.config/dconf/user b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.config/dconf/user new file mode 100644 index 0000000..92155e0 Binary files /dev/null and b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.config/dconf/user differ diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xinitrc b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xinitrc new file mode 100644 index 0000000..e741276 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec cinnamon-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xsession b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xsession new file mode 100644 index 0000000..1b09cae --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xsession @@ -0,0 +1 @@ +cinnamon-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.cinnamon/configs/menu@cinnamon.org/0.json b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.cinnamon/configs/menu@cinnamon.org/0.json new file mode 100644 index 0000000..0d68ace --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.cinnamon/configs/menu@cinnamon.org/0.json @@ -0,0 +1,258 @@ +{ + "layout": { + "type": "layout", + "pages": [ + "panel", + "menu" + ], + "panel": { + "type": "page", + "title": "Panel", + "sections": [ + "panel-appear", + "panel-behave" + ] + }, + "menu": { + "type": "page", + "title": "Menu", + "sections": [ + "menu-layout", + "menu-behave" + ] + }, + "panel-appear": { + "type": "section", + "title": "Appearance", + "keys": [ + "menu-custom", + "menu-icon", + "menu-icon-size", + "menu-label" + ] + }, + "panel-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "overlay-key", + "activate-on-hover", + "hover-delay", + "force-show-panel", + "enable-animation" + ] + }, + "menu-layout": { + "type": "section", + "title": "Layout and content", + "keys": [ + "show-category-icons", + "category-icon-size", + "show-application-icons", + "application-icon-size", + "favbox-show", + "fav-icon-size", + "favbox-min-height", + "show-places", + "show-recents", + "menu-editor-button" + ] + }, + "menu-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "enable-autoscroll", + "search-filesystem" + ] + } + }, + "overlay-key": { + "type": "keybinding", + "description": "Keyboard shortcut to open and close the menu", + "default": "Super_L::Super_R", + "value": "Super_L::Super_R" + }, + "menu-custom": { + "type": "switch", + "default": false, + "description": "Use a custom icon and label", + "tooltip": "Check this to specify a custom icon and label", + "value": true + }, + "menu-icon": { + "type": "iconfilechooser", + "default": "cinnamon-symbolic", + "description": "Icon", + "tooltip": "Select an icon to show in the panel.", + "default_icon": "cinnamon-symbolic", + "dependency": "menu-custom", + "indent": true, + "value": "/usr/share/pixmaps/MiniOS-white.svg" + }, + "menu-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 96, + "step": 1, + "units": "px", + "description": "Icon size", + "dependency": "menu-custom", + "indent": true, + "value": 32 + }, + "menu-label": { + "type": "entry", + "default": "Menu", + "description": "Text", + "tooltip": "Enter custom text to show in the panel.", + "dependency": "menu-custom", + "indent": true, + "value": "" + }, + "favbox-min-height": { + "type": "spinbutton", + "default": 300, + "min": 50, + "max": 1000, + "step": 10, + "units": "px", + "dependency": "favbox-show", + "description": "Minimum height of the favorites section", + "tooltip": "The minimum size allocated for the favorites section (this has an impact on the overall height of the menu).", + "value": 300 + }, + "show-category-icons": { + "type": "switch", + "default": true, + "description": "Show category icons", + "tooltip": "Choose whether or not to show icons on categories.", + "value": true + }, + "category-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Categories icon size", + "dependency": "show-category-icons", + "indent": true, + "value": 22 + }, + "show-application-icons": { + "type": "switch", + "default": true, + "description": "Show application icons", + "tooltip": "Choose whether or not to show icons on applications.", + "value": true + }, + "application-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Applications icon size", + "dependency": "show-application-icons", + "indent": true, + "value": 22 + }, + "favbox-show": { + "type": "switch", + "default": true, + "description": "Show favorites and session buttons", + "tooltip": "Choose whether or not to show the left pane of the menu.", + "value": true + }, + "fav-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 64, + "step": 1, + "units": "px", + "description": "Favorites icon size", + "dependency": "favbox-show", + "indent": true, + "value": 32 + }, + "show-favorites": { + "type": "switch", + "default": true, + "description": "Show favorites", + "tooltip": "Choose whether or not to show favorite files in the menu.", + "value": true + }, + "show-places": { + "type": "switch", + "default": true, + "description": "Show bookmarks and places", + "tooltip": "Choose whether or not to show bookmarks and places in the menu.", + "value": true + }, + "show-recents": { + "type": "switch", + "default": true, + "description": "Show recents", + "tooltip": "Choose whether or not to show recents in the menu.", + "value": true + }, + "enable-autoscroll": { + "type": "switch", + "default": true, + "description": "Enable autoscrolling in application list", + "tooltip": "Choose whether or not to enable smooth autoscrolling in the application list.", + "value": true + }, + "search-filesystem": { + "type": "switch", + "default": false, + "description": "Enable filesystem path entry in search box", + "tooltip": "Allows path entry in the menu search box.", + "value": false + }, + "force-show-panel": { + "type": "switch", + "default": true, + "description": "Force the panel to be visible when opening the menu", + "tooltip": "Opening the menu will also show the main panel (which may be auto-hidden).", + "value": true + }, + "activate-on-hover": { + "type": "switch", + "default": false, + "description": "Open the menu when I move my mouse over it", + "tooltip": "Enable opening the menu when the mouse enters the applet", + "value": false + }, + "hover-delay": { + "type": "spinbutton", + "default": 0, + "min": 0, + "max": 1000, + "step": 50, + "units": "milliseconds", + "dependency": "activate-on-hover", + "description": "Menu hover delay", + "tooltip": "Delay before the menu opens when hovered", + "value": 0 + }, + "enable-animation": { + "type": "switch", + "default": false, + "description": "Use menu animations", + "tooltip": "Allow the menu to animate on open and close", + "value": false + }, + "menu-editor-button": { + "type": "button", + "description": "Open the menu editor", + "callback": "_launch_editor", + "tooltip": "Press this button to customize your menu entries." + }, + "__md5__": "c4b27da93411965126569249b61793d7" +} \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.config/dconf/user b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.config/dconf/user new file mode 100644 index 0000000..92155e0 Binary files /dev/null and b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.config/dconf/user differ diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.xinitrc b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.xinitrc new file mode 100644 index 0000000..e741276 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec cinnamon-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.xsession b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.xsession new file mode 100644 index 0000000..1b09cae --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-install/root/.xsession @@ -0,0 +1 @@ +cinnamon-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/debian-xterm.desktop b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/debian-xterm.desktop new file mode 100644 index 0000000..94836b9 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/debian-xterm.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=XTerm +#GenericName=Terminal +Comment=standard terminal emulator for the X window system +Exec=xterm +Terminal=false +Type=Application +#Encoding=UTF-8 +Icon=xterm +Categories=System;TerminalEmulator; +Keywords=shell;prompt;command;commandline;cmd; +X-Desktop-File-Install-Version=0.26 diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/htop.desktop b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/htop.desktop new file mode 100644 index 0000000..ebdeed0 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/htop.desktop @@ -0,0 +1,67 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Htop +GenericName=Process Viewer +GenericName[ca]=Visualitzador de processos +GenericName[da]=Procesfremviser +GenericName[de]=Prozessanzeige +GenericName[en_GB]=Process Viewer +GenericName[es]=Visor de procesos +GenericName[fi]=Prosessikatselin +GenericName[fr]=Visualiseur de processus +GenericName[gl]=Visor de procesos +GenericName[it]=Visore dei processi +GenericName[ko]=프로세스 뷰어 +GenericName[nb]=Prosessviser +GenericName[nl]=Viewer van processen +GenericName[nn]=Prosessvisar +GenericName[pl]=Przeglądarka procesów +GenericName[pt]=Visualizador de Processos +GenericName[pt_BR]=Visualizador de processos +GenericName[ru]=Монитор процессов +GenericName[sk]=Prehliadač procesov +GenericName[sl]=Pregledovalnik opravil +GenericName[sr@ijekavian]=Приказивач процеса +GenericName[sr@ijekavianlatin]=Prikazivač procesa +GenericName[sr@latin]=Prikazivač procesa +GenericName[sr]=Приказивач процеса +GenericName[sv]=Processvisning +GenericName[tr]=Süreç Görüntüleyici +GenericName[uk]=Перегляд процесів +GenericName[zh_CN]=进程查看器 +GenericName[zh_TW]=行程檢視器 +Comment=Show System Processes +Comment[ca]=Visualitzeu els processos del sistema +Comment[da]=Vis systemprocesser +Comment[de]=Systemprozesse anzeigen +Comment[en_GB]=Show System Processes +Comment[es]=Mostrar procesos del sistema +Comment[fi]=Katsele järjestelmän prosesseja +Comment[fr]=Affiche les processus système +Comment[gl]=Mostrar os procesos do sistema. +Comment[it]=Mostra processi di sistema +Comment[ko]=시스템 프로세스 보기 +Comment[nb]=Vis systemprosesser +Comment[nl]=Systeemprocessen tonen +Comment[nn]=Vis systemprosessar +Comment[pl]=Pokaż procesy systemowe +Comment[pt]=Mostrar os Processos do Sistema +Comment[pt_BR]=Mostra os processos do sistema +Comment[ru]=Просмотр списка процессов в системе +Comment[sk]=Zobraziť systémové procesy +Comment[sl]=Prikaz sistemskih opravil +Comment[sr@ijekavian]=Приказ системских процеса +Comment[sr@ijekavianlatin]=Prikaz sistemskih procesa +Comment[sr@latin]=Prikaz sistemskih procesa +Comment[sr]=Приказ системских процеса +Comment[sv]=Visa systemprocesser +Comment[tr]=Sistem Süreçlerini Göster +Comment[uk]=Перегляд системних процесів +Comment[zh_CN]=显示系统进程 +Comment[zh_TW]=顯示系統行程 +Icon=utilities-system-monitor +Exec=htop +Terminal=true +Categories=System;Monitor;ConsoleOnly; +Keywords=system;process;task diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/mc.desktop b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/mc.desktop new file mode 100644 index 0000000..2027318 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/mc.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Name=Midnight Commander +Name[af]=Middernag Kommandeur +Name[eo]=Meznokta komandanto +Name[fa]=فرمان‌دار نیمه شب +Name[ko]=미드나잇 커멘더 +Name[lv]=Pusnakts Komandieris +Name[nso]=Molaedi wa Bosegogare +Name[th]=มิดไนท์คอมมานเดอร์ +Name[ve]=Muhulwane wa vhukati ha vhusiku +Name[xh]=Umyaleli Waphakathi kobusuku +Name[zu]=Umyaleli waphakathi nobusuku +Comment=File manager +Comment[pl]=Menedżer plików +Exec=mc +Icon=file-manager.png +Terminal=true +Type=Application +Categories=ConsoleOnly;Utility;FileManager;System;FileTools; +Keywords=file manager;console; diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/ncdu.desktop b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/ncdu.desktop new file mode 100644 index 0000000..6ab9888 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/ncdu.desktop @@ -0,0 +1,179 @@ +[Desktop Entry] +Name[af]=Skyfgebruik +Name[an]=Analizador d'uso de disco +Name[ar]=محلّل استخدام القرص +Name[as]=ডিস্ক ব্যৱহাৰ বিশ্লেষক +Name[ast]=Analizador d'Usu de Discu +Name[be]=Аналіз дыскавай прасторы +Name[be@latin]=Analizatar zaniataści dyskavaj prastory +Name[bg]=Анализатор на ползването на диска +Name[bn]=ডিস্ক ব্যবহারের বিশ্লেষণ ব্যবস্থা +Name[bn_IN]=ডিস্ক ব্যবহারের বিশ্লেষণ ব্যবস্থা +Name[br]=Dezranner arver ar c'hantennoù +Name[bs]=Alat za analizu upotrebe diska +Name[ca]=Analitzador de l'ús dels discs +Name[ca@valencia]=Analitzador de l'ús dels discs +Name[crh]=Disk Qullanımı Tahlilcisi +Name[cs]=Analyzátor využití disku +Name[da]=Diskforbrugsanalyse +Name[de]=Festplattenbelegungsanalyse +Name[dz]=ཌིཀསི་གི་བེད་སྤྱོད་དཔྱད་ཞིབ་པ། +Name[el]=Αναλυτής χρήσης δίσκου +Name[en_GB]=Disk Usage Analyser +Name[en@shaw]=𐑛𐑦𐑕𐑒 𐑿𐑕𐑦𐑡 𐑨𐑯𐑩𐑤𐑲𐑟𐑻 +Name[eo]=Diskuzada analizilo +Name[es]=Analizador de uso de disco +Name[et]=Kettakasutuse analüsaator +Name[eu]=Disko-erabileraren analizatzailea +Name[fa]=تحلیلگر مصرف دیسک +Name[fi]=Levynkäytön analysointi +Name[fr]=Analyseur d’utilisation des disques +Name[fur]=Analizadôr di utilizazion dal disc +Name[ga]=Anailíseoir Úsáid Diosca +Name[gd]=Sgrùdair cleachdadh nan diosga +Name[gl]=Analizador do uso do disco +Name[gu]=ડિસ્ક વપરાશકર્તા વિશ્લેષક +Name[he]=מנתח השימוש בכונן +Name[hi]=डिस्क प्रयोग विश्लेषण +Name[hr]=Analizator iskoristivosti diska +Name[hu]=Lemezhasználat-elemző +Name[id]=Penganalisa Penggunaan Diska +Name[is]=Diskapláss +Name[it]=Analizzatore di utilizzo del disco +Name[ja]=ディスク使用量アナライザー +Name[kk]=Диск қолдануын анализдеушісі +Name[km]=កម្មវិធី​វិភាគ​ការ​ប្រើ​ថាស +Name[kn]=ಡಿಸ್ಕ್‍ ಬಳಕೆಯ ವಿಶ್ಲೇಷಕ +Name[ko]=디스크 사용량 분석 +Name[ku]=Analîzkerê Bikaranîna Dîskê +Name[lt]=Disko naudojimo analizatorius +Name[lv]=Diska izmantojuma analizators +Name[mai]=डिस्क प्रयोग विश्लेषण +Name[mjw]=Disk Usage Analyzer +Name[mk]=Употребата на дискот +Name[ml]=ഡിസ്ക് യൂസേജ് അനലൈസർ +Name[mr]=डीस्क वापर विश्लेषक +Name[ms]=Penganalisis Penggunaan Cakera +Name[nb]=Analyse av diskplass +Name[nds]=Spiekergebruk unnersöken +Name[ne]=डिस्क प्रयोग विश्लेषक +Name[nl]=Schijfgebruik +Name[nn]=Analyse av diskplass +Name[oc]=Analisador d'utilizacion dels disques +Name[or]=ଡିସ୍କ ବ୍ଯବହାର ବିଧି ବିଶ୍ଳେଷକ +Name[pa]=ਡਿਸਕ ਵਰਤੋਂ ਜਾਂਚਕਾਰ +Name[pl]=Wykorzystanie dysku +Name[ps]=د ټيکلي کارونې شننونکی +Name[pt]=Analisador de utilização do disco +Name[pt_BR]=Analisador de uso de disco +Name[ro]=Analizatorul utilizării discului +Name[ru]=Анализатор использования дисков +Name[si]=තැටි භාවිත විශ්ලේෂකය +Name[sk]=Analyzátor využitia disku +Name[sl]=Orodje za preučevanje porabe diska +Name[sr]=Испитивач искоришћености диска +Name[sr@latin]=Ispitivač iskorišćenosti diska +Name[sv]=Diskanvändningsanalysator +Name[ta]=வட்டு பயன்பாடு ஆராய்வி +Name[te]=డిస్క్ వినిమయ విశ్లేషకం +Name[tg]=Таҳлилгари истифодаи диск +Name[th]=เครื่องมือวิเคราะห์การใช้ดิสก์ +Name[tr]=Disk Kullanımı İnceleyici +Name[ug]=دىسكا ئىشلىتىش تەھلىلچىسى +Name[uk]=Аналізатор використання диска +Name[vi]=Bộ phân tích đĩa +Name[zh_CN]=磁盘使用情况分析器 +Name[zh_HK]=磁碟用量分析器 +Name[zh_TW]=磁碟用量分析器 +Name=Disk Usage Analyzer +Comment[af]=Kontroleer gidsgroottes en beskikbare skyfspasie +Comment[an]=Compreba la grandaria d'as carpetas y lo espacio disponible en disco +Comment[ar]=افحص حجم المجلدات والمساحة المتوفرة +Comment[as]=ফোল্ডাৰৰ মাপ আৰু ডিস্কত উপলব্ধ স্থান নিৰীক্ষণ কৰক +Comment[ast]=Comprobar el tamañu de les carpetes y l'espaciu disponible en discu +Comment[be]=Праверка памеру папак і выкарыстання дыскавай прасторы +Comment[be@latin]=Spraŭdź pamiery katalohaŭ i dyskavuju prastoru +Comment[bg]=Проверка на размерите на папките и свободното пространство на диска +Comment[bn]=ফোল্ডারের মাপ ও ডিস্কে বিদ্যমান স্থান পরীক্ষা করা হবে +Comment[bn_IN]=ফোল্ডারের মাপ ও ডিস্কে উপলব্ধ স্থান পরীক্ষা করা হবে +Comment[br]=Gwiriañ mentoù an teuliadoù ha plas hegerz war ar gantennad +Comment[bs]=Provjeri veličinu direktorija i raspoloživ prostor na disku +Comment[ca]=Comprova la mida de les carpetes i l'espai disponible al disc +Comment[ca@valencia]=Comprova la mida de les carpetes i l'espai disponible al disc +Comment[ckb]=چێکردنی قەبارەی بوخچە و بۆشایی بەردەست لە پەپکەکاندا +Comment[crh]=Cilbent ölçülerini ve faydalanışlı disk fezasını teşker +Comment[cs]=Zkontrolovat velikost složek a dostupné místo na disku +Comment[da]=Kontrollér mappestørrelser og tilgængelig diskplads +Comment[de]=Ordnergrößen und freien Festplattenplatz analysieren +Comment[dz]=ཡིག་སྣོད་ཀྱི་ཚད་ཚུ་དང་འཐོབ་ཚུགས་པའི་ཌིཀསི་ས་སྟོང་ཞིབ་དཔྱད་འབད +Comment[el]=Έλεγχος μεγέθους φακέλων και διαθέσιμου χώρου στο δίσκο +Comment[en_GB]=Check folder sizes and available disk space +Comment[en@shaw]=𐑗𐑧𐑒 𐑓𐑴𐑤𐑛𐑼 𐑕𐑲𐑟𐑩𐑟 𐑯 𐑩𐑝𐑱𐑤𐑩𐑚𐑩𐑤 𐑛𐑦𐑕𐑒 𐑕𐑐𐑱𐑕 +Comment[eo]=Kontroli dosierujajn grandojn kaj disponeblan diskmemoron +Comment[es]=Compruebe el tamaño de las carpetas y el espacio disponible en disco +Comment[et]=Kaustade suuruse ja saadaoleva kettaruumi kontroll +Comment[eu]=Egiaztatu karpeten tamainak eta diskoan dagoen leku erabilgarria +Comment[fa]=بررسی اندازهٔ شاخه‌ها و فضای دیسک موجود +Comment[fi]=Tarkista kansioiden koko ja käytettävissä oleva levytila +Comment[fr]=Vérifier la taille des dossiers et l’espace disque disponible +Comment[fur]=Controle la dimension des cartelis e il spazi libar sul disc +Comment[ga]=Seiceáil méideanna fillteán agus spás diosca le fáil +Comment[gd]=Thoir sùil air meud nam pasganan ’s an rum shaor air an diosga +Comment[gl]=Verificar o tamaño dos cartafoles e o espazo dispoñíbel no disco +Comment[gu]=ફોલ્ડર માપો અને ઉપલબ્ધ ડિસ્ક જગ્યા ચકાસો +Comment[he]=בדיקת גדלי התיקיות והמקום פנוי בכונן +Comment[hi]=फोल्डर आकार जाँचें और उपलब्ध डिस्क स्थान +Comment[hr]=Provjerite veličinu mapa i dostupan prostor na disku +Comment[hu]=Mappaméretek és elérhető lemezterület vizsgálata +Comment[id]=Periksa ukuran folder dan ruang diska yang tersedia +Comment[is]=Athuga hve mikið pláss skrár taka á tölvunni og hve mikið pláss er eftir +Comment[it]=Controlla la dimensione delle cartelle e lo spazio disco disponibile +Comment[ja]=フォルダーと利用可能なディスク容量をチェックします +Comment[kk]=Бумалар өлшемдерін және дисктердегі қолжетерлік орынды тексеру +Comment[km]=ពិនិត្យ​មើល​ទំហំ​ថត និង​ទំហំ​ថាស​ដែល​អាច​ប្រើ​បាន +Comment[kn]=ಕಡತಕೋಶದ ಗಾತ್ರಗಳು ಹಾಗು ಲಭ್ಯವಿರುವ ಡಿಸ್ಕಿನ ಜಾಗಕ್ಕಾಗಿ ನೋಡು +Comment[ko]=폴더 용량과 디스크의 빈 공간을 검사합니다 +Comment[lt]=Tikrinti aplankų dydžius ir laisvą vietą +Comment[lv]=Pārbauda mapju izmērus un pieejamo diska vietu +Comment[mjw]=Folder apun lapen disk space angse kelang +Comment[mk]=Провери ја големината на папките и достапниот простор на дискот +Comment[ml]=ഫോൾഡറുകളുടെ വ്യാപ്തിയും ഡിസ്കില്‍ ലഭ്യമായ സ്ഥലവും പരിശോധിയ്ക്കുക +Comment[mr]=फोल्डर आकार व उपलब्ध डीस्क जागा तपासा +Comment[ms]=Periksa saiz folder dan ruang cakera yang tersedia +Comment[nb]=Sjekk mappestørrelser og tilgjengelig diskplass +Comment[ne]=फोल्डर साइज र उपलब्ध डिस्क खालीस्थान जाँच गर्नुहोस् +Comment[nl]=Mapgroottes en beschikbare schijfruimte bekijken +Comment[nn]=Undersøk mappestorleikar og tilgjengeleg diskplass +Comment[oc]=Verificar la talha dels dorsièrs e l'espaci de disc disponible +Comment[or]=ଫୋଲଡରର ଆକାର ଏବଂ ଉପଲବ୍ଧ ଡିସ୍କ ସ୍ଥାନ ଯାଞ୍ଚ କରନ୍ତୁ +Comment[pa]=ਫੋਲਡਰ ਸਾਇਜ਼ ਅਤੇ ਉਪਲੱਬਧ ਡਿਸਕ ਥਾਂ ਚੈੱਕ ਕਰੋ +Comment[pl]=Wyświetlanie rozmiaru katalogów i dostępnego miejsca na dysku +Comment[ps]=د پوښۍ کچونه او شته ټيکلی تشه وګورﺉ +Comment[pt]=Verificar o tamanho das pastas e o espaço disponível em disco +Comment[pt_BR]=Verifique o tamanho de pastas e o espaço disponível em disco +Comment[ro]=Verifică dimensiunea dosarului și spațiul disponibil pe disc +Comment[ru]=Изучение размера папок и свободного места на дисках +Comment[sk]=Kontroluje veľkosti priečinkov a dostupné miesto na disku +Comment[sl]=Preveri velikosti map in prostor na disku +Comment[sr]=Проверите величине фасцикли и слободан простор на диску +Comment[sr@latin]=Proverite veličine fascikli i slobodan prostor na disku +Comment[sv]=Kontrollera mappstorlekar och tillgängligt diskutrymme +Comment[ta]=அடைவு அளவு மற்றும் கிடைக்கக்கூடிய வட்டு இடைவெளி ஆகியவற்றை சரிபார் +Comment[te]=అందుబాటులోవున్న డిస్క్ స్థలం మరియు సంచయపు పరిమాణాలను తనిఖీచేయి +Comment[tg]=Санҷиши андозаи ҷузвдонҳо ва фазои диски дастрас +Comment[th]=ตรวจสอบขนาดของโฟลเดอร์ต่างๆ และเนื้อที่ว่างในดิสก์ +Comment[tr]=Klasör boyutlarını ve kullanılabilir disk alanını denetle +Comment[ug]=قىسقۇچ چوڭلۇقى ۋە ئىشلىتىشكە بولىدىغان دىسكا بوشلۇقىنى تەكشۈر +Comment[uk]=Перевірте розміри тек та дисковий простір +Comment[vi]=Kiểm tra kích cỡ của thư mục và chỗ trống trên đĩa +Comment[zh_CN]=检查文件夹大小和可用磁盘空间 +Comment[zh_HK]=檢查資料夾大小與可用的磁碟空間 +Comment[zh_TW]=檢查資料夾大小與可用的磁碟空間 +Comment=Check folder sizes and available disk space +Keywords=storage;space;cleanup; +TryExec=ncdu +Exec=ncdu +Icon=baobab +Terminal=true +Type=Application +Categories=ConsoleOnly;System;Filesystem;Utility; diff --git a/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/standard.list b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/standard.list new file mode 100644 index 0000000..7eb4f53 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-cinnamon-desktop/standard.list @@ -0,0 +1,8 @@ +locales +dbus-x11 +slim +cinnamon-core +gvfs-backends +samba-common +avahi-daemon +faenza-icon-theme diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/install b/minios-modules/usr/share/minios/modules/03-xfce-desktop/install new file mode 100644 index 0000000..7fa1c29 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/install @@ -0,0 +1,638 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +GTKUI="2" + +if [ $DISTRIBUTION = "buster" ] && [ $GTKUI = "3" ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + gnupg curl >>$OUTPUT 2>&1 + echo "deb http://mxrepo.com/mx/repo/ temp main" >>/etc/apt/sources.list + curl -L https://cyber-x.ru/wp-content/upload/mx19/mx19.gpg | sudo apt-key add - +fi + +echo "nodm nodm/enabled boolean true" | debconf-set-selections +echo "samba-common samba-common/dhcp boolean false" | debconf-set-selections + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +# install packages +if [ $DISTRIBUTION = "stretch" ]; then + wget -c http://ftp.ru.debian.org/debian/pool/main/e/elementary-xfce/elementary-xfce-icon-theme_0.15.2-1_all.deb + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + ./elementary-xfce-icon-theme_0.15.2-1_all.deb >>$OUTPUT 2>&1 + rm -f ./elementary-xfce-icon-theme_0.15.2-1_all.deb >>$OUTPUT 2>&1 +else + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + elementary-xfce-icon-theme >>$OUTPUT 2>&1 +fi + +if [ $DISTRIBUTION = "buster" ] && [ $GTKUI = "3" ]; then + sed -i "s,deb http://mxrepo.com/mx/repo/ temp main,#deb http://mxrepo.com/mx/repo/ temp main,g" /etc/apt/sources.list +fi + +if [ $DISTRIBUTION = "bullseye" ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + librsvg2-common >>$OUTPUT 2>&1 +fi + +if grep xfce4-whiskermenu-plugin $SCRIPT_DIR/$PACKAGE_VARIANT.list >>$OUTPUT 2>&1; then + if [ $DISTRIBUTION = "buster" ] || [ $DISTRIBUTION = "stretch" ]; then + echo "favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-mail-reader.desktop,exo-web-browser.desktop" >/etc/skel/.config/xfce4/panel/whiskermenu-1.rc + echo "favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-mail-reader.desktop,exo-web-browser.desktop" >/root/.config/xfce4/panel/whiskermenu-1.rc + echo "favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-mail-reader.desktop,exo-web-browser.desktop" >/home/live/.config/xfce4/panel/whiskermenu-1.rc + elif [ $DISTRIBUTION = "bullseye" ]; then + echo "favorites=xfce4-terminal-emulator.desktop,xfce4-file-manager.desktop,xfce4-web-browser.desktop,xfce4-mail-reader.desktop" >/etc/skel/.config/xfce4/panel/whiskermenu-1.rc + echo "favorites=xfce4-terminal-emulator.desktop,xfce4-file-manager.desktop,xfce4-web-browser.desktop,xfce4-mail-reader.desktop" >/root/.config/xfce4/panel/whiskermenu-1.rc + echo "favorites=xfce4-terminal-emulator.desktop,xfce4-file-manager.desktop,xfce4-web-browser.desktop,xfce4-mail-reader.desktop" >/home/live/.config/xfce4/panel/whiskermenu-1.rc + fi + cat <>/etc/skel/.config/xfce4/panel/whiskermenu-1.rc +recent= +button-icon=/usr/share/pixmaps/MiniOS-white.svg +button-single-row=false +show-button-title=false +show-button-icon=true +launcher-show-name=true +launcher-show-description=false +launcher-show-tooltip=true +item-icon-size=2 +hover-switch-category=false +category-show-name=true +category-icon-size=1 +load-hierarchy=false +view-as-icons=false +default-category=0 +recent-items-max=10 +favorites-in-recent=true +position-search-alternate=true +position-commands-alternate=false +position-categories-alternate=true +stay-on-focus-out=false +confirm-session-command=true +menu-width=450 +menu-height=500 +menu-opacity=100 +command-settings=xfce4-settings-manager +show-command-settings=false +command-lockscreen=xflock4 +show-command-lockscreen=false +command-switchuser=dm-tool switch-to-greeter +show-command-switchuser=false +command-logoutuser=xfce4-session-logout --logout --fast +show-command-logoutuser=false +command-restart=xfce4-session-logout --reboot --fast +show-command-restart=false +command-shutdown=xfce4-session-logout --halt --fast +show-command-shutdown=false +command-suspend=xfce4-session-logout --suspend +show-command-suspend=false +command-hibernate=xfce4-session-logout --hibernate +show-command-hibernate=false +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +command-profile=mugshot +show-command-profile=false +search-actions=5 + +[action0] +name=Man Pages +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Web Search +pattern=? +command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u +regex=false + +[action2] +name=Wikipedia +pattern=!w +command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u +regex=false + +[action3] +name=Run in Terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action4] +name=Open URI +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + + +EOF + cat <>/root/.config/xfce4/panel/whiskermenu-1.rc +recent= +button-icon=/usr/share/pixmaps/MiniOS-white.svg +button-single-row=false +show-button-title=false +show-button-icon=true +launcher-show-name=true +launcher-show-description=false +launcher-show-tooltip=true +item-icon-size=2 +hover-switch-category=false +category-show-name=true +category-icon-size=1 +load-hierarchy=false +view-as-icons=false +default-category=0 +recent-items-max=10 +favorites-in-recent=true +position-search-alternate=true +position-commands-alternate=false +position-categories-alternate=true +stay-on-focus-out=false +confirm-session-command=true +menu-width=450 +menu-height=500 +menu-opacity=100 +command-settings=xfce4-settings-manager +show-command-settings=false +command-lockscreen=xflock4 +show-command-lockscreen=false +command-switchuser=dm-tool switch-to-greeter +show-command-switchuser=false +command-logoutuser=xfce4-session-logout --logout --fast +show-command-logoutuser=false +command-restart=xfce4-session-logout --reboot --fast +show-command-restart=false +command-shutdown=xfce4-session-logout --halt --fast +show-command-shutdown=false +command-suspend=xfce4-session-logout --suspend +show-command-suspend=false +command-hibernate=xfce4-session-logout --hibernate +show-command-hibernate=false +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +command-profile=mugshot +show-command-profile=false +search-actions=5 + +[action0] +name=Man Pages +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Web Search +pattern=? +command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u +regex=false + +[action2] +name=Wikipedia +pattern=!w +command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u +regex=false + +[action3] +name=Run in Terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action4] +name=Open URI +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + + +EOF + cat <>/home/live/.config/xfce4/panel/whiskermenu-1.rc +recent= +button-icon=/usr/share/pixmaps/MiniOS-white.svg +button-single-row=false +show-button-title=false +show-button-icon=true +launcher-show-name=true +launcher-show-description=false +launcher-show-tooltip=true +item-icon-size=2 +hover-switch-category=false +category-show-name=true +category-icon-size=1 +load-hierarchy=false +view-as-icons=false +default-category=0 +recent-items-max=10 +favorites-in-recent=true +position-search-alternate=true +position-commands-alternate=false +position-categories-alternate=true +stay-on-focus-out=false +confirm-session-command=true +menu-width=450 +menu-height=500 +menu-opacity=100 +command-settings=xfce4-settings-manager +show-command-settings=false +command-lockscreen=xflock4 +show-command-lockscreen=false +command-switchuser=dm-tool switch-to-greeter +show-command-switchuser=false +command-logoutuser=xfce4-session-logout --logout --fast +show-command-logoutuser=false +command-restart=xfce4-session-logout --reboot --fast +show-command-restart=false +command-shutdown=xfce4-session-logout --halt --fast +show-command-shutdown=false +command-suspend=xfce4-session-logout --suspend +show-command-suspend=false +command-hibernate=xfce4-session-logout --hibernate +show-command-hibernate=false +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +command-profile=mugshot +show-command-profile=false +search-actions=5 + +[action0] +name=Man Pages +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Web Search +pattern=? +command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u +regex=false + +[action2] +name=Wikipedia +pattern=!w +command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u +regex=false + +[action3] +name=Run in Terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action4] +name=Open URI +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + + +EOF + #echo $WHISKERMENU >>/etc/skel/.config/xfce4/panel/whiskermenu-1.rc + #echo $WHISKERMENU >>/root/.config/xfce4/panel/whiskermenu-1.rc + #echo $WHISKERMENU >>/home/live/.config/xfce4/panel/whiskermenu-1.rc +else + #read -r -d MINIMAL_PANEL '' </etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +EOF + cat </root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +EOF + cat </home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +EOF + #echo $MINIMAL_PANEL >>/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml + #echo $MINIMAL_PANEL >>/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml + #echo $MINIMAL_PANEL >>/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser= + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser= + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser= + +EOF + +elif [ $PACKAGE_VARIANT = "standard" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=Thunar +WebBrowser= + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=Thunar +WebBrowser= + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=Thunar +WebBrowser= + +EOF +fi diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/minimal.list b/minios-modules/usr/share/minios/modules/03-xfce-desktop/minimal.list new file mode 100644 index 0000000..6ba5346 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/minimal.list @@ -0,0 +1,15 @@ +dbus-x11 +slim +libxfce4ui-utils +pcmanfm +xfce4-appfinder +xfce4-panel +xfce4-session +xfce4-settings +xfconf +xfdesktop4 +xfwm4 +greybird-gtk-theme +volumeicon-alsa +xfce4-xkb-plugin +xfce4-battery-plugin \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/postinstall b/minios-modules/usr/share/minios/modules/03-xfce-desktop/postinstall new file mode 100644 index 0000000..b72f284 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/postinstall @@ -0,0 +1,193 @@ +#!/bin/bash + +#(cd /rootcopy && cp --parents -afr * /) + +# create user directories +for dir in Desktop Documents Downloads Music Pictures Public Templates Videos; do + mkdir -p /home/live/$dir >>$OUTPUT 2>&1 + mkdir -p /root/$dir >>$OUTPUT 2>&1 +done + +rm -f /usr/share/backgrounds/xfce/* +ln -s /usr/share/backgrounds/MiniOS-wallpaper.svg /usr/share/backgrounds/xfce/xfce-verticals.png +ln -s /usr/share/backgrounds/MiniOS-wallpaper.svg /usr/share/backgrounds/xfce/xfce-teal.jpg + +if [ $PACKAGE_VARIANT = "standard" ]; then + rm -f /usr/share/applications/pavucontrol.desktop +fi + +if grep slim $SCRIPT_DIR/$PACKAGE_VARIANT.list >>$OUTPUT 2>&1; then + sed -i 's,# hidecursor false,hidecursor false,g' /etc/slim.conf + sed -i 's,screenshot_cmd scrot /root/slim.png,# screenshot_cmd scrot /root/slim.png,g' /etc/slim.conf + if [ $PACKAGE_VARIANT = "minimal" ]; then + sed -i 's,#default_user simone,default_user root,g' /etc/slim.conf + else + sed -i 's,#default_user simone,default_user live,g' /etc/slim.conf + fi + sed -i 's,#auto_login no,auto_login yes,g' /etc/slim.conf + sed -i 's,current_theme debian-softwaves,current_theme minios,g' /etc/slim.conf +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat <>/usr/share/applications/taskmanager.desktop +[Desktop Entry] +Name=Task Manager +Name[ar]=مدير المهام +Name[ast]=Xestor de xeres +Name[be]=Кіраўнік задач +Name[bg]=Мениджър на задачи +Name[ca]=Gestor de tasques +Name[cs]=Správce úloh +Name[da]=Opgavehåndtering +Name[de]=Taskmanager +Name[el]=Διαχειριστής εργασιών +Name[en_AU]=Task Manager +Name[en_GB]=Task Manager +Name[es]=Gestor de tareas +Name[eu]=Zeregin kudeatzailea +Name[fi]=Tehtävienhallinta +Name[fr]=Gestionnaire de tâches +Name[gl]=Xestor de tarefas +Name[he]=מנהל משימות +Name[hr]=Upravitelj zadacima +Name[hu]=Feladatkezelő +Name[id]=Manajer Tugas +Name[is]=Verkefnastjóri +Name[it]=Gestore dei processi +Name[ja]=タスクマネージャー +Name[kk]=Үрдістерді басқарушысы +Name[ko]=작업 관리자 +Name[lt]=Užduočių tvarkytuvė +Name[ms]=Pengurus Tugas +Name[nb]=Oppgavebehandler +Name[nl]=Taakbeheerder +Name[oc]=Gestionari de prètzfaches +Name[pl]=Menedżer zadań +Name[pt]=Gestor de tarefas +Name[pt_BR]=Gerenciador de tarefas +Name[ru]=Диспетчер задач +Name[sk]=Správca úloh +Name[sl]=Upravljalnik nalog +Name[sq]=Përgjegjës Aktesh +Name[sr]=Управник задатака +Name[sv]=Aktivitetshanterare +Name[te]=కర్తవ్య నిర్వాహకం +Name[th]=โปรแกรมจัดการทาสก์ +Name[tr]=Görev Yöneticisi +Name[ug]=ۋەزىپە باشقۇرغۇ +Name[uk]=Диспетчер задач +Name[vi]=Quản lý tác vụ +Name[zh_CN]=任务管理器 +Name[zh_HK]=工作管理員 +Name[zh_TW]=工作管理員 +Comment=Easy to use task manager +Comment[ar]=من السهل إستخدام مدير المهام +Comment[ast]=Xestor de xeres cenciellu d'usar +Comment[be]=Зручны ў выкарыстанні кіраўнік задач +Comment[bg]=Лесен за използване мениджър на задачи +Comment[ca]=Gestor de tasques fàcil d'utilitzar +Comment[cs]=Snadno použitelný správce úloh +Comment[da]=Opgavehåndtering som er nem at bruge +Comment[de]=Prozessverwaltung mit einfacher Bedienung +Comment[el]=Εύκολος στην χρήση διαχειριστής διεργασιών +Comment[en_AU]=Easy to use task manager +Comment[en_GB]=Easy to use task manager +Comment[es]=Un gestor de tareas fácil de usar +Comment[eu]= Zeregin kudeatzaile erabilerraz bat da +Comment[fi]=Helppokäyttöinen tehtävienhallinta +Comment[fr]=Gestionnaire de tâches simple d’utilisation +Comment[gl]=Xestor de tarefas fácil de usar +Comment[he]=מנהל משימות קל לשימוש +Comment[hr]=Lagan za korištenje upravitelj zadacima +Comment[hu]=Egyszerűen használható feladatkezelő +Comment[id]=Manajer tugas yang mudah digunakan +Comment[is]=Einfaldur og auðveldur verkefnastjóri +Comment[it]=Gestore dei processi di semplice utilizzo +Comment[ja]=使いやすいタスクマネージャーです +Comment[kk]=Жүйе үрдістерін ыңғайлы басқару +Comment[ko]=쓰기 쉬운 작업관리자 +Comment[lt]=Lengvai naudojama užduočių tvarkytuvė +Comment[ms]=Pengurus tugas yang mudah digunakan +Comment[nb]=Lett å bruke oppgavebehandler +Comment[nl]=Gemakkelijk te gebruiken taakbeheerder +Comment[oc]=De bon utilizar : lo gestionari de prètzfaches +Comment[pl]=Zarządza uruchomionymi procesami +Comment[pt]=Gestor de tarefas fácil de usar +Comment[pt_BR]=Um gerenciador de tarefas fácil de usar +Comment[ru]=Простой диспетчер задач +Comment[sk]=Správca úloh s jednoduchým používaním +Comment[sl]=Enostaven upravljalnik nalog +Comment[sq]=Përgjegjës aktesh i lehtë për t’u përdorur +Comment[sr]=Управник задатака лак за коришћење +Comment[sv]=Lättanvänd aktivitetshanterare +Comment[te]=వాడుటకు సరళమైన కర్తవ్య నిర్వాహకం +Comment[th]=โปรแกรมจัดการทาสก์สะดวกใช้ +Comment[tr]=Kullanımı kolay görev yöneticisi +Comment[ug]=ئىشلىتىشكە ئەپلىك ۋەزىپە باشقۇرغۇ +Comment[uk]=Простий у використанні диспетчер задач +Comment[vi]=Trình quản lý tác vụ dễ dùng +Comment[zh_CN]=易用的任务管理器 +Comment[zh_HK]=易用的工作管理員 +Comment[zh_TW]=易於使用的工作管理員 +GenericName=Task Manager +GenericName[ar]=مدير المهام +GenericName[ast]=Xestor de xeres +GenericName[be]=Кіраўнік задач +GenericName[bg]=Мениджър на задачи +GenericName[ca]=Gestor de tasques +GenericName[cs]=Správce úloh +GenericName[da]=Opgavehåndtering +GenericName[de]=Taskmanager +GenericName[el]=Διαχειριστής εργασιών +GenericName[en_AU]=Task Manager +GenericName[en_GB]=Task Manager +GenericName[es]=Gestor de tareas +GenericName[eu]=Zeregin kudeatzailea +GenericName[fi]=Tehtävienhallinta +GenericName[fr]=Gestionnaire de tâches +GenericName[gl]=Xestor de tarefas +GenericName[he]=מנהל משימות +GenericName[hr]=Upravitelj zadacima +GenericName[hu]=Feladatkezelő +GenericName[id]=Manajer Tugas +GenericName[is]=Verkefnastjóri +GenericName[it]=Gestore dei processi +GenericName[ja]=タスクマネージャー +GenericName[kk]=Үрдістерді басқарушысы +GenericName[ko]=작업 관리자 +GenericName[lt]=Užduočių tvarkytuvė +GenericName[ms]=Pengurus Tugas +GenericName[nb]=Oppgavebehandler +GenericName[nl]=Taakbeheerder +GenericName[oc]=Gestionari de prètzfaches +GenericName[pl]=Menedżer zadań +GenericName[pt]=Gestor de tarefas +GenericName[pt_BR]=Gerenciador de tarefas +GenericName[ru]=Диспетчер задач +GenericName[sk]=Správca úloh +GenericName[sl]=Upravljalnik nalog +GenericName[sq]=Përgjegjës Aktesh +GenericName[sr]=Управник задатака +GenericName[sv]=Aktivitetshanterare +GenericName[te]=కర్తవ్య నిర్వాహకం +GenericName[th]=โปรแกรมจัดการทาสก์ +GenericName[tr]=Görev Yöneticisi +GenericName[ug]=ۋەزىپە باشقۇرغۇ +GenericName[uk]=Диспетчер задач +GenericName[vi]=Quản lý tác vụ +GenericName[zh_CN]=任务管理器 +GenericName[zh_HK]=工作管理員 +GenericName[zh_TW]=工作管理員 +Exec=xterm -e 'htop' +Icon=utilities-system-monitor +Terminal=false +StartupNotify=true +Type=Application +Categories=System;Utility; + +EOF +fi + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 + +update-alternatives --set x-terminal-emulator /usr/bin/xterm >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/default/nodm b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/default/nodm new file mode 100644 index 0000000..5be8f85 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/default/nodm @@ -0,0 +1,32 @@ +# nodm configuration + +# Set NODM_ENABLED to something different than 'false' to enable nodm +NODM_ENABLED=true + +# User to autologin for +NODM_USER=live + +# First vt to try when looking for free VTs +NODM_FIRST_VT=7 + +# X session +NODM_XSESSION=/etc/X11/Xsession + +# Options for nodm itself +NODM_OPTIONS= + +# Options for the X server. +# +# Format: [/usr/bin/] [:] +# +# The Xserver executable and the display name can be omitted, but should +# be placed in front, if nodm's defaults shall be overridden. +NODM_X_OPTIONS='-nolisten tcp' + +# If an X session will run for less than this time in seconds, nodm will wait an +# increasing bit of time before restarting the session. +NODM_MIN_SESSION_TIME=60 + +# Timeout (in seconds) to wait for X to be ready to accept connections. If X is +# not ready before this timeout, it is killed and restarted. +NODM_X_TIMEOUT=300 diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xarchiver/xarchiverrc b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xarchiver/xarchiverrc new file mode 100644 index 0000000..f65e2a5 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xarchiver/xarchiverrc @@ -0,0 +1,20 @@ +[xarchiver] +preferred_format=0 +confirm_deletion=true +sort_filename_content=false +store_output=false +icon_size=0 +show_archive_comment=false +show_sidebar=false +show_location_bar=false +preferred_temp_dir=/tmp +allow_sub_dir=0 +overwrite=false +full_path=true +touch=false +freshen=false +update=false +store_path=false +recurse=true +solid_archive=false +remove_files=false diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/battery-10.rc b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/battery-10.rc new file mode 100644 index 0000000..170c036 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/battery-10.rc @@ -0,0 +1,20 @@ +display_label=false +display_icon=false +display_power=false +display_percentage=false +display_bar=true +display_time=false +tooltip_display_percentage=true +tooltip_display_time=true +low_percentage=10 +critical_percentage=5 +action_on_low=1 +action_on_critical=1 +hide_when_full=-415324144 +colorA=rgb(136,136,255) +colorH=rgb(0,255,0) +colorL=rgb(255,255,0) +colorC=rgb(255,0,0) +command_on_low= +command_on_critical= + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop new file mode 100644 index 0000000..e51e56e --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch TerminalEmulator +Icon=utilities-terminal +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-AppStream-Ignore=True +Name=Terminal Emulator +Comment=Use the command line +X-XFCE-Source=file:///usr/share/applications/exo-terminal-emulator.desktop diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-4/FileManager.desktop b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-4/FileManager.desktop new file mode 100644 index 0000000..598b0c9 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-4/FileManager.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch FileManager %u +Icon=system-file-manager +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=inode/directory;x-scheme-handler/trash; +X-AppStream-Ignore=True +Name=File Manager +Comment=Browse the file system +X-XFCE-Source=file:///usr/share/applications/exo-file-manager.desktop diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-5/WebBrowser.desktop b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-5/WebBrowser.desktop new file mode 100644 index 0000000..4662377 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-5/WebBrowser.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch WebBrowser %u +Icon=web-browser +StartupNotify=true +Terminal=false +Categories=Network;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=x-scheme-handler/http;x-scheme-handler/https; +X-AppStream-Ignore=True +Name=Web Browser +Comment=Browse the web +X-XFCE-Source=file:///usr/share/applications/exo-web-browser.desktop diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml new file mode 100644 index 0000000..0559966 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml new file mode 100644 index 0000000..5dd9176 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml new file mode 100644 index 0000000..ab0d597 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000..f3c9034 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml new file mode 100644 index 0000000..276b7ec --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml new file mode 100644 index 0000000..0693440 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml new file mode 100644 index 0000000..a7d7fe7 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml new file mode 100644 index 0000000..4d5554e --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xinitrc b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xinitrc new file mode 100644 index 0000000..41eda7a --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec xfce4-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xsession b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xsession new file mode 100644 index 0000000..8658258 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xsession @@ -0,0 +1 @@ +xfce4-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/chromium/Default/Preferences b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/chromium/Default/Preferences new file mode 100644 index 0000000..5bfddb0 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/chromium/Default/Preferences @@ -0,0 +1,38 @@ +{ + "AudioCaptureAllowed": false, + "account_id_migration_state": 2, + "account_tracker_service_last_update": "13154004704520013", + "alternate_error_pages": { + "enabled": false + }, + "bookmark_bar": { + "show_on_all_tabs": false + }, + "browser": { + "check_default_browser": false, + "has_seen_welcome_page": true, + "show_home_button": false, + "window_placement": { + "bottom": 10, + "left": 10, + "maximized": true, + "right": 10, + "top": 10 + } + }, + "extensions": { + "theme": { + "use_system": true + } + }, + "ntp": { + "most_visited_blacklist": { + "c8e0afd1da1d9e29511240861f795a5a": null, + "eacc8c3ad0b50bd698ef8752d5ee24b6": null + } + }, + "safebrowsing": { + "enabled": false, + "scout_group_selected": true + } +} \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/chromium/First Run b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/chromium/First Run new file mode 100644 index 0000000..e69de29 diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xarchiver/xarchiverrc b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xarchiver/xarchiverrc new file mode 100644 index 0000000..f65e2a5 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xarchiver/xarchiverrc @@ -0,0 +1,20 @@ +[xarchiver] +preferred_format=0 +confirm_deletion=true +sort_filename_content=false +store_output=false +icon_size=0 +show_archive_comment=false +show_sidebar=false +show_location_bar=false +preferred_temp_dir=/tmp +allow_sub_dir=0 +overwrite=false +full_path=true +touch=false +freshen=false +update=false +store_path=false +recurse=true +solid_archive=false +remove_files=false diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/battery-10.rc b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/battery-10.rc new file mode 100644 index 0000000..170c036 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/battery-10.rc @@ -0,0 +1,20 @@ +display_label=false +display_icon=false +display_power=false +display_percentage=false +display_bar=true +display_time=false +tooltip_display_percentage=true +tooltip_display_time=true +low_percentage=10 +critical_percentage=5 +action_on_low=1 +action_on_critical=1 +hide_when_full=-415324144 +colorA=rgb(136,136,255) +colorH=rgb(0,255,0) +colorL=rgb(255,255,0) +colorC=rgb(255,0,0) +command_on_low= +command_on_critical= + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop new file mode 100644 index 0000000..e51e56e --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch TerminalEmulator +Icon=utilities-terminal +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-AppStream-Ignore=True +Name=Terminal Emulator +Comment=Use the command line +X-XFCE-Source=file:///usr/share/applications/exo-terminal-emulator.desktop diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-4/FileManager.desktop b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-4/FileManager.desktop new file mode 100644 index 0000000..598b0c9 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-4/FileManager.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch FileManager %u +Icon=system-file-manager +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=inode/directory;x-scheme-handler/trash; +X-AppStream-Ignore=True +Name=File Manager +Comment=Browse the file system +X-XFCE-Source=file:///usr/share/applications/exo-file-manager.desktop diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-5/WebBrowser.desktop b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-5/WebBrowser.desktop new file mode 100644 index 0000000..4662377 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-5/WebBrowser.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch WebBrowser %u +Icon=web-browser +StartupNotify=true +Terminal=false +Categories=Network;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=x-scheme-handler/http;x-scheme-handler/https; +X-AppStream-Ignore=True +Name=Web Browser +Comment=Browse the web +X-XFCE-Source=file:///usr/share/applications/exo-web-browser.desktop diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/whiskermenu-1.rc b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/whiskermenu-1.rc new file mode 100644 index 0000000..be72781 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/whiskermenu-1.rc @@ -0,0 +1,80 @@ +favorites=xfce4-terminal-emulator.desktop,xfce4-file-manager.desktop,xfce4-web-browser.desktop,xfce4-mail-reader.desktop +recent= +button-icon=/usr/share/pixmaps/MiniOS-white.svg +button-single-row=false +show-button-title=false +show-button-icon=true +launcher-show-name=true +launcher-show-description=false +launcher-show-tooltip=true +item-icon-size=2 +hover-switch-category=false +category-show-name=true +category-icon-size=1 +load-hierarchy=false +view-as-icons=false +default-category=0 +recent-items-max=10 +favorites-in-recent=true +position-search-alternate=true +position-commands-alternate=false +position-categories-alternate=true +stay-on-focus-out=false +confirm-session-command=true +menu-width=450 +menu-height=500 +menu-opacity=100 +command-settings=xfce4-settings-manager +show-command-settings=false +command-lockscreen=xflock4 +show-command-lockscreen=false +command-switchuser=dm-tool switch-to-greeter +show-command-switchuser=false +command-logoutuser=xfce4-session-logout --logout --fast +show-command-logoutuser=false +command-restart=xfce4-session-logout --reboot --fast +show-command-restart=false +command-shutdown=xfce4-session-logout --halt --fast +show-command-shutdown=false +command-suspend=xfce4-session-logout --suspend +show-command-suspend=false +command-hibernate=xfce4-session-logout --hibernate +show-command-hibernate=false +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +command-profile=mugshot +show-command-profile=false +search-actions=5 + +[action0] +name=Man Pages +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Web Search +pattern=? +command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u +regex=false + +[action2] +name=Wikipedia +pattern=!w +command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u +regex=false + +[action3] +name=Run in Terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action4] +name=Open URI +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml new file mode 100644 index 0000000..e7e0bcd --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml new file mode 100644 index 0000000..0559966 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml new file mode 100644 index 0000000..5dd9176 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml new file mode 100644 index 0000000..ab0d597 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000..f3c9034 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml new file mode 100644 index 0000000..276b7ec --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml new file mode 100644 index 0000000..0693440 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml new file mode 100644 index 0000000..a7d7fe7 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml new file mode 100644 index 0000000..4d5554e --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.xinitrc b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.xinitrc new file mode 100644 index 0000000..41eda7a --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec xfce4-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.xsession b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.xsession new file mode 100644 index 0000000..8658258 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/home/live/.xsession @@ -0,0 +1 @@ +xfce4-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xarchiver/xarchiverrc b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xarchiver/xarchiverrc new file mode 100644 index 0000000..f65e2a5 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xarchiver/xarchiverrc @@ -0,0 +1,20 @@ +[xarchiver] +preferred_format=0 +confirm_deletion=true +sort_filename_content=false +store_output=false +icon_size=0 +show_archive_comment=false +show_sidebar=false +show_location_bar=false +preferred_temp_dir=/tmp +allow_sub_dir=0 +overwrite=false +full_path=true +touch=false +freshen=false +update=false +store_path=false +recurse=true +solid_archive=false +remove_files=false diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/battery-10.rc b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/battery-10.rc new file mode 100644 index 0000000..170c036 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/battery-10.rc @@ -0,0 +1,20 @@ +display_label=false +display_icon=false +display_power=false +display_percentage=false +display_bar=true +display_time=false +tooltip_display_percentage=true +tooltip_display_time=true +low_percentage=10 +critical_percentage=5 +action_on_low=1 +action_on_critical=1 +hide_when_full=-415324144 +colorA=rgb(136,136,255) +colorH=rgb(0,255,0) +colorL=rgb(255,255,0) +colorC=rgb(255,0,0) +command_on_low= +command_on_critical= + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop new file mode 100644 index 0000000..e51e56e --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch TerminalEmulator +Icon=utilities-terminal +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-AppStream-Ignore=True +Name=Terminal Emulator +Comment=Use the command line +X-XFCE-Source=file:///usr/share/applications/exo-terminal-emulator.desktop diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-4/FileManager.desktop b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-4/FileManager.desktop new file mode 100644 index 0000000..598b0c9 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-4/FileManager.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch FileManager %u +Icon=system-file-manager +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=inode/directory;x-scheme-handler/trash; +X-AppStream-Ignore=True +Name=File Manager +Comment=Browse the file system +X-XFCE-Source=file:///usr/share/applications/exo-file-manager.desktop diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-5/WebBrowser.desktop b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-5/WebBrowser.desktop new file mode 100644 index 0000000..4662377 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-5/WebBrowser.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch WebBrowser %u +Icon=web-browser +StartupNotify=true +Terminal=false +Categories=Network;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=x-scheme-handler/http;x-scheme-handler/https; +X-AppStream-Ignore=True +Name=Web Browser +Comment=Browse the web +X-XFCE-Source=file:///usr/share/applications/exo-web-browser.desktop diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml new file mode 100644 index 0000000..0559966 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml new file mode 100644 index 0000000..5dd9176 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml new file mode 100644 index 0000000..ab0d597 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000..f3c9034 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml new file mode 100644 index 0000000..276b7ec --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml new file mode 100644 index 0000000..0693440 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml new file mode 100644 index 0000000..a7d7fe7 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml new file mode 100644 index 0000000..4d5554e --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.xinitrc b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.xinitrc new file mode 100644 index 0000000..41eda7a --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec xfce4-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.xsession b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.xsession new file mode 100644 index 0000000..8658258 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/root/.xsession @@ -0,0 +1 @@ +xfce4-session \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/backgrounds/MiniOS-wallpaper.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/backgrounds/MiniOS-wallpaper.svg new file mode 100644 index 0000000..9c8639a --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/backgrounds/MiniOS-wallpaper.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/pixmaps/MiniOS-white.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/pixmaps/MiniOS-white.svg new file mode 100644 index 0000000..ca13046 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/pixmaps/MiniOS-white.svg @@ -0,0 +1,149 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/background.png b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/background.png new file mode 100644 index 0000000..966915d Binary files /dev/null and b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/background.png differ diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/panel.png b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/panel.png new file mode 100644 index 0000000..8d01ac8 Binary files /dev/null and b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/panel.png differ diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/slim.theme b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/slim.theme new file mode 100644 index 0000000..b70182b --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/slim.theme @@ -0,0 +1,36 @@ +# greeny_dark theme for SLIM +# by aditya shakya +# using artwork from some free html+css login templates on the internet + +# Messages (ie: shutdown) + +msg_color #b5cd60 +msg_font Sans:size=18:bold:dpi=75 +msg_x 50% +msg_y 30% + +# Session Name + +session_color #b5cd60 +session_font Sans:size=16:bold:dpi=75 +session_x 50% +session_y 90% + +# valid values: stretch, tile + +background_style stretch +background_color #f2f2f2 + +# Input controls + +input_panel_x 50% +input_panel_y 50% +input_name_x 200 +input_name_y 78 +input_pass_x 200 +input_pass_y 145 +input_font Sans:size=14:dpi=75 +input_color #b5cd60 + +username_msg +password_msg diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-ac-adapter.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-ac-adapter.svg new file mode 100644 index 0000000..f702a54 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-ac-adapter.svg @@ -0,0 +1,472 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-charging.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-charging.svg new file mode 100644 index 0000000..4fb1245 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-charging.svg @@ -0,0 +1,322 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-symbolic.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-symbolic.svg new file mode 100644 index 0000000..8d60e10 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-symbolic.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution.svg new file mode 100644 index 0000000..07cf41e --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution.svg @@ -0,0 +1,365 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty-charging.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty-charging.svg new file mode 100644 index 0000000..45ccf8d --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty-charging.svg @@ -0,0 +1,308 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty.svg new file mode 100644 index 0000000..80bd5e1 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty.svg @@ -0,0 +1,451 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charged.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charged.svg new file mode 100644 index 0000000..bc28a46 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charged.svg @@ -0,0 +1,255 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charging.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charging.svg new file mode 100644 index 0000000..f655e9c --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charging.svg @@ -0,0 +1,263 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full.svg new file mode 100644 index 0000000..2b093e1 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full.svg @@ -0,0 +1,255 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good-charging.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good-charging.svg new file mode 100644 index 0000000..56e0e18 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good-charging.svg @@ -0,0 +1,314 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good.svg new file mode 100644 index 0000000..bdf7600 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good.svg @@ -0,0 +1,371 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-charging.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-charging.svg new file mode 100644 index 0000000..526baf2 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-charging.svg @@ -0,0 +1,304 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-symbolic.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-symbolic.svg new file mode 100644 index 0000000..2214891 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-symbolic.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low.svg new file mode 100644 index 0000000..03f2e71 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low.svg @@ -0,0 +1,337 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-missing.svg b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-missing.svg new file mode 100644 index 0000000..9b8c436 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-missing.svg @@ -0,0 +1,371 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/03-xfce-desktop/standard.list b/minios-modules/usr/share/minios/modules/03-xfce-desktop/standard.list new file mode 100644 index 0000000..5dacc83 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/03-xfce-desktop/standard.list @@ -0,0 +1,25 @@ +dbus-x11 +slim +libxfce4ui-utils +thunar +thunar-volman +gvfs-backends +samba-common +avahi-daemon +tumbler +eject +xfce4-appfinder +xfce4-panel +xfce4-session +xfce4-settings +xfconf +xfdesktop4 +xfwm4 +greybird-gtk-theme +xfce4-pulseaudio-plugin +pulseaudio +pavucontrol +xfce4-xkb-plugin +xfce4-battery-plugin +xfce4-whiskermenu-plugin +network-manager-gnome \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/04-cinnamon-apps/install b/minios-modules/usr/share/minios/modules/04-cinnamon-apps/install new file mode 100644 index 0000000..00eca10 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-cinnamon-apps/install @@ -0,0 +1,32 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if [ $PACKAGE_VARIANT = "standard" ]; then + if [ $DISTRIBUTION = "stretch" ]; then + echo 'deb http://ftp.debian.org/debian stretch-backports main' | sudo tee --append /etc/apt/sources.list.d/stretch-backports.list >>$OUTPUT 2>&1 + $APT_CMD update && + $APT_CMD install -t stretch-backports $APT_OPTIONS $APT_OPTIONS2 \ + remmina remmina-plugin-rdp remmina-plugin-vnc >>$OUTPUT 2>&1 + else + $APT_CMD update && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + remmina remmina-plugin-rdp remmina-plugin-vnc >>$OUTPUT 2>&1 + + fi +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + sed -i 's,create=xarchiver --add-to,create=xarchiver --compress,g' /usr/share/libfm/archivers.list +fi diff --git a/minios-modules/usr/share/minios/modules/04-cinnamon-apps/minimal.list b/minios-modules/usr/share/minios/modules/04-cinnamon-apps/minimal.list new file mode 100644 index 0000000..81ee1ec --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-cinnamon-apps/minimal.list @@ -0,0 +1,3 @@ +mousepad +xarchiver +ristretto \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/04-cinnamon-apps/postinstall b/minios-modules/usr/share/minios/modules/04-cinnamon-apps/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-cinnamon-apps/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/04-cinnamon-apps/standard.list b/minios-modules/usr/share/minios/modules/04-cinnamon-apps/standard.list new file mode 100644 index 0000000..e46364f --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-cinnamon-apps/standard.list @@ -0,0 +1,8 @@ +gedit +file-roller +eog +gnome-terminal +gnome-system-monitor +gnome-screenshot +vlc +gparted \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/install b/minios-modules/usr/share/minios/modules/04-xfce-apps/install new file mode 100644 index 0000000..8d72be3 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/install @@ -0,0 +1,73 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if [ $PACKAGE_VARIANT = "standard" ]; then + if [ $DISTRIBUTION = "stretch" ]; then + echo 'deb http://ftp.debian.org/debian stretch-backports main' | sudo tee --append /etc/apt/sources.list.d/stretch-backports.list >>$OUTPUT 2>&1 + $APT_CMD update && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install -t stretch-backports $APT_OPTIONS $APT_OPTIONS2 \ + remmina remmina-plugin-rdp remmina-plugin-vnc >>$OUTPUT 2>&1 + else + $APT_CMD update && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + remmina remmina-plugin-rdp remmina-plugin-vnc >>$OUTPUT 2>&1 + + fi +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + +elif [ $PACKAGE_VARIANT = "standard" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF +fi diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/minimal.list b/minios-modules/usr/share/minios/modules/04-xfce-apps/minimal.list new file mode 100644 index 0000000..81ee1ec --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/minimal.list @@ -0,0 +1,3 @@ +mousepad +xarchiver +ristretto \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/postinstall b/minios-modules/usr/share/minios/modules/04-xfce-apps/postinstall new file mode 100644 index 0000000..6430bf2 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/postinstall @@ -0,0 +1,11 @@ +#!/bin/bash + +(cd /rootcopy && cp --parents -afr * /) + +if [ $PACKAGE_VARIANT = "minimal" ]; then + sed -i 's,create=xarchiver --add-to,create=xarchiver --compress,g' /usr/share/libfm/archivers.list +fi + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 +rm -Rf /usr/share/icons/Adwaita/256x256 >>$OUTPUT 2>&1 +rm -Rf /usr/share/icons/Adwaita/512x512 >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/autostart/volumeicon.desktop b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/autostart/volumeicon.desktop new file mode 100644 index 0000000..79c425b --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/autostart/volumeicon.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.9.4 +Type=Application +Name=volumeicon +Comment= +Exec=volumeicon +OnlyShowIn=XFCE; +StartupNotify=false +Terminal=false +Hidden=false + diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/volumeicon/volumeicon b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/volumeicon/volumeicon new file mode 100644 index 0000000..32df349 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/volumeicon/volumeicon @@ -0,0 +1,27 @@ +[Alsa] +card=default +logarithmic_scale=false + +[Notification] +show_notification=true +notification_type=0 + +[StatusIcon] +stepsize=5 +onclick=xterm -e 'alsamixer' +theme=White Gnome +use_panel_specific_icons=false +reverse_scroll_direction=false +lmb_slider=false +mmb_mute=false +use_horizontal_slider=false +show_sound_level=false +use_transparent_background=false + +[Hotkeys] +up_enabled=false +down_enabled=false +mute_enabled=false +up=XF86AudioRaiseVolume +down=XF86AudioLowerVolume +mute=XF86AudioMute diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/xfce4/terminal/accels.scm b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/xfce4/terminal/accels.scm new file mode 100644 index 0000000..43521c9 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/xfce4/terminal/accels.scm @@ -0,0 +1,56 @@ +; xfce4-terminal GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +(gtk_accel_path "/terminal-window/goto-tab-1" "1") +(gtk_accel_path "/terminal-window/goto-tab-3" "3") +; (gtk_accel_path "/terminal-window/file-menu" "") +; (gtk_accel_path "/terminal-window/close-other-tabs" "") +; (gtk_accel_path "/terminal-window/search" "f") +; (gtk_accel_path "/terminal-window/next-tab" "Page_Down") +; (gtk_accel_path "/terminal-window/copy-html" "") +; (gtk_accel_path "/terminal-window/show-menubar" "") +; (gtk_accel_path "/terminal-window/zoom-reset" "0") +; (gtk_accel_path "/terminal-window/close-window" "q") +; (gtk_accel_path "/terminal-window/save-contents" "") +; (gtk_accel_path "/terminal-window/close-tab" "w") +; (gtk_accel_path "/terminal-window/view-menu" "") +; (gtk_accel_path "/terminal-window/new-tab" "t") +; (gtk_accel_path "/terminal-window/show-toolbar" "") +; (gtk_accel_path "/terminal-window/copy-input" "") +; (gtk_accel_path "/terminal-window/paste" "v") +; (gtk_accel_path "/terminal-window/copy" "c") +; (gtk_accel_path "/terminal-window/edit-menu" "") +; (gtk_accel_path "/terminal-window/fullscreen" "F11") +(gtk_accel_path "/terminal-window/goto-tab-6" "6") +; (gtk_accel_path "/terminal-window/read-only" "") +; (gtk_accel_path "/terminal-window/detach-tab" "d") +(gtk_accel_path "/terminal-window/goto-tab-8" "8") +(gtk_accel_path "/terminal-window/goto-tab-2" "2") +; (gtk_accel_path "/terminal-window/scroll-on-output" "") +(gtk_accel_path "/terminal-window/goto-tab-5" "5") +; (gtk_accel_path "/terminal-window/prev-tab" "Page_Up") +; (gtk_accel_path "/terminal-window/move-tab-left" "Page_Up") +; (gtk_accel_path "/terminal-window/zoom-in" "plus") +; (gtk_accel_path "/terminal-window/search-prev" "") +; (gtk_accel_path "/terminal-window/reset-and-clear" "") +; (gtk_accel_path "/terminal-window/about" "") +; (gtk_accel_path "/terminal-window/search-next" "") +(gtk_accel_path "/terminal-window/toggle-menubar" "F10") +(gtk_accel_path "/terminal-window/goto-tab-7" "7") +; (gtk_accel_path "/terminal-window/select-all" "a") +; (gtk_accel_path "/terminal-window/help-menu" "") +(gtk_accel_path "/terminal-window/goto-tab-9" "9") +; (gtk_accel_path "/terminal-window/show-borders" "") +; (gtk_accel_path "/terminal-window/new-window" "n") +(gtk_accel_path "/terminal-window/goto-tab-4" "4") +; (gtk_accel_path "/terminal-window/contents" "F1") +; (gtk_accel_path "/terminal-window/preferences" "") +; (gtk_accel_path "/terminal-window/move-tab-right" "Page_Down") +; (gtk_accel_path "/terminal-window/zoom-out" "minus") +; (gtk_accel_path "/terminal-window/set-title" "s") +; (gtk_accel_path "/terminal-window/paste-selection" "") +; (gtk_accel_path "/terminal-window/undo-close-tab" "") +; (gtk_accel_path "/terminal-window/tabs-menu" "") +; (gtk_accel_path "/terminal-window/zoom-menu" "") +; (gtk_accel_path "/terminal-window/reset" "") +; (gtk_accel_path "/terminal-window/terminal-menu" "") diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/xfce4/terminal/terminalrc b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/xfce4/terminal/terminalrc new file mode 100644 index 0000000..04abf43 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/etc/skel/.config/xfce4/terminal/terminalrc @@ -0,0 +1,30 @@ +[Configuration] +FontName=Monospace 10 +MiscAlwaysShowTabs=FALSE +MiscBell=FALSE +MiscBellUrgent=FALSE +MiscBordersDefault=TRUE +MiscCursorBlinks=FALSE +MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK +MiscDefaultGeometry=80x24 +MiscInheritGeometry=FALSE +MiscMenubarDefault=TRUE +MiscMouseAutohide=FALSE +MiscMouseWheelZoom=TRUE +MiscToolbarDefault=FALSE +MiscConfirmClose=TRUE +MiscCycleTabs=TRUE +MiscTabCloseButtons=TRUE +MiscTabCloseMiddleClick=TRUE +MiscTabPosition=GTK_POS_TOP +MiscHighlightUrls=TRUE +MiscMiddleClickOpensUri=FALSE +MiscCopyOnSelect=FALSE +MiscShowRelaunchDialog=TRUE +MiscRewrapOnResize=TRUE +MiscUseShiftArrowsToScroll=FALSE +MiscSlimTabs=FALSE +MiscNewTabAdjacent=FALSE +BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT +BackgroundDarkness=0.800000 + diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/autostart/volumeicon.desktop b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/autostart/volumeicon.desktop new file mode 100644 index 0000000..79c425b --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/autostart/volumeicon.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.9.4 +Type=Application +Name=volumeicon +Comment= +Exec=volumeicon +OnlyShowIn=XFCE; +StartupNotify=false +Terminal=false +Hidden=false + diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/volumeicon/volumeicon b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/volumeicon/volumeicon new file mode 100644 index 0000000..32df349 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/volumeicon/volumeicon @@ -0,0 +1,27 @@ +[Alsa] +card=default +logarithmic_scale=false + +[Notification] +show_notification=true +notification_type=0 + +[StatusIcon] +stepsize=5 +onclick=xterm -e 'alsamixer' +theme=White Gnome +use_panel_specific_icons=false +reverse_scroll_direction=false +lmb_slider=false +mmb_mute=false +use_horizontal_slider=false +show_sound_level=false +use_transparent_background=false + +[Hotkeys] +up_enabled=false +down_enabled=false +mute_enabled=false +up=XF86AudioRaiseVolume +down=XF86AudioLowerVolume +mute=XF86AudioMute diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/xfce4/terminal/accels.scm b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/xfce4/terminal/accels.scm new file mode 100644 index 0000000..43521c9 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/xfce4/terminal/accels.scm @@ -0,0 +1,56 @@ +; xfce4-terminal GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +(gtk_accel_path "/terminal-window/goto-tab-1" "1") +(gtk_accel_path "/terminal-window/goto-tab-3" "3") +; (gtk_accel_path "/terminal-window/file-menu" "") +; (gtk_accel_path "/terminal-window/close-other-tabs" "") +; (gtk_accel_path "/terminal-window/search" "f") +; (gtk_accel_path "/terminal-window/next-tab" "Page_Down") +; (gtk_accel_path "/terminal-window/copy-html" "") +; (gtk_accel_path "/terminal-window/show-menubar" "") +; (gtk_accel_path "/terminal-window/zoom-reset" "0") +; (gtk_accel_path "/terminal-window/close-window" "q") +; (gtk_accel_path "/terminal-window/save-contents" "") +; (gtk_accel_path "/terminal-window/close-tab" "w") +; (gtk_accel_path "/terminal-window/view-menu" "") +; (gtk_accel_path "/terminal-window/new-tab" "t") +; (gtk_accel_path "/terminal-window/show-toolbar" "") +; (gtk_accel_path "/terminal-window/copy-input" "") +; (gtk_accel_path "/terminal-window/paste" "v") +; (gtk_accel_path "/terminal-window/copy" "c") +; (gtk_accel_path "/terminal-window/edit-menu" "") +; (gtk_accel_path "/terminal-window/fullscreen" "F11") +(gtk_accel_path "/terminal-window/goto-tab-6" "6") +; (gtk_accel_path "/terminal-window/read-only" "") +; (gtk_accel_path "/terminal-window/detach-tab" "d") +(gtk_accel_path "/terminal-window/goto-tab-8" "8") +(gtk_accel_path "/terminal-window/goto-tab-2" "2") +; (gtk_accel_path "/terminal-window/scroll-on-output" "") +(gtk_accel_path "/terminal-window/goto-tab-5" "5") +; (gtk_accel_path "/terminal-window/prev-tab" "Page_Up") +; (gtk_accel_path "/terminal-window/move-tab-left" "Page_Up") +; (gtk_accel_path "/terminal-window/zoom-in" "plus") +; (gtk_accel_path "/terminal-window/search-prev" "") +; (gtk_accel_path "/terminal-window/reset-and-clear" "") +; (gtk_accel_path "/terminal-window/about" "") +; (gtk_accel_path "/terminal-window/search-next" "") +(gtk_accel_path "/terminal-window/toggle-menubar" "F10") +(gtk_accel_path "/terminal-window/goto-tab-7" "7") +; (gtk_accel_path "/terminal-window/select-all" "a") +; (gtk_accel_path "/terminal-window/help-menu" "") +(gtk_accel_path "/terminal-window/goto-tab-9" "9") +; (gtk_accel_path "/terminal-window/show-borders" "") +; (gtk_accel_path "/terminal-window/new-window" "n") +(gtk_accel_path "/terminal-window/goto-tab-4" "4") +; (gtk_accel_path "/terminal-window/contents" "F1") +; (gtk_accel_path "/terminal-window/preferences" "") +; (gtk_accel_path "/terminal-window/move-tab-right" "Page_Down") +; (gtk_accel_path "/terminal-window/zoom-out" "minus") +; (gtk_accel_path "/terminal-window/set-title" "s") +; (gtk_accel_path "/terminal-window/paste-selection" "") +; (gtk_accel_path "/terminal-window/undo-close-tab" "") +; (gtk_accel_path "/terminal-window/tabs-menu" "") +; (gtk_accel_path "/terminal-window/zoom-menu" "") +; (gtk_accel_path "/terminal-window/reset" "") +; (gtk_accel_path "/terminal-window/terminal-menu" "") diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/xfce4/terminal/terminalrc b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/xfce4/terminal/terminalrc new file mode 100644 index 0000000..04abf43 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/home/live/.config/xfce4/terminal/terminalrc @@ -0,0 +1,30 @@ +[Configuration] +FontName=Monospace 10 +MiscAlwaysShowTabs=FALSE +MiscBell=FALSE +MiscBellUrgent=FALSE +MiscBordersDefault=TRUE +MiscCursorBlinks=FALSE +MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK +MiscDefaultGeometry=80x24 +MiscInheritGeometry=FALSE +MiscMenubarDefault=TRUE +MiscMouseAutohide=FALSE +MiscMouseWheelZoom=TRUE +MiscToolbarDefault=FALSE +MiscConfirmClose=TRUE +MiscCycleTabs=TRUE +MiscTabCloseButtons=TRUE +MiscTabCloseMiddleClick=TRUE +MiscTabPosition=GTK_POS_TOP +MiscHighlightUrls=TRUE +MiscMiddleClickOpensUri=FALSE +MiscCopyOnSelect=FALSE +MiscShowRelaunchDialog=TRUE +MiscRewrapOnResize=TRUE +MiscUseShiftArrowsToScroll=FALSE +MiscSlimTabs=FALSE +MiscNewTabAdjacent=FALSE +BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT +BackgroundDarkness=0.800000 + diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/autostart/volumeicon.desktop b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/autostart/volumeicon.desktop new file mode 100644 index 0000000..79c425b --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/autostart/volumeicon.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.9.4 +Type=Application +Name=volumeicon +Comment= +Exec=volumeicon +OnlyShowIn=XFCE; +StartupNotify=false +Terminal=false +Hidden=false + diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/volumeicon/volumeicon b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/volumeicon/volumeicon new file mode 100644 index 0000000..32df349 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/volumeicon/volumeicon @@ -0,0 +1,27 @@ +[Alsa] +card=default +logarithmic_scale=false + +[Notification] +show_notification=true +notification_type=0 + +[StatusIcon] +stepsize=5 +onclick=xterm -e 'alsamixer' +theme=White Gnome +use_panel_specific_icons=false +reverse_scroll_direction=false +lmb_slider=false +mmb_mute=false +use_horizontal_slider=false +show_sound_level=false +use_transparent_background=false + +[Hotkeys] +up_enabled=false +down_enabled=false +mute_enabled=false +up=XF86AudioRaiseVolume +down=XF86AudioLowerVolume +mute=XF86AudioMute diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/xfce4/terminal/accels.scm b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/xfce4/terminal/accels.scm new file mode 100644 index 0000000..43521c9 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/xfce4/terminal/accels.scm @@ -0,0 +1,56 @@ +; xfce4-terminal GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +(gtk_accel_path "/terminal-window/goto-tab-1" "1") +(gtk_accel_path "/terminal-window/goto-tab-3" "3") +; (gtk_accel_path "/terminal-window/file-menu" "") +; (gtk_accel_path "/terminal-window/close-other-tabs" "") +; (gtk_accel_path "/terminal-window/search" "f") +; (gtk_accel_path "/terminal-window/next-tab" "Page_Down") +; (gtk_accel_path "/terminal-window/copy-html" "") +; (gtk_accel_path "/terminal-window/show-menubar" "") +; (gtk_accel_path "/terminal-window/zoom-reset" "0") +; (gtk_accel_path "/terminal-window/close-window" "q") +; (gtk_accel_path "/terminal-window/save-contents" "") +; (gtk_accel_path "/terminal-window/close-tab" "w") +; (gtk_accel_path "/terminal-window/view-menu" "") +; (gtk_accel_path "/terminal-window/new-tab" "t") +; (gtk_accel_path "/terminal-window/show-toolbar" "") +; (gtk_accel_path "/terminal-window/copy-input" "") +; (gtk_accel_path "/terminal-window/paste" "v") +; (gtk_accel_path "/terminal-window/copy" "c") +; (gtk_accel_path "/terminal-window/edit-menu" "") +; (gtk_accel_path "/terminal-window/fullscreen" "F11") +(gtk_accel_path "/terminal-window/goto-tab-6" "6") +; (gtk_accel_path "/terminal-window/read-only" "") +; (gtk_accel_path "/terminal-window/detach-tab" "d") +(gtk_accel_path "/terminal-window/goto-tab-8" "8") +(gtk_accel_path "/terminal-window/goto-tab-2" "2") +; (gtk_accel_path "/terminal-window/scroll-on-output" "") +(gtk_accel_path "/terminal-window/goto-tab-5" "5") +; (gtk_accel_path "/terminal-window/prev-tab" "Page_Up") +; (gtk_accel_path "/terminal-window/move-tab-left" "Page_Up") +; (gtk_accel_path "/terminal-window/zoom-in" "plus") +; (gtk_accel_path "/terminal-window/search-prev" "") +; (gtk_accel_path "/terminal-window/reset-and-clear" "") +; (gtk_accel_path "/terminal-window/about" "") +; (gtk_accel_path "/terminal-window/search-next" "") +(gtk_accel_path "/terminal-window/toggle-menubar" "F10") +(gtk_accel_path "/terminal-window/goto-tab-7" "7") +; (gtk_accel_path "/terminal-window/select-all" "a") +; (gtk_accel_path "/terminal-window/help-menu" "") +(gtk_accel_path "/terminal-window/goto-tab-9" "9") +; (gtk_accel_path "/terminal-window/show-borders" "") +; (gtk_accel_path "/terminal-window/new-window" "n") +(gtk_accel_path "/terminal-window/goto-tab-4" "4") +; (gtk_accel_path "/terminal-window/contents" "F1") +; (gtk_accel_path "/terminal-window/preferences" "") +; (gtk_accel_path "/terminal-window/move-tab-right" "Page_Down") +; (gtk_accel_path "/terminal-window/zoom-out" "minus") +; (gtk_accel_path "/terminal-window/set-title" "s") +; (gtk_accel_path "/terminal-window/paste-selection" "") +; (gtk_accel_path "/terminal-window/undo-close-tab" "") +; (gtk_accel_path "/terminal-window/tabs-menu" "") +; (gtk_accel_path "/terminal-window/zoom-menu" "") +; (gtk_accel_path "/terminal-window/reset" "") +; (gtk_accel_path "/terminal-window/terminal-menu" "") diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/xfce4/terminal/terminalrc b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/xfce4/terminal/terminalrc new file mode 100644 index 0000000..04abf43 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/rootcopy/root/.config/xfce4/terminal/terminalrc @@ -0,0 +1,30 @@ +[Configuration] +FontName=Monospace 10 +MiscAlwaysShowTabs=FALSE +MiscBell=FALSE +MiscBellUrgent=FALSE +MiscBordersDefault=TRUE +MiscCursorBlinks=FALSE +MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK +MiscDefaultGeometry=80x24 +MiscInheritGeometry=FALSE +MiscMenubarDefault=TRUE +MiscMouseAutohide=FALSE +MiscMouseWheelZoom=TRUE +MiscToolbarDefault=FALSE +MiscConfirmClose=TRUE +MiscCycleTabs=TRUE +MiscTabCloseButtons=TRUE +MiscTabCloseMiddleClick=TRUE +MiscTabPosition=GTK_POS_TOP +MiscHighlightUrls=TRUE +MiscMiddleClickOpensUri=FALSE +MiscCopyOnSelect=FALSE +MiscShowRelaunchDialog=TRUE +MiscRewrapOnResize=TRUE +MiscUseShiftArrowsToScroll=FALSE +MiscSlimTabs=FALSE +MiscNewTabAdjacent=FALSE +BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT +BackgroundDarkness=0.800000 + diff --git a/minios-modules/usr/share/minios/modules/04-xfce-apps/standard.list b/minios-modules/usr/share/minios/modules/04-xfce-apps/standard.list new file mode 100644 index 0000000..684682a --- /dev/null +++ b/minios-modules/usr/share/minios/modules/04-xfce-apps/standard.list @@ -0,0 +1,19 @@ +mousepad +engrampa +thunar-archive-plugin +ristretto +xfce4-terminal +xfce4-taskmanager +xfce4-screenshooter +#remmina +#remmina-plugin-rdp +#remmina-plugin-vnc +#remmina-plugin-nx +#remmina-plugin-xdmcp +#remmina-plugin-www +#remmina-plugin-spice +#remmina-plugin-exec +#remmina-plugin-secret +#remmina-plugin-kiosk +vlc +gparted \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/05-chromium/install b/minios-modules/usr/share/minios/modules/05-chromium/install new file mode 100644 index 0000000..1883507 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-chromium/install @@ -0,0 +1,55 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=chromium + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=chromium + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=chromium --no-sandbox + +EOF + +elif [ $PACKAGE_VARIANT = "standard" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=chromium + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=chromium + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=chromium --no-sandbox + +EOF +fi diff --git a/minios-modules/usr/share/minios/modules/05-chromium/minimal.list b/minios-modules/usr/share/minios/modules/05-chromium/minimal.list new file mode 100644 index 0000000..df28f7a --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-chromium/minimal.list @@ -0,0 +1 @@ +palemoon \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/05-chromium/postinstall b/minios-modules/usr/share/minios/modules/05-chromium/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-chromium/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/05-chromium/rootcopy-install/usr/share/applications/chromium-root.desktop b/minios-modules/usr/share/minios/modules/05-chromium/rootcopy-install/usr/share/applications/chromium-root.desktop new file mode 100755 index 0000000..d2f2569 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-chromium/rootcopy-install/usr/share/applications/chromium-root.desktop @@ -0,0 +1,140 @@ +[Desktop Entry] +Version=1.0 +Name=Chromium Web Browser [root] +Name[ast]=Restolador web Chromium [root] +Name[ca]=Navegador web Chromium [root] +Name[de]=Chromium-Webbrowser [root] +Name[es]=Navegador web Chromium [root] +Name[fr]=Navigateur Web Chromium [root] +Name[gl]=Navegador web Chromium [root] +Name[he]=דפדפן האינטרנט Chromium [root] +Name[hr]=Chromium web preglednik [root] +Name[hu]=Chromium webböngésző [root] +Name[id]=Peramban Web Chromium [root] +Name[it]=Browser web Chromium [root] +Name[ja]=Chromium ウェブ・ブラウザ [root] +Name[ko]=Chromium 웹 브라우저 [root] +Name[pt_BR]=Chromium Navegador da Internet [root] +Name[ru]=Веб-браузер Chromium [root] +Name[sl]=Chromium spletni brskalnik [root] +Name[sv]=Webbläsaren Chromium [root] +Name[ug]=Chromium توركۆرگۈ [root] +Name[zh_CN]=Chromium 网页浏览器 [root] +Name[zh_HK]=Chromium 網頁瀏覽器 [root] +Name[zh_TW]=Chromium 網頁瀏覽器 [root] +GenericName=Web Browser [root] +GenericName[ar]=متصفح الشبكة [root] +GenericName[ast]=Restolador web [root] +GenericName[bg]=Уеб браузър [root] +GenericName[bn]=ওয়েব ব্রাউজার [root] +GenericName[ca]=Navegador web [root] +GenericName[cs]=WWW prohlížeč [root] +GenericName[da]=Browser [root] +GenericName[de]=Webbrowser [root] +GenericName[el]=Περιηγητής ιστού [root] +GenericName[en_GB]=Web Browser [root] +GenericName[es]=Navegador web [root] +GenericName[et]=Veebibrauser [root] +GenericName[fi]=WWW-selain [root] +GenericName[fil]=Web Browser [root] +GenericName[fr]=Navigateur Web [root] +GenericName[gl]=Navegador web [root] +GenericName[gu]=વેબ બ્રાઉઝર [root] +GenericName[he]=דפדפן אינטרנט [root] +GenericName[hi]=वेब ब्राउज़र [root] +GenericName[hr]=Web preglednik [root] +GenericName[hu]=Webböngésző [root] +GenericName[id]=Peramban Web [root] +GenericName[it]=Browser web [root] +GenericName[ja]=ウェブ・ブラウザ [root] +GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ [root] +GenericName[ko]=웹 브라우저 [root] +GenericName[lt]=Žiniatinklio naršyklė [root] +GenericName[lv]=Tīmekļa pārlūks [root] +GenericName[ml]=വെബ് ബ്രൌസര്‍ [root] +GenericName[mr]=वेब ब्राऊजर [root] +GenericName[nb]=Nettleser [root] +GenericName[nl]=Webbrowser [root] +GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର [root] +GenericName[pl]=Przeglądarka WWW [root] +GenericName[pt]=Navegador Web [root] +GenericName[pt_BR]=Navegador da Internet [root] +GenericName[ro]=Navigator de Internet [root] +GenericName[ru]=Веб-браузер [root] +GenericName[sk]=WWW prehliadač [root] +GenericName[sl]=Spletni brskalnik [root] +GenericName[sr]=Интернет прегледник [root] +GenericName[sv]=Webbläsare [root] +GenericName[ta]=இணைய உலாவி [root] +GenericName[te]=మహాతల అన్వేషి [root] +GenericName[th]=เว็บเบราว์เซอร์ [root] +GenericName[tr]=Web Tarayıcı [root] +GenericName[ug]=توركۆرگۈ [root] +GenericName[uk]=Навігатор Тенет [root] +GenericName[vi]=Bộ duyệt Web [root] +GenericName[zh_CN]=网页浏览器 [root] +GenericName[zh_HK]=網頁瀏覽器 [root] +GenericName[zh_TW]=網頁瀏覽器 [root] +Comment=Access the Internet +Comment[ar]=الدخول إلى الإنترنت +Comment[ast]=Accesu a Internet +Comment[bg]=Достъп до интернет +Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন +Comment[ca]=Accediu a Internet +Comment[cs]=Přístup k internetu +Comment[da]=Få adgang til internettet +Comment[de]=Internetzugriff +Comment[el]=Πρόσβαση στο Διαδίκτυο +Comment[en_GB]=Access the Internet +Comment[es]=Acceda a Internet +Comment[et]=Pääs Internetti +Comment[fi]=Käytä internetiä +Comment[fil]=I-access ang Internet +Comment[fr]=Explorer le Web +Comment[gl]=Acceda a Internet +Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો +Comment[he]=גישה לאינטרנט +Comment[hi]=इंटरनेट तक पहुंच स्थापित करें +Comment[hr]=Pristupite Internetu +Comment[hu]=Az internet elérése +Comment[id]=Akses Internet +Comment[it]=Accesso a Internet +Comment[ja]=インターネットにアクセス +Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ +Comment[ko]=인터넷에 연결합니다 +Comment[lt]=Interneto prieiga +Comment[lv]=Piekļūt internetam +Comment[ml]=ഇന്റര്‍‌നെറ്റ് ആക്‌സസ് ചെയ്യുക +Comment[mr]=इंटरनेटमध्ये प्रवेश करा +Comment[nb]=Gå til Internett +Comment[nl]=Verbinding maken met internet +Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ +Comment[pl]=Skorzystaj z internetu +Comment[pt]=Aceder à Internet +Comment[pt_BR]=Acessar a internet +Comment[ro]=Accesaţi Internetul +Comment[ru]=Доступ в Интернет +Comment[sk]=Prístup do siete Internet +Comment[sl]=Dostop do interneta +Comment[sr]=Приступите Интернету +Comment[sv]=Surfa på Internet +Comment[ta]=இணையத்தை அணுகுதல் +Comment[te]=ఇంటర్నెట్‌ను ఆక్సెస్ చెయ్యండి +Comment[th]=เข้าถึงอินเทอร์เน็ต +Comment[tr]=İnternet'e erişin +Comment[ug]=ئىنتېرنېتنى زىيارەت قىلىش +Comment[uk]=Доступ до Інтернету +Comment[vi]=Truy cập Internet +Comment[zh_CN]=访问互联网 +Comment[zh_HK]=連線到網際網路 +Comment[zh_TW]=連線到網際網路 +Exec=/usr/bin/chromium --no-sandbox %U +Terminal=false +X-MultipleArgs=false +Type=Application +Icon=chromium +Categories=Network;WebBrowser; +MimeType=text/html;text/xml;application/xhtml_xml;application/x-mimearchive;x-scheme-handler/http;x-scheme-handler/https; +StartupWMClass=chromium +StartupNotify=true +Keywords=browser diff --git a/minios-modules/usr/share/minios/modules/05-chromium/standard.list b/minios-modules/usr/share/minios/modules/05-chromium/standard.list new file mode 100644 index 0000000..e4f291d --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-chromium/standard.list @@ -0,0 +1,2 @@ +chromium +chromium-sandbox \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/05-firefox-esr/install b/minios-modules/usr/share/minios/modules/05-firefox-esr/install new file mode 100644 index 0000000..2fd7bb0 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-firefox-esr/install @@ -0,0 +1,57 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + +elif [ $PACKAGE_VARIANT = "standard" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF +fi \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/05-firefox-esr/minimal.list b/minios-modules/usr/share/minios/modules/05-firefox-esr/minimal.list new file mode 100644 index 0000000..e7b065e --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-firefox-esr/minimal.list @@ -0,0 +1 @@ +firefox-esr \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/05-firefox-esr/postinstall b/minios-modules/usr/share/minios/modules/05-firefox-esr/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-firefox-esr/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/05-firefox-esr/standard.list b/minios-modules/usr/share/minios/modules/05-firefox-esr/standard.list new file mode 100644 index 0000000..e7b065e --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-firefox-esr/standard.list @@ -0,0 +1 @@ +firefox-esr \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/05-palemoon/install b/minios-modules/usr/share/minios/modules/05-palemoon/install new file mode 100644 index 0000000..4de2880 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-palemoon/install @@ -0,0 +1,52 @@ +#!/bin/bash + +echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser/Debian_10/ /' | sudo tee /etc/apt/sources.list.d/home:stevenpusser.list +curl -fsSL http://download.opensuse.org/repositories/home:stevenpusser/Debian_10/Release.key | apt-key add + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=palemoon + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=palemoon + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=palemoon --no-sandbox + +EOF + +elif [ $PACKAGE_VARIANT = "standard" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=palemoon + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=palemoon + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=palemoon --no-sandbox + +EOF +fi diff --git a/minios-modules/usr/share/minios/modules/05-palemoon/minimal.list b/minios-modules/usr/share/minios/modules/05-palemoon/minimal.list new file mode 100644 index 0000000..e4f291d --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-palemoon/minimal.list @@ -0,0 +1,2 @@ +chromium +chromium-sandbox \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/05-palemoon/postinstall b/minios-modules/usr/share/minios/modules/05-palemoon/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-palemoon/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/05-palemoon/standard.list b/minios-modules/usr/share/minios/modules/05-palemoon/standard.list new file mode 100644 index 0000000..df28f7a --- /dev/null +++ b/minios-modules/usr/share/minios/modules/05-palemoon/standard.list @@ -0,0 +1 @@ +palemoon \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/06-codium/install b/minios-modules/usr/share/minios/modules/06-codium/install new file mode 100644 index 0000000..112b2dc --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-codium/install @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +wget -c https://github.com/VSCodium/vscodium/releases/download/1.57.1/codium_1.57.1-1623975230_amd64.deb && + $APT_CMD install $APT_OPTIONS ./codium_1.57.1-1623975230_amd64.deb && + rm -f ./codium_1.57.1-1623975230_amd64.deb diff --git a/minios-modules/usr/share/minios/modules/06-codium/postinstall b/minios-modules/usr/share/minios/modules/06-codium/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-codium/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/06-langpack-ru/install b/minios-modules/usr/share/minios/modules/06-langpack-ru/install new file mode 100644 index 0000000..4d0c715 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-langpack-ru/install @@ -0,0 +1,24 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +#export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true + +debconf-set-selections preseed.txt + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +dpkg-reconfigure locales >>$OUTPUT 2>&1 +dpkg-reconfigure keyboard-configuration >>$OUTPUT 2>&1 +dpkg-reconfigure tzdata >>$OUTPUT 2>&1 \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/06-langpack-ru/minimal.list b/minios-modules/usr/share/minios/modules/06-langpack-ru/minimal.list new file mode 100644 index 0000000..9a43ff6 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-langpack-ru/minimal.list @@ -0,0 +1 @@ +locales \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/06-langpack-ru/postinstall b/minios-modules/usr/share/minios/modules/06-langpack-ru/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-langpack-ru/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/06-langpack-ru/preseed.txt b/minios-modules/usr/share/minios/modules/06-langpack-ru/preseed.txt new file mode 100644 index 0000000..2a07996 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-langpack-ru/preseed.txt @@ -0,0 +1,42 @@ +# Keep the current keyboard layout in the configuration file? +keyboard-configuration keyboard-configuration/unsupported_config_layout boolean true +# Time zone: +tzdata tzdata/Zones/Europe select Moscow +# Keyboard layout: +keyboard-configuration keyboard-configuration/variant select Russian +# Default locale for the system environment: +locales locales/default_environment_locale select ru_RU.UTF-8 +# Method for toggling between national and Latin mode: +keyboard-configuration keyboard-configuration/toggle select Alt+Shift +# Method for temporarily toggling between national and Latin input: +keyboard-configuration keyboard-configuration/switch select No temporary switch +# Locales to be generated: +locales locales/locales_to_be_generated multiselect ru_RU.UTF-8 UTF-8 +# Keep default keyboard layout ()? +keyboard-configuration keyboard-configuration/unsupported_layout boolean true +# Use Control+Alt+Backspace to terminate the X server? +keyboard-configuration keyboard-configuration/ctrl_alt_bksp boolean false +# Keep default keyboard options ()? +keyboard-configuration keyboard-configuration/unsupported_options boolean true +# for internal use +keyboard-configuration keyboard-configuration/layoutcode string us,ru +# for internal use +keyboard-configuration keyboard-configuration/store_defaults_in_debconf_db boolean true +# Geographic area: +#tzdata tzdata/Areas select Europe +# Keyboard model: +keyboard-configuration keyboard-configuration/model select Generic 105-key PC (intl.) +# for internal use +keyboard-configuration keyboard-configuration/optionscode string grp:alt_shift_toggle,grp_led:scroll +# Key to function as AltGr: +keyboard-configuration keyboard-configuration/altgr select The default for the keyboard layout +# Keymap to use: +keyboard-configuration keyboard-configuration/xkb-keymap select us +# Compose key: +keyboard-configuration keyboard-configuration/compose select No compose key +# Keep current keyboard options in the configuration file? +keyboard-configuration keyboard-configuration/unsupported_config_options boolean true +# Country of origin for the keyboard: +keyboard-configuration keyboard-configuration/layout select Russian +# for internal use +keyboard-configuration keyboard-configuration/modelcode string pc105 \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/06-langpack-ru/rootcopy/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml b/minios-modules/usr/share/minios/modules/06-langpack-ru/rootcopy/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml new file mode 100644 index 0000000..dd94eae --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-langpack-ru/rootcopy/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/06-langpack-ru/rootcopy/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml b/minios-modules/usr/share/minios/modules/06-langpack-ru/rootcopy/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml new file mode 100644 index 0000000..dd94eae --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-langpack-ru/rootcopy/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/06-langpack-ru/rootcopy/root/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml b/minios-modules/usr/share/minios/modules/06-langpack-ru/rootcopy/root/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml new file mode 100644 index 0000000..dd94eae --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-langpack-ru/rootcopy/root/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/minios-modules/usr/share/minios/modules/06-langpack-ru/standard.list b/minios-modules/usr/share/minios/modules/06-langpack-ru/standard.list new file mode 100644 index 0000000..9a43ff6 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-langpack-ru/standard.list @@ -0,0 +1 @@ +locales \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/06-onlyoffice/install b/minios-modules/usr/share/minios/modules/06-onlyoffice/install new file mode 100644 index 0000000..276cda6 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-onlyoffice/install @@ -0,0 +1,24 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +$APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + software-properties-common >>$OUTPUT 2>&1 + +apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 +add-apt-repository 'deb https://download.onlyoffice.com/repo/debian squeeze main' + +$APT_CMD autoremove $APT_OPTIONS $APT_OPTIONS2 \ + software-properties-common >>$OUTPUT 2>&1 + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi diff --git a/minios-modules/usr/share/minios/modules/06-onlyoffice/minimal.list b/minios-modules/usr/share/minios/modules/06-onlyoffice/minimal.list new file mode 100644 index 0000000..1fe9203 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-onlyoffice/minimal.list @@ -0,0 +1,3 @@ +libpulse0 +libnss3 +onlyoffice-desktopeditors \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/06-onlyoffice/postinstall b/minios-modules/usr/share/minios/modules/06-onlyoffice/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-onlyoffice/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/06-onlyoffice/standard.list b/minios-modules/usr/share/minios/modules/06-onlyoffice/standard.list new file mode 100644 index 0000000..1fe9203 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-onlyoffice/standard.list @@ -0,0 +1,3 @@ +libpulse0 +libnss3 +onlyoffice-desktopeditors \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/06-vscode/install b/minios-modules/usr/share/minios/modules/06-vscode/install new file mode 100644 index 0000000..93d8678 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-vscode/install @@ -0,0 +1,19 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor >packages.microsoft.gpg +install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/ +sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" >/etc/apt/sources.list.d/vscode.list' +rm -f packages.microsoft.gpg + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi diff --git a/minios-modules/usr/share/minios/modules/06-vscode/minimal.list b/minios-modules/usr/share/minios/modules/06-vscode/minimal.list new file mode 100644 index 0000000..0469830 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-vscode/minimal.list @@ -0,0 +1 @@ +code \ No newline at end of file diff --git a/minios-modules/usr/share/minios/modules/06-vscode/postinstall b/minios-modules/usr/share/minios/modules/06-vscode/postinstall new file mode 100644 index 0000000..06707c1 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-vscode/postinstall @@ -0,0 +1,6 @@ +#!/bin/bash + +$APT_CMD autoremove $APT_OPTIONS $APT_OPTIONS2 \ + software-properties-common >>$OUTPUT 2>&1 + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/minios-modules/usr/share/minios/modules/06-vscode/standard.list b/minios-modules/usr/share/minios/modules/06-vscode/standard.list new file mode 100644 index 0000000..0469830 --- /dev/null +++ b/minios-modules/usr/share/minios/modules/06-vscode/standard.list @@ -0,0 +1 @@ +code \ No newline at end of file diff --git a/modules/!!!-example/install b/modules/!!!-example/install new file mode 100644 index 0000000..5575421 --- /dev/null +++ b/modules/!!!-example/install @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi diff --git a/modules/!!!-example/minimal.list b/modules/!!!-example/minimal.list new file mode 100644 index 0000000..e7b065e --- /dev/null +++ b/modules/!!!-example/minimal.list @@ -0,0 +1 @@ +firefox-esr \ No newline at end of file diff --git a/modules/!!!-example/postinstall b/modules/!!!-example/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/modules/!!!-example/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/modules/!!!-example/standard.list b/modules/!!!-example/standard.list new file mode 100644 index 0000000..e7b065e --- /dev/null +++ b/modules/!!!-example/standard.list @@ -0,0 +1 @@ +firefox-esr \ No newline at end of file diff --git a/modules/03-cinnamon-desktop/install b/modules/03-cinnamon-desktop/install new file mode 100644 index 0000000..61f720a --- /dev/null +++ b/modules/03-cinnamon-desktop/install @@ -0,0 +1,146 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +echo "nodm nodm/enabled boolean true" | debconf-set-selections +echo "samba-common samba-common/dhcp boolean false" | debconf-set-selections + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if grep slim $SCRIPT_DIR/$PACKAGE_VARIANT.list >>$OUTPUT 2>&1; then + sed -i 's,# hidecursor false,hidecursor false,g' /etc/slim.conf + sed -i 's,screenshot_cmd scrot /root/slim.png,# screenshot_cmd scrot /root/slim.png,g' /etc/slim.conf + if [ $PACKAGE_VARIANT = "minimal" ]; then + sed -i 's,#default_user simone,default_user root,g' /etc/slim.conf + else + sed -i 's,#default_user simone,default_user live,g' /etc/slim.conf + fi + sed -i 's,#auto_login no,auto_login yes,g' /etc/slim.conf + sed -i 's,current_theme debian-softwaves,current_theme minios,g' /etc/slim.conf +fi + +# create user directories +for dir in Desktop Documents Downloads Music Pictures Public Templates Videos; do + mkdir -p /home/live/$dir >>$OUTPUT 2>&1 + mkdir -p /root/$dir >>$OUTPUT 2>&1 + mkdir -p /etc/skel/$dir >>$OUTPUT 2>&1 +done + +update-alternatives --install /usr/share/images/desktop-base/desktop-background desktop-background /usr/share/backgrounds/MiniOS-wallpaper.svg 100 + + cat <>/usr/share/applications/htop.desktop +[Desktop Entry] +Type=Application +Version=1.0 +Name=Htop +GenericName=Process Viewer +GenericName[ca]=Visualitzador de processos +GenericName[da]=Procesfremviser +GenericName[de]=Prozessanzeige +GenericName[en_GB]=Process Viewer +GenericName[es]=Visor de procesos +GenericName[fi]=Prosessikatselin +GenericName[fr]=Visualiseur de processus +GenericName[gl]=Visor de procesos +GenericName[it]=Visore dei processi +GenericName[ko]=프로세스 뷰어 +GenericName[nb]=Prosessviser +GenericName[nl]=Viewer van processen +GenericName[nn]=Prosessvisar +GenericName[pl]=Przeglądarka procesów +GenericName[pt]=Visualizador de Processos +GenericName[pt_BR]=Visualizador de processos +GenericName[ru]=Монитор процессов +GenericName[sk]=Prehliadač procesov +GenericName[sl]=Pregledovalnik opravil +GenericName[sr@ijekavian]=Приказивач процеса +GenericName[sr@ijekavianlatin]=Prikazivač procesa +GenericName[sr@latin]=Prikazivač procesa +GenericName[sr]=Приказивач процеса +GenericName[sv]=Processvisning +GenericName[tr]=Süreç Görüntüleyici +GenericName[uk]=Перегляд процесів +GenericName[zh_CN]=进程查看器 +GenericName[zh_TW]=行程檢視器 +Comment=Show System Processes +Comment[ca]=Visualitzeu els processos del sistema +Comment[da]=Vis systemprocesser +Comment[de]=Systemprozesse anzeigen +Comment[en_GB]=Show System Processes +Comment[es]=Mostrar procesos del sistema +Comment[fi]=Katsele järjestelmän prosesseja +Comment[fr]=Affiche les processus système +Comment[gl]=Mostrar os procesos do sistema. +Comment[it]=Mostra processi di sistema +Comment[ko]=시스템 프로세스 보기 +Comment[nb]=Vis systemprosesser +Comment[nl]=Systeemprocessen tonen +Comment[nn]=Vis systemprosessar +Comment[pl]=Pokaż procesy systemowe +Comment[pt]=Mostrar os Processos do Sistema +Comment[pt_BR]=Mostra os processos do sistema +Comment[ru]=Просмотр списка процессов в системе +Comment[sk]=Zobraziť systémové procesy +Comment[sl]=Prikaz sistemskih opravil +Comment[sr@ijekavian]=Приказ системских процеса +Comment[sr@ijekavianlatin]=Prikaz sistemskih procesa +Comment[sr@latin]=Prikaz sistemskih procesa +Comment[sr]=Приказ системских процеса +Comment[sv]=Visa systemprocesser +Comment[tr]=Sistem Süreçlerini Göster +Comment[uk]=Перегляд системних процесів +Comment[zh_CN]=显示系统进程 +Comment[zh_TW]=顯示系統行程 +Icon=htop +Exec=htop +Terminal=true +Categories=System;Monitor;ConsoleOnly; +Keywords=system;process;task +EOF + cat <>/usr/share/applications/mc.desktop +[Desktop Entry] +Name=Midnight Commander +Name[af]=Middernag Kommandeur +Name[eo]=Meznokta komandanto +Name[fa]=فرمان‌دار نیمه شب +Name[ko]=미드나잇 커멘더 +Name[lv]=Pusnakts Komandieris +Name[nso]=Molaedi wa Bosegogare +Name[th]=มิดไนท์คอมมานเดอร์ +Name[ve]=Muhulwane wa vhukati ha vhusiku +Name[xh]=Umyaleli Waphakathi kobusuku +Name[zu]=Umyaleli waphakathi nobusuku +Comment=File manager +Comment[pl]=Menedżer plików +Exec=mc +Icon=file-manager.png +Terminal=true +Type=Application +Categories=ConsoleOnly;Utility;FileManager;System;FileTools; +Keywords=file manager;console; +EOF + cat <>/usr/share/applications/debian-xterm.desktop +[Desktop Entry] +Name=XTerm +#GenericName=Terminal +Comment=standard terminal emulator for the X window system +Exec=xterm +Terminal=false +Type=Application +#Encoding=UTF-8 +Icon=Terminal +Categories=System;TerminalEmulator; +Keywords=shell;prompt;command;commandline;cmd; +X-Desktop-File-Install-Version=0.26 +EOF diff --git a/modules/03-cinnamon-desktop/postinstall b/modules/03-cinnamon-desktop/postinstall new file mode 100644 index 0000000..f07d567 --- /dev/null +++ b/modules/03-cinnamon-desktop/postinstall @@ -0,0 +1,5 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 + +update-alternatives --set x-terminal-emulator /usr/bin/xterm >>$OUTPUT 2>&1 diff --git a/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.cinnamon/configs/menu@cinnamon.org/0.json b/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.cinnamon/configs/menu@cinnamon.org/0.json new file mode 100644 index 0000000..0d68ace --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.cinnamon/configs/menu@cinnamon.org/0.json @@ -0,0 +1,258 @@ +{ + "layout": { + "type": "layout", + "pages": [ + "panel", + "menu" + ], + "panel": { + "type": "page", + "title": "Panel", + "sections": [ + "panel-appear", + "panel-behave" + ] + }, + "menu": { + "type": "page", + "title": "Menu", + "sections": [ + "menu-layout", + "menu-behave" + ] + }, + "panel-appear": { + "type": "section", + "title": "Appearance", + "keys": [ + "menu-custom", + "menu-icon", + "menu-icon-size", + "menu-label" + ] + }, + "panel-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "overlay-key", + "activate-on-hover", + "hover-delay", + "force-show-panel", + "enable-animation" + ] + }, + "menu-layout": { + "type": "section", + "title": "Layout and content", + "keys": [ + "show-category-icons", + "category-icon-size", + "show-application-icons", + "application-icon-size", + "favbox-show", + "fav-icon-size", + "favbox-min-height", + "show-places", + "show-recents", + "menu-editor-button" + ] + }, + "menu-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "enable-autoscroll", + "search-filesystem" + ] + } + }, + "overlay-key": { + "type": "keybinding", + "description": "Keyboard shortcut to open and close the menu", + "default": "Super_L::Super_R", + "value": "Super_L::Super_R" + }, + "menu-custom": { + "type": "switch", + "default": false, + "description": "Use a custom icon and label", + "tooltip": "Check this to specify a custom icon and label", + "value": true + }, + "menu-icon": { + "type": "iconfilechooser", + "default": "cinnamon-symbolic", + "description": "Icon", + "tooltip": "Select an icon to show in the panel.", + "default_icon": "cinnamon-symbolic", + "dependency": "menu-custom", + "indent": true, + "value": "/usr/share/pixmaps/MiniOS-white.svg" + }, + "menu-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 96, + "step": 1, + "units": "px", + "description": "Icon size", + "dependency": "menu-custom", + "indent": true, + "value": 32 + }, + "menu-label": { + "type": "entry", + "default": "Menu", + "description": "Text", + "tooltip": "Enter custom text to show in the panel.", + "dependency": "menu-custom", + "indent": true, + "value": "" + }, + "favbox-min-height": { + "type": "spinbutton", + "default": 300, + "min": 50, + "max": 1000, + "step": 10, + "units": "px", + "dependency": "favbox-show", + "description": "Minimum height of the favorites section", + "tooltip": "The minimum size allocated for the favorites section (this has an impact on the overall height of the menu).", + "value": 300 + }, + "show-category-icons": { + "type": "switch", + "default": true, + "description": "Show category icons", + "tooltip": "Choose whether or not to show icons on categories.", + "value": true + }, + "category-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Categories icon size", + "dependency": "show-category-icons", + "indent": true, + "value": 22 + }, + "show-application-icons": { + "type": "switch", + "default": true, + "description": "Show application icons", + "tooltip": "Choose whether or not to show icons on applications.", + "value": true + }, + "application-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Applications icon size", + "dependency": "show-application-icons", + "indent": true, + "value": 22 + }, + "favbox-show": { + "type": "switch", + "default": true, + "description": "Show favorites and session buttons", + "tooltip": "Choose whether or not to show the left pane of the menu.", + "value": true + }, + "fav-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 64, + "step": 1, + "units": "px", + "description": "Favorites icon size", + "dependency": "favbox-show", + "indent": true, + "value": 32 + }, + "show-favorites": { + "type": "switch", + "default": true, + "description": "Show favorites", + "tooltip": "Choose whether or not to show favorite files in the menu.", + "value": true + }, + "show-places": { + "type": "switch", + "default": true, + "description": "Show bookmarks and places", + "tooltip": "Choose whether or not to show bookmarks and places in the menu.", + "value": true + }, + "show-recents": { + "type": "switch", + "default": true, + "description": "Show recents", + "tooltip": "Choose whether or not to show recents in the menu.", + "value": true + }, + "enable-autoscroll": { + "type": "switch", + "default": true, + "description": "Enable autoscrolling in application list", + "tooltip": "Choose whether or not to enable smooth autoscrolling in the application list.", + "value": true + }, + "search-filesystem": { + "type": "switch", + "default": false, + "description": "Enable filesystem path entry in search box", + "tooltip": "Allows path entry in the menu search box.", + "value": false + }, + "force-show-panel": { + "type": "switch", + "default": true, + "description": "Force the panel to be visible when opening the menu", + "tooltip": "Opening the menu will also show the main panel (which may be auto-hidden).", + "value": true + }, + "activate-on-hover": { + "type": "switch", + "default": false, + "description": "Open the menu when I move my mouse over it", + "tooltip": "Enable opening the menu when the mouse enters the applet", + "value": false + }, + "hover-delay": { + "type": "spinbutton", + "default": 0, + "min": 0, + "max": 1000, + "step": 50, + "units": "milliseconds", + "dependency": "activate-on-hover", + "description": "Menu hover delay", + "tooltip": "Delay before the menu opens when hovered", + "value": 0 + }, + "enable-animation": { + "type": "switch", + "default": false, + "description": "Use menu animations", + "tooltip": "Allow the menu to animate on open and close", + "value": false + }, + "menu-editor-button": { + "type": "button", + "description": "Open the menu editor", + "callback": "_launch_editor", + "tooltip": "Press this button to customize your menu entries." + }, + "__md5__": "c4b27da93411965126569249b61793d7" +} \ No newline at end of file diff --git a/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.config/dconf/user b/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.config/dconf/user new file mode 100644 index 0000000..92155e0 Binary files /dev/null and b/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.config/dconf/user differ diff --git a/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xinitrc b/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xinitrc new file mode 100644 index 0000000..e741276 --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec cinnamon-session \ No newline at end of file diff --git a/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xsession b/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xsession new file mode 100644 index 0000000..1b09cae --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-install/etc/skel/.xsession @@ -0,0 +1 @@ +cinnamon-session \ No newline at end of file diff --git a/modules/03-cinnamon-desktop/rootcopy-install/home/live/.cinnamon/configs/menu@cinnamon.org/0.json b/modules/03-cinnamon-desktop/rootcopy-install/home/live/.cinnamon/configs/menu@cinnamon.org/0.json new file mode 100644 index 0000000..0d68ace --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-install/home/live/.cinnamon/configs/menu@cinnamon.org/0.json @@ -0,0 +1,258 @@ +{ + "layout": { + "type": "layout", + "pages": [ + "panel", + "menu" + ], + "panel": { + "type": "page", + "title": "Panel", + "sections": [ + "panel-appear", + "panel-behave" + ] + }, + "menu": { + "type": "page", + "title": "Menu", + "sections": [ + "menu-layout", + "menu-behave" + ] + }, + "panel-appear": { + "type": "section", + "title": "Appearance", + "keys": [ + "menu-custom", + "menu-icon", + "menu-icon-size", + "menu-label" + ] + }, + "panel-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "overlay-key", + "activate-on-hover", + "hover-delay", + "force-show-panel", + "enable-animation" + ] + }, + "menu-layout": { + "type": "section", + "title": "Layout and content", + "keys": [ + "show-category-icons", + "category-icon-size", + "show-application-icons", + "application-icon-size", + "favbox-show", + "fav-icon-size", + "favbox-min-height", + "show-places", + "show-recents", + "menu-editor-button" + ] + }, + "menu-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "enable-autoscroll", + "search-filesystem" + ] + } + }, + "overlay-key": { + "type": "keybinding", + "description": "Keyboard shortcut to open and close the menu", + "default": "Super_L::Super_R", + "value": "Super_L::Super_R" + }, + "menu-custom": { + "type": "switch", + "default": false, + "description": "Use a custom icon and label", + "tooltip": "Check this to specify a custom icon and label", + "value": true + }, + "menu-icon": { + "type": "iconfilechooser", + "default": "cinnamon-symbolic", + "description": "Icon", + "tooltip": "Select an icon to show in the panel.", + "default_icon": "cinnamon-symbolic", + "dependency": "menu-custom", + "indent": true, + "value": "/usr/share/pixmaps/MiniOS-white.svg" + }, + "menu-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 96, + "step": 1, + "units": "px", + "description": "Icon size", + "dependency": "menu-custom", + "indent": true, + "value": 32 + }, + "menu-label": { + "type": "entry", + "default": "Menu", + "description": "Text", + "tooltip": "Enter custom text to show in the panel.", + "dependency": "menu-custom", + "indent": true, + "value": "" + }, + "favbox-min-height": { + "type": "spinbutton", + "default": 300, + "min": 50, + "max": 1000, + "step": 10, + "units": "px", + "dependency": "favbox-show", + "description": "Minimum height of the favorites section", + "tooltip": "The minimum size allocated for the favorites section (this has an impact on the overall height of the menu).", + "value": 300 + }, + "show-category-icons": { + "type": "switch", + "default": true, + "description": "Show category icons", + "tooltip": "Choose whether or not to show icons on categories.", + "value": true + }, + "category-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Categories icon size", + "dependency": "show-category-icons", + "indent": true, + "value": 22 + }, + "show-application-icons": { + "type": "switch", + "default": true, + "description": "Show application icons", + "tooltip": "Choose whether or not to show icons on applications.", + "value": true + }, + "application-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Applications icon size", + "dependency": "show-application-icons", + "indent": true, + "value": 22 + }, + "favbox-show": { + "type": "switch", + "default": true, + "description": "Show favorites and session buttons", + "tooltip": "Choose whether or not to show the left pane of the menu.", + "value": true + }, + "fav-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 64, + "step": 1, + "units": "px", + "description": "Favorites icon size", + "dependency": "favbox-show", + "indent": true, + "value": 32 + }, + "show-favorites": { + "type": "switch", + "default": true, + "description": "Show favorites", + "tooltip": "Choose whether or not to show favorite files in the menu.", + "value": true + }, + "show-places": { + "type": "switch", + "default": true, + "description": "Show bookmarks and places", + "tooltip": "Choose whether or not to show bookmarks and places in the menu.", + "value": true + }, + "show-recents": { + "type": "switch", + "default": true, + "description": "Show recents", + "tooltip": "Choose whether or not to show recents in the menu.", + "value": true + }, + "enable-autoscroll": { + "type": "switch", + "default": true, + "description": "Enable autoscrolling in application list", + "tooltip": "Choose whether or not to enable smooth autoscrolling in the application list.", + "value": true + }, + "search-filesystem": { + "type": "switch", + "default": false, + "description": "Enable filesystem path entry in search box", + "tooltip": "Allows path entry in the menu search box.", + "value": false + }, + "force-show-panel": { + "type": "switch", + "default": true, + "description": "Force the panel to be visible when opening the menu", + "tooltip": "Opening the menu will also show the main panel (which may be auto-hidden).", + "value": true + }, + "activate-on-hover": { + "type": "switch", + "default": false, + "description": "Open the menu when I move my mouse over it", + "tooltip": "Enable opening the menu when the mouse enters the applet", + "value": false + }, + "hover-delay": { + "type": "spinbutton", + "default": 0, + "min": 0, + "max": 1000, + "step": 50, + "units": "milliseconds", + "dependency": "activate-on-hover", + "description": "Menu hover delay", + "tooltip": "Delay before the menu opens when hovered", + "value": 0 + }, + "enable-animation": { + "type": "switch", + "default": false, + "description": "Use menu animations", + "tooltip": "Allow the menu to animate on open and close", + "value": false + }, + "menu-editor-button": { + "type": "button", + "description": "Open the menu editor", + "callback": "_launch_editor", + "tooltip": "Press this button to customize your menu entries." + }, + "__md5__": "c4b27da93411965126569249b61793d7" +} \ No newline at end of file diff --git a/modules/03-cinnamon-desktop/rootcopy-install/home/live/.config/dconf/user b/modules/03-cinnamon-desktop/rootcopy-install/home/live/.config/dconf/user new file mode 100644 index 0000000..92155e0 Binary files /dev/null and b/modules/03-cinnamon-desktop/rootcopy-install/home/live/.config/dconf/user differ diff --git a/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xinitrc b/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xinitrc new file mode 100644 index 0000000..e741276 --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec cinnamon-session \ No newline at end of file diff --git a/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xsession b/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xsession new file mode 100644 index 0000000..1b09cae --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-install/home/live/.xsession @@ -0,0 +1 @@ +cinnamon-session \ No newline at end of file diff --git a/modules/03-cinnamon-desktop/rootcopy-install/root/.cinnamon/configs/menu@cinnamon.org/0.json b/modules/03-cinnamon-desktop/rootcopy-install/root/.cinnamon/configs/menu@cinnamon.org/0.json new file mode 100644 index 0000000..0d68ace --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-install/root/.cinnamon/configs/menu@cinnamon.org/0.json @@ -0,0 +1,258 @@ +{ + "layout": { + "type": "layout", + "pages": [ + "panel", + "menu" + ], + "panel": { + "type": "page", + "title": "Panel", + "sections": [ + "panel-appear", + "panel-behave" + ] + }, + "menu": { + "type": "page", + "title": "Menu", + "sections": [ + "menu-layout", + "menu-behave" + ] + }, + "panel-appear": { + "type": "section", + "title": "Appearance", + "keys": [ + "menu-custom", + "menu-icon", + "menu-icon-size", + "menu-label" + ] + }, + "panel-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "overlay-key", + "activate-on-hover", + "hover-delay", + "force-show-panel", + "enable-animation" + ] + }, + "menu-layout": { + "type": "section", + "title": "Layout and content", + "keys": [ + "show-category-icons", + "category-icon-size", + "show-application-icons", + "application-icon-size", + "favbox-show", + "fav-icon-size", + "favbox-min-height", + "show-places", + "show-recents", + "menu-editor-button" + ] + }, + "menu-behave": { + "type": "section", + "title": "Behavior", + "keys": [ + "enable-autoscroll", + "search-filesystem" + ] + } + }, + "overlay-key": { + "type": "keybinding", + "description": "Keyboard shortcut to open and close the menu", + "default": "Super_L::Super_R", + "value": "Super_L::Super_R" + }, + "menu-custom": { + "type": "switch", + "default": false, + "description": "Use a custom icon and label", + "tooltip": "Check this to specify a custom icon and label", + "value": true + }, + "menu-icon": { + "type": "iconfilechooser", + "default": "cinnamon-symbolic", + "description": "Icon", + "tooltip": "Select an icon to show in the panel.", + "default_icon": "cinnamon-symbolic", + "dependency": "menu-custom", + "indent": true, + "value": "/usr/share/pixmaps/MiniOS-white.svg" + }, + "menu-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 96, + "step": 1, + "units": "px", + "description": "Icon size", + "dependency": "menu-custom", + "indent": true, + "value": 32 + }, + "menu-label": { + "type": "entry", + "default": "Menu", + "description": "Text", + "tooltip": "Enter custom text to show in the panel.", + "dependency": "menu-custom", + "indent": true, + "value": "" + }, + "favbox-min-height": { + "type": "spinbutton", + "default": 300, + "min": 50, + "max": 1000, + "step": 10, + "units": "px", + "dependency": "favbox-show", + "description": "Minimum height of the favorites section", + "tooltip": "The minimum size allocated for the favorites section (this has an impact on the overall height of the menu).", + "value": 300 + }, + "show-category-icons": { + "type": "switch", + "default": true, + "description": "Show category icons", + "tooltip": "Choose whether or not to show icons on categories.", + "value": true + }, + "category-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Categories icon size", + "dependency": "show-category-icons", + "indent": true, + "value": 22 + }, + "show-application-icons": { + "type": "switch", + "default": true, + "description": "Show application icons", + "tooltip": "Choose whether or not to show icons on applications.", + "value": true + }, + "application-icon-size": { + "type": "spinbutton", + "default": 22, + "min": 16, + "max": 48, + "step": 1, + "units": "px", + "description": "Applications icon size", + "dependency": "show-application-icons", + "indent": true, + "value": 22 + }, + "favbox-show": { + "type": "switch", + "default": true, + "description": "Show favorites and session buttons", + "tooltip": "Choose whether or not to show the left pane of the menu.", + "value": true + }, + "fav-icon-size": { + "type": "spinbutton", + "default": 32, + "min": 16, + "max": 64, + "step": 1, + "units": "px", + "description": "Favorites icon size", + "dependency": "favbox-show", + "indent": true, + "value": 32 + }, + "show-favorites": { + "type": "switch", + "default": true, + "description": "Show favorites", + "tooltip": "Choose whether or not to show favorite files in the menu.", + "value": true + }, + "show-places": { + "type": "switch", + "default": true, + "description": "Show bookmarks and places", + "tooltip": "Choose whether or not to show bookmarks and places in the menu.", + "value": true + }, + "show-recents": { + "type": "switch", + "default": true, + "description": "Show recents", + "tooltip": "Choose whether or not to show recents in the menu.", + "value": true + }, + "enable-autoscroll": { + "type": "switch", + "default": true, + "description": "Enable autoscrolling in application list", + "tooltip": "Choose whether or not to enable smooth autoscrolling in the application list.", + "value": true + }, + "search-filesystem": { + "type": "switch", + "default": false, + "description": "Enable filesystem path entry in search box", + "tooltip": "Allows path entry in the menu search box.", + "value": false + }, + "force-show-panel": { + "type": "switch", + "default": true, + "description": "Force the panel to be visible when opening the menu", + "tooltip": "Opening the menu will also show the main panel (which may be auto-hidden).", + "value": true + }, + "activate-on-hover": { + "type": "switch", + "default": false, + "description": "Open the menu when I move my mouse over it", + "tooltip": "Enable opening the menu when the mouse enters the applet", + "value": false + }, + "hover-delay": { + "type": "spinbutton", + "default": 0, + "min": 0, + "max": 1000, + "step": 50, + "units": "milliseconds", + "dependency": "activate-on-hover", + "description": "Menu hover delay", + "tooltip": "Delay before the menu opens when hovered", + "value": 0 + }, + "enable-animation": { + "type": "switch", + "default": false, + "description": "Use menu animations", + "tooltip": "Allow the menu to animate on open and close", + "value": false + }, + "menu-editor-button": { + "type": "button", + "description": "Open the menu editor", + "callback": "_launch_editor", + "tooltip": "Press this button to customize your menu entries." + }, + "__md5__": "c4b27da93411965126569249b61793d7" +} \ No newline at end of file diff --git a/modules/03-cinnamon-desktop/rootcopy-install/root/.config/dconf/user b/modules/03-cinnamon-desktop/rootcopy-install/root/.config/dconf/user new file mode 100644 index 0000000..92155e0 Binary files /dev/null and b/modules/03-cinnamon-desktop/rootcopy-install/root/.config/dconf/user differ diff --git a/modules/03-cinnamon-desktop/rootcopy-install/root/.xinitrc b/modules/03-cinnamon-desktop/rootcopy-install/root/.xinitrc new file mode 100644 index 0000000..e741276 --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-install/root/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec cinnamon-session \ No newline at end of file diff --git a/modules/03-cinnamon-desktop/rootcopy-install/root/.xsession b/modules/03-cinnamon-desktop/rootcopy-install/root/.xsession new file mode 100644 index 0000000..1b09cae --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-install/root/.xsession @@ -0,0 +1 @@ +cinnamon-session \ No newline at end of file diff --git a/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/debian-xterm.desktop b/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/debian-xterm.desktop new file mode 100644 index 0000000..94836b9 --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/debian-xterm.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=XTerm +#GenericName=Terminal +Comment=standard terminal emulator for the X window system +Exec=xterm +Terminal=false +Type=Application +#Encoding=UTF-8 +Icon=xterm +Categories=System;TerminalEmulator; +Keywords=shell;prompt;command;commandline;cmd; +X-Desktop-File-Install-Version=0.26 diff --git a/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/htop.desktop b/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/htop.desktop new file mode 100644 index 0000000..ebdeed0 --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/htop.desktop @@ -0,0 +1,67 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Htop +GenericName=Process Viewer +GenericName[ca]=Visualitzador de processos +GenericName[da]=Procesfremviser +GenericName[de]=Prozessanzeige +GenericName[en_GB]=Process Viewer +GenericName[es]=Visor de procesos +GenericName[fi]=Prosessikatselin +GenericName[fr]=Visualiseur de processus +GenericName[gl]=Visor de procesos +GenericName[it]=Visore dei processi +GenericName[ko]=프로세스 뷰어 +GenericName[nb]=Prosessviser +GenericName[nl]=Viewer van processen +GenericName[nn]=Prosessvisar +GenericName[pl]=Przeglądarka procesów +GenericName[pt]=Visualizador de Processos +GenericName[pt_BR]=Visualizador de processos +GenericName[ru]=Монитор процессов +GenericName[sk]=Prehliadač procesov +GenericName[sl]=Pregledovalnik opravil +GenericName[sr@ijekavian]=Приказивач процеса +GenericName[sr@ijekavianlatin]=Prikazivač procesa +GenericName[sr@latin]=Prikazivač procesa +GenericName[sr]=Приказивач процеса +GenericName[sv]=Processvisning +GenericName[tr]=Süreç Görüntüleyici +GenericName[uk]=Перегляд процесів +GenericName[zh_CN]=进程查看器 +GenericName[zh_TW]=行程檢視器 +Comment=Show System Processes +Comment[ca]=Visualitzeu els processos del sistema +Comment[da]=Vis systemprocesser +Comment[de]=Systemprozesse anzeigen +Comment[en_GB]=Show System Processes +Comment[es]=Mostrar procesos del sistema +Comment[fi]=Katsele järjestelmän prosesseja +Comment[fr]=Affiche les processus système +Comment[gl]=Mostrar os procesos do sistema. +Comment[it]=Mostra processi di sistema +Comment[ko]=시스템 프로세스 보기 +Comment[nb]=Vis systemprosesser +Comment[nl]=Systeemprocessen tonen +Comment[nn]=Vis systemprosessar +Comment[pl]=Pokaż procesy systemowe +Comment[pt]=Mostrar os Processos do Sistema +Comment[pt_BR]=Mostra os processos do sistema +Comment[ru]=Просмотр списка процессов в системе +Comment[sk]=Zobraziť systémové procesy +Comment[sl]=Prikaz sistemskih opravil +Comment[sr@ijekavian]=Приказ системских процеса +Comment[sr@ijekavianlatin]=Prikaz sistemskih procesa +Comment[sr@latin]=Prikaz sistemskih procesa +Comment[sr]=Приказ системских процеса +Comment[sv]=Visa systemprocesser +Comment[tr]=Sistem Süreçlerini Göster +Comment[uk]=Перегляд системних процесів +Comment[zh_CN]=显示系统进程 +Comment[zh_TW]=顯示系統行程 +Icon=utilities-system-monitor +Exec=htop +Terminal=true +Categories=System;Monitor;ConsoleOnly; +Keywords=system;process;task diff --git a/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/mc.desktop b/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/mc.desktop new file mode 100644 index 0000000..2027318 --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/mc.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Name=Midnight Commander +Name[af]=Middernag Kommandeur +Name[eo]=Meznokta komandanto +Name[fa]=فرمان‌دار نیمه شب +Name[ko]=미드나잇 커멘더 +Name[lv]=Pusnakts Komandieris +Name[nso]=Molaedi wa Bosegogare +Name[th]=มิดไนท์คอมมานเดอร์ +Name[ve]=Muhulwane wa vhukati ha vhusiku +Name[xh]=Umyaleli Waphakathi kobusuku +Name[zu]=Umyaleli waphakathi nobusuku +Comment=File manager +Comment[pl]=Menedżer plików +Exec=mc +Icon=file-manager.png +Terminal=true +Type=Application +Categories=ConsoleOnly;Utility;FileManager;System;FileTools; +Keywords=file manager;console; diff --git a/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/ncdu.desktop b/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/ncdu.desktop new file mode 100644 index 0000000..6ab9888 --- /dev/null +++ b/modules/03-cinnamon-desktop/rootcopy-postinstall/usr/share/applications/ncdu.desktop @@ -0,0 +1,179 @@ +[Desktop Entry] +Name[af]=Skyfgebruik +Name[an]=Analizador d'uso de disco +Name[ar]=محلّل استخدام القرص +Name[as]=ডিস্ক ব্যৱহাৰ বিশ্লেষক +Name[ast]=Analizador d'Usu de Discu +Name[be]=Аналіз дыскавай прасторы +Name[be@latin]=Analizatar zaniataści dyskavaj prastory +Name[bg]=Анализатор на ползването на диска +Name[bn]=ডিস্ক ব্যবহারের বিশ্লেষণ ব্যবস্থা +Name[bn_IN]=ডিস্ক ব্যবহারের বিশ্লেষণ ব্যবস্থা +Name[br]=Dezranner arver ar c'hantennoù +Name[bs]=Alat za analizu upotrebe diska +Name[ca]=Analitzador de l'ús dels discs +Name[ca@valencia]=Analitzador de l'ús dels discs +Name[crh]=Disk Qullanımı Tahlilcisi +Name[cs]=Analyzátor využití disku +Name[da]=Diskforbrugsanalyse +Name[de]=Festplattenbelegungsanalyse +Name[dz]=ཌིཀསི་གི་བེད་སྤྱོད་དཔྱད་ཞིབ་པ། +Name[el]=Αναλυτής χρήσης δίσκου +Name[en_GB]=Disk Usage Analyser +Name[en@shaw]=𐑛𐑦𐑕𐑒 𐑿𐑕𐑦𐑡 𐑨𐑯𐑩𐑤𐑲𐑟𐑻 +Name[eo]=Diskuzada analizilo +Name[es]=Analizador de uso de disco +Name[et]=Kettakasutuse analüsaator +Name[eu]=Disko-erabileraren analizatzailea +Name[fa]=تحلیلگر مصرف دیسک +Name[fi]=Levynkäytön analysointi +Name[fr]=Analyseur d’utilisation des disques +Name[fur]=Analizadôr di utilizazion dal disc +Name[ga]=Anailíseoir Úsáid Diosca +Name[gd]=Sgrùdair cleachdadh nan diosga +Name[gl]=Analizador do uso do disco +Name[gu]=ડિસ્ક વપરાશકર્તા વિશ્લેષક +Name[he]=מנתח השימוש בכונן +Name[hi]=डिस्क प्रयोग विश्लेषण +Name[hr]=Analizator iskoristivosti diska +Name[hu]=Lemezhasználat-elemző +Name[id]=Penganalisa Penggunaan Diska +Name[is]=Diskapláss +Name[it]=Analizzatore di utilizzo del disco +Name[ja]=ディスク使用量アナライザー +Name[kk]=Диск қолдануын анализдеушісі +Name[km]=កម្មវិធី​វិភាគ​ការ​ប្រើ​ថាស +Name[kn]=ಡಿಸ್ಕ್‍ ಬಳಕೆಯ ವಿಶ್ಲೇಷಕ +Name[ko]=디스크 사용량 분석 +Name[ku]=Analîzkerê Bikaranîna Dîskê +Name[lt]=Disko naudojimo analizatorius +Name[lv]=Diska izmantojuma analizators +Name[mai]=डिस्क प्रयोग विश्लेषण +Name[mjw]=Disk Usage Analyzer +Name[mk]=Употребата на дискот +Name[ml]=ഡിസ്ക് യൂസേജ് അനലൈസർ +Name[mr]=डीस्क वापर विश्लेषक +Name[ms]=Penganalisis Penggunaan Cakera +Name[nb]=Analyse av diskplass +Name[nds]=Spiekergebruk unnersöken +Name[ne]=डिस्क प्रयोग विश्लेषक +Name[nl]=Schijfgebruik +Name[nn]=Analyse av diskplass +Name[oc]=Analisador d'utilizacion dels disques +Name[or]=ଡିସ୍କ ବ୍ଯବହାର ବିଧି ବିଶ୍ଳେଷକ +Name[pa]=ਡਿਸਕ ਵਰਤੋਂ ਜਾਂਚਕਾਰ +Name[pl]=Wykorzystanie dysku +Name[ps]=د ټيکلي کارونې شننونکی +Name[pt]=Analisador de utilização do disco +Name[pt_BR]=Analisador de uso de disco +Name[ro]=Analizatorul utilizării discului +Name[ru]=Анализатор использования дисков +Name[si]=තැටි භාවිත විශ්ලේෂකය +Name[sk]=Analyzátor využitia disku +Name[sl]=Orodje za preučevanje porabe diska +Name[sr]=Испитивач искоришћености диска +Name[sr@latin]=Ispitivač iskorišćenosti diska +Name[sv]=Diskanvändningsanalysator +Name[ta]=வட்டு பயன்பாடு ஆராய்வி +Name[te]=డిస్క్ వినిమయ విశ్లేషకం +Name[tg]=Таҳлилгари истифодаи диск +Name[th]=เครื่องมือวิเคราะห์การใช้ดิสก์ +Name[tr]=Disk Kullanımı İnceleyici +Name[ug]=دىسكا ئىشلىتىش تەھلىلچىسى +Name[uk]=Аналізатор використання диска +Name[vi]=Bộ phân tích đĩa +Name[zh_CN]=磁盘使用情况分析器 +Name[zh_HK]=磁碟用量分析器 +Name[zh_TW]=磁碟用量分析器 +Name=Disk Usage Analyzer +Comment[af]=Kontroleer gidsgroottes en beskikbare skyfspasie +Comment[an]=Compreba la grandaria d'as carpetas y lo espacio disponible en disco +Comment[ar]=افحص حجم المجلدات والمساحة المتوفرة +Comment[as]=ফোল্ডাৰৰ মাপ আৰু ডিস্কত উপলব্ধ স্থান নিৰীক্ষণ কৰক +Comment[ast]=Comprobar el tamañu de les carpetes y l'espaciu disponible en discu +Comment[be]=Праверка памеру папак і выкарыстання дыскавай прасторы +Comment[be@latin]=Spraŭdź pamiery katalohaŭ i dyskavuju prastoru +Comment[bg]=Проверка на размерите на папките и свободното пространство на диска +Comment[bn]=ফোল্ডারের মাপ ও ডিস্কে বিদ্যমান স্থান পরীক্ষা করা হবে +Comment[bn_IN]=ফোল্ডারের মাপ ও ডিস্কে উপলব্ধ স্থান পরীক্ষা করা হবে +Comment[br]=Gwiriañ mentoù an teuliadoù ha plas hegerz war ar gantennad +Comment[bs]=Provjeri veličinu direktorija i raspoloživ prostor na disku +Comment[ca]=Comprova la mida de les carpetes i l'espai disponible al disc +Comment[ca@valencia]=Comprova la mida de les carpetes i l'espai disponible al disc +Comment[ckb]=چێکردنی قەبارەی بوخچە و بۆشایی بەردەست لە پەپکەکاندا +Comment[crh]=Cilbent ölçülerini ve faydalanışlı disk fezasını teşker +Comment[cs]=Zkontrolovat velikost složek a dostupné místo na disku +Comment[da]=Kontrollér mappestørrelser og tilgængelig diskplads +Comment[de]=Ordnergrößen und freien Festplattenplatz analysieren +Comment[dz]=ཡིག་སྣོད་ཀྱི་ཚད་ཚུ་དང་འཐོབ་ཚུགས་པའི་ཌིཀསི་ས་སྟོང་ཞིབ་དཔྱད་འབད +Comment[el]=Έλεγχος μεγέθους φακέλων και διαθέσιμου χώρου στο δίσκο +Comment[en_GB]=Check folder sizes and available disk space +Comment[en@shaw]=𐑗𐑧𐑒 𐑓𐑴𐑤𐑛𐑼 𐑕𐑲𐑟𐑩𐑟 𐑯 𐑩𐑝𐑱𐑤𐑩𐑚𐑩𐑤 𐑛𐑦𐑕𐑒 𐑕𐑐𐑱𐑕 +Comment[eo]=Kontroli dosierujajn grandojn kaj disponeblan diskmemoron +Comment[es]=Compruebe el tamaño de las carpetas y el espacio disponible en disco +Comment[et]=Kaustade suuruse ja saadaoleva kettaruumi kontroll +Comment[eu]=Egiaztatu karpeten tamainak eta diskoan dagoen leku erabilgarria +Comment[fa]=بررسی اندازهٔ شاخه‌ها و فضای دیسک موجود +Comment[fi]=Tarkista kansioiden koko ja käytettävissä oleva levytila +Comment[fr]=Vérifier la taille des dossiers et l’espace disque disponible +Comment[fur]=Controle la dimension des cartelis e il spazi libar sul disc +Comment[ga]=Seiceáil méideanna fillteán agus spás diosca le fáil +Comment[gd]=Thoir sùil air meud nam pasganan ’s an rum shaor air an diosga +Comment[gl]=Verificar o tamaño dos cartafoles e o espazo dispoñíbel no disco +Comment[gu]=ફોલ્ડર માપો અને ઉપલબ્ધ ડિસ્ક જગ્યા ચકાસો +Comment[he]=בדיקת גדלי התיקיות והמקום פנוי בכונן +Comment[hi]=फोल्डर आकार जाँचें और उपलब्ध डिस्क स्थान +Comment[hr]=Provjerite veličinu mapa i dostupan prostor na disku +Comment[hu]=Mappaméretek és elérhető lemezterület vizsgálata +Comment[id]=Periksa ukuran folder dan ruang diska yang tersedia +Comment[is]=Athuga hve mikið pláss skrár taka á tölvunni og hve mikið pláss er eftir +Comment[it]=Controlla la dimensione delle cartelle e lo spazio disco disponibile +Comment[ja]=フォルダーと利用可能なディスク容量をチェックします +Comment[kk]=Бумалар өлшемдерін және дисктердегі қолжетерлік орынды тексеру +Comment[km]=ពិនិត្យ​មើល​ទំហំ​ថត និង​ទំហំ​ថាស​ដែល​អាច​ប្រើ​បាន +Comment[kn]=ಕಡತಕೋಶದ ಗಾತ್ರಗಳು ಹಾಗು ಲಭ್ಯವಿರುವ ಡಿಸ್ಕಿನ ಜಾಗಕ್ಕಾಗಿ ನೋಡು +Comment[ko]=폴더 용량과 디스크의 빈 공간을 검사합니다 +Comment[lt]=Tikrinti aplankų dydžius ir laisvą vietą +Comment[lv]=Pārbauda mapju izmērus un pieejamo diska vietu +Comment[mjw]=Folder apun lapen disk space angse kelang +Comment[mk]=Провери ја големината на папките и достапниот простор на дискот +Comment[ml]=ഫോൾഡറുകളുടെ വ്യാപ്തിയും ഡിസ്കില്‍ ലഭ്യമായ സ്ഥലവും പരിശോധിയ്ക്കുക +Comment[mr]=फोल्डर आकार व उपलब्ध डीस्क जागा तपासा +Comment[ms]=Periksa saiz folder dan ruang cakera yang tersedia +Comment[nb]=Sjekk mappestørrelser og tilgjengelig diskplass +Comment[ne]=फोल्डर साइज र उपलब्ध डिस्क खालीस्थान जाँच गर्नुहोस् +Comment[nl]=Mapgroottes en beschikbare schijfruimte bekijken +Comment[nn]=Undersøk mappestorleikar og tilgjengeleg diskplass +Comment[oc]=Verificar la talha dels dorsièrs e l'espaci de disc disponible +Comment[or]=ଫୋଲଡରର ଆକାର ଏବଂ ଉପଲବ୍ଧ ଡିସ୍କ ସ୍ଥାନ ଯାଞ୍ଚ କରନ୍ତୁ +Comment[pa]=ਫੋਲਡਰ ਸਾਇਜ਼ ਅਤੇ ਉਪਲੱਬਧ ਡਿਸਕ ਥਾਂ ਚੈੱਕ ਕਰੋ +Comment[pl]=Wyświetlanie rozmiaru katalogów i dostępnego miejsca na dysku +Comment[ps]=د پوښۍ کچونه او شته ټيکلی تشه وګورﺉ +Comment[pt]=Verificar o tamanho das pastas e o espaço disponível em disco +Comment[pt_BR]=Verifique o tamanho de pastas e o espaço disponível em disco +Comment[ro]=Verifică dimensiunea dosarului și spațiul disponibil pe disc +Comment[ru]=Изучение размера папок и свободного места на дисках +Comment[sk]=Kontroluje veľkosti priečinkov a dostupné miesto na disku +Comment[sl]=Preveri velikosti map in prostor na disku +Comment[sr]=Проверите величине фасцикли и слободан простор на диску +Comment[sr@latin]=Proverite veličine fascikli i slobodan prostor na disku +Comment[sv]=Kontrollera mappstorlekar och tillgängligt diskutrymme +Comment[ta]=அடைவு அளவு மற்றும் கிடைக்கக்கூடிய வட்டு இடைவெளி ஆகியவற்றை சரிபார் +Comment[te]=అందుబాటులోవున్న డిస్క్ స్థలం మరియు సంచయపు పరిమాణాలను తనిఖీచేయి +Comment[tg]=Санҷиши андозаи ҷузвдонҳо ва фазои диски дастрас +Comment[th]=ตรวจสอบขนาดของโฟลเดอร์ต่างๆ และเนื้อที่ว่างในดิสก์ +Comment[tr]=Klasör boyutlarını ve kullanılabilir disk alanını denetle +Comment[ug]=قىسقۇچ چوڭلۇقى ۋە ئىشلىتىشكە بولىدىغان دىسكا بوشلۇقىنى تەكشۈر +Comment[uk]=Перевірте розміри тек та дисковий простір +Comment[vi]=Kiểm tra kích cỡ của thư mục và chỗ trống trên đĩa +Comment[zh_CN]=检查文件夹大小和可用磁盘空间 +Comment[zh_HK]=檢查資料夾大小與可用的磁碟空間 +Comment[zh_TW]=檢查資料夾大小與可用的磁碟空間 +Comment=Check folder sizes and available disk space +Keywords=storage;space;cleanup; +TryExec=ncdu +Exec=ncdu +Icon=baobab +Terminal=true +Type=Application +Categories=ConsoleOnly;System;Filesystem;Utility; diff --git a/modules/03-cinnamon-desktop/standard.list b/modules/03-cinnamon-desktop/standard.list new file mode 100644 index 0000000..7eb4f53 --- /dev/null +++ b/modules/03-cinnamon-desktop/standard.list @@ -0,0 +1,8 @@ +locales +dbus-x11 +slim +cinnamon-core +gvfs-backends +samba-common +avahi-daemon +faenza-icon-theme diff --git a/modules/03-xfce-desktop/install b/modules/03-xfce-desktop/install new file mode 100644 index 0000000..7fa1c29 --- /dev/null +++ b/modules/03-xfce-desktop/install @@ -0,0 +1,638 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +GTKUI="2" + +if [ $DISTRIBUTION = "buster" ] && [ $GTKUI = "3" ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + gnupg curl >>$OUTPUT 2>&1 + echo "deb http://mxrepo.com/mx/repo/ temp main" >>/etc/apt/sources.list + curl -L https://cyber-x.ru/wp-content/upload/mx19/mx19.gpg | sudo apt-key add - +fi + +echo "nodm nodm/enabled boolean true" | debconf-set-selections +echo "samba-common samba-common/dhcp boolean false" | debconf-set-selections + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +# install packages +if [ $DISTRIBUTION = "stretch" ]; then + wget -c http://ftp.ru.debian.org/debian/pool/main/e/elementary-xfce/elementary-xfce-icon-theme_0.15.2-1_all.deb + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + ./elementary-xfce-icon-theme_0.15.2-1_all.deb >>$OUTPUT 2>&1 + rm -f ./elementary-xfce-icon-theme_0.15.2-1_all.deb >>$OUTPUT 2>&1 +else + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + elementary-xfce-icon-theme >>$OUTPUT 2>&1 +fi + +if [ $DISTRIBUTION = "buster" ] && [ $GTKUI = "3" ]; then + sed -i "s,deb http://mxrepo.com/mx/repo/ temp main,#deb http://mxrepo.com/mx/repo/ temp main,g" /etc/apt/sources.list +fi + +if [ $DISTRIBUTION = "bullseye" ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + librsvg2-common >>$OUTPUT 2>&1 +fi + +if grep xfce4-whiskermenu-plugin $SCRIPT_DIR/$PACKAGE_VARIANT.list >>$OUTPUT 2>&1; then + if [ $DISTRIBUTION = "buster" ] || [ $DISTRIBUTION = "stretch" ]; then + echo "favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-mail-reader.desktop,exo-web-browser.desktop" >/etc/skel/.config/xfce4/panel/whiskermenu-1.rc + echo "favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-mail-reader.desktop,exo-web-browser.desktop" >/root/.config/xfce4/panel/whiskermenu-1.rc + echo "favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-mail-reader.desktop,exo-web-browser.desktop" >/home/live/.config/xfce4/panel/whiskermenu-1.rc + elif [ $DISTRIBUTION = "bullseye" ]; then + echo "favorites=xfce4-terminal-emulator.desktop,xfce4-file-manager.desktop,xfce4-web-browser.desktop,xfce4-mail-reader.desktop" >/etc/skel/.config/xfce4/panel/whiskermenu-1.rc + echo "favorites=xfce4-terminal-emulator.desktop,xfce4-file-manager.desktop,xfce4-web-browser.desktop,xfce4-mail-reader.desktop" >/root/.config/xfce4/panel/whiskermenu-1.rc + echo "favorites=xfce4-terminal-emulator.desktop,xfce4-file-manager.desktop,xfce4-web-browser.desktop,xfce4-mail-reader.desktop" >/home/live/.config/xfce4/panel/whiskermenu-1.rc + fi + cat <>/etc/skel/.config/xfce4/panel/whiskermenu-1.rc +recent= +button-icon=/usr/share/pixmaps/MiniOS-white.svg +button-single-row=false +show-button-title=false +show-button-icon=true +launcher-show-name=true +launcher-show-description=false +launcher-show-tooltip=true +item-icon-size=2 +hover-switch-category=false +category-show-name=true +category-icon-size=1 +load-hierarchy=false +view-as-icons=false +default-category=0 +recent-items-max=10 +favorites-in-recent=true +position-search-alternate=true +position-commands-alternate=false +position-categories-alternate=true +stay-on-focus-out=false +confirm-session-command=true +menu-width=450 +menu-height=500 +menu-opacity=100 +command-settings=xfce4-settings-manager +show-command-settings=false +command-lockscreen=xflock4 +show-command-lockscreen=false +command-switchuser=dm-tool switch-to-greeter +show-command-switchuser=false +command-logoutuser=xfce4-session-logout --logout --fast +show-command-logoutuser=false +command-restart=xfce4-session-logout --reboot --fast +show-command-restart=false +command-shutdown=xfce4-session-logout --halt --fast +show-command-shutdown=false +command-suspend=xfce4-session-logout --suspend +show-command-suspend=false +command-hibernate=xfce4-session-logout --hibernate +show-command-hibernate=false +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +command-profile=mugshot +show-command-profile=false +search-actions=5 + +[action0] +name=Man Pages +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Web Search +pattern=? +command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u +regex=false + +[action2] +name=Wikipedia +pattern=!w +command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u +regex=false + +[action3] +name=Run in Terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action4] +name=Open URI +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + + +EOF + cat <>/root/.config/xfce4/panel/whiskermenu-1.rc +recent= +button-icon=/usr/share/pixmaps/MiniOS-white.svg +button-single-row=false +show-button-title=false +show-button-icon=true +launcher-show-name=true +launcher-show-description=false +launcher-show-tooltip=true +item-icon-size=2 +hover-switch-category=false +category-show-name=true +category-icon-size=1 +load-hierarchy=false +view-as-icons=false +default-category=0 +recent-items-max=10 +favorites-in-recent=true +position-search-alternate=true +position-commands-alternate=false +position-categories-alternate=true +stay-on-focus-out=false +confirm-session-command=true +menu-width=450 +menu-height=500 +menu-opacity=100 +command-settings=xfce4-settings-manager +show-command-settings=false +command-lockscreen=xflock4 +show-command-lockscreen=false +command-switchuser=dm-tool switch-to-greeter +show-command-switchuser=false +command-logoutuser=xfce4-session-logout --logout --fast +show-command-logoutuser=false +command-restart=xfce4-session-logout --reboot --fast +show-command-restart=false +command-shutdown=xfce4-session-logout --halt --fast +show-command-shutdown=false +command-suspend=xfce4-session-logout --suspend +show-command-suspend=false +command-hibernate=xfce4-session-logout --hibernate +show-command-hibernate=false +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +command-profile=mugshot +show-command-profile=false +search-actions=5 + +[action0] +name=Man Pages +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Web Search +pattern=? +command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u +regex=false + +[action2] +name=Wikipedia +pattern=!w +command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u +regex=false + +[action3] +name=Run in Terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action4] +name=Open URI +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + + +EOF + cat <>/home/live/.config/xfce4/panel/whiskermenu-1.rc +recent= +button-icon=/usr/share/pixmaps/MiniOS-white.svg +button-single-row=false +show-button-title=false +show-button-icon=true +launcher-show-name=true +launcher-show-description=false +launcher-show-tooltip=true +item-icon-size=2 +hover-switch-category=false +category-show-name=true +category-icon-size=1 +load-hierarchy=false +view-as-icons=false +default-category=0 +recent-items-max=10 +favorites-in-recent=true +position-search-alternate=true +position-commands-alternate=false +position-categories-alternate=true +stay-on-focus-out=false +confirm-session-command=true +menu-width=450 +menu-height=500 +menu-opacity=100 +command-settings=xfce4-settings-manager +show-command-settings=false +command-lockscreen=xflock4 +show-command-lockscreen=false +command-switchuser=dm-tool switch-to-greeter +show-command-switchuser=false +command-logoutuser=xfce4-session-logout --logout --fast +show-command-logoutuser=false +command-restart=xfce4-session-logout --reboot --fast +show-command-restart=false +command-shutdown=xfce4-session-logout --halt --fast +show-command-shutdown=false +command-suspend=xfce4-session-logout --suspend +show-command-suspend=false +command-hibernate=xfce4-session-logout --hibernate +show-command-hibernate=false +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +command-profile=mugshot +show-command-profile=false +search-actions=5 + +[action0] +name=Man Pages +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Web Search +pattern=? +command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u +regex=false + +[action2] +name=Wikipedia +pattern=!w +command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u +regex=false + +[action3] +name=Run in Terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action4] +name=Open URI +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + + +EOF + #echo $WHISKERMENU >>/etc/skel/.config/xfce4/panel/whiskermenu-1.rc + #echo $WHISKERMENU >>/root/.config/xfce4/panel/whiskermenu-1.rc + #echo $WHISKERMENU >>/home/live/.config/xfce4/panel/whiskermenu-1.rc +else + #read -r -d MINIMAL_PANEL '' </etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +EOF + cat </root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +EOF + cat </home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +EOF + #echo $MINIMAL_PANEL >>/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml + #echo $MINIMAL_PANEL >>/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml + #echo $MINIMAL_PANEL >>/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser= + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser= + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser= + +EOF + +elif [ $PACKAGE_VARIANT = "standard" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=Thunar +WebBrowser= + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=Thunar +WebBrowser= + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=Thunar +WebBrowser= + +EOF +fi diff --git a/modules/03-xfce-desktop/minimal.list b/modules/03-xfce-desktop/minimal.list new file mode 100644 index 0000000..6ba5346 --- /dev/null +++ b/modules/03-xfce-desktop/minimal.list @@ -0,0 +1,15 @@ +dbus-x11 +slim +libxfce4ui-utils +pcmanfm +xfce4-appfinder +xfce4-panel +xfce4-session +xfce4-settings +xfconf +xfdesktop4 +xfwm4 +greybird-gtk-theme +volumeicon-alsa +xfce4-xkb-plugin +xfce4-battery-plugin \ No newline at end of file diff --git a/modules/03-xfce-desktop/postinstall b/modules/03-xfce-desktop/postinstall new file mode 100644 index 0000000..b72f284 --- /dev/null +++ b/modules/03-xfce-desktop/postinstall @@ -0,0 +1,193 @@ +#!/bin/bash + +#(cd /rootcopy && cp --parents -afr * /) + +# create user directories +for dir in Desktop Documents Downloads Music Pictures Public Templates Videos; do + mkdir -p /home/live/$dir >>$OUTPUT 2>&1 + mkdir -p /root/$dir >>$OUTPUT 2>&1 +done + +rm -f /usr/share/backgrounds/xfce/* +ln -s /usr/share/backgrounds/MiniOS-wallpaper.svg /usr/share/backgrounds/xfce/xfce-verticals.png +ln -s /usr/share/backgrounds/MiniOS-wallpaper.svg /usr/share/backgrounds/xfce/xfce-teal.jpg + +if [ $PACKAGE_VARIANT = "standard" ]; then + rm -f /usr/share/applications/pavucontrol.desktop +fi + +if grep slim $SCRIPT_DIR/$PACKAGE_VARIANT.list >>$OUTPUT 2>&1; then + sed -i 's,# hidecursor false,hidecursor false,g' /etc/slim.conf + sed -i 's,screenshot_cmd scrot /root/slim.png,# screenshot_cmd scrot /root/slim.png,g' /etc/slim.conf + if [ $PACKAGE_VARIANT = "minimal" ]; then + sed -i 's,#default_user simone,default_user root,g' /etc/slim.conf + else + sed -i 's,#default_user simone,default_user live,g' /etc/slim.conf + fi + sed -i 's,#auto_login no,auto_login yes,g' /etc/slim.conf + sed -i 's,current_theme debian-softwaves,current_theme minios,g' /etc/slim.conf +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat <>/usr/share/applications/taskmanager.desktop +[Desktop Entry] +Name=Task Manager +Name[ar]=مدير المهام +Name[ast]=Xestor de xeres +Name[be]=Кіраўнік задач +Name[bg]=Мениджър на задачи +Name[ca]=Gestor de tasques +Name[cs]=Správce úloh +Name[da]=Opgavehåndtering +Name[de]=Taskmanager +Name[el]=Διαχειριστής εργασιών +Name[en_AU]=Task Manager +Name[en_GB]=Task Manager +Name[es]=Gestor de tareas +Name[eu]=Zeregin kudeatzailea +Name[fi]=Tehtävienhallinta +Name[fr]=Gestionnaire de tâches +Name[gl]=Xestor de tarefas +Name[he]=מנהל משימות +Name[hr]=Upravitelj zadacima +Name[hu]=Feladatkezelő +Name[id]=Manajer Tugas +Name[is]=Verkefnastjóri +Name[it]=Gestore dei processi +Name[ja]=タスクマネージャー +Name[kk]=Үрдістерді басқарушысы +Name[ko]=작업 관리자 +Name[lt]=Užduočių tvarkytuvė +Name[ms]=Pengurus Tugas +Name[nb]=Oppgavebehandler +Name[nl]=Taakbeheerder +Name[oc]=Gestionari de prètzfaches +Name[pl]=Menedżer zadań +Name[pt]=Gestor de tarefas +Name[pt_BR]=Gerenciador de tarefas +Name[ru]=Диспетчер задач +Name[sk]=Správca úloh +Name[sl]=Upravljalnik nalog +Name[sq]=Përgjegjës Aktesh +Name[sr]=Управник задатака +Name[sv]=Aktivitetshanterare +Name[te]=కర్తవ్య నిర్వాహకం +Name[th]=โปรแกรมจัดการทาสก์ +Name[tr]=Görev Yöneticisi +Name[ug]=ۋەزىپە باشقۇرغۇ +Name[uk]=Диспетчер задач +Name[vi]=Quản lý tác vụ +Name[zh_CN]=任务管理器 +Name[zh_HK]=工作管理員 +Name[zh_TW]=工作管理員 +Comment=Easy to use task manager +Comment[ar]=من السهل إستخدام مدير المهام +Comment[ast]=Xestor de xeres cenciellu d'usar +Comment[be]=Зручны ў выкарыстанні кіраўнік задач +Comment[bg]=Лесен за използване мениджър на задачи +Comment[ca]=Gestor de tasques fàcil d'utilitzar +Comment[cs]=Snadno použitelný správce úloh +Comment[da]=Opgavehåndtering som er nem at bruge +Comment[de]=Prozessverwaltung mit einfacher Bedienung +Comment[el]=Εύκολος στην χρήση διαχειριστής διεργασιών +Comment[en_AU]=Easy to use task manager +Comment[en_GB]=Easy to use task manager +Comment[es]=Un gestor de tareas fácil de usar +Comment[eu]= Zeregin kudeatzaile erabilerraz bat da +Comment[fi]=Helppokäyttöinen tehtävienhallinta +Comment[fr]=Gestionnaire de tâches simple d’utilisation +Comment[gl]=Xestor de tarefas fácil de usar +Comment[he]=מנהל משימות קל לשימוש +Comment[hr]=Lagan za korištenje upravitelj zadacima +Comment[hu]=Egyszerűen használható feladatkezelő +Comment[id]=Manajer tugas yang mudah digunakan +Comment[is]=Einfaldur og auðveldur verkefnastjóri +Comment[it]=Gestore dei processi di semplice utilizzo +Comment[ja]=使いやすいタスクマネージャーです +Comment[kk]=Жүйе үрдістерін ыңғайлы басқару +Comment[ko]=쓰기 쉬운 작업관리자 +Comment[lt]=Lengvai naudojama užduočių tvarkytuvė +Comment[ms]=Pengurus tugas yang mudah digunakan +Comment[nb]=Lett å bruke oppgavebehandler +Comment[nl]=Gemakkelijk te gebruiken taakbeheerder +Comment[oc]=De bon utilizar : lo gestionari de prètzfaches +Comment[pl]=Zarządza uruchomionymi procesami +Comment[pt]=Gestor de tarefas fácil de usar +Comment[pt_BR]=Um gerenciador de tarefas fácil de usar +Comment[ru]=Простой диспетчер задач +Comment[sk]=Správca úloh s jednoduchým používaním +Comment[sl]=Enostaven upravljalnik nalog +Comment[sq]=Përgjegjës aktesh i lehtë për t’u përdorur +Comment[sr]=Управник задатака лак за коришћење +Comment[sv]=Lättanvänd aktivitetshanterare +Comment[te]=వాడుటకు సరళమైన కర్తవ్య నిర్వాహకం +Comment[th]=โปรแกรมจัดการทาสก์สะดวกใช้ +Comment[tr]=Kullanımı kolay görev yöneticisi +Comment[ug]=ئىشلىتىشكە ئەپلىك ۋەزىپە باشقۇرغۇ +Comment[uk]=Простий у використанні диспетчер задач +Comment[vi]=Trình quản lý tác vụ dễ dùng +Comment[zh_CN]=易用的任务管理器 +Comment[zh_HK]=易用的工作管理員 +Comment[zh_TW]=易於使用的工作管理員 +GenericName=Task Manager +GenericName[ar]=مدير المهام +GenericName[ast]=Xestor de xeres +GenericName[be]=Кіраўнік задач +GenericName[bg]=Мениджър на задачи +GenericName[ca]=Gestor de tasques +GenericName[cs]=Správce úloh +GenericName[da]=Opgavehåndtering +GenericName[de]=Taskmanager +GenericName[el]=Διαχειριστής εργασιών +GenericName[en_AU]=Task Manager +GenericName[en_GB]=Task Manager +GenericName[es]=Gestor de tareas +GenericName[eu]=Zeregin kudeatzailea +GenericName[fi]=Tehtävienhallinta +GenericName[fr]=Gestionnaire de tâches +GenericName[gl]=Xestor de tarefas +GenericName[he]=מנהל משימות +GenericName[hr]=Upravitelj zadacima +GenericName[hu]=Feladatkezelő +GenericName[id]=Manajer Tugas +GenericName[is]=Verkefnastjóri +GenericName[it]=Gestore dei processi +GenericName[ja]=タスクマネージャー +GenericName[kk]=Үрдістерді басқарушысы +GenericName[ko]=작업 관리자 +GenericName[lt]=Užduočių tvarkytuvė +GenericName[ms]=Pengurus Tugas +GenericName[nb]=Oppgavebehandler +GenericName[nl]=Taakbeheerder +GenericName[oc]=Gestionari de prètzfaches +GenericName[pl]=Menedżer zadań +GenericName[pt]=Gestor de tarefas +GenericName[pt_BR]=Gerenciador de tarefas +GenericName[ru]=Диспетчер задач +GenericName[sk]=Správca úloh +GenericName[sl]=Upravljalnik nalog +GenericName[sq]=Përgjegjës Aktesh +GenericName[sr]=Управник задатака +GenericName[sv]=Aktivitetshanterare +GenericName[te]=కర్తవ్య నిర్వాహకం +GenericName[th]=โปรแกรมจัดการทาสก์ +GenericName[tr]=Görev Yöneticisi +GenericName[ug]=ۋەزىپە باشقۇرغۇ +GenericName[uk]=Диспетчер задач +GenericName[vi]=Quản lý tác vụ +GenericName[zh_CN]=任务管理器 +GenericName[zh_HK]=工作管理員 +GenericName[zh_TW]=工作管理員 +Exec=xterm -e 'htop' +Icon=utilities-system-monitor +Terminal=false +StartupNotify=true +Type=Application +Categories=System;Utility; + +EOF +fi + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 + +update-alternatives --set x-terminal-emulator /usr/bin/xterm >>$OUTPUT 2>&1 diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/default/nodm b/modules/03-xfce-desktop/rootcopy-install/etc/default/nodm new file mode 100644 index 0000000..5be8f85 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/default/nodm @@ -0,0 +1,32 @@ +# nodm configuration + +# Set NODM_ENABLED to something different than 'false' to enable nodm +NODM_ENABLED=true + +# User to autologin for +NODM_USER=live + +# First vt to try when looking for free VTs +NODM_FIRST_VT=7 + +# X session +NODM_XSESSION=/etc/X11/Xsession + +# Options for nodm itself +NODM_OPTIONS= + +# Options for the X server. +# +# Format: [/usr/bin/] [:] +# +# The Xserver executable and the display name can be omitted, but should +# be placed in front, if nodm's defaults shall be overridden. +NODM_X_OPTIONS='-nolisten tcp' + +# If an X session will run for less than this time in seconds, nodm will wait an +# increasing bit of time before restarting the session. +NODM_MIN_SESSION_TIME=60 + +# Timeout (in seconds) to wait for X to be ready to accept connections. If X is +# not ready before this timeout, it is killed and restarted. +NODM_X_TIMEOUT=300 diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xarchiver/xarchiverrc b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xarchiver/xarchiverrc new file mode 100644 index 0000000..f65e2a5 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xarchiver/xarchiverrc @@ -0,0 +1,20 @@ +[xarchiver] +preferred_format=0 +confirm_deletion=true +sort_filename_content=false +store_output=false +icon_size=0 +show_archive_comment=false +show_sidebar=false +show_location_bar=false +preferred_temp_dir=/tmp +allow_sub_dir=0 +overwrite=false +full_path=true +touch=false +freshen=false +update=false +store_path=false +recurse=true +solid_archive=false +remove_files=false diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/battery-10.rc b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/battery-10.rc new file mode 100644 index 0000000..170c036 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/battery-10.rc @@ -0,0 +1,20 @@ +display_label=false +display_icon=false +display_power=false +display_percentage=false +display_bar=true +display_time=false +tooltip_display_percentage=true +tooltip_display_time=true +low_percentage=10 +critical_percentage=5 +action_on_low=1 +action_on_critical=1 +hide_when_full=-415324144 +colorA=rgb(136,136,255) +colorH=rgb(0,255,0) +colorL=rgb(255,255,0) +colorC=rgb(255,0,0) +command_on_low= +command_on_critical= + diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop new file mode 100644 index 0000000..e51e56e --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch TerminalEmulator +Icon=utilities-terminal +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-AppStream-Ignore=True +Name=Terminal Emulator +Comment=Use the command line +X-XFCE-Source=file:///usr/share/applications/exo-terminal-emulator.desktop diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-4/FileManager.desktop b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-4/FileManager.desktop new file mode 100644 index 0000000..598b0c9 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-4/FileManager.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch FileManager %u +Icon=system-file-manager +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=inode/directory;x-scheme-handler/trash; +X-AppStream-Ignore=True +Name=File Manager +Comment=Browse the file system +X-XFCE-Source=file:///usr/share/applications/exo-file-manager.desktop diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-5/WebBrowser.desktop b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-5/WebBrowser.desktop new file mode 100644 index 0000000..4662377 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/panel/launcher-5/WebBrowser.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch WebBrowser %u +Icon=web-browser +StartupNotify=true +Terminal=false +Categories=Network;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=x-scheme-handler/http;x-scheme-handler/https; +X-AppStream-Ignore=True +Name=Web Browser +Comment=Browse the web +X-XFCE-Source=file:///usr/share/applications/exo-web-browser.desktop diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml new file mode 100644 index 0000000..0559966 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml new file mode 100644 index 0000000..5dd9176 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml new file mode 100644 index 0000000..ab0d597 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000..f3c9034 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml new file mode 100644 index 0000000..276b7ec --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml new file mode 100644 index 0000000..0693440 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml new file mode 100644 index 0000000..a7d7fe7 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml new file mode 100644 index 0000000..4d5554e --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xinitrc b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xinitrc new file mode 100644 index 0000000..41eda7a --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec xfce4-session \ No newline at end of file diff --git a/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xsession b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xsession new file mode 100644 index 0000000..8658258 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/etc/skel/.xsession @@ -0,0 +1 @@ +xfce4-session \ No newline at end of file diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/chromium/Default/Preferences b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/chromium/Default/Preferences new file mode 100644 index 0000000..5bfddb0 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/chromium/Default/Preferences @@ -0,0 +1,38 @@ +{ + "AudioCaptureAllowed": false, + "account_id_migration_state": 2, + "account_tracker_service_last_update": "13154004704520013", + "alternate_error_pages": { + "enabled": false + }, + "bookmark_bar": { + "show_on_all_tabs": false + }, + "browser": { + "check_default_browser": false, + "has_seen_welcome_page": true, + "show_home_button": false, + "window_placement": { + "bottom": 10, + "left": 10, + "maximized": true, + "right": 10, + "top": 10 + } + }, + "extensions": { + "theme": { + "use_system": true + } + }, + "ntp": { + "most_visited_blacklist": { + "c8e0afd1da1d9e29511240861f795a5a": null, + "eacc8c3ad0b50bd698ef8752d5ee24b6": null + } + }, + "safebrowsing": { + "enabled": false, + "scout_group_selected": true + } +} \ No newline at end of file diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/chromium/First Run b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/chromium/First Run new file mode 100644 index 0000000..e69de29 diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xarchiver/xarchiverrc b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xarchiver/xarchiverrc new file mode 100644 index 0000000..f65e2a5 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xarchiver/xarchiverrc @@ -0,0 +1,20 @@ +[xarchiver] +preferred_format=0 +confirm_deletion=true +sort_filename_content=false +store_output=false +icon_size=0 +show_archive_comment=false +show_sidebar=false +show_location_bar=false +preferred_temp_dir=/tmp +allow_sub_dir=0 +overwrite=false +full_path=true +touch=false +freshen=false +update=false +store_path=false +recurse=true +solid_archive=false +remove_files=false diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/battery-10.rc b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/battery-10.rc new file mode 100644 index 0000000..170c036 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/battery-10.rc @@ -0,0 +1,20 @@ +display_label=false +display_icon=false +display_power=false +display_percentage=false +display_bar=true +display_time=false +tooltip_display_percentage=true +tooltip_display_time=true +low_percentage=10 +critical_percentage=5 +action_on_low=1 +action_on_critical=1 +hide_when_full=-415324144 +colorA=rgb(136,136,255) +colorH=rgb(0,255,0) +colorL=rgb(255,255,0) +colorC=rgb(255,0,0) +command_on_low= +command_on_critical= + diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop new file mode 100644 index 0000000..e51e56e --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch TerminalEmulator +Icon=utilities-terminal +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-AppStream-Ignore=True +Name=Terminal Emulator +Comment=Use the command line +X-XFCE-Source=file:///usr/share/applications/exo-terminal-emulator.desktop diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-4/FileManager.desktop b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-4/FileManager.desktop new file mode 100644 index 0000000..598b0c9 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-4/FileManager.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch FileManager %u +Icon=system-file-manager +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=inode/directory;x-scheme-handler/trash; +X-AppStream-Ignore=True +Name=File Manager +Comment=Browse the file system +X-XFCE-Source=file:///usr/share/applications/exo-file-manager.desktop diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-5/WebBrowser.desktop b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-5/WebBrowser.desktop new file mode 100644 index 0000000..4662377 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/launcher-5/WebBrowser.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch WebBrowser %u +Icon=web-browser +StartupNotify=true +Terminal=false +Categories=Network;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=x-scheme-handler/http;x-scheme-handler/https; +X-AppStream-Ignore=True +Name=Web Browser +Comment=Browse the web +X-XFCE-Source=file:///usr/share/applications/exo-web-browser.desktop diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/whiskermenu-1.rc b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/whiskermenu-1.rc new file mode 100644 index 0000000..be72781 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/panel/whiskermenu-1.rc @@ -0,0 +1,80 @@ +favorites=xfce4-terminal-emulator.desktop,xfce4-file-manager.desktop,xfce4-web-browser.desktop,xfce4-mail-reader.desktop +recent= +button-icon=/usr/share/pixmaps/MiniOS-white.svg +button-single-row=false +show-button-title=false +show-button-icon=true +launcher-show-name=true +launcher-show-description=false +launcher-show-tooltip=true +item-icon-size=2 +hover-switch-category=false +category-show-name=true +category-icon-size=1 +load-hierarchy=false +view-as-icons=false +default-category=0 +recent-items-max=10 +favorites-in-recent=true +position-search-alternate=true +position-commands-alternate=false +position-categories-alternate=true +stay-on-focus-out=false +confirm-session-command=true +menu-width=450 +menu-height=500 +menu-opacity=100 +command-settings=xfce4-settings-manager +show-command-settings=false +command-lockscreen=xflock4 +show-command-lockscreen=false +command-switchuser=dm-tool switch-to-greeter +show-command-switchuser=false +command-logoutuser=xfce4-session-logout --logout --fast +show-command-logoutuser=false +command-restart=xfce4-session-logout --reboot --fast +show-command-restart=false +command-shutdown=xfce4-session-logout --halt --fast +show-command-shutdown=false +command-suspend=xfce4-session-logout --suspend +show-command-suspend=false +command-hibernate=xfce4-session-logout --hibernate +show-command-hibernate=false +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +command-profile=mugshot +show-command-profile=false +search-actions=5 + +[action0] +name=Man Pages +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Web Search +pattern=? +command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u +regex=false + +[action2] +name=Wikipedia +pattern=!w +command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u +regex=false + +[action3] +name=Run in Terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action4] +name=Open URI +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml new file mode 100644 index 0000000..e7e0bcd --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml new file mode 100644 index 0000000..0559966 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml new file mode 100644 index 0000000..5dd9176 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml new file mode 100644 index 0000000..ab0d597 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000..f3c9034 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml new file mode 100644 index 0000000..276b7ec --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml new file mode 100644 index 0000000..0693440 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml new file mode 100644 index 0000000..a7d7fe7 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml new file mode 100644 index 0000000..4d5554e --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.xinitrc b/modules/03-xfce-desktop/rootcopy-install/home/live/.xinitrc new file mode 100644 index 0000000..41eda7a --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec xfce4-session \ No newline at end of file diff --git a/modules/03-xfce-desktop/rootcopy-install/home/live/.xsession b/modules/03-xfce-desktop/rootcopy-install/home/live/.xsession new file mode 100644 index 0000000..8658258 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/home/live/.xsession @@ -0,0 +1 @@ +xfce4-session \ No newline at end of file diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xarchiver/xarchiverrc b/modules/03-xfce-desktop/rootcopy-install/root/.config/xarchiver/xarchiverrc new file mode 100644 index 0000000..f65e2a5 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xarchiver/xarchiverrc @@ -0,0 +1,20 @@ +[xarchiver] +preferred_format=0 +confirm_deletion=true +sort_filename_content=false +store_output=false +icon_size=0 +show_archive_comment=false +show_sidebar=false +show_location_bar=false +preferred_temp_dir=/tmp +allow_sub_dir=0 +overwrite=false +full_path=true +touch=false +freshen=false +update=false +store_path=false +recurse=true +solid_archive=false +remove_files=false diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/battery-10.rc b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/battery-10.rc new file mode 100644 index 0000000..170c036 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/battery-10.rc @@ -0,0 +1,20 @@ +display_label=false +display_icon=false +display_power=false +display_percentage=false +display_bar=true +display_time=false +tooltip_display_percentage=true +tooltip_display_time=true +low_percentage=10 +critical_percentage=5 +action_on_low=1 +action_on_critical=1 +hide_when_full=-415324144 +colorA=rgb(136,136,255) +colorH=rgb(0,255,0) +colorL=rgb(255,255,0) +colorC=rgb(255,0,0) +command_on_low= +command_on_critical= + diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop new file mode 100644 index 0000000..e51e56e --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-3/TerminalEmulator.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch TerminalEmulator +Icon=utilities-terminal +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-AppStream-Ignore=True +Name=Terminal Emulator +Comment=Use the command line +X-XFCE-Source=file:///usr/share/applications/exo-terminal-emulator.desktop diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-4/FileManager.desktop b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-4/FileManager.desktop new file mode 100644 index 0000000..598b0c9 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-4/FileManager.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch FileManager %u +Icon=system-file-manager +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=inode/directory;x-scheme-handler/trash; +X-AppStream-Ignore=True +Name=File Manager +Comment=Browse the file system +X-XFCE-Source=file:///usr/share/applications/exo-file-manager.desktop diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-5/WebBrowser.desktop b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-5/WebBrowser.desktop new file mode 100644 index 0000000..4662377 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/panel/launcher-5/WebBrowser.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch WebBrowser %u +Icon=web-browser +StartupNotify=true +Terminal=false +Categories=Network;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=x-scheme-handler/http;x-scheme-handler/https; +X-AppStream-Ignore=True +Name=Web Browser +Comment=Browse the web +X-XFCE-Source=file:///usr/share/applications/exo-web-browser.desktop diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml new file mode 100644 index 0000000..0559966 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml new file mode 100644 index 0000000..5dd9176 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml new file mode 100644 index 0000000..ab0d597 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000..f3c9034 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml new file mode 100644 index 0000000..276b7ec --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml new file mode 100644 index 0000000..0693440 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml new file mode 100644 index 0000000..a7d7fe7 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml new file mode 100644 index 0000000..4d5554e --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.xinitrc b/modules/03-xfce-desktop/rootcopy-install/root/.xinitrc new file mode 100644 index 0000000..41eda7a --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +xrdb -merge .Xresources + +exec xfce4-session \ No newline at end of file diff --git a/modules/03-xfce-desktop/rootcopy-install/root/.xsession b/modules/03-xfce-desktop/rootcopy-install/root/.xsession new file mode 100644 index 0000000..8658258 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/root/.xsession @@ -0,0 +1 @@ +xfce4-session \ No newline at end of file diff --git a/modules/03-xfce-desktop/rootcopy-install/usr/share/backgrounds/MiniOS-wallpaper.svg b/modules/03-xfce-desktop/rootcopy-install/usr/share/backgrounds/MiniOS-wallpaper.svg new file mode 100644 index 0000000..9c8639a --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/usr/share/backgrounds/MiniOS-wallpaper.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/usr/share/pixmaps/MiniOS-white.svg b/modules/03-xfce-desktop/rootcopy-install/usr/share/pixmaps/MiniOS-white.svg new file mode 100644 index 0000000..ca13046 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/usr/share/pixmaps/MiniOS-white.svg @@ -0,0 +1,149 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/background.png b/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/background.png new file mode 100644 index 0000000..966915d Binary files /dev/null and b/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/background.png differ diff --git a/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/panel.png b/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/panel.png new file mode 100644 index 0000000..8d01ac8 Binary files /dev/null and b/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/panel.png differ diff --git a/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/slim.theme b/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/slim.theme new file mode 100644 index 0000000..b70182b --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-install/usr/share/slim/themes/minios/slim.theme @@ -0,0 +1,36 @@ +# greeny_dark theme for SLIM +# by aditya shakya +# using artwork from some free html+css login templates on the internet + +# Messages (ie: shutdown) + +msg_color #b5cd60 +msg_font Sans:size=18:bold:dpi=75 +msg_x 50% +msg_y 30% + +# Session Name + +session_color #b5cd60 +session_font Sans:size=16:bold:dpi=75 +session_x 50% +session_y 90% + +# valid values: stretch, tile + +background_style stretch +background_color #f2f2f2 + +# Input controls + +input_panel_x 50% +input_panel_y 50% +input_name_x 200 +input_name_y 78 +input_pass_x 200 +input_pass_y 145 +input_font Sans:size=14:dpi=75 +input_color #b5cd60 + +username_msg +password_msg diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-ac-adapter.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-ac-adapter.svg new file mode 100644 index 0000000..f702a54 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-ac-adapter.svg @@ -0,0 +1,472 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-charging.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-charging.svg new file mode 100644 index 0000000..4fb1245 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-charging.svg @@ -0,0 +1,322 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-symbolic.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-symbolic.svg new file mode 100644 index 0000000..8d60e10 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution-symbolic.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution.svg new file mode 100644 index 0000000..07cf41e --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-caution.svg @@ -0,0 +1,365 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty-charging.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty-charging.svg new file mode 100644 index 0000000..45ccf8d --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty-charging.svg @@ -0,0 +1,308 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty.svg new file mode 100644 index 0000000..80bd5e1 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-empty.svg @@ -0,0 +1,451 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charged.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charged.svg new file mode 100644 index 0000000..bc28a46 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charged.svg @@ -0,0 +1,255 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charging.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charging.svg new file mode 100644 index 0000000..f655e9c --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full-charging.svg @@ -0,0 +1,263 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full.svg new file mode 100644 index 0000000..2b093e1 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-full.svg @@ -0,0 +1,255 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good-charging.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good-charging.svg new file mode 100644 index 0000000..56e0e18 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good-charging.svg @@ -0,0 +1,314 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good.svg new file mode 100644 index 0000000..bdf7600 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-good.svg @@ -0,0 +1,371 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-charging.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-charging.svg new file mode 100644 index 0000000..526baf2 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-charging.svg @@ -0,0 +1,304 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-symbolic.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-symbolic.svg new file mode 100644 index 0000000..2214891 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low-symbolic.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low.svg new file mode 100644 index 0000000..03f2e71 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-low.svg @@ -0,0 +1,337 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-missing.svg b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-missing.svg new file mode 100644 index 0000000..9b8c436 --- /dev/null +++ b/modules/03-xfce-desktop/rootcopy-postinstall/usr/share/icons/hicolor/scalable/apps/xfce4-battery-missing.svg @@ -0,0 +1,371 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/03-xfce-desktop/standard.list b/modules/03-xfce-desktop/standard.list new file mode 100644 index 0000000..5dacc83 --- /dev/null +++ b/modules/03-xfce-desktop/standard.list @@ -0,0 +1,25 @@ +dbus-x11 +slim +libxfce4ui-utils +thunar +thunar-volman +gvfs-backends +samba-common +avahi-daemon +tumbler +eject +xfce4-appfinder +xfce4-panel +xfce4-session +xfce4-settings +xfconf +xfdesktop4 +xfwm4 +greybird-gtk-theme +xfce4-pulseaudio-plugin +pulseaudio +pavucontrol +xfce4-xkb-plugin +xfce4-battery-plugin +xfce4-whiskermenu-plugin +network-manager-gnome \ No newline at end of file diff --git a/modules/04-cinnamon-apps/install b/modules/04-cinnamon-apps/install new file mode 100644 index 0000000..00eca10 --- /dev/null +++ b/modules/04-cinnamon-apps/install @@ -0,0 +1,32 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if [ $PACKAGE_VARIANT = "standard" ]; then + if [ $DISTRIBUTION = "stretch" ]; then + echo 'deb http://ftp.debian.org/debian stretch-backports main' | sudo tee --append /etc/apt/sources.list.d/stretch-backports.list >>$OUTPUT 2>&1 + $APT_CMD update && + $APT_CMD install -t stretch-backports $APT_OPTIONS $APT_OPTIONS2 \ + remmina remmina-plugin-rdp remmina-plugin-vnc >>$OUTPUT 2>&1 + else + $APT_CMD update && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + remmina remmina-plugin-rdp remmina-plugin-vnc >>$OUTPUT 2>&1 + + fi +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + sed -i 's,create=xarchiver --add-to,create=xarchiver --compress,g' /usr/share/libfm/archivers.list +fi diff --git a/modules/04-cinnamon-apps/minimal.list b/modules/04-cinnamon-apps/minimal.list new file mode 100644 index 0000000..81ee1ec --- /dev/null +++ b/modules/04-cinnamon-apps/minimal.list @@ -0,0 +1,3 @@ +mousepad +xarchiver +ristretto \ No newline at end of file diff --git a/modules/04-cinnamon-apps/postinstall b/modules/04-cinnamon-apps/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/modules/04-cinnamon-apps/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/modules/04-cinnamon-apps/standard.list b/modules/04-cinnamon-apps/standard.list new file mode 100644 index 0000000..e46364f --- /dev/null +++ b/modules/04-cinnamon-apps/standard.list @@ -0,0 +1,8 @@ +gedit +file-roller +eog +gnome-terminal +gnome-system-monitor +gnome-screenshot +vlc +gparted \ No newline at end of file diff --git a/modules/04-xfce-apps/install b/modules/04-xfce-apps/install new file mode 100644 index 0000000..8d72be3 --- /dev/null +++ b/modules/04-xfce-apps/install @@ -0,0 +1,73 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if [ $PACKAGE_VARIANT = "standard" ]; then + if [ $DISTRIBUTION = "stretch" ]; then + echo 'deb http://ftp.debian.org/debian stretch-backports main' | sudo tee --append /etc/apt/sources.list.d/stretch-backports.list >>$OUTPUT 2>&1 + $APT_CMD update && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install -t stretch-backports $APT_OPTIONS $APT_OPTIONS2 \ + remmina remmina-plugin-rdp remmina-plugin-vnc >>$OUTPUT 2>&1 + else + $APT_CMD update && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + remmina remmina-plugin-rdp remmina-plugin-vnc >>$OUTPUT 2>&1 + + fi +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + +elif [ $PACKAGE_VARIANT = "standard" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF +fi diff --git a/modules/04-xfce-apps/minimal.list b/modules/04-xfce-apps/minimal.list new file mode 100644 index 0000000..81ee1ec --- /dev/null +++ b/modules/04-xfce-apps/minimal.list @@ -0,0 +1,3 @@ +mousepad +xarchiver +ristretto \ No newline at end of file diff --git a/modules/04-xfce-apps/postinstall b/modules/04-xfce-apps/postinstall new file mode 100644 index 0000000..6430bf2 --- /dev/null +++ b/modules/04-xfce-apps/postinstall @@ -0,0 +1,11 @@ +#!/bin/bash + +(cd /rootcopy && cp --parents -afr * /) + +if [ $PACKAGE_VARIANT = "minimal" ]; then + sed -i 's,create=xarchiver --add-to,create=xarchiver --compress,g' /usr/share/libfm/archivers.list +fi + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 +rm -Rf /usr/share/icons/Adwaita/256x256 >>$OUTPUT 2>&1 +rm -Rf /usr/share/icons/Adwaita/512x512 >>$OUTPUT 2>&1 diff --git a/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/autostart/volumeicon.desktop b/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/autostart/volumeicon.desktop new file mode 100644 index 0000000..79c425b --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/autostart/volumeicon.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.9.4 +Type=Application +Name=volumeicon +Comment= +Exec=volumeicon +OnlyShowIn=XFCE; +StartupNotify=false +Terminal=false +Hidden=false + diff --git a/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/volumeicon/volumeicon b/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/volumeicon/volumeicon new file mode 100644 index 0000000..32df349 --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/volumeicon/volumeicon @@ -0,0 +1,27 @@ +[Alsa] +card=default +logarithmic_scale=false + +[Notification] +show_notification=true +notification_type=0 + +[StatusIcon] +stepsize=5 +onclick=xterm -e 'alsamixer' +theme=White Gnome +use_panel_specific_icons=false +reverse_scroll_direction=false +lmb_slider=false +mmb_mute=false +use_horizontal_slider=false +show_sound_level=false +use_transparent_background=false + +[Hotkeys] +up_enabled=false +down_enabled=false +mute_enabled=false +up=XF86AudioRaiseVolume +down=XF86AudioLowerVolume +mute=XF86AudioMute diff --git a/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/xfce4/terminal/accels.scm b/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/xfce4/terminal/accels.scm new file mode 100644 index 0000000..43521c9 --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/xfce4/terminal/accels.scm @@ -0,0 +1,56 @@ +; xfce4-terminal GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +(gtk_accel_path "/terminal-window/goto-tab-1" "1") +(gtk_accel_path "/terminal-window/goto-tab-3" "3") +; (gtk_accel_path "/terminal-window/file-menu" "") +; (gtk_accel_path "/terminal-window/close-other-tabs" "") +; (gtk_accel_path "/terminal-window/search" "f") +; (gtk_accel_path "/terminal-window/next-tab" "Page_Down") +; (gtk_accel_path "/terminal-window/copy-html" "") +; (gtk_accel_path "/terminal-window/show-menubar" "") +; (gtk_accel_path "/terminal-window/zoom-reset" "0") +; (gtk_accel_path "/terminal-window/close-window" "q") +; (gtk_accel_path "/terminal-window/save-contents" "") +; (gtk_accel_path "/terminal-window/close-tab" "w") +; (gtk_accel_path "/terminal-window/view-menu" "") +; (gtk_accel_path "/terminal-window/new-tab" "t") +; (gtk_accel_path "/terminal-window/show-toolbar" "") +; (gtk_accel_path "/terminal-window/copy-input" "") +; (gtk_accel_path "/terminal-window/paste" "v") +; (gtk_accel_path "/terminal-window/copy" "c") +; (gtk_accel_path "/terminal-window/edit-menu" "") +; (gtk_accel_path "/terminal-window/fullscreen" "F11") +(gtk_accel_path "/terminal-window/goto-tab-6" "6") +; (gtk_accel_path "/terminal-window/read-only" "") +; (gtk_accel_path "/terminal-window/detach-tab" "d") +(gtk_accel_path "/terminal-window/goto-tab-8" "8") +(gtk_accel_path "/terminal-window/goto-tab-2" "2") +; (gtk_accel_path "/terminal-window/scroll-on-output" "") +(gtk_accel_path "/terminal-window/goto-tab-5" "5") +; (gtk_accel_path "/terminal-window/prev-tab" "Page_Up") +; (gtk_accel_path "/terminal-window/move-tab-left" "Page_Up") +; (gtk_accel_path "/terminal-window/zoom-in" "plus") +; (gtk_accel_path "/terminal-window/search-prev" "") +; (gtk_accel_path "/terminal-window/reset-and-clear" "") +; (gtk_accel_path "/terminal-window/about" "") +; (gtk_accel_path "/terminal-window/search-next" "") +(gtk_accel_path "/terminal-window/toggle-menubar" "F10") +(gtk_accel_path "/terminal-window/goto-tab-7" "7") +; (gtk_accel_path "/terminal-window/select-all" "a") +; (gtk_accel_path "/terminal-window/help-menu" "") +(gtk_accel_path "/terminal-window/goto-tab-9" "9") +; (gtk_accel_path "/terminal-window/show-borders" "") +; (gtk_accel_path "/terminal-window/new-window" "n") +(gtk_accel_path "/terminal-window/goto-tab-4" "4") +; (gtk_accel_path "/terminal-window/contents" "F1") +; (gtk_accel_path "/terminal-window/preferences" "") +; (gtk_accel_path "/terminal-window/move-tab-right" "Page_Down") +; (gtk_accel_path "/terminal-window/zoom-out" "minus") +; (gtk_accel_path "/terminal-window/set-title" "s") +; (gtk_accel_path "/terminal-window/paste-selection" "") +; (gtk_accel_path "/terminal-window/undo-close-tab" "") +; (gtk_accel_path "/terminal-window/tabs-menu" "") +; (gtk_accel_path "/terminal-window/zoom-menu" "") +; (gtk_accel_path "/terminal-window/reset" "") +; (gtk_accel_path "/terminal-window/terminal-menu" "") diff --git a/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/xfce4/terminal/terminalrc b/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/xfce4/terminal/terminalrc new file mode 100644 index 0000000..04abf43 --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/etc/skel/.config/xfce4/terminal/terminalrc @@ -0,0 +1,30 @@ +[Configuration] +FontName=Monospace 10 +MiscAlwaysShowTabs=FALSE +MiscBell=FALSE +MiscBellUrgent=FALSE +MiscBordersDefault=TRUE +MiscCursorBlinks=FALSE +MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK +MiscDefaultGeometry=80x24 +MiscInheritGeometry=FALSE +MiscMenubarDefault=TRUE +MiscMouseAutohide=FALSE +MiscMouseWheelZoom=TRUE +MiscToolbarDefault=FALSE +MiscConfirmClose=TRUE +MiscCycleTabs=TRUE +MiscTabCloseButtons=TRUE +MiscTabCloseMiddleClick=TRUE +MiscTabPosition=GTK_POS_TOP +MiscHighlightUrls=TRUE +MiscMiddleClickOpensUri=FALSE +MiscCopyOnSelect=FALSE +MiscShowRelaunchDialog=TRUE +MiscRewrapOnResize=TRUE +MiscUseShiftArrowsToScroll=FALSE +MiscSlimTabs=FALSE +MiscNewTabAdjacent=FALSE +BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT +BackgroundDarkness=0.800000 + diff --git a/modules/04-xfce-apps/rootcopy-install/home/live/.config/autostart/volumeicon.desktop b/modules/04-xfce-apps/rootcopy-install/home/live/.config/autostart/volumeicon.desktop new file mode 100644 index 0000000..79c425b --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/home/live/.config/autostart/volumeicon.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.9.4 +Type=Application +Name=volumeicon +Comment= +Exec=volumeicon +OnlyShowIn=XFCE; +StartupNotify=false +Terminal=false +Hidden=false + diff --git a/modules/04-xfce-apps/rootcopy-install/home/live/.config/volumeicon/volumeicon b/modules/04-xfce-apps/rootcopy-install/home/live/.config/volumeicon/volumeicon new file mode 100644 index 0000000..32df349 --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/home/live/.config/volumeicon/volumeicon @@ -0,0 +1,27 @@ +[Alsa] +card=default +logarithmic_scale=false + +[Notification] +show_notification=true +notification_type=0 + +[StatusIcon] +stepsize=5 +onclick=xterm -e 'alsamixer' +theme=White Gnome +use_panel_specific_icons=false +reverse_scroll_direction=false +lmb_slider=false +mmb_mute=false +use_horizontal_slider=false +show_sound_level=false +use_transparent_background=false + +[Hotkeys] +up_enabled=false +down_enabled=false +mute_enabled=false +up=XF86AudioRaiseVolume +down=XF86AudioLowerVolume +mute=XF86AudioMute diff --git a/modules/04-xfce-apps/rootcopy-install/home/live/.config/xfce4/terminal/accels.scm b/modules/04-xfce-apps/rootcopy-install/home/live/.config/xfce4/terminal/accels.scm new file mode 100644 index 0000000..43521c9 --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/home/live/.config/xfce4/terminal/accels.scm @@ -0,0 +1,56 @@ +; xfce4-terminal GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +(gtk_accel_path "/terminal-window/goto-tab-1" "1") +(gtk_accel_path "/terminal-window/goto-tab-3" "3") +; (gtk_accel_path "/terminal-window/file-menu" "") +; (gtk_accel_path "/terminal-window/close-other-tabs" "") +; (gtk_accel_path "/terminal-window/search" "f") +; (gtk_accel_path "/terminal-window/next-tab" "Page_Down") +; (gtk_accel_path "/terminal-window/copy-html" "") +; (gtk_accel_path "/terminal-window/show-menubar" "") +; (gtk_accel_path "/terminal-window/zoom-reset" "0") +; (gtk_accel_path "/terminal-window/close-window" "q") +; (gtk_accel_path "/terminal-window/save-contents" "") +; (gtk_accel_path "/terminal-window/close-tab" "w") +; (gtk_accel_path "/terminal-window/view-menu" "") +; (gtk_accel_path "/terminal-window/new-tab" "t") +; (gtk_accel_path "/terminal-window/show-toolbar" "") +; (gtk_accel_path "/terminal-window/copy-input" "") +; (gtk_accel_path "/terminal-window/paste" "v") +; (gtk_accel_path "/terminal-window/copy" "c") +; (gtk_accel_path "/terminal-window/edit-menu" "") +; (gtk_accel_path "/terminal-window/fullscreen" "F11") +(gtk_accel_path "/terminal-window/goto-tab-6" "6") +; (gtk_accel_path "/terminal-window/read-only" "") +; (gtk_accel_path "/terminal-window/detach-tab" "d") +(gtk_accel_path "/terminal-window/goto-tab-8" "8") +(gtk_accel_path "/terminal-window/goto-tab-2" "2") +; (gtk_accel_path "/terminal-window/scroll-on-output" "") +(gtk_accel_path "/terminal-window/goto-tab-5" "5") +; (gtk_accel_path "/terminal-window/prev-tab" "Page_Up") +; (gtk_accel_path "/terminal-window/move-tab-left" "Page_Up") +; (gtk_accel_path "/terminal-window/zoom-in" "plus") +; (gtk_accel_path "/terminal-window/search-prev" "") +; (gtk_accel_path "/terminal-window/reset-and-clear" "") +; (gtk_accel_path "/terminal-window/about" "") +; (gtk_accel_path "/terminal-window/search-next" "") +(gtk_accel_path "/terminal-window/toggle-menubar" "F10") +(gtk_accel_path "/terminal-window/goto-tab-7" "7") +; (gtk_accel_path "/terminal-window/select-all" "a") +; (gtk_accel_path "/terminal-window/help-menu" "") +(gtk_accel_path "/terminal-window/goto-tab-9" "9") +; (gtk_accel_path "/terminal-window/show-borders" "") +; (gtk_accel_path "/terminal-window/new-window" "n") +(gtk_accel_path "/terminal-window/goto-tab-4" "4") +; (gtk_accel_path "/terminal-window/contents" "F1") +; (gtk_accel_path "/terminal-window/preferences" "") +; (gtk_accel_path "/terminal-window/move-tab-right" "Page_Down") +; (gtk_accel_path "/terminal-window/zoom-out" "minus") +; (gtk_accel_path "/terminal-window/set-title" "s") +; (gtk_accel_path "/terminal-window/paste-selection" "") +; (gtk_accel_path "/terminal-window/undo-close-tab" "") +; (gtk_accel_path "/terminal-window/tabs-menu" "") +; (gtk_accel_path "/terminal-window/zoom-menu" "") +; (gtk_accel_path "/terminal-window/reset" "") +; (gtk_accel_path "/terminal-window/terminal-menu" "") diff --git a/modules/04-xfce-apps/rootcopy-install/home/live/.config/xfce4/terminal/terminalrc b/modules/04-xfce-apps/rootcopy-install/home/live/.config/xfce4/terminal/terminalrc new file mode 100644 index 0000000..04abf43 --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/home/live/.config/xfce4/terminal/terminalrc @@ -0,0 +1,30 @@ +[Configuration] +FontName=Monospace 10 +MiscAlwaysShowTabs=FALSE +MiscBell=FALSE +MiscBellUrgent=FALSE +MiscBordersDefault=TRUE +MiscCursorBlinks=FALSE +MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK +MiscDefaultGeometry=80x24 +MiscInheritGeometry=FALSE +MiscMenubarDefault=TRUE +MiscMouseAutohide=FALSE +MiscMouseWheelZoom=TRUE +MiscToolbarDefault=FALSE +MiscConfirmClose=TRUE +MiscCycleTabs=TRUE +MiscTabCloseButtons=TRUE +MiscTabCloseMiddleClick=TRUE +MiscTabPosition=GTK_POS_TOP +MiscHighlightUrls=TRUE +MiscMiddleClickOpensUri=FALSE +MiscCopyOnSelect=FALSE +MiscShowRelaunchDialog=TRUE +MiscRewrapOnResize=TRUE +MiscUseShiftArrowsToScroll=FALSE +MiscSlimTabs=FALSE +MiscNewTabAdjacent=FALSE +BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT +BackgroundDarkness=0.800000 + diff --git a/modules/04-xfce-apps/rootcopy-install/root/.config/autostart/volumeicon.desktop b/modules/04-xfce-apps/rootcopy-install/root/.config/autostart/volumeicon.desktop new file mode 100644 index 0000000..79c425b --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/root/.config/autostart/volumeicon.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.9.4 +Type=Application +Name=volumeicon +Comment= +Exec=volumeicon +OnlyShowIn=XFCE; +StartupNotify=false +Terminal=false +Hidden=false + diff --git a/modules/04-xfce-apps/rootcopy-install/root/.config/volumeicon/volumeicon b/modules/04-xfce-apps/rootcopy-install/root/.config/volumeicon/volumeicon new file mode 100644 index 0000000..32df349 --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/root/.config/volumeicon/volumeicon @@ -0,0 +1,27 @@ +[Alsa] +card=default +logarithmic_scale=false + +[Notification] +show_notification=true +notification_type=0 + +[StatusIcon] +stepsize=5 +onclick=xterm -e 'alsamixer' +theme=White Gnome +use_panel_specific_icons=false +reverse_scroll_direction=false +lmb_slider=false +mmb_mute=false +use_horizontal_slider=false +show_sound_level=false +use_transparent_background=false + +[Hotkeys] +up_enabled=false +down_enabled=false +mute_enabled=false +up=XF86AudioRaiseVolume +down=XF86AudioLowerVolume +mute=XF86AudioMute diff --git a/modules/04-xfce-apps/rootcopy-install/root/.config/xfce4/terminal/accels.scm b/modules/04-xfce-apps/rootcopy-install/root/.config/xfce4/terminal/accels.scm new file mode 100644 index 0000000..43521c9 --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/root/.config/xfce4/terminal/accels.scm @@ -0,0 +1,56 @@ +; xfce4-terminal GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +(gtk_accel_path "/terminal-window/goto-tab-1" "1") +(gtk_accel_path "/terminal-window/goto-tab-3" "3") +; (gtk_accel_path "/terminal-window/file-menu" "") +; (gtk_accel_path "/terminal-window/close-other-tabs" "") +; (gtk_accel_path "/terminal-window/search" "f") +; (gtk_accel_path "/terminal-window/next-tab" "Page_Down") +; (gtk_accel_path "/terminal-window/copy-html" "") +; (gtk_accel_path "/terminal-window/show-menubar" "") +; (gtk_accel_path "/terminal-window/zoom-reset" "0") +; (gtk_accel_path "/terminal-window/close-window" "q") +; (gtk_accel_path "/terminal-window/save-contents" "") +; (gtk_accel_path "/terminal-window/close-tab" "w") +; (gtk_accel_path "/terminal-window/view-menu" "") +; (gtk_accel_path "/terminal-window/new-tab" "t") +; (gtk_accel_path "/terminal-window/show-toolbar" "") +; (gtk_accel_path "/terminal-window/copy-input" "") +; (gtk_accel_path "/terminal-window/paste" "v") +; (gtk_accel_path "/terminal-window/copy" "c") +; (gtk_accel_path "/terminal-window/edit-menu" "") +; (gtk_accel_path "/terminal-window/fullscreen" "F11") +(gtk_accel_path "/terminal-window/goto-tab-6" "6") +; (gtk_accel_path "/terminal-window/read-only" "") +; (gtk_accel_path "/terminal-window/detach-tab" "d") +(gtk_accel_path "/terminal-window/goto-tab-8" "8") +(gtk_accel_path "/terminal-window/goto-tab-2" "2") +; (gtk_accel_path "/terminal-window/scroll-on-output" "") +(gtk_accel_path "/terminal-window/goto-tab-5" "5") +; (gtk_accel_path "/terminal-window/prev-tab" "Page_Up") +; (gtk_accel_path "/terminal-window/move-tab-left" "Page_Up") +; (gtk_accel_path "/terminal-window/zoom-in" "plus") +; (gtk_accel_path "/terminal-window/search-prev" "") +; (gtk_accel_path "/terminal-window/reset-and-clear" "") +; (gtk_accel_path "/terminal-window/about" "") +; (gtk_accel_path "/terminal-window/search-next" "") +(gtk_accel_path "/terminal-window/toggle-menubar" "F10") +(gtk_accel_path "/terminal-window/goto-tab-7" "7") +; (gtk_accel_path "/terminal-window/select-all" "a") +; (gtk_accel_path "/terminal-window/help-menu" "") +(gtk_accel_path "/terminal-window/goto-tab-9" "9") +; (gtk_accel_path "/terminal-window/show-borders" "") +; (gtk_accel_path "/terminal-window/new-window" "n") +(gtk_accel_path "/terminal-window/goto-tab-4" "4") +; (gtk_accel_path "/terminal-window/contents" "F1") +; (gtk_accel_path "/terminal-window/preferences" "") +; (gtk_accel_path "/terminal-window/move-tab-right" "Page_Down") +; (gtk_accel_path "/terminal-window/zoom-out" "minus") +; (gtk_accel_path "/terminal-window/set-title" "s") +; (gtk_accel_path "/terminal-window/paste-selection" "") +; (gtk_accel_path "/terminal-window/undo-close-tab" "") +; (gtk_accel_path "/terminal-window/tabs-menu" "") +; (gtk_accel_path "/terminal-window/zoom-menu" "") +; (gtk_accel_path "/terminal-window/reset" "") +; (gtk_accel_path "/terminal-window/terminal-menu" "") diff --git a/modules/04-xfce-apps/rootcopy-install/root/.config/xfce4/terminal/terminalrc b/modules/04-xfce-apps/rootcopy-install/root/.config/xfce4/terminal/terminalrc new file mode 100644 index 0000000..04abf43 --- /dev/null +++ b/modules/04-xfce-apps/rootcopy-install/root/.config/xfce4/terminal/terminalrc @@ -0,0 +1,30 @@ +[Configuration] +FontName=Monospace 10 +MiscAlwaysShowTabs=FALSE +MiscBell=FALSE +MiscBellUrgent=FALSE +MiscBordersDefault=TRUE +MiscCursorBlinks=FALSE +MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK +MiscDefaultGeometry=80x24 +MiscInheritGeometry=FALSE +MiscMenubarDefault=TRUE +MiscMouseAutohide=FALSE +MiscMouseWheelZoom=TRUE +MiscToolbarDefault=FALSE +MiscConfirmClose=TRUE +MiscCycleTabs=TRUE +MiscTabCloseButtons=TRUE +MiscTabCloseMiddleClick=TRUE +MiscTabPosition=GTK_POS_TOP +MiscHighlightUrls=TRUE +MiscMiddleClickOpensUri=FALSE +MiscCopyOnSelect=FALSE +MiscShowRelaunchDialog=TRUE +MiscRewrapOnResize=TRUE +MiscUseShiftArrowsToScroll=FALSE +MiscSlimTabs=FALSE +MiscNewTabAdjacent=FALSE +BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT +BackgroundDarkness=0.800000 + diff --git a/modules/04-xfce-apps/standard.list b/modules/04-xfce-apps/standard.list new file mode 100644 index 0000000..684682a --- /dev/null +++ b/modules/04-xfce-apps/standard.list @@ -0,0 +1,19 @@ +mousepad +engrampa +thunar-archive-plugin +ristretto +xfce4-terminal +xfce4-taskmanager +xfce4-screenshooter +#remmina +#remmina-plugin-rdp +#remmina-plugin-vnc +#remmina-plugin-nx +#remmina-plugin-xdmcp +#remmina-plugin-www +#remmina-plugin-spice +#remmina-plugin-exec +#remmina-plugin-secret +#remmina-plugin-kiosk +vlc +gparted \ No newline at end of file diff --git a/modules/05-chromium/install b/modules/05-chromium/install new file mode 100644 index 0000000..1883507 --- /dev/null +++ b/modules/05-chromium/install @@ -0,0 +1,55 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=chromium + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=chromium + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=chromium --no-sandbox + +EOF + +elif [ $PACKAGE_VARIANT = "standard" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=chromium + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=chromium + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=chromium --no-sandbox + +EOF +fi diff --git a/modules/05-chromium/minimal.list b/modules/05-chromium/minimal.list new file mode 100644 index 0000000..df28f7a --- /dev/null +++ b/modules/05-chromium/minimal.list @@ -0,0 +1 @@ +palemoon \ No newline at end of file diff --git a/modules/05-chromium/postinstall b/modules/05-chromium/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/modules/05-chromium/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/modules/05-chromium/rootcopy-install/usr/share/applications/chromium-root.desktop b/modules/05-chromium/rootcopy-install/usr/share/applications/chromium-root.desktop new file mode 100755 index 0000000..d2f2569 --- /dev/null +++ b/modules/05-chromium/rootcopy-install/usr/share/applications/chromium-root.desktop @@ -0,0 +1,140 @@ +[Desktop Entry] +Version=1.0 +Name=Chromium Web Browser [root] +Name[ast]=Restolador web Chromium [root] +Name[ca]=Navegador web Chromium [root] +Name[de]=Chromium-Webbrowser [root] +Name[es]=Navegador web Chromium [root] +Name[fr]=Navigateur Web Chromium [root] +Name[gl]=Navegador web Chromium [root] +Name[he]=דפדפן האינטרנט Chromium [root] +Name[hr]=Chromium web preglednik [root] +Name[hu]=Chromium webböngésző [root] +Name[id]=Peramban Web Chromium [root] +Name[it]=Browser web Chromium [root] +Name[ja]=Chromium ウェブ・ブラウザ [root] +Name[ko]=Chromium 웹 브라우저 [root] +Name[pt_BR]=Chromium Navegador da Internet [root] +Name[ru]=Веб-браузер Chromium [root] +Name[sl]=Chromium spletni brskalnik [root] +Name[sv]=Webbläsaren Chromium [root] +Name[ug]=Chromium توركۆرگۈ [root] +Name[zh_CN]=Chromium 网页浏览器 [root] +Name[zh_HK]=Chromium 網頁瀏覽器 [root] +Name[zh_TW]=Chromium 網頁瀏覽器 [root] +GenericName=Web Browser [root] +GenericName[ar]=متصفح الشبكة [root] +GenericName[ast]=Restolador web [root] +GenericName[bg]=Уеб браузър [root] +GenericName[bn]=ওয়েব ব্রাউজার [root] +GenericName[ca]=Navegador web [root] +GenericName[cs]=WWW prohlížeč [root] +GenericName[da]=Browser [root] +GenericName[de]=Webbrowser [root] +GenericName[el]=Περιηγητής ιστού [root] +GenericName[en_GB]=Web Browser [root] +GenericName[es]=Navegador web [root] +GenericName[et]=Veebibrauser [root] +GenericName[fi]=WWW-selain [root] +GenericName[fil]=Web Browser [root] +GenericName[fr]=Navigateur Web [root] +GenericName[gl]=Navegador web [root] +GenericName[gu]=વેબ બ્રાઉઝર [root] +GenericName[he]=דפדפן אינטרנט [root] +GenericName[hi]=वेब ब्राउज़र [root] +GenericName[hr]=Web preglednik [root] +GenericName[hu]=Webböngésző [root] +GenericName[id]=Peramban Web [root] +GenericName[it]=Browser web [root] +GenericName[ja]=ウェブ・ブラウザ [root] +GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ [root] +GenericName[ko]=웹 브라우저 [root] +GenericName[lt]=Žiniatinklio naršyklė [root] +GenericName[lv]=Tīmekļa pārlūks [root] +GenericName[ml]=വെബ് ബ്രൌസര്‍ [root] +GenericName[mr]=वेब ब्राऊजर [root] +GenericName[nb]=Nettleser [root] +GenericName[nl]=Webbrowser [root] +GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର [root] +GenericName[pl]=Przeglądarka WWW [root] +GenericName[pt]=Navegador Web [root] +GenericName[pt_BR]=Navegador da Internet [root] +GenericName[ro]=Navigator de Internet [root] +GenericName[ru]=Веб-браузер [root] +GenericName[sk]=WWW prehliadač [root] +GenericName[sl]=Spletni brskalnik [root] +GenericName[sr]=Интернет прегледник [root] +GenericName[sv]=Webbläsare [root] +GenericName[ta]=இணைய உலாவி [root] +GenericName[te]=మహాతల అన్వేషి [root] +GenericName[th]=เว็บเบราว์เซอร์ [root] +GenericName[tr]=Web Tarayıcı [root] +GenericName[ug]=توركۆرگۈ [root] +GenericName[uk]=Навігатор Тенет [root] +GenericName[vi]=Bộ duyệt Web [root] +GenericName[zh_CN]=网页浏览器 [root] +GenericName[zh_HK]=網頁瀏覽器 [root] +GenericName[zh_TW]=網頁瀏覽器 [root] +Comment=Access the Internet +Comment[ar]=الدخول إلى الإنترنت +Comment[ast]=Accesu a Internet +Comment[bg]=Достъп до интернет +Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন +Comment[ca]=Accediu a Internet +Comment[cs]=Přístup k internetu +Comment[da]=Få adgang til internettet +Comment[de]=Internetzugriff +Comment[el]=Πρόσβαση στο Διαδίκτυο +Comment[en_GB]=Access the Internet +Comment[es]=Acceda a Internet +Comment[et]=Pääs Internetti +Comment[fi]=Käytä internetiä +Comment[fil]=I-access ang Internet +Comment[fr]=Explorer le Web +Comment[gl]=Acceda a Internet +Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો +Comment[he]=גישה לאינטרנט +Comment[hi]=इंटरनेट तक पहुंच स्थापित करें +Comment[hr]=Pristupite Internetu +Comment[hu]=Az internet elérése +Comment[id]=Akses Internet +Comment[it]=Accesso a Internet +Comment[ja]=インターネットにアクセス +Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ +Comment[ko]=인터넷에 연결합니다 +Comment[lt]=Interneto prieiga +Comment[lv]=Piekļūt internetam +Comment[ml]=ഇന്റര്‍‌നെറ്റ് ആക്‌സസ് ചെയ്യുക +Comment[mr]=इंटरनेटमध्ये प्रवेश करा +Comment[nb]=Gå til Internett +Comment[nl]=Verbinding maken met internet +Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ +Comment[pl]=Skorzystaj z internetu +Comment[pt]=Aceder à Internet +Comment[pt_BR]=Acessar a internet +Comment[ro]=Accesaţi Internetul +Comment[ru]=Доступ в Интернет +Comment[sk]=Prístup do siete Internet +Comment[sl]=Dostop do interneta +Comment[sr]=Приступите Интернету +Comment[sv]=Surfa på Internet +Comment[ta]=இணையத்தை அணுகுதல் +Comment[te]=ఇంటర్నెట్‌ను ఆక్సెస్ చెయ్యండి +Comment[th]=เข้าถึงอินเทอร์เน็ต +Comment[tr]=İnternet'e erişin +Comment[ug]=ئىنتېرنېتنى زىيارەت قىلىش +Comment[uk]=Доступ до Інтернету +Comment[vi]=Truy cập Internet +Comment[zh_CN]=访问互联网 +Comment[zh_HK]=連線到網際網路 +Comment[zh_TW]=連線到網際網路 +Exec=/usr/bin/chromium --no-sandbox %U +Terminal=false +X-MultipleArgs=false +Type=Application +Icon=chromium +Categories=Network;WebBrowser; +MimeType=text/html;text/xml;application/xhtml_xml;application/x-mimearchive;x-scheme-handler/http;x-scheme-handler/https; +StartupWMClass=chromium +StartupNotify=true +Keywords=browser diff --git a/modules/05-chromium/standard.list b/modules/05-chromium/standard.list new file mode 100644 index 0000000..e4f291d --- /dev/null +++ b/modules/05-chromium/standard.list @@ -0,0 +1,2 @@ +chromium +chromium-sandbox \ No newline at end of file diff --git a/modules/05-firefox-esr/install b/modules/05-firefox-esr/install new file mode 100644 index 0000000..2fd7bb0 --- /dev/null +++ b/modules/05-firefox-esr/install @@ -0,0 +1,57 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=firefox + +EOF + +elif [ $PACKAGE_VARIANT = "standard" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=firefox + +EOF +fi \ No newline at end of file diff --git a/modules/05-firefox-esr/minimal.list b/modules/05-firefox-esr/minimal.list new file mode 100644 index 0000000..e7b065e --- /dev/null +++ b/modules/05-firefox-esr/minimal.list @@ -0,0 +1 @@ +firefox-esr \ No newline at end of file diff --git a/modules/05-firefox-esr/postinstall b/modules/05-firefox-esr/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/modules/05-firefox-esr/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/modules/05-firefox-esr/standard.list b/modules/05-firefox-esr/standard.list new file mode 100644 index 0000000..e7b065e --- /dev/null +++ b/modules/05-firefox-esr/standard.list @@ -0,0 +1 @@ +firefox-esr \ No newline at end of file diff --git a/modules/05-palemoon/install b/modules/05-palemoon/install new file mode 100644 index 0000000..4de2880 --- /dev/null +++ b/modules/05-palemoon/install @@ -0,0 +1,52 @@ +#!/bin/bash + +echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser/Debian_10/ /' | sudo tee /etc/apt/sources.list.d/home:stevenpusser.list +curl -fsSL http://download.opensuse.org/repositories/home:stevenpusser/Debian_10/Release.key | apt-key add + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +if [ $PACKAGE_VARIANT = "minimal" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=palemoon + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=palemoon + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xterm +FileManager=pcmanfm +WebBrowser=palemoon --no-sandbox + +EOF + +elif [ $PACKAGE_VARIANT = "standard" ]; then + cat </etc/skel/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=palemoon + +EOF + cat </home/live/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=palemoon + +EOF + cat </root/.config/xfce4/helpers.rc +TerminalEmulator=xfce4-terminal +FileManager=Thunar +WebBrowser=palemoon --no-sandbox + +EOF +fi diff --git a/modules/05-palemoon/minimal.list b/modules/05-palemoon/minimal.list new file mode 100644 index 0000000..e4f291d --- /dev/null +++ b/modules/05-palemoon/minimal.list @@ -0,0 +1,2 @@ +chromium +chromium-sandbox \ No newline at end of file diff --git a/modules/05-palemoon/postinstall b/modules/05-palemoon/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/modules/05-palemoon/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/modules/05-palemoon/standard.list b/modules/05-palemoon/standard.list new file mode 100644 index 0000000..df28f7a --- /dev/null +++ b/modules/05-palemoon/standard.list @@ -0,0 +1 @@ +palemoon \ No newline at end of file diff --git a/modules/06-codium/install b/modules/06-codium/install new file mode 100644 index 0000000..112b2dc --- /dev/null +++ b/modules/06-codium/install @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +wget -c https://github.com/VSCodium/vscodium/releases/download/1.57.1/codium_1.57.1-1623975230_amd64.deb && + $APT_CMD install $APT_OPTIONS ./codium_1.57.1-1623975230_amd64.deb && + rm -f ./codium_1.57.1-1623975230_amd64.deb diff --git a/modules/06-codium/postinstall b/modules/06-codium/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/modules/06-codium/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/modules/06-langpack-ru/install b/modules/06-langpack-ru/install new file mode 100644 index 0000000..4d0c715 --- /dev/null +++ b/modules/06-langpack-ru/install @@ -0,0 +1,24 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +#export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true + +debconf-set-selections preseed.txt + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + #sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi + +dpkg-reconfigure locales >>$OUTPUT 2>&1 +dpkg-reconfigure keyboard-configuration >>$OUTPUT 2>&1 +dpkg-reconfigure tzdata >>$OUTPUT 2>&1 \ No newline at end of file diff --git a/modules/06-langpack-ru/minimal.list b/modules/06-langpack-ru/minimal.list new file mode 100644 index 0000000..9a43ff6 --- /dev/null +++ b/modules/06-langpack-ru/minimal.list @@ -0,0 +1 @@ +locales \ No newline at end of file diff --git a/modules/06-langpack-ru/postinstall b/modules/06-langpack-ru/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/modules/06-langpack-ru/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/modules/06-langpack-ru/preseed.txt b/modules/06-langpack-ru/preseed.txt new file mode 100644 index 0000000..2a07996 --- /dev/null +++ b/modules/06-langpack-ru/preseed.txt @@ -0,0 +1,42 @@ +# Keep the current keyboard layout in the configuration file? +keyboard-configuration keyboard-configuration/unsupported_config_layout boolean true +# Time zone: +tzdata tzdata/Zones/Europe select Moscow +# Keyboard layout: +keyboard-configuration keyboard-configuration/variant select Russian +# Default locale for the system environment: +locales locales/default_environment_locale select ru_RU.UTF-8 +# Method for toggling between national and Latin mode: +keyboard-configuration keyboard-configuration/toggle select Alt+Shift +# Method for temporarily toggling between national and Latin input: +keyboard-configuration keyboard-configuration/switch select No temporary switch +# Locales to be generated: +locales locales/locales_to_be_generated multiselect ru_RU.UTF-8 UTF-8 +# Keep default keyboard layout ()? +keyboard-configuration keyboard-configuration/unsupported_layout boolean true +# Use Control+Alt+Backspace to terminate the X server? +keyboard-configuration keyboard-configuration/ctrl_alt_bksp boolean false +# Keep default keyboard options ()? +keyboard-configuration keyboard-configuration/unsupported_options boolean true +# for internal use +keyboard-configuration keyboard-configuration/layoutcode string us,ru +# for internal use +keyboard-configuration keyboard-configuration/store_defaults_in_debconf_db boolean true +# Geographic area: +#tzdata tzdata/Areas select Europe +# Keyboard model: +keyboard-configuration keyboard-configuration/model select Generic 105-key PC (intl.) +# for internal use +keyboard-configuration keyboard-configuration/optionscode string grp:alt_shift_toggle,grp_led:scroll +# Key to function as AltGr: +keyboard-configuration keyboard-configuration/altgr select The default for the keyboard layout +# Keymap to use: +keyboard-configuration keyboard-configuration/xkb-keymap select us +# Compose key: +keyboard-configuration keyboard-configuration/compose select No compose key +# Keep current keyboard options in the configuration file? +keyboard-configuration keyboard-configuration/unsupported_config_options boolean true +# Country of origin for the keyboard: +keyboard-configuration keyboard-configuration/layout select Russian +# for internal use +keyboard-configuration keyboard-configuration/modelcode string pc105 \ No newline at end of file diff --git a/modules/06-langpack-ru/rootcopy-install/README b/modules/06-langpack-ru/rootcopy-install/README new file mode 100644 index 0000000..2850f2d --- /dev/null +++ b/modules/06-langpack-ru/rootcopy-install/README @@ -0,0 +1 @@ +Files from this folder will be at the root of the system \ No newline at end of file diff --git a/modules/06-langpack-ru/rootcopy-install/rootcopy/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml b/modules/06-langpack-ru/rootcopy-install/rootcopy/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml new file mode 100644 index 0000000..dd94eae --- /dev/null +++ b/modules/06-langpack-ru/rootcopy-install/rootcopy/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/modules/06-langpack-ru/rootcopy-install/rootcopy/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml b/modules/06-langpack-ru/rootcopy-install/rootcopy/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml new file mode 100644 index 0000000..dd94eae --- /dev/null +++ b/modules/06-langpack-ru/rootcopy-install/rootcopy/home/live/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/modules/06-langpack-ru/rootcopy-install/rootcopy/root/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml b/modules/06-langpack-ru/rootcopy-install/rootcopy/root/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml new file mode 100644 index 0000000..dd94eae --- /dev/null +++ b/modules/06-langpack-ru/rootcopy-install/rootcopy/root/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/modules/06-langpack-ru/standard.list b/modules/06-langpack-ru/standard.list new file mode 100644 index 0000000..9a43ff6 --- /dev/null +++ b/modules/06-langpack-ru/standard.list @@ -0,0 +1 @@ +locales \ No newline at end of file diff --git a/modules/06-onlyoffice/install b/modules/06-onlyoffice/install new file mode 100644 index 0000000..276cda6 --- /dev/null +++ b/modules/06-onlyoffice/install @@ -0,0 +1,24 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +$APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + software-properties-common >>$OUTPUT 2>&1 + +apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 +add-apt-repository 'deb https://download.onlyoffice.com/repo/debian squeeze main' + +$APT_CMD autoremove $APT_OPTIONS $APT_OPTIONS2 \ + software-properties-common >>$OUTPUT 2>&1 + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi diff --git a/modules/06-onlyoffice/minimal.list b/modules/06-onlyoffice/minimal.list new file mode 100644 index 0000000..1fe9203 --- /dev/null +++ b/modules/06-onlyoffice/minimal.list @@ -0,0 +1,3 @@ +libpulse0 +libnss3 +onlyoffice-desktopeditors \ No newline at end of file diff --git a/modules/06-onlyoffice/postinstall b/modules/06-onlyoffice/postinstall new file mode 100644 index 0000000..a407c94 --- /dev/null +++ b/modules/06-onlyoffice/postinstall @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/modules/06-onlyoffice/standard.list b/modules/06-onlyoffice/standard.list new file mode 100644 index 0000000..1fe9203 --- /dev/null +++ b/modules/06-onlyoffice/standard.list @@ -0,0 +1,3 @@ +libpulse0 +libnss3 +onlyoffice-desktopeditors \ No newline at end of file diff --git a/modules/06-vscode/install b/modules/06-vscode/install new file mode 100644 index 0000000..93d8678 --- /dev/null +++ b/modules/06-vscode/install @@ -0,0 +1,19 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor >packages.microsoft.gpg +install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/ +sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" >/etc/apt/sources.list.d/vscode.list' +rm -f packages.microsoft.gpg + +# install packages +if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS $APT_OPTIONS2 \ + $(grep -vE "^\s*#" $SCRIPT_DIR/$PACKAGE_VARIANT.list | tr "\n" " ") >>$OUTPUT 2>&1 +fi diff --git a/modules/06-vscode/minimal.list b/modules/06-vscode/minimal.list new file mode 100644 index 0000000..0469830 --- /dev/null +++ b/modules/06-vscode/minimal.list @@ -0,0 +1 @@ +code \ No newline at end of file diff --git a/modules/06-vscode/postinstall b/modules/06-vscode/postinstall new file mode 100644 index 0000000..06707c1 --- /dev/null +++ b/modules/06-vscode/postinstall @@ -0,0 +1,6 @@ +#!/bin/bash + +$APT_CMD autoremove $APT_OPTIONS $APT_OPTIONS2 \ + software-properties-common >>$OUTPUT 2>&1 + +rm -Rf /usr/share/icons/gnome/256x256 >>$OUTPUT 2>&1 diff --git a/modules/06-vscode/standard.list b/modules/06-vscode/standard.list new file mode 100644 index 0000000..0469830 --- /dev/null +++ b/modules/06-vscode/standard.list @@ -0,0 +1 @@ +code \ No newline at end of file