diff --git a/etc/calamares/branding/parchiso/ImageSlide.qml b/etc/calamares/branding/parchiso/ImageSlide.qml new file mode 100644 index 0000000..1b7dc30 --- /dev/null +++ b/etc/calamares/branding/parchiso/ImageSlide.qml @@ -0,0 +1,23 @@ + + +import QtQuick 2.5 + +Item { + id: imageslide + + visible: false + + anchors.fill: parent + + property bool isSlide: true; + + property string notes; + + property string src; + + Image { + id: image + source: src + anchors.centerIn: parent + } +} diff --git a/etc/calamares/branding/parchiso/branding.desc b/etc/calamares/branding/parchiso/branding.desc new file mode 100644 index 0000000..449d7fd --- /dev/null +++ b/etc/calamares/branding/parchiso/branding.desc @@ -0,0 +1,43 @@ +--- +componentName: ParchLinux + +welcomeStyleCalamares: false + +welcomeExpandingLogo: true + +windowExpanding: noexpand + +windowSize: 1050px,700px + +windowPlacement: center + +sidebar: widget + +navigation: widget + +strings: + productName: ParchLinux + shortProductName: Parch + version: Rolling + shortVersion: Rolling + versionedName: Parch Linux Rolling + shortVersionedName: ParchLinux + +images: + productIcon: "logo.png" + productLogo: "squid.png" + productWelcome: "idioma.png" + +style: + sidebarBackground: "#FFFFFF" + sidebarText: "#292F34" + sidebarTextSelect: "#ffffff" + sidebarTextHighlight: "#2093d1" + +slideshow: "show.qml" + +slideshowAPI: 2 + +uploadServer : + type : "fiche" + url : "http://termbin.com:9999" diff --git a/etc/calamares/branding/parchiso/idioma.png b/etc/calamares/branding/parchiso/idioma.png new file mode 100644 index 0000000..9bb635e Binary files /dev/null and b/etc/calamares/branding/parchiso/idioma.png differ diff --git a/etc/calamares/branding/parchiso/lang/calamares-default_ar.ts b/etc/calamares/branding/parchiso/lang/calamares-default_ar.ts new file mode 100644 index 0000000..3c4fe09 --- /dev/null +++ b/etc/calamares/branding/parchiso/lang/calamares-default_ar.ts @@ -0,0 +1,17 @@ + + + + + show + + + This is a second Slide element. + عرض الثاني + + + + This is a third Slide element. + عرض الثالث + + + diff --git a/etc/calamares/branding/parchiso/lang/calamares-default_en.ts b/etc/calamares/branding/parchiso/lang/calamares-default_en.ts new file mode 100644 index 0000000..b02dbd5 --- /dev/null +++ b/etc/calamares/branding/parchiso/lang/calamares-default_en.ts @@ -0,0 +1,17 @@ + + + + + show + + + This is a second Slide element. + + + + + This is a third Slide element. + + + + diff --git a/etc/calamares/branding/parchiso/lang/calamares-default_eo.ts b/etc/calamares/branding/parchiso/lang/calamares-default_eo.ts new file mode 100644 index 0000000..7d1ef4e --- /dev/null +++ b/etc/calamares/branding/parchiso/lang/calamares-default_eo.ts @@ -0,0 +1,17 @@ + + + + + show + + + This is a second Slide element. + Ĉi tio estas la dua gliteja. + + + + This is a third Slide element. + Ĉi tio estas la tria gliteja. + + + diff --git a/etc/calamares/branding/parchiso/lang/calamares-default_fa.ts b/etc/calamares/branding/parchiso/lang/calamares-default_fa.ts new file mode 100644 index 0000000..b02dbd5 --- /dev/null +++ b/etc/calamares/branding/parchiso/lang/calamares-default_fa.ts @@ -0,0 +1,17 @@ + + + + + show + + + This is a second Slide element. + + + + + This is a third Slide element. + + + + diff --git a/etc/calamares/branding/parchiso/lang/calamares-default_fr.ts b/etc/calamares/branding/parchiso/lang/calamares-default_fr.ts new file mode 100644 index 0000000..ec5e041 --- /dev/null +++ b/etc/calamares/branding/parchiso/lang/calamares-default_fr.ts @@ -0,0 +1,17 @@ + + + + + show + + + This is a second Slide element. + Ceci est la deuxieme affiche. + + + + This is a third Slide element. + La troisième affice ce trouve ici. + + + diff --git a/etc/calamares/branding/parchiso/lang/calamares-default_nl.ts b/etc/calamares/branding/parchiso/lang/calamares-default_nl.ts new file mode 100644 index 0000000..19fd583 --- /dev/null +++ b/etc/calamares/branding/parchiso/lang/calamares-default_nl.ts @@ -0,0 +1,17 @@ + + + + + show + + + This is a second Slide element. + Dit is het tweede Dia element. + + + + This is a third Slide element. + Dit is het derde Dia element. + + + diff --git a/etc/calamares/branding/parchiso/logo.png b/etc/calamares/branding/parchiso/logo.png new file mode 100644 index 0000000..5277c96 Binary files /dev/null and b/etc/calamares/branding/parchiso/logo.png differ diff --git a/etc/calamares/branding/parchiso/show.qml b/etc/calamares/branding/parchiso/show.qml new file mode 100644 index 0000000..22b5c7a --- /dev/null +++ b/etc/calamares/branding/parchiso/show.qml @@ -0,0 +1,53 @@ + + +import QtQuick 2.0; +import calamares.slideshow 1.0; +import io.calamares.ui 1.0 // Calamares internals: Branding + +Presentation +{ + id: presentation + + Timer { + interval: 5000 + running: presentation.activatedInCalamares + repeat: true + onTriggered: presentation.goToNextSlide() + } + + function onActivate() { } + function onLeave() { } + + Rectangle { + id: mybackground + anchors.fill: parent + color: Branding.styleString(Branding.SidebarBackground) + z: -1 + } + + ImageSlide { + src: "slide01.png" + } + + ImageSlide { + src: "slide02.png" + } + + ImageSlide { + src: "slide03.png" + } + + ImageSlide { + src: "slide04.png" + } + + ImageSlide { + src: "slide05.png" + } + + ImageSlide { + src: "slide06.png" + } + + +} diff --git a/etc/calamares/branding/parchiso/slide01.png b/etc/calamares/branding/parchiso/slide01.png new file mode 100644 index 0000000..62e37bd Binary files /dev/null and b/etc/calamares/branding/parchiso/slide01.png differ diff --git a/etc/calamares/branding/parchiso/slide02.png b/etc/calamares/branding/parchiso/slide02.png new file mode 100644 index 0000000..95596c5 Binary files /dev/null and b/etc/calamares/branding/parchiso/slide02.png differ diff --git a/etc/calamares/branding/parchiso/slide03.png b/etc/calamares/branding/parchiso/slide03.png new file mode 100644 index 0000000..6ebcaca Binary files /dev/null and b/etc/calamares/branding/parchiso/slide03.png differ diff --git a/etc/calamares/branding/parchiso/slide04.png b/etc/calamares/branding/parchiso/slide04.png new file mode 100644 index 0000000..23da39e Binary files /dev/null and b/etc/calamares/branding/parchiso/slide04.png differ diff --git a/etc/calamares/branding/parchiso/slide05.png b/etc/calamares/branding/parchiso/slide05.png new file mode 100644 index 0000000..070efc2 Binary files /dev/null and b/etc/calamares/branding/parchiso/slide05.png differ diff --git a/etc/calamares/branding/parchiso/slide06.png b/etc/calamares/branding/parchiso/slide06.png new file mode 100644 index 0000000..7d8c473 Binary files /dev/null and b/etc/calamares/branding/parchiso/slide06.png differ diff --git a/etc/calamares/branding/parchiso/squid.png b/etc/calamares/branding/parchiso/squid.png new file mode 100644 index 0000000..0e2e886 Binary files /dev/null and b/etc/calamares/branding/parchiso/squid.png differ diff --git a/etc/calamares/branding/parchiso/stylesheet.qss b/etc/calamares/branding/parchiso/stylesheet.qss new file mode 100644 index 0000000..f0afe57 --- /dev/null +++ b/etc/calamares/branding/parchiso/stylesheet.qss @@ -0,0 +1,253 @@ + +/* ########## MAIN APPLICATION WINDOW ########## */ + +#mainApp { +} + +#mainText{ + font : bold 16px; +} + +#sidebarApp { + +} + +#logoApp { +} + +#sidebarMenuApp { + padding: 0px; + background-color: none; +} + +QWidget { + font: 16px; +} + +QTextEdit, QListView { +} +QDialogButtonBox { +} +QAbstractSpinBox { +} +QListWidget::item:alternate { +} + + +#debugButton { + font: bold 8px; + color: #292F34; +} + + +/* ########## TOOLTIP ########## */ + +QPushButton { + font : 16px; +} + +QDialogButtonBox { + dialogbuttonbox-buttons-have-icons: 0; +} + +/* ########## QLIST VIEW ########## */ + +QListView { + font: 16px; +} + +/* ########## QLINE EDIT ########## */ + +QLineEdit#LE_TestKeyboard { + font: 16px; +} + +QLineEdit#m_passphraseLineEdit, QLineEdit#vgName, +QLineEdit#m_confirmLineEdit { + font: 16px; +} + +QLineEdit#textBoxUserVerifiedPassword, QLineEdit#textBoxVerifiedRootPassword { + font: 16px; +} + +QLineEdit#textBoxFullName, QLineEdit#textBoxLoginName, QLineEdit#textBoxHostName, +QLineEdit#textBoxUserPassword, QLineEdit#textBoxRootPassword { + font: 16px; +} + +#textBoxFullName, #textBoxLoginName, #textBoxHostName, #textBoxUserPassword, +#textBoxRootPassword, #textBoxAutoLogin, #vgName { + font: 16px; +} + +#textBoxUserVerifiedPassword, #textBoxVerifiedRootPassword, +#LE_TestKeyboard, #m_confirmLineEdit, #m_passphraseLineEdit { + font: 16px; +} + +/* ##########PARTITION ########## */ + +#partResizerWidget { + font: 16px; +} + +/* ########## PAGE_USERSETUP ########## */ + + #labelWhatIsYourName { + font: 16px; +} + #textBoxFullName { + font: 16px; +} + #labelFullName { + font: 16px; +} + #labelFullNameError { + font: 16px; +} + #username_label_2 { + font: 16px; +} + #textBoxLoginName { + font: 16px; +} + #labelUsername { + font: 16px; +} + #labelUsernameError { + font: 16px; +} + #hostname_label_2 { + font: 16px; +} + #textBoxHostName { + font: 16px; +} + #labelHostname { + font: 16px; +} + #labelHostnameError { + font: 16px; +} + #password_label_2 { + font: 16px; +} + #textBoxUserPassword { + font: 16px; +} + #textBoxUserVerifiedPassword { + font: 16px; +} + #labelUserPassword { + font: 16px; +} + #labelUserPasswordError { + font: 16px; +} + #checkBoxRequireStrongPassword { + font: 16px; +} + #checkBoxDoAutoLogin { + font: 16px; +} + #checkBoxReusePassword { + font: 16px; +} + #labelChooseRootPassword { + font: 16px; +} + #textBoxRootPassword { + font: 16px; +} + #textBoxVerifiedRootPassword { + font: 16px; +} + #labelRootPassword { + font: 16px; +} + #labelRootPasswordError { + font: 16px; +} + +/* ########## COMBO BOX ########## */ + +QComboBox { + font: 16px; +} + +#mountPointComboBox::drop-down { + font: 16px; +} + +/* ########## SPIN BOX ########## */ + +QSpinBox { + font: 16px; +} + +QLineEdit { + font: 16px; +} + +/* ########## TREE VIEW ########## */ + +QTreeView { + font: 16px; + show-decoration-selected: 0; +} + +QTreeView::item { + padding: 2px; +} + +QTreeView::branch:has-siblings:!adjoins-item { +} +QTreeView::branch:has-siblings:adjoins-item { +} +QTreeView::branch:!has-children:!has-siblings:adjoins-item { +} +QTreeView::branch:has-children:!has-siblings:closed, +QTreeView::branch:closed:has-children:has-siblings { +} +QTreeView::branch:open:has-children:!has-siblings, +QTreeView::branch:open:has-children:has-siblings { +} + +/* ########## CHECK BOX ########## */ + +QCheckBox { +} +QCheckBox::indicator:unchecked { +} +QCheckBox::indicator:checked { +} +QItemSelectionModel::Select { +} + +/* ########## HEADER VIEW ########## */ + +QHeaderView::section { + font : 16px; +} + +#debugButton { + background-color: none; + font: 12px; + color: #edecf0; + height: 32px; + border: none; +} + +#debugButton:hover { + color: #ff7f7f; +} + + +#aboutButton { + background-color: none; + font: 12px; + color: #292F34; + height: 32px; + border: none; +} diff --git a/etc/calamares/modules/finished.conf b/etc/calamares/modules/finished.conf new file mode 100644 index 0000000..7abfb36 --- /dev/null +++ b/etc/calamares/modules/finished.conf @@ -0,0 +1,47 @@ +# SPDX-FileCopyrightText: no +# SPDX-License-Identifier: CC0-1.0 +# +# Configuration for the "finished" page, which is usually shown only at +# the end of the installation (successful or not). +--- +# DEPRECATED +# +# The finished page can hold a "restart system now" checkbox. +# If this is false, no checkbox is shown and the system is not restarted +# when Calamares exits. +# restartNowEnabled: true + +# DEPRECATED +# +# Initial state of the checkbox "restart now". Only relevant when the +# checkbox is shown by restartNowEnabled. +# restartNowChecked: false + +# Behavior of the "restart system now" button. +# +# There are four usable values: +# - never +# Does not show the button and does not restart. +# This matches the old behavior with restartNowEnabled=false. +# - user-unchecked +# Shows the button, defaults to unchecked, restarts if it is checked. +# This matches the old behavior with restartNowEnabled=true and restartNowChecked=false. +# - user-checked +# Shows the button, defaults to checked, restarts if it is checked. +# This matches the old behavior with restartNowEnabled=true and restartNowChecked=true. +# - always +# Shows the button, checked, but the user cannot change it. +# This is new behavior. +# +# The three combinations of legacy values are still supported. +restartNowMode: user-unchecked + +# If the checkbox is shown, and the checkbox is checked, then when +# Calamares exits from the finished-page it will run this command. +# If not set, falls back to "shutdown -r now". +restartNowCommand: "systemctl -i reboot" + +# When the last page is (successfully) reached, send a DBus notification +# to the desktop that the installation is done. This works only if the +# user as whom Calamares is run, can reach the regular desktop session bus. +notifyOnFinished: false diff --git a/etc/calamares/modules/keyboard.conf b/etc/calamares/modules/keyboard.conf new file mode 100644 index 0000000..2a8e851 --- /dev/null +++ b/etc/calamares/modules/keyboard.conf @@ -0,0 +1,33 @@ +# SPDX-FileCopyrightText: no +# SPDX-License-Identifier: CC0-1.0 +# +# NOTE: you must have ckbcomp installed and runnable +# on the live system, for keyboard layout previews. +--- +# The name of the file to write X11 keyboard settings to +# The default value is the name used by upstream systemd-localed. +# Relative paths are assumed to be relative to /etc/X11/xorg.conf.d +xOrgConfFileName: "/etc/X11/xorg.conf.d/00-keyboard.conf" + +# The path to search for keymaps converted from X11 to kbd format. +# Common paths for this are: +# - /lib/kbd/keymaps/xkb +# - /usr/share/kbd/keymaps/xkb +# Leave this empty if the setting does not make sense on your distribution. +# +convertedKeymapPath: "/lib/kbd/keymaps/xkb" + +# Write keymap configuration to /etc/default/keyboard, usually +# found on Debian-related systems. +# Defaults to true if nothing is set. +#writeEtcDefaultKeyboard: true + +# Use the Locale1 service instead of directly managing configuration files. +# This is the modern mechanism for configuring the systemwide keyboard layout, +# and works on Wayland compositors to set the current layout. +# Defaults to false on X11 and true otherwise. +#useLocale1: true + +# Guess the default layout from the user locale. If false, keeps the current +# OS keyboard layout as the default (useful if the layout is pre-configured). +#guessLayout: true diff --git a/etc/calamares/modules/localeq.conf b/etc/calamares/modules/localeq.conf deleted file mode 100644 index 647f8c6..0000000 --- a/etc/calamares/modules/localeq.conf +++ /dev/null @@ -1,50 +0,0 @@ ---- -# The starting timezone (e.g. the pin-on-the-map) when entering -# the locale page can be set through keys *region* and *zone*. -# If either is not set, defaults to America/New_York. -# -# Note that useSystemTimezone and GeoIP settings can change the -# starting time zone. -# -#region: "America" -#zone: "New_York" - -# Instead of using *region* and *zone* specified above, -# you can use the system's notion of the timezone, instead. -# This can help if your system is automatically configured with -# a sensible TZ rather than chasing a fixed default. -# -# The default is false. -# -useSystemTimezone: true - -# System locales are detected in the following order: -# -# - /usr/share/i18n/SUPPORTED -# - localeGenPath (defaults to /etc/locale.gen if not set) -# - `locale -a` output -# -# Enable only when your Distribution is using a -# custom path for locale.gen -# -#localeGenPath: "/etc/locale.gen" - -# GeoIP based Language settings: Leave commented out to disable GeoIP. -# -# GeoIP needs a working Internet connection. -# This can be managed from `welcome.conf` by adding -# internet to the list of required conditions. -# -# To accommodate providers of GeoIP timezone data with peculiar timezone -# naming conventions, the following cleanups are performed automatically: -# - backslashes are removed -# - spaces are replaced with _ -# -# To disable GeoIP checking, either comment-out the entire geoip section, -# or set the *style* key to an unsupported format (e.g. `none`). -# Also, note the analogous feature in src/modules/welcome/welcome.conf. -# -#geoip: -# style: "json" -# url: "https://geoip.kde.org/v1/calamares" -# selector: "time_zone" diff --git a/etc/calamares/modules/usersq.conf b/etc/calamares/modules/usersq.conf deleted file mode 100644 index 44beb0b..0000000 --- a/etc/calamares/modules/usersq.conf +++ /dev/null @@ -1,37 +0,0 @@ ---- -doAutologin: false -sudoersGroup: sudo -setRootPassword: false - -defaultGroups: - - adm - - cdrom - - sudo - - dip - - plugdev - - bluetooth - - lpadmin - - sambashare - - input - - fuse - - pipewire - - wheel - -passwordRequirements: - nonempty: true - minLength: 3 - maxLength: 10 - -libpwquality: - - minlen: 8 - - minclass: 4 - -allowWeakPasswords: false -allowWeakPasswordsDefault: false - -# Explicitly set the shell instead of deferring to Calamares. We have a platform -# expectation derived from Ubuntu here. -userShell: /bin/bash - -# setHostname: EtcFile -# writeHostsFile: true diff --git a/etc/calamares/modules/welcomeq.conf b/etc/calamares/modules/welcomeq.conf deleted file mode 100644 index 0bcd2fe..0000000 --- a/etc/calamares/modules/welcomeq.conf +++ /dev/null @@ -1,43 +0,0 @@ -# SPDX-FileCopyrightText: no -# SPDX-License-Identifier: CC0-1.0 -# -# Configuration for the welcomeq module. -# -# The configuration for welcomeq is exactly the same -# as the welcome module, with the one exception of -# *qmlSearch* which governs QML loading. -# -# No documentation is given here: look in the welcome module. ---- -# Setting for QML loading: use QRC, branding, or both sources of files -qmlSearch: both - -# Everything below here is documented in `welcome.conf` -showSupportUrl: true -showKnownIssuesUrl: true -showReleaseNotesUrl: true -showDonateUrl: https://daramet.com/parchlinux - -requirements: - requiredStorage: 10.26 - requiredRam: 1.00 - internetCheckUrl: https://parchlinux.com - - check: - - storage - - ram - - power - - internet - - root - required: - - root - - storage - - ram - - -geoip: - style: "xml" - url: "https://geoip.kde.org/v1/ubiquity" - selector: "CountryCode" - -#languageIcon: languages diff --git a/etc/calamares/settings.conf b/etc/calamares/settings.conf index 03e36e8..8d84f9d 100644 --- a/etc/calamares/settings.conf +++ b/etc/calamares/settings.conf @@ -55,7 +55,7 @@ sequence: - finished -branding: parchlinux +branding: parchiso prompt-install: false