summaryrefslogtreecommitdiff
path: root/configs/mate-openrc/root-image
diff options
context:
space:
mode:
Diffstat (limited to 'configs/mate-openrc/root-image')
-rw-r--r--configs/mate-openrc/root-image/etc/conf.d/agetty.tty111
-rw-r--r--configs/mate-openrc/root-image/etc/conf.d/hostname2
-rw-r--r--configs/mate-openrc/root-image/etc/fstab0
-rwxr-xr-xconfigs/mate-openrc/root-image/etc/init.d/pacman-init31
-rw-r--r--configs/mate-openrc/root-image/etc/locale.conf1
-rw-r--r--configs/mate-openrc/root-image/etc/motd14
-rw-r--r--configs/mate-openrc/root-image/etc/pam.d/su6
-rw-r--r--configs/mate-openrc/root-image/etc/skel/.config/caja/accels133
-rw-r--r--configs/mate-openrc/root-image/etc/skel/.config/caja/desktop-metadata23
-rw-r--r--configs/mate-openrc/root-image/etc/skel/.config/dconf/userbin0 -> 5534 bytes
-rw-r--r--configs/mate-openrc/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini11
-rw-r--r--configs/mate-openrc/root-image/etc/skel/.config/volumeicon/volumeicon25
-rw-r--r--configs/mate-openrc/root-image/etc/skel/.directory6
-rw-r--r--configs/mate-openrc/root-image/etc/sudoers.d/g_wheel1
-rw-r--r--configs/mate-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules1
-rw-r--r--configs/mate-openrc/root-image/etc/wallpaper.pngbin0 -> 842326 bytes
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.automated_script.sh34
-rw-r--r--configs/mate-openrc/root-image/root/.codecheck2
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.config/autostart/.keymap.desktop7
-rw-r--r--configs/mate-openrc/root-image/root/.config/caja/accels173
-rw-r--r--configs/mate-openrc/root-image/root/.config/caja/desktop-metadata24
-rw-r--r--configs/mate-openrc/root-image/root/.config/dconf/userbin0 -> 6616 bytes
-rw-r--r--configs/mate-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini11
-rw-r--r--configs/mate-openrc/root-image/root/.config/volumeicon/volumeicon25
-rw-r--r--configs/mate-openrc/root-image/root/.directory6
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.keymap.sh118
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.language.sh30
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/en/install.sh217
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh271
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh13
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/es/install.sh217
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh271
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh13
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh216
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh271
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh13
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh217
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh271
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh13
-rw-r--r--configs/mate-openrc/root-image/root/.scriptsInstallation/parabolaicon.pngbin0 -> 857 bytes
-rwxr-xr-xconfigs/mate-openrc/root-image/root/.scriptsInstallation/x11.sh3
-rw-r--r--configs/mate-openrc/root-image/root/.themes/Parabola/index.theme13
-rw-r--r--configs/mate-openrc/root-image/root/.xinitrc12
-rw-r--r--configs/mate-openrc/root-image/root/.zlogin4
-rwxr-xr-xconfigs/mate-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop12
-rwxr-xr-xconfigs/mate-openrc/root-image/root/customize_root_image.sh48
46 files changed, 2790 insertions, 0 deletions
diff --git a/configs/mate-openrc/root-image/etc/conf.d/agetty.tty1 b/configs/mate-openrc/root-image/etc/conf.d/agetty.tty1
new file mode 100644
index 0000000..b7ff06d
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/conf.d/agetty.tty1
@@ -0,0 +1,11 @@
+# Set the baud rate of the terminal line
+baud="38400"
+
+# set the terminal type
+term_type="linux"
+
+# extra options to pass to agetty for this port
+agetty_options="--autologin root --noclear"
+
+# make agetty quiet
+#quiet="no"
diff --git a/configs/mate-openrc/root-image/etc/conf.d/hostname b/configs/mate-openrc/root-image/etc/conf.d/hostname
new file mode 100644
index 0000000..a701f0c
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/conf.d/hostname
@@ -0,0 +1,2 @@
+# Set to the hostname of this machine
+hostname="parabolaiso"
diff --git a/configs/mate-openrc/root-image/etc/fstab b/configs/mate-openrc/root-image/etc/fstab
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/fstab
diff --git a/configs/mate-openrc/root-image/etc/init.d/pacman-init b/configs/mate-openrc/root-image/etc/init.d/pacman-init
new file mode 100755
index 0000000..b610683
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/init.d/pacman-init
@@ -0,0 +1,31 @@
+#!/usr/bin/openrc-run
+# Copyright (C) 2017 Parabola Project
+# Copyright (C) Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Initializes Pacman keyring"
+
+depend() {
+ use haveged
+ after haveged
+}
+
+start() {
+ # Check that there's no keyring, if there isn't, create one
+ # in the background for a faster boot
+ if [ ! -d /etc/pacman.d/gnupg ]; then
+ ebegin "Starting Pacman keyring"
+ pacman-key --init &> /dev/null &&
+ pacman-key --populate archlinux parabola &> /dev/null
+ else
+ ebegin "Pacman keyring already started"
+ fi
+}
+
+stop() {
+ # If there's a keyring, delete it
+ if [ -d /etc/pacman.d/gnupg ]; then
+ ebegin "Stoping Pacman keyring"
+ rm -rf /etc/pacman.d/gnupg
+ fi
+}
diff --git a/configs/mate-openrc/root-image/etc/locale.conf b/configs/mate-openrc/root-image/etc/locale.conf
new file mode 100644
index 0000000..01ec548
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/locale.conf
@@ -0,0 +1 @@
+LANG=en_US.UTF-8
diff --git a/configs/mate-openrc/root-image/etc/motd b/configs/mate-openrc/root-image/etc/motd
new file mode 100644
index 0000000..a126999
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/motd
@@ -0,0 +1,14 @@
+
+===============================================================================
+
+ Parabola live media _DATE_
+
+ To install Parabola, the system must be connected to the internet.
+ For instructions, enter this command:
+ lynx network.html
+
+ Press the function keys while holding Alt to switch virtual terminals.
+ This allows entering commands without closing lynx.
+
+===============================================================================
+
diff --git a/configs/mate-openrc/root-image/etc/pam.d/su b/configs/mate-openrc/root-image/etc/pam.d/su
new file mode 100644
index 0000000..a291042
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/pam.d/su
@@ -0,0 +1,6 @@
+#%PAM-1.0
+auth sufficient pam_rootok.so
+auth sufficient pam_wheel.so trust use_uid
+auth required pam_unix.so
+account required pam_unix.so
+session required pam_unix.so
diff --git a/configs/mate-openrc/root-image/etc/skel/.config/caja/accels b/configs/mate-openrc/root-image/etc/skel/.config/caja/accels
new file mode 100644
index 0000000..9464f0d
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/skel/.config/caja/accels
@@ -0,0 +1,133 @@
+; caja GtkAccelMap rc-file -*- scheme -*-
+; this file is an automated accelerator map dump
+;
+; (gtk_accel_path "<Actions>/DirViewActions/Trash" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Save Search" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Emblems" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Start Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Poll" "")
+; (gtk_accel_path "<Actions>/ShellActions/Go to Trash" "")
+; (gtk_accel_path "<Actions>/SpatialActions/Go to Location" "<Primary>l")
+; (gtk_accel_path "<Actions>/IconViewActions/Stretch" "")
+; (gtk_accel_path "<Actions>/DirViewActions/MoveToMenu" "")
+; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel" "<Primary>equal")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationTrash" "")
+; (gtk_accel_path "<Actions>/DirViewActions/RenameSelectAll" "<Shift>F2")
+; (gtk_accel_path "<Actions>/DirViewActions/Undo" "<Primary>z")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Start Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/CopyToMenu" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Empty Trash" "")
+; (gtk_accel_path "<Actions>/ShellActions/Close" "<Primary>w")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationRestoreFromTrash" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Manual Layout" "")
+; (gtk_accel_path "<Actions>/ShellActions/Zoom Normal" "<Primary>0")
+; (gtk_accel_path "<Actions>/DirViewActions/Create Link" "<Primary>m")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationDelete" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Trash Time" "")
+; (gtk_accel_path "<Actions>/DirViewActions/OtherApplication2" "")
+; (gtk_accel_path "<Actions>/DirViewActions/OpenInNewTab" "<Primary><Shift>o")
+; (gtk_accel_path "<Actions>/DirViewActions/OtherApplication1" "")
+; (gtk_accel_path "<Actions>/ShellActions/Connect to Server" "")
+; (gtk_accel_path "<Actions>/ShellActions/Help" "")
+; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel2" "<Primary>KP_Add")
+; (gtk_accel_path "<Actions>/SpatialActions/Close All Folders" "<Primary>q")
+; (gtk_accel_path "<Actions>/ShellActions/File" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Format Volume" "")
+; (gtk_accel_path "<Actions>/ShellActions/Caja Manual" "F1")
+; (gtk_accel_path "<Actions>/ShellActions/Go to Network" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Mount Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Copy" "<Primary>c")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Type" "")
+; (gtk_accel_path "<Actions>/ShellActions/View" "")
+; (gtk_accel_path "<Actions>/DirViewActions/New Empty File" "")
+; (gtk_accel_path "<Actions>/ShellActions/About Caja" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Eject Volume" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Unstretch" "")
+; (gtk_accel_path "<Actions>/ShellActions/Zoom Out" "<Primary>minus")
+; (gtk_accel_path "<Actions>/DirViewActions/OpenCloseParent" "<Shift><Alt>Down")
+; (gtk_accel_path "<Actions>/SpatialActions/Close Parent Folders" "<Primary><Shift>w")
+; (gtk_accel_path "<Actions>/DirViewActions/Open" "<Primary>o")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Format Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Unmount Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Connect To Server Link" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Unmount Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Reset to Defaults" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Mount Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationCut" "")
+; (gtk_accel_path "<Actions>/ShellActions/Zoom In" "<Primary>plus")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenFolderWindow" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Eject Volume" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Tighter Layout" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Paste Files Into" "")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationCopy" "")
+; (gtk_accel_path "<Actions>/DirViewActions/OpenAccel" "<Alt>Down")
+; (gtk_accel_path "<Actions>/DirViewActions/Open With" "")
+; (gtk_accel_path "<Actions>/ShellActions/Edit" "")
+; (gtk_accel_path "<Actions>/ShellActions/Up" "<Alt>Up")
+; (gtk_accel_path "<Actions>/DirViewActions/Open Scripts Folder" "")
+; (gtk_accel_path "<Actions>/DirViewActions/New Documents" "")
+; (gtk_accel_path "<Actions>/ShellActions/Reload" "<Primary>r")
+; (gtk_accel_path "<Actions>/DirViewActions/Move to Home" "")
+; (gtk_accel_path "<Actions>/ShellActions/Backgrounds and Emblems" "")
+; (gtk_accel_path "<Actions>/DirViewActions/No Templates" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Format Volume" "")
+; (gtk_accel_path "<Actions>/ShellActions/ZoomOutAccel" "<Primary>KP_Subtract")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationPasteFilesInto" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Size" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Select All" "<Primary>a")
+; (gtk_accel_path "<Actions>/DirViewActions/OpenAlternate" "<Primary><Shift>o")
+; (gtk_accel_path "<Actions>/ShellActions/Preferences" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Poll" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Select Pattern" "<Primary>s")
+; (gtk_accel_path "<Actions>/DesktopViewActions/Change Background" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Reversed Order" "")
+; (gtk_accel_path "<Actions>/ShellActions/Go to Computer" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Restore From Trash" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Stop Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationProperties" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Rename" "F2")
+; (gtk_accel_path "<Actions>/DirViewActions/Redo" "<Primary>y")
+; (gtk_accel_path "<Actions>/ShellActions/Go to Templates" "")
+; (gtk_accel_path "<Actions>/ShellActions/Show Hidden Files" "<Primary>h")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Start Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Move to next pane" "")
+; (gtk_accel_path "<Actions>/DirViewActions/OpenFolderWindow" "")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenInNewTab" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Duplicate" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Eject Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Stop Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/PropertiesAccel" "<Primary>i")
+; (gtk_accel_path "<Actions>/ShellActions/Home" "<Alt>Home")
+; (gtk_accel_path "<Actions>/IconViewActions/Clean Up" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Modification Date" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Save Search As" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Keep Aligned" "")
+; (gtk_accel_path "<Actions>/DirViewActions/New Launcher" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Properties" "<Alt>Return")
+; (gtk_accel_path "<Actions>/SpatialActions/Add Bookmark" "<Primary>d")
+; (gtk_accel_path "<Actions>/DirViewActions/Copy to Desktop" "")
+; (gtk_accel_path "<Actions>/ShellActions/Stop" "")
+; (gtk_accel_path "<Actions>/DirViewActions/New Folder" "<Primary><Shift>n")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Poll" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Move to Desktop" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Cut" "<Primary>x")
+; (gtk_accel_path "<Caja-Window>/view_as_4" "<Primary>4")
+; (gtk_accel_path "<Actions>/DirViewActions/Delete" "<Shift>Delete")
+; (gtk_accel_path "<Actions>/DesktopViewActions/New Launcher Desktop" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Name" "")
+; (gtk_accel_path "<Caja-Window>/view_as_2" "<Primary>2")
+; (gtk_accel_path "<Caja-Window>/view_as_3" "<Primary>3")
+; (gtk_accel_path "<Actions>/DirViewActions/Paste" "<Primary>v")
+; (gtk_accel_path "<Actions>/DirViewActions/Invert Selection" "<Primary><Shift>i")
+; (gtk_accel_path "<Caja-Window>/view_as_1" "<Primary>1")
+; (gtk_accel_path "<Actions>/DesktopViewActions/Empty Trash Conditional" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Arrange Items" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Stop Volume" "")
+; (gtk_accel_path "<Actions>/SpatialActions/Places" "")
+; (gtk_accel_path "<Actions>/SpatialActions/Edit Bookmarks" "<Primary>b")
+; (gtk_accel_path "<Actions>/DirViewActions/Copy to Home" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Mount Volume" "")
+; (gtk_accel_path "<Actions>/SpatialActions/Search" "<Primary>f")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Unmount Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Copy to next pane" "")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenAlternate" "")
diff --git a/configs/mate-openrc/root-image/etc/skel/.config/caja/desktop-metadata b/configs/mate-openrc/root-image/etc/skel/.config/caja/desktop-metadata
new file mode 100644
index 0000000..e1f9d17
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/skel/.config/caja/desktop-metadata
@@ -0,0 +1,23 @@
+[directory]
+caja-icon-view-keep-aligned=true
+caja-icon-view-layout-timestamp=1441316522
+
+[trash]
+caja-icon-position=64,302
+icon-scale=1
+caja-icon-position-timestamp=1441316522
+
+[computer]
+caja-icon-position=64,22
+icon-scale=1
+caja-icon-position-timestamp=1441316522
+
+[home]
+caja-icon-position=64,102
+icon-scale=1
+caja-icon-position-timestamp=1441316522
+
+[openSUSE 13.2 KDE Live.volume]
+caja-icon-position=64,382
+icon-scale=1
+caja-icon-position-timestamp=1441316562
diff --git a/configs/mate-openrc/root-image/etc/skel/.config/dconf/user b/configs/mate-openrc/root-image/etc/skel/.config/dconf/user
new file mode 100644
index 0000000..e14186e
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/skel/.config/dconf/user
Binary files differ
diff --git a/configs/mate-openrc/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini b/configs/mate-openrc/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini
new file mode 100644
index 0000000..d4c8858
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/skel/.config/gtk-2.0/gtkfilechooser.ini
@@ -0,0 +1,11 @@
+[Filechooser Settings]
+LocationMode=path-bar
+ShowHidden=false
+ShowSizeColumn=true
+GeometryX=52
+GeometryY=105
+GeometryWidth=920
+GeometryHeight=585
+SortColumn=name
+SortOrder=ascending
+StartupMode=recent
diff --git a/configs/mate-openrc/root-image/etc/skel/.config/volumeicon/volumeicon b/configs/mate-openrc/root-image/etc/skel/.config/volumeicon/volumeicon
new file mode 100644
index 0000000..588b9dd
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/skel/.config/volumeicon/volumeicon
@@ -0,0 +1,25 @@
+[Alsa]
+card=default
+
+[Notification]
+show_notification=true
+notification_type=0
+
+[StatusIcon]
+stepsize=5
+onclick=xterm -e 'alsamixer'
+theme=Default
+use_panel_specific_icons=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/configs/mate-openrc/root-image/etc/skel/.directory b/configs/mate-openrc/root-image/etc/skel/.directory
new file mode 100644
index 0000000..07c52ff
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/skel/.directory
@@ -0,0 +1,6 @@
+[Dolphin]
+Timestamp=2014,12,3,17,12,32
+Version=3
+
+[Settings]
+HiddenFilesShown=true
diff --git a/configs/mate-openrc/root-image/etc/sudoers.d/g_wheel b/configs/mate-openrc/root-image/etc/sudoers.d/g_wheel
new file mode 100644
index 0000000..8c45359
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/sudoers.d/g_wheel
@@ -0,0 +1 @@
+%wheel ALL=(ALL) NOPASSWD: ALL
diff --git a/configs/mate-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules b/configs/mate-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules
new file mode 100644
index 0000000..970da69
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/udev/rules.d/81-dhcpcd.rules
@@ -0,0 +1 @@
+ACTION=="add", SUBSYSTEM=="net", ENV{SYSTEMD_WANTS}="dhcpcd@$name.service"
diff --git a/configs/mate-openrc/root-image/etc/wallpaper.png b/configs/mate-openrc/root-image/etc/wallpaper.png
new file mode 100644
index 0000000..d74092f
--- /dev/null
+++ b/configs/mate-openrc/root-image/etc/wallpaper.png
Binary files differ
diff --git a/configs/mate-openrc/root-image/root/.automated_script.sh b/configs/mate-openrc/root-image/root/.automated_script.sh
new file mode 100755
index 0000000..fb106da
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.automated_script.sh
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+script_cmdline ()
+{
+ local param
+ for param in $(< /proc/cmdline); do
+ case "${param}" in
+ script=*) echo "${param##*=}" ; return 0 ;;
+ esac
+ done
+}
+
+automated_script ()
+{
+ local script rt
+ script="$(script_cmdline)"
+ if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
+ if [[ "${script}" =~ ^http:// || "${script}" =~ ^ftp:// ]]; then
+ wget "${script}" --retry-connrefused -q -O /tmp/startup_script >/dev/null
+ rt=$?
+ else
+ cp "${script}" /tmp/startup_script
+ rt=$?
+ fi
+ if [[ ${rt} -eq 0 ]]; then
+ chmod +x /tmp/startup_script
+ /tmp/startup_script
+ fi
+ fi
+}
+
+if [[ $(tty) == "/dev/tty1" ]]; then
+ automated_script
+fi
diff --git a/configs/mate-openrc/root-image/root/.codecheck b/configs/mate-openrc/root-image/root/.codecheck
new file mode 100644
index 0000000..7c5d84a
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.codecheck
@@ -0,0 +1,2 @@
+LANG=0
+XKBMAP=us
diff --git a/configs/mate-openrc/root-image/root/.config/autostart/.keymap.desktop b/configs/mate-openrc/root-image/root/.config/autostart/.keymap.desktop
new file mode 100755
index 0000000..f55da1d
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.config/autostart/.keymap.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Exec=/root/.keymap.sh
+Hidden=false
+X-MATE-Autostart-enabled=true
+Name=keymap
+Comment=
diff --git a/configs/mate-openrc/root-image/root/.config/caja/accels b/configs/mate-openrc/root-image/root/.config/caja/accels
new file mode 100644
index 0000000..18bc53a
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.config/caja/accels
@@ -0,0 +1,173 @@
+; caja GtkAccelMap rc-file -*- scheme -*-
+; this file is an automated accelerator map dump
+;
+; (gtk_accel_path "<Actions>/DirViewActions/Trash" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Save Search" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Emblems" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Start Volume" "")
+; (gtk_accel_path "<Actions>/NavigationActions/TabsNext" "<Primary>Page_Down")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Poll" "")
+; (gtk_accel_path "<Actions>/ShellActions/Go to Trash" "")
+; (gtk_accel_path "<Actions>/SpatialActions/Go to Location" "<Primary>l")
+; (gtk_accel_path "<Actions>/IconViewActions/Stretch" "")
+; (gtk_accel_path "<Actions>/DirViewActions/MoveToMenu" "")
+; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel" "<Primary>equal")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationTrash" "")
+; (gtk_accel_path "<Actions>/DirViewActions/RenameSelectAll" "<Shift>F2")
+; (gtk_accel_path "<Actions>/ShellActions/About Caja" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Undo" "<Primary>z")
+; (gtk_accel_path "<Actions>/NavigationActions/Back" "<Alt>Left")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Start Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/CopyToMenu" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Tab2" "<Alt>3")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationRestoreFromTrash" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Empty Trash" "")
+; (gtk_accel_path "<Actions>/ShellActions/Close" "<Primary>w")
+; (gtk_accel_path "<Actions>/NavigationActions/Add Bookmark" "<Primary>d")
+; (gtk_accel_path "<Actions>/IconViewActions/Manual Layout" "")
+; (gtk_accel_path "<Actions>/ExtensionsMenuGroup/CajaOpenTerminal::open_terminal" "")
+; (gtk_accel_path "<Actions>/ShellActions/Zoom Normal" "<Primary>0")
+; (gtk_accel_path "<Actions>/NavigationActions/Tab1" "<Alt>2")
+; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Extra Pane" "F3")
+; (gtk_accel_path "<Actions>/DirViewActions/Create Link" "<Primary>m")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationDelete" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Format Volume" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Trash Time" "")
+; (gtk_accel_path "<Actions>/DirViewActions/OpenInNewTab" "<Primary><Shift>o")
+; (gtk_accel_path "<Actions>/DirViewActions/OtherApplication2" "")
+; (gtk_accel_path "<Actions>/DirViewActions/OtherApplication1" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Mount Volume" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Folder Window" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Statusbar" "")
+; (gtk_accel_path "<Actions>/ShellActions/Connect to Server" "")
+; (gtk_accel_path "<Actions>/ShellActions/Help" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Tab6" "<Alt>7")
+; (gtk_accel_path "<Actions>/NavigationActions/Clear History" "")
+; (gtk_accel_path "<Actions>/ShellActions/ZoomInAccel2" "<Primary>KP_Add")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Type" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Tab7" "<Alt>8")
+; (gtk_accel_path "<Actions>/NavigationActions/ShowSearch" "<Primary>f")
+; (gtk_accel_path "<Actions>/NavigationActions/Tab9" "<Alt>0")
+; (gtk_accel_path "<Actions>/NavigationActions/Tab8" "<Alt>9")
+; (gtk_accel_path "<Actions>/SpatialActions/Close All Folders" "<Primary>q")
+; (gtk_accel_path "<Actions>/ShellActions/File" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Tab5" "<Alt>6")
+; (gtk_accel_path "<Actions>/NavigationActions/Tab4" "<Alt>5")
+; (gtk_accel_path "<Actions>/NavigationActions/Tab3" "<Alt>4")
+; (gtk_accel_path "<Actions>/NavigationActions/TabsMoveRight" "<Primary><Shift>Page_Down")
+; (gtk_accel_path "<Actions>/NavigationActions/TabsPrevious" "<Primary>Page_Up")
+; (gtk_accel_path "<Actions>/ShellActions/Go to Network" "")
+; (gtk_accel_path "<Actions>/ShellActions/Caja Manual" "F1")
+; (gtk_accel_path "<Actions>/ClipboardActions/Paste" "<Primary>v")
+; (gtk_accel_path "<Actions>/DirViewActions/Copy" "<Primary>c")
+; (gtk_accel_path "<Actions>/ShellActions/View" "")
+; (gtk_accel_path "<Actions>/DirViewActions/New Empty File" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Tab0" "<Alt>1")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Eject Volume" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Unstretch" "")
+; (gtk_accel_path "<Actions>/ShellActions/Zoom Out" "<Primary>minus")
+; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Location Bar" "")
+; (gtk_accel_path "<Actions>/DirViewActions/OpenCloseParent" "<Shift><Alt>Down")
+; (gtk_accel_path "<Actions>/SpatialActions/Close Parent Folders" "<Primary><Shift>w")
+; (gtk_accel_path "<Actions>/DirViewActions/Open" "<Primary>o")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Format Volume" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Bookmarks" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Unmount Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Connect To Server Link" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Mount Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Unmount Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Reset to Defaults" "")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenFolderWindow" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Paste Files Into" "")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationCut" "")
+; (gtk_accel_path "<Actions>/ShellActions/Zoom In" "<Primary>plus")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Eject Volume" "")
+; (gtk_accel_path "<Actions>/NavigationActions/SplitViewNextPane" "F6")
+; (gtk_accel_path "<Actions>/ClipboardActions/Select All" "<Primary>a")
+; (gtk_accel_path "<Actions>/IconViewActions/Tighter Layout" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Edit Bookmarks" "<Primary>b")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationCopy" "")
+; (gtk_accel_path "<Actions>/ClipboardActions/Copy" "<Primary>c")
+; (gtk_accel_path "<Actions>/DirViewActions/OpenAccel" "<Alt>Down")
+; (gtk_accel_path "<Actions>/DirViewActions/Open With" "")
+; (gtk_accel_path "<Actions>/ShellActions/Edit" "")
+; (gtk_accel_path "<Actions>/ShellActions/Up" "<Alt>Up")
+; (gtk_accel_path "<Actions>/DirViewActions/Open Scripts Folder" "")
+; (gtk_accel_path "<Actions>/ClipboardActions/Cut" "<Primary>x")
+; (gtk_accel_path "<Actions>/NavigationActions/Forward" "<Alt>Right")
+; (gtk_accel_path "<Actions>/DirViewActions/New Documents" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Go to Location" "<Primary>l")
+; (gtk_accel_path "<Actions>/ShellActions/Reload" "<Primary>r")
+; (gtk_accel_path "<Actions>/DirViewActions/Move to Home" "")
+; (gtk_accel_path "<Actions>/ShellActions/Backgrounds and Emblems" "")
+; (gtk_accel_path "<Actions>/DirViewActions/No Templates" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Format Volume" "")
+; (gtk_accel_path "<Actions>/ShellActions/ZoomOutAccel" "<Primary>KP_Subtract")
+; (gtk_accel_path "<Actions>/NavigationActions/SplitViewSameLocation" "")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationPasteFilesInto" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Size" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Select All" "<Primary>a")
+; (gtk_accel_path "<Actions>/DirViewActions/OpenAlternate" "<Primary><Shift>o")
+; (gtk_accel_path "<Actions>/ShellActions/Preferences" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Poll" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Select Pattern" "<Primary>s")
+; (gtk_accel_path "<Actions>/DesktopViewActions/Change Background" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Reversed Order" "")
+; (gtk_accel_path "<Actions>/ShellActions/Go to Computer" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Go" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Restore From Trash" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Location Stop Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationProperties" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Rename" "F2")
+; (gtk_accel_path "<Actions>/DirViewActions/Redo" "<Primary>y")
+; (gtk_accel_path "<Actions>/ShellActions/Go to Templates" "")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenInNewTab" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Start Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Move to next pane" "")
+; (gtk_accel_path "<Actions>/DirViewActions/OpenFolderWindow" "")
+; (gtk_accel_path "<Actions>/ShellActions/Show Hidden Files" "<Primary>h")
+; (gtk_accel_path "<Actions>/DirViewActions/Stop Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Duplicate" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Eject Volume" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Clean Up" "")
+; (gtk_accel_path "<Actions>/NavigationActions/New Tab" "<Primary>t")
+; (gtk_accel_path "<Actions>/ShellActions/Home" "<Alt>Home")
+; (gtk_accel_path "<Actions>/NavigationActions/New Window" "<Primary>n")
+; (gtk_accel_path "<Actions>/DirViewActions/PropertiesAccel" "<Primary>i")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Modification Date" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Save Search As" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Keep Aligned" "")
+; (gtk_accel_path "<Actions>/DirViewActions/New Launcher" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Search" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Properties" "<Alt>Return")
+; (gtk_accel_path "<Actions>/SpatialActions/Add Bookmark" "<Primary>d")
+; (gtk_accel_path "<Actions>/NavigationActions/TabsMoveLeft" "<Primary><Shift>Page_Up")
+; (gtk_accel_path "<Actions>/DirViewActions/Copy to Desktop" "")
+; (gtk_accel_path "<Actions>/ShellActions/Stop" "")
+; (gtk_accel_path "<Actions>/DirViewActions/New Folder" "<Primary><Shift>n")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Poll" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Move to Desktop" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Cut" "<Primary>x")
+; (gtk_accel_path "<Caja-Window>/view_as_4" "<Primary>4")
+; (gtk_accel_path "<Actions>/DirViewActions/Delete" "<Shift>Delete")
+; (gtk_accel_path "<Actions>/DesktopViewActions/New Launcher Desktop" "")
+; (gtk_accel_path "<Actions>/IconViewActions/Sort by Name" "")
+; (gtk_accel_path "<Caja-Window>/view_as_2" "<Primary>2")
+; (gtk_accel_path "<Caja-Window>/view_as_3" "<Primary>3")
+; (gtk_accel_path "<Actions>/DirViewActions/Paste" "<Primary>v")
+; (gtk_accel_path "<Actions>/DirViewActions/Invert Selection" "<Primary><Shift>i")
+; (gtk_accel_path "<Caja-Window>/view_as_1" "<Primary>1")
+; (gtk_accel_path "<Actions>/DesktopViewActions/Empty Trash Conditional" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Close All Windows" "<Primary>q")
+; (gtk_accel_path "<Actions>/IconViewActions/Arrange Items" "")
+; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Sidebar" "F9")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Stop Volume" "")
+; (gtk_accel_path "<Actions>/SpatialActions/Places" "")
+; (gtk_accel_path "<Actions>/SpatialActions/Edit Bookmarks" "<Primary>b")
+; (gtk_accel_path "<Actions>/NavigationActions/Show Hide Toolbar" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Copy to Home" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Mount Volume" "")
+; (gtk_accel_path "<Actions>/SpatialActions/Search" "<Primary>f")
+; (gtk_accel_path "<Actions>/DirViewActions/Self Unmount Volume" "")
+; (gtk_accel_path "<Actions>/DirViewActions/Copy to next pane" "")
+; (gtk_accel_path "<Actions>/DirViewActions/LocationOpenAlternate" "")
diff --git a/configs/mate-openrc/root-image/root/.config/caja/desktop-metadata b/configs/mate-openrc/root-image/root/.config/caja/desktop-metadata
new file mode 100644
index 0000000..9ac6828
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.config/caja/desktop-metadata
@@ -0,0 +1,24 @@
+[directory]
+caja-icon-view-keep-aligned=true
+caja-icon-view-layout-timestamp=1441319556
+caja-window-scroll-position=file:///root/Desktop/Parabola%20Installation%20CLI.desktop
+
+[trash]
+caja-icon-position=64,302
+icon-scale=1
+caja-icon-position-timestamp=1441319556
+
+[computer]
+caja-icon-position=64,22
+icon-scale=1
+caja-icon-position-timestamp=1441319556
+
+[home]
+caja-icon-position=64,102
+icon-scale=1
+caja-icon-position-timestamp=1441319556
+
+[openSUSE 13.2 KDE Live.volume]
+caja-icon-position=64,382
+icon-scale=1
+caja-icon-position-timestamp=1441319577
diff --git a/configs/mate-openrc/root-image/root/.config/dconf/user b/configs/mate-openrc/root-image/root/.config/dconf/user
new file mode 100644
index 0000000..dab7f59
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.config/dconf/user
Binary files differ
diff --git a/configs/mate-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini b/configs/mate-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini
new file mode 100644
index 0000000..c6b458d
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.config/gtk-2.0/gtkfilechooser.ini
@@ -0,0 +1,11 @@
+[Filechooser Settings]
+LocationMode=path-bar
+ShowHidden=true
+ShowSizeColumn=true
+GeometryX=52
+GeometryY=86
+GeometryWidth=920
+GeometryHeight=585
+SortColumn=name
+SortOrder=ascending
+StartupMode=recent
diff --git a/configs/mate-openrc/root-image/root/.config/volumeicon/volumeicon b/configs/mate-openrc/root-image/root/.config/volumeicon/volumeicon
new file mode 100644
index 0000000..588b9dd
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.config/volumeicon/volumeicon
@@ -0,0 +1,25 @@
+[Alsa]
+card=default
+
+[Notification]
+show_notification=true
+notification_type=0
+
+[StatusIcon]
+stepsize=5
+onclick=xterm -e 'alsamixer'
+theme=Default
+use_panel_specific_icons=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/configs/mate-openrc/root-image/root/.directory b/configs/mate-openrc/root-image/root/.directory
new file mode 100644
index 0000000..af61e27
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.directory
@@ -0,0 +1,6 @@
+[Dolphin]
+Timestamp=2014,12,3,11,8,28
+Version=3
+
+[Settings]
+HiddenFilesShown=true
diff --git a/configs/mate-openrc/root-image/root/.keymap.sh b/configs/mate-openrc/root-image/root/.keymap.sh
new file mode 100755
index 0000000..f844af6
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.keymap.sh
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+list_keymaps() {
+cat <<EOM
+af Afrikaans
+al Albanian
+am Amharic
+ara Arabic
+at at
+au au
+az Azerbaijani
+ba Bashkir
+be Belarusian
+bg Bulgarian
+bn Bihari-languages
+br Breton
+brai brai
+bt bt
+bw bw
+by by
+ca Catalan
+cd cd
+ch Chamorro
+cm cm
+cn cn
+cz Czech
+de German
+dk dk
+dz Dzongkha
+ee Ewe
+epo Esperanto
+es Spanish
+et Estonian
+fi Finnish
+fo Faroese
+fr French
+gb gb
+ge ge
+gh gh
+gn Guaraní
+gr gr
+hr Croatian
+hu Hungarian
+id Indonesian
+ie Interlingue
+il il
+in in
+iq iq
+ir ir
+is Icelandic
+it Italian
+jp Japanese
+ke ke
+kg Kongo
+kh kh
+kr Kanuri
+kz kz
+la Latin
+latam Latin-American
+lk lk
+lt Lithuanian
+lv Latvian
+ma ma
+mao Maori
+md md
+me me
+mk Macedonian
+ml Malayalam
+mm mm
+mn Mongolian
+mt Maltese
+mv mv
+my Burmese
+nec_vndr/jp nec_vndr/jp
+ng Ndonga
+nl Dutch
+no Norwegian
+np np
+ph ph
+pk pk
+pl Polish
+pt Portuguese
+ro Romanian
+rs rs
+ru Russian
+se Northern-Sami
+si Sinhala
+sk Slovak
+sn Shona
+sy sy
+tg Tajik
+th Thai
+tj tj
+tm tm
+tr Turkish
+tw Twi
+tz tz
+ua ua
+us English
+uz Uzbek
+vn vn
+za Zhuang
+EOM
+}
+
+#Comprobe if X11 keymap was selected
+code=$(cat .codecheck | grep XKBMAP= | cut -d '=' -f 2)
+if [[ $code = "us" ]]; then
+ keymap=$(zenity --list --title="Select your keymap" --column="Code Name" --column="Keymap" --hide-column=1 $(list_keymaps))
+
+ setxkbmap $keymap
+
+ #Save XKBMAP in .codecheck to use in other time. For example if you install X11 with scripts
+ sed -i '/XKBMAP=./d' ~/.codecheck
+ echo "XKBMAP=$keymap" >> ~/.codecheck
+elif [[ $code != "" ]]; then
+ setxkbmap $code
+fi
diff --git a/configs/mate-openrc/root-image/root/.language.sh b/configs/mate-openrc/root-image/root/.language.sh
new file mode 100755
index 0000000..782d198
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.language.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+finish=0 #If change locale the system need restart session to see the changes
+
+#Comprobe if language was selected
+code=$(cat ~/.codecheck | grep LANG= | tail --bytes 2)
+if [ $code = "0" ]; then
+ lang=$(dialog --stdout --backtitle "System language selection" --menu "Choose your language:" 15 40 10 \
+ "en_US.UTF-8" "English" \
+ "gl_ES.UTF-8" "Galego" \
+ "es_ES.UTF-8" "Spanish" \
+ "pt_BR.UTF-8" "Brazilian Portuguese" \
+ "pl_PL.UTF-8" "Polish" \
+ "it_IT.UTF-8" "Italian" \
+ "fr_FR.UTF-8" "French" \
+ "eo" "Esperanto")
+
+ #Copy locale in locale.conf
+ echo "LANG=$lang" > /etc/locale.conf
+
+ #Put a new line confirm that language was selected
+ sed -i '/LANG=./d' ~/.codecheck
+ echo "LANG=1" >> ~/.codecheck
+
+ #Copy icewm menu in that language and scripts to install
+ cp -a ~/.icewm/menuLanguages/menu_${lang/_*/} ~/.icewm/menu
+ cp -a ~/.scriptsInstallation/language/${lang/_*/}/* ~/.scriptsInstallation/
+
+ finish=1
+fi
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/install.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/install.sh
new file mode 100755
index 0000000..efb389b
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/install.sh
@@ -0,0 +1,217 @@
+#!/bin/bash
+#Temporal is a file that contains parameters to use when access to chroot
+
+pacman -Sy parabola-keyring --noconfirm
+pacman-key --populate parabola
+pacman-key --refresh-keys
+
+partition(){
+
+ #Search and show the Hard Disks to select
+ aux=$(ls /dev/sd?)
+ index=0
+ for i in $aux; do
+ hdds[$index]="${i} ${i#/*/} off"
+ index=$((index+1))
+ done
+
+ hdd=$(dialog --stdout --radiolist "Select Hard Disk" 20 70 50 ${hdds[@]})
+
+ #If exist the line delete
+ if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null
+ then
+ sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal
+ fi
+
+ #And add the new line with new parameter
+ echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal
+
+ selection=$(dialog --stdout --menu "Partitioning method" 20 70 50 \
+ 1 "Use all disk with swap (1GB) and /" \
+ 2 "Use gparted to customize" )
+
+ case $selection in
+ 1)
+ umount /mnt &> /dev/null
+ #Create msdos partition table
+ parted -s $hdd -- mklabel msdos
+
+ #Create partition swap and /
+ parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s
+
+ #Boot option partition /
+ parted -s $hdd -- set 2 boot on
+
+ #Format and partitions and mount /
+ (echo t; echo 1; echo 82; echo w) | fdisk $hdd
+ mkswap ${hdd}1
+ mkfs.ext4 ${hdd}2
+ mount ${hdd}2 /mnt
+ ;;
+ 2)
+ gparted $hdd
+
+ #Search and show the partitions that select before.
+ aux=$(ls $hdd?)
+ index=0;
+ for i in $aux; do
+ partitions[$index]="${i} ${i#/*/} off"
+ index=$((index+1))
+ done
+
+ partition=$(dialog --stdout --radiolist "Mount / Partition" 20 70 50 ${partitions[@]})
+
+ #Mount partition /
+ umount /mnt &> /dev/null
+ mount $partition /mnt
+
+ #Ask if you want mount other partitions
+ other=0
+ while [ $other != 3 ]; do
+ other=$(dialog --stdout --menu "Mount other partition?" 20 70 50 1 "/home" 2 "/boot" 3 "No")
+
+ case $other in
+ 1)
+ umount /mnt/home &> /dev/null
+ mkdir /mnt/home &> /dev/null
+ mount $(dialog --stdout --radiolist "Mount /home Partition" 20 70 50 ${partitions[@]}) /mnt/home
+ ;;
+ 2)
+ umount /mnt/boot &> /dev/null
+ mkdir /mnt/boot &> /dev/null
+ mount $(dialog --stdout --radiolist "Mount /boot Partition" 20 70 50 ${partitions[@]}) /mnt/boot
+ ;;
+ *)
+ other=3
+ ;;
+ esac
+ done
+ ;;
+ esac
+}
+
+
+option=0
+while [ option != 7 ]; do
+ option=$(dialog --stdout --menu "Parabola Installation CLI" 20 70 50 \
+ 1 "Format and Mount Partitions" \
+ 2 "Install Base System" \
+ 3 "Install GRUB" \
+ 4 "System Configure" \
+ 5 "Create User Account" \
+ 6 "(Optional) Install Live DVD Desktop/Applications" \
+ 7 "Exit" )
+
+ case $option in
+ 1)
+ partition
+ ;;
+ 2)
+ #Install base system
+ pacstrap /mnt base-openrc dbus-elogind
+ pacstrap /mnt dialog
+ ;;
+ 3)
+ #Install grub
+ pacstrap /mnt grub
+ ;;
+ 4)
+ #Generate fstab and acces to chroot to do System Config
+ genfstab -p /mnt >> /mnt/etc/fstab
+ cp ~/.scriptsInstallation/temporal /mnt
+ cp ~/.scriptsInstallation/systemConfig.sh /mnt
+ chmod +x /mnt/systemConfig.sh
+ arch-chroot /mnt /systemConfig.sh
+ rm -r /mnt/systemConfig.sh
+ ;;
+ 5)
+ #Create a new username and save in temporal, to use after
+ if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null
+ then
+ sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal
+ fi
+
+ echo "userName=$(dialog --stdout --inputbox "Enter an User Name" 8 40)" >> ~/.scriptsInstallation/temporal
+ cp ~/.scriptsInstallation/temporal /mnt
+ cp ~/.scriptsInstallation/userAccount.sh /mnt
+ chmod +x /mnt/userAccount.sh
+ arch-chroot /mnt /userAccount.sh
+ rm -r /mnt/userAccount.sh
+ ;;
+ 6)
+ #Packages to the X11 live
+ packages=( "xorg-server"
+ "xf86-input-evdev"
+ "xf86-input-synaptics"
+ "xf86-video-ati"
+ "xf86-video-dummy"
+ "xf86-video-fbdev"
+ "xf86-video-intel"
+ "xf86-video-nouveau"
+ "xf86-video-openchrome"
+ "xf86-video-sisusb"
+ "xf86-video-vesa"
+ "xf86-video-vmware"
+ "xf86-video-voodoo"
+ "xf86-video-qxl"
+ "xorg-xinit"
+ "gst-plugins-good"
+ "gst-libav"
+ "mate"
+ "mate-applets"
+ "mate-terminal"
+ "caja"
+ "volumeicon"
+ "zenity"
+ "octopi"
+ "pulseaudio-alsa"
+ "alsa-utils"
+ "networkmanager"
+ "network-manager-applet"
+ "ath9k-htc-firmware"
+ "iceweasel"
+ "icedove"
+ "pidgin"
+ "gparted"
+ "smplayer"
+ "epdfview"
+ "gpicview"
+ "abiword"
+ "gnumeric"
+ "leafpad"
+ "galculator-gtk2"
+ "xarchiver"
+ "openrc-desktop"
+ )
+
+ #Install packages
+ pacstrap /mnt ${packages[@]}
+ user=$(cat ~/.scriptsInstallation/temporal | grep "userName" )
+
+ #Copie skel in the new system and desktop's background
+ cp -a /etc/skel/ /mnt/etc/
+ cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png
+
+ #Puts the XKBMAP, start X11 automatically and icewm desktop
+ echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc
+ echo "exec mate-session" >> /mnt/etc/skel/.xinitrc
+ echo "startx" >> /mnt/etc/skel/.bash_profile
+ chmod +x /mnt/etc/skel/.xinitrc
+ cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/
+ cp -a ~/.scriptsInstallation/x11.sh /mnt
+
+ #Enable services with OpenRC
+ chmod +x /mnt/x11.sh
+ arch-chroot /mnt /x11.sh
+ rm /mnt/x11.sh
+ ;;
+ *)
+ #Delete temporal file and umount partitions
+ rm -r /mnt/temporal
+ umount /mnt/boot &> /dev/null
+ umount /mnt/home &> /dev/null
+ umount /mnt &> /dev/null
+ exit
+ ;;
+ esac
+done
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh
new file mode 100755
index 0000000..9ef90ac
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/systemConfig.sh
@@ -0,0 +1,271 @@
+#!/bin/bash
+
+HOSTNAME=$(echo "$(dialog --stdout --inputbox "Enter Hostname:" 8 40)" > /etc/hostname)
+sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname
+
+ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Enter your Zone Time:\nFor example: Europe/Athens" 8 40) /etc/localtime
+
+keymaps=(
+ "ANSI-dvorak ANSI-dvorak off"
+ "amiga-de amiga-de off"
+ "amiga-us amiga-us off"
+ "applkey applkey off"
+ "atari-de atari-de off"
+ "atari-se atari-se off"
+ "atari-uk-falcon atari-uk-falcon off"
+ "atari-us atari-us off"
+ "azerty azerty off"
+ "backspace backspace off"
+ "bashkir bashkir off"
+ "be-latin1 be-latin1 off"
+ "bg-cp1251 bg-cp1251 off"
+ "bg-cp855 bg-cp855 off"
+ "bg_bds-cp1251 bg_bds-cp1251 off"
+ "bg_bds-utf8 bg_bds-utf8 off"
+ "bg_pho-cp1251 bg_pho-cp1251 off"
+ "bg_pho-utf8 bg_pho-utf8 off"
+ "br-abnt br-abnt off"
+ "br-abnt2 br-abnt2 off"
+ "br-latin1-abnt2 br-latin1-abnt2 off"
+ "br-latin1-us br-latin1-us off"
+ "by by off"
+ "by-cp1251 by-cp1251 off"
+ "bywin-cp1251 bywin-cp1251 off"
+ "cf cf off"
+ "colemak colemak off"
+ "croat croat off"
+ "ctrl ctrl off"
+ "cz cz off"
+ "cz-cp1250 cz-cp1250 off"
+ "cz-lat2 cz-lat2 off"
+ "cz-lat2-prog cz-lat2-prog off"
+ "cz-qwertz cz-qwertz off"
+ "cz-us-qwertz cz-us-qwertz off"
+ "de de off"
+ "de-latin1 de-latin1 off"
+ "de-latin1-nodeadkeys de-latin1-nodeadkeys off"
+ "de-mobii de-mobii off"
+ "de_CH-latin1 de_CH-latin1 off"
+ "de_alt_UTF-8 de_alt_UTF-8 off"
+ "defkeymap defkeymap off"
+ "defkeymap_V1.0 defkeymap_V1.0 off"
+ "dk dk off"
+ "dk-latin1 dk-latin1 off"
+ "dvorak dvorak off"
+ "dvorak-ca-fr dvorak-ca-fr off"
+ "dvorak-es dvorak-es off"
+ "dvorak-fr dvorak-fr off"
+ "dvorak-l dvorak-l off"
+ "dvorak-r dvorak-r off"
+ "dvorak-ru dvorak-ru off"
+ "dvorak-sv-a1 dvorak-sv-a1 off"
+ "dvorak-sv-a5 dvorak-sv-a5 off"
+ "dvorak-uk dvorak-uk off"
+ "emacs emacs off"
+ "emacs2 emacs2 off"
+ "es es off"
+ "es-cp850 es-cp850 off"
+ "es-olpc es-olpc off"
+ "et et off"
+ "et-nodeadkeys et-nodeadkeys off"
+ "euro euro off"
+ "euro1 euro1 off"
+ "euro2 euro2 off"
+ "fi fi off"
+ "fr fr off"
+ "fr-bepo fr-bepo off"
+ "fr-bepo-latin9 fr-bepo-latin9 off"
+ "fr-latin1 fr-latin1 off"
+ "fr-latin9 fr-latin9 off"
+ "fr-pc fr-pc off"
+ "fr_CH fr_CH off"
+ "fr_CH-latin1 fr_CH-latin1 off"
+ "gr gr off"
+ "gr-pc gr-pc off"
+ "hu hu off"
+ "hu101 hu101 off"
+ "il il off"
+ "il-heb il-heb off"
+ "il-phonetic il-phonetic off"
+ "is-latin1 is-latin1 off"
+ "is-latin1-us is-latin1-us off"
+ "it it off"
+ "it-ibm it-ibm off"
+ "it2 it2 off"
+ "jp106 jp106 off"
+ "kazakh kazakh off"
+ "keypad keypad off"
+ "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off"
+ "kyrgyz kyrgyz off"
+ "la-latin1 la-latin1 off"
+ "lt lt off"
+ "lt.baltic lt.baltic off"
+ "lt.l4 lt.l4 off"
+ "lv lv off"
+ "lv-tilde lv-tilde off"
+ "mac-be mac-be off"
+ "mac-de-latin1 mac-de-latin1 off"
+ "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off"
+ "mac-de_CH mac-de_CH off"
+ "mac-dk-latin1 mac-dk-latin1 off"
+ "mac-dvorak mac-dvorak off"
+ "mac-es mac-es off"
+ "mac-euro mac-euro off"
+ "mac-euro2 mac-euro2 off"
+ "mac-fi-latin1 mac-fi-latin1 off"
+ "mac-fr mac-fr off"
+ "mac-fr_CH-latin1 mac-fr_CH-latin1 off"
+ "mac-it mac-it off"
+ "mac-pl mac-pl off"
+ "mac-pt-latin1 mac-pt-latin1 off"
+ "mac-se mac-se off"
+ "mac-template mac-template off"
+ "mac-uk mac-uk off"
+ "mac-us mac-us off"
+ "mk mk off"
+ "mk-cp1251 mk-cp1251 off"
+ "mk-utf mk-utf off"
+ "mk0 mk0 off"
+ "nl nl off"
+ "nl2 nl2 off"
+ "no no off"
+ "no-dvorak no-dvorak off"
+ "no-latin1 no-latin1 off"
+ "pc110 pc110 off"
+ "pl pl off"
+ "pl1 pl1 off"
+ "pl2 pl2 off"
+ "pl3 pl3 off"
+ "pl4 pl4 off"
+ "pt-latin1 pt-latin1 off"
+ "pt-latin9 pt-latin9 off"
+ "pt-olpc pt-olpc off"
+ "ro ro off"
+ "ro_std ro_std off"
+ "ro_win ro_win off"
+ "ru ru off"
+ "ru-cp1251 ru-cp1251 off"
+ "ru-ms ru-ms off"
+ "ru-yawerty ru-yawerty off"
+ "ru1 ru1 off"
+ "ru2 ru2 off"
+ "ru3 ru3 off"
+ "ru4 ru4 off"
+ "ru_win ru_win off"
+ "ruwin_alt-CP1251 ruwin_alt-CP1251 off"
+ "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off"
+ "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off"
+ "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off"
+ "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off"
+ "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off"
+ "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off"
+ "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off"
+ "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off"
+ "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off"
+ "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off"
+ "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off"
+ "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off"
+ "se-fi-ir209 se-fi-ir209 off"
+ "se-fi-lat6 se-fi-lat6 off"
+ "se-ir209 se-ir209 off"
+ "se-lat6 se-lat6 off"
+ "sg sg off"
+ "sg-latin1 sg-latin1 off"
+ "sg-latin1-lk450 sg-latin1-lk450 off"
+ "sk-prog-qwerty sk-prog-qwerty off"
+ "sk-prog-qwertz sk-prog-qwertz off"
+ "sk-qwerty sk-qwerty off"
+ "sk-qwertz sk-qwertz off"
+ "slovene slovene off"
+ "sr-cy sr-cy off"
+ "sun-pl sun-pl off"
+ "sun-pl-altgraph sun-pl-altgraph off"
+ "sundvorak sundvorak off"
+ "sunkeymap sunkeymap off"
+ "sunt4-es sunt4-es off"
+ "sunt4-fi-latin1 sunt4-fi-latin1 off"
+ "sunt4-no-latin1 sunt4-no-latin1 off"
+ "sunt5-cz-us sunt5-cz-us off"
+ "sunt5-de-latin1 sunt5-de-latin1 off"
+ "sunt5-es sunt5-es off"
+ "sunt5-fi-latin1 sunt5-fi-latin1 off"
+ "sunt5-fr-latin1 sunt5-fr-latin1 off"
+ "sunt5-ru sunt5-ru off"
+ "sunt5-uk sunt5-uk off"
+ "sunt5-us-cz sunt5-us-cz off"
+ "sunt6-uk sunt6-uk off"
+ "sv-latin1 sv-latin1 off"
+ "tj_alt-UTF8 tj_alt-UTF8 off"
+ "tr_f-latin5 tr_f-latin5 off"
+ "tr_q-latin5 tr_q-latin5 off"
+ "tralt tralt off"
+ "trf trf off"
+ "trf-fgGIod trf-fgGIod off"
+ "trq trq off"
+ "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off"
+ "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off"
+ "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off"
+ "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off"
+ "ua ua off"
+ "ua-cp1251 ua-cp1251 off"
+ "ua-utf ua-utf off"
+ "ua-utf-ws ua-utf-ws off"
+ "ua-ws ua-ws off"
+ "uk uk off"
+ "unicode unicode off"
+ "us us on"
+ "us-acentos us-acentos off"
+ "wangbe wangbe off"
+ "wangbe2 wangbe2 off"
+ "windowkeys windowkeys off"
+)
+
+echo "KEYMAP=$(dialog --stdout --radiolist "Select Keymap" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf
+
+aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen)
+index=0
+for i in $aux; do
+ i=$(echo $i | sed -e 's/#/ /g')
+ locales+=("$i" "$i" off)
+ if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then
+ locales[$index]="$i"
+ locales[$((index+1))]="$i"
+ locales[$((index+2))]="on"
+ fi
+ index=$((index+3))
+done
+
+locale=$(dialog --stdout --checklist "Select Locales" 20 70 50 "${locales[@]}")
+locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g')
+
+for i in ${locale[@]}; do
+ i=$(echo $i | sed -e 's/#/ /g')
+ sed -i -e "s/#$i/$i/g" /etc/locale.gen
+done
+
+locale-gen
+
+aux=$(locale -a)
+index=0
+for i in $aux; do
+ langs+=("$i" "$i" on)
+ index=$((index+1))
+done
+
+echo "LANG=$(dialog --stdout --radiolist "Select your language" 20 70 50 ${langs[@]})" > /etc/locale.conf
+
+mkinitcpio -p linux-libre
+
+hdd=$(cat /temporal | grep 'hdd=')
+grub-install ${hdd#*=}
+grub-mkconfig -o /boot/grub/grub.cfg
+
+password=$(dialog --stdout --passwordbox "Insert root password" 8 40)
+
+while [[ $password != $password2 ]]; do
+ password2=$(dialog --stdout --passwordbox "Repite root password" 8 40)
+done
+
+usermod -p $(openssl passwd ${password}) root
+
+exit
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh
new file mode 100755
index 0000000..a9551d8
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/en/userAccount.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+user=$(cat /temporal | grep "userName")
+
+password=$(dialog --stdout --passwordbox "Insert ${user#*=} password" 8 40)
+
+while [[ $password != $password2 ]]; do
+ password2=$(dialog --stdout --passwordbox "Reply password" 8 40)
+done
+
+useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=}
+
+exit
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/install.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/install.sh
new file mode 100755
index 0000000..8d47f10
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/install.sh
@@ -0,0 +1,217 @@
+#!/bin/bash
+#Temporal is a file that contains parameters to use when access to chroot
+
+pacman -Sy parabola-keyring --noconfirm
+pacman-key --populate parabola
+pacman-key --refresh-keys
+
+partition(){
+
+ #Search and show the Hard Disks to select
+ aux=$(ls /dev/sd?)
+ index=0
+ for i in $aux; do
+ hdds[$index]="${i} ${i#/*/} off"
+ index=$((index+1))
+ done
+
+ hdd=$(dialog --stdout --radiolist "Selecciona Disco Duro" 20 70 50 ${hdds[@]})
+
+ #If exist the line delete
+ if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null
+ then
+ sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal
+ fi
+
+ #And add the new line with new parameter
+ echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal
+
+ selection=$(dialog --stdout --menu "Metodo de Particionado" 20 70 50 \
+ 1 "Usar todo el disco con swap (1GB) and /" \
+ 2 "Usar gparted para personalizar" )
+
+ case $selection in
+ 1)
+ umount /mnt &> /dev/null
+ #Create msdos partition table
+ parted -s $hdd -- mklabel msdos
+
+ #Create partition swap and /
+ parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s
+
+ #Boot option partition /
+ parted -s $hdd -- set 2 boot on
+
+ #Format and partitions and mount /
+ (echo t; echo 1; echo 82; echo w) | fdisk $hdd
+ mkswap ${hdd}1
+ mkfs.ext4 ${hdd}2
+ mount ${hdd}2 /mnt
+ ;;
+ 2)
+ gparted $hdd
+
+ #Search and show the partitions that select before.
+ aux=$(ls $hdd?)
+ index=0;
+ for i in $aux; do
+ partitions[$index]="${i} ${i#/*/} off"
+ index=$((index+1))
+ done
+
+ partition=$(dialog --stdout --radiolist "Montar particion /" 20 70 50 ${partitions[@]})
+
+ #Mount partition /
+ umount /mnt &> /dev/null
+ mount $partition /mnt
+
+ #Ask if you want mount other partitions
+ other=0
+ while [ $other != 3 ]; do
+ other=$(dialog --stdout --menu "¿Montar otra particion?" 20 70 50 1 "/home" 2 "/boot" 3 "No")
+
+ case $other in
+ 1)
+ umount /mnt/home &> /dev/null
+ mkdir /mnt/home &> /dev/null
+ mount $(dialog --stdout --radiolist "Montar particion /home" 20 70 50 ${partitions[@]}) /mnt/home
+ ;;
+ 2)
+ umount /mnt/boot &> /dev/null
+ mkdir /mnt/boot &> /dev/null
+ mount $(dialog --stdout --radiolist "Mount particion /boot" 20 70 50 ${partitions[@]}) /mnt/boot
+ ;;
+ *)
+ other=3
+ ;;
+ esac
+ done
+ ;;
+ esac
+}
+
+
+option=0
+while [ option != 7 ]; do
+ option=$(dialog --stdout --menu "Instalación CLI de Parabola" 20 70 50 \
+ 1 "Formatear y Montar Particiones" \
+ 2 "Instalar Sistema Base" \
+ 3 "Instalar GRUB" \
+ 4 "Configuración del Sistema" \
+ 5 "Crear Cuenta de Usuario" \
+ 6 "(Opcional) Instalar Escritorio/Aplicaciones del Live DVD" \
+ 7 "Salir" )
+
+ case $option in
+ 1)
+ partition
+ ;;
+ 2)
+ #Install base system
+ pacstrap /mnt base-openrc dbus-elogind
+ pacstrap /mnt dialog
+ ;;
+ 3)
+ #Install grub
+ pacstrap /mnt grub
+ ;;
+ 4)
+ #Generate fstab and acces to chroot to do System Config
+ genfstab -p /mnt >> /mnt/etc/fstab
+ cp ~/.scriptsInstallation/temporal /mnt
+ cp ~/.scriptsInstallation/systemConfig.sh /mnt
+ chmod +x /mnt/systemConfig.sh
+ arch-chroot /mnt /systemConfig.sh
+ rm -r /mnt/systemConfig.sh
+ ;;
+ 5)
+ #Create a new username and save in temporal, to use after
+ if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null
+ then
+ sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal
+ fi
+
+ echo "userName=$(dialog --stdout --inputbox "Introduce nombre de usuario" 8 40)" >> ~/.scriptsInstallation/temporal
+ cp ~/.scriptsInstallation/temporal /mnt
+ cp ~/.scriptsInstallation/userAccount.sh /mnt
+ chmod +x /mnt/userAccount.sh
+ arch-chroot /mnt /userAccount.sh
+ rm -r /mnt/userAccount.sh
+ ;;
+ 6)
+ #Packages to the X11 live
+ packages=( "xorg-server"
+ "xf86-input-evdev"
+ "xf86-input-synaptics"
+ "xf86-video-ati"
+ "xf86-video-dummy"
+ "xf86-video-fbdev"
+ "xf86-video-intel"
+ "xf86-video-nouveau"
+ "xf86-video-openchrome"
+ "xf86-video-sisusb"
+ "xf86-video-vesa"
+ "xf86-video-vmware"
+ "xf86-video-voodoo"
+ "xf86-video-qxl"
+ "xorg-xinit"
+ "gst-plugins-good"
+ "gst-libav"
+ "mate"
+ "mate-applets"
+ "mate-terminal"
+ "caja"
+ "volumeicon"
+ "zenity"
+ "octopi"
+ "pulseaudio-alsa"
+ "alsa-utils"
+ "networkmanager"
+ "network-manager-applet"
+ "ath9k-htc-firmware"
+ "iceweasel"
+ "icedove"
+ "pidgin"
+ "gparted"
+ "smplayer"
+ "epdfview"
+ "gpicview"
+ "abiword"
+ "gnumeric"
+ "leafpad"
+ "galculator-gtk2"
+ "xarchiver"
+ "openrc-desktop"
+ )
+
+ #Install packages
+ pacstrap /mnt ${packages[@]}
+ user=$(cat ~/.scriptsInstallation/temporal | grep "userName" )
+
+ #Copie skel in the new system and desktop's background
+ cp -a /etc/skel/ /mnt/etc/
+ cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png
+
+ #Puts the XKBMAP, start X11 automatically and icewm desktop
+ echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc
+ echo "exec mate-session" >> /mnt/etc/skel/.xinitrc
+ echo "startx" >> /mnt/etc/skel/.bash_profile
+ chmod +x /mnt/etc/skel/.xinitrc
+ cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/
+ cp -a ~/.scriptsInstallation/x11.sh /mnt
+
+ #Enable services with OpenRC
+ chmod +x /mnt/x11.sh
+ arch-chroot /mnt /x11.sh
+ rm /mnt/x11.sh
+ ;;
+ *)
+ #Delete temporal file and umount partitions
+ rm -r /mnt/temporal
+ umount /mnt/boot &> /dev/null
+ umount /mnt/home &> /dev/null
+ umount /mnt &> /dev/null
+ exit
+ ;;
+ esac
+done
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh
new file mode 100755
index 0000000..13e245b
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/systemConfig.sh
@@ -0,0 +1,271 @@
+#!/bin/bash
+
+HOSTNAME=$(echo "$(dialog --stdout --inputbox "Introduce el nombre del sistema:" 8 40)")
+sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname
+
+ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Introduce la Zona Horaria:\nPor ejemplo: Europe/Athens" 8 40) /etc/localtime
+
+keymaps=(
+ "ANSI-dvorak ANSI-dvorak off"
+ "amiga-de amiga-de off"
+ "amiga-us amiga-us off"
+ "applkey applkey off"
+ "atari-de atari-de off"
+ "atari-se atari-se off"
+ "atari-uk-falcon atari-uk-falcon off"
+ "atari-us atari-us off"
+ "azerty azerty off"
+ "backspace backspace off"
+ "bashkir bashkir off"
+ "be-latin1 be-latin1 off"
+ "bg-cp1251 bg-cp1251 off"
+ "bg-cp855 bg-cp855 off"
+ "bg_bds-cp1251 bg_bds-cp1251 off"
+ "bg_bds-utf8 bg_bds-utf8 off"
+ "bg_pho-cp1251 bg_pho-cp1251 off"
+ "bg_pho-utf8 bg_pho-utf8 off"
+ "br-abnt br-abnt off"
+ "br-abnt2 br-abnt2 off"
+ "br-latin1-abnt2 br-latin1-abnt2 off"
+ "br-latin1-us br-latin1-us off"
+ "by by off"
+ "by-cp1251 by-cp1251 off"
+ "bywin-cp1251 bywin-cp1251 off"
+ "cf cf off"
+ "colemak colemak off"
+ "croat croat off"
+ "ctrl ctrl off"
+ "cz cz off"
+ "cz-cp1250 cz-cp1250 off"
+ "cz-lat2 cz-lat2 off"
+ "cz-lat2-prog cz-lat2-prog off"
+ "cz-qwertz cz-qwertz off"
+ "cz-us-qwertz cz-us-qwertz off"
+ "de de off"
+ "de-latin1 de-latin1 off"
+ "de-latin1-nodeadkeys de-latin1-nodeadkeys off"
+ "de-mobii de-mobii off"
+ "de_CH-latin1 de_CH-latin1 off"
+ "de_alt_UTF-8 de_alt_UTF-8 off"
+ "defkeymap defkeymap off"
+ "defkeymap_V1.0 defkeymap_V1.0 off"
+ "dk dk off"
+ "dk-latin1 dk-latin1 off"
+ "dvorak dvorak off"
+ "dvorak-ca-fr dvorak-ca-fr off"
+ "dvorak-es dvorak-es off"
+ "dvorak-fr dvorak-fr off"
+ "dvorak-l dvorak-l off"
+ "dvorak-r dvorak-r off"
+ "dvorak-ru dvorak-ru off"
+ "dvorak-sv-a1 dvorak-sv-a1 off"
+ "dvorak-sv-a5 dvorak-sv-a5 off"
+ "dvorak-uk dvorak-uk off"
+ "emacs emacs off"
+ "emacs2 emacs2 off"
+ "es es off"
+ "es-cp850 es-cp850 off"
+ "es-olpc es-olpc off"
+ "et et off"
+ "et-nodeadkeys et-nodeadkeys off"
+ "euro euro off"
+ "euro1 euro1 off"
+ "euro2 euro2 off"
+ "fi fi off"
+ "fr fr off"
+ "fr-bepo fr-bepo off"
+ "fr-bepo-latin9 fr-bepo-latin9 off"
+ "fr-latin1 fr-latin1 off"
+ "fr-latin9 fr-latin9 off"
+ "fr-pc fr-pc off"
+ "fr_CH fr_CH off"
+ "fr_CH-latin1 fr_CH-latin1 off"
+ "gr gr off"
+ "gr-pc gr-pc off"
+ "hu hu off"
+ "hu101 hu101 off"
+ "il il off"
+ "il-heb il-heb off"
+ "il-phonetic il-phonetic off"
+ "is-latin1 is-latin1 off"
+ "is-latin1-us is-latin1-us off"
+ "it it off"
+ "it-ibm it-ibm off"
+ "it2 it2 off"
+ "jp106 jp106 off"
+ "kazakh kazakh off"
+ "keypad keypad off"
+ "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off"
+ "kyrgyz kyrgyz off"
+ "la-latin1 la-latin1 off"
+ "lt lt off"
+ "lt.baltic lt.baltic off"
+ "lt.l4 lt.l4 off"
+ "lv lv off"
+ "lv-tilde lv-tilde off"
+ "mac-be mac-be off"
+ "mac-de-latin1 mac-de-latin1 off"
+ "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off"
+ "mac-de_CH mac-de_CH off"
+ "mac-dk-latin1 mac-dk-latin1 off"
+ "mac-dvorak mac-dvorak off"
+ "mac-es mac-es off"
+ "mac-euro mac-euro off"
+ "mac-euro2 mac-euro2 off"
+ "mac-fi-latin1 mac-fi-latin1 off"
+ "mac-fr mac-fr off"
+ "mac-fr_CH-latin1 mac-fr_CH-latin1 off"
+ "mac-it mac-it off"
+ "mac-pl mac-pl off"
+ "mac-pt-latin1 mac-pt-latin1 off"
+ "mac-se mac-se off"
+ "mac-template mac-template off"
+ "mac-uk mac-uk off"
+ "mac-us mac-us off"
+ "mk mk off"
+ "mk-cp1251 mk-cp1251 off"
+ "mk-utf mk-utf off"
+ "mk0 mk0 off"
+ "nl nl off"
+ "nl2 nl2 off"
+ "no no off"
+ "no-dvorak no-dvorak off"
+ "no-latin1 no-latin1 off"
+ "pc110 pc110 off"
+ "pl pl off"
+ "pl1 pl1 off"
+ "pl2 pl2 off"
+ "pl3 pl3 off"
+ "pl4 pl4 off"
+ "pt-latin1 pt-latin1 off"
+ "pt-latin9 pt-latin9 off"
+ "pt-olpc pt-olpc off"
+ "ro ro off"
+ "ro_std ro_std off"
+ "ro_win ro_win off"
+ "ru ru off"
+ "ru-cp1251 ru-cp1251 off"
+ "ru-ms ru-ms off"
+ "ru-yawerty ru-yawerty off"
+ "ru1 ru1 off"
+ "ru2 ru2 off"
+ "ru3 ru3 off"
+ "ru4 ru4 off"
+ "ru_win ru_win off"
+ "ruwin_alt-CP1251 ruwin_alt-CP1251 off"
+ "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off"
+ "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off"
+ "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off"
+ "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off"
+ "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off"
+ "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off"
+ "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off"
+ "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off"
+ "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off"
+ "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off"
+ "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off"
+ "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off"
+ "se-fi-ir209 se-fi-ir209 off"
+ "se-fi-lat6 se-fi-lat6 off"
+ "se-ir209 se-ir209 off"
+ "se-lat6 se-lat6 off"
+ "sg sg off"
+ "sg-latin1 sg-latin1 off"
+ "sg-latin1-lk450 sg-latin1-lk450 off"
+ "sk-prog-qwerty sk-prog-qwerty off"
+ "sk-prog-qwertz sk-prog-qwertz off"
+ "sk-qwerty sk-qwerty off"
+ "sk-qwertz sk-qwertz off"
+ "slovene slovene off"
+ "sr-cy sr-cy off"
+ "sun-pl sun-pl off"
+ "sun-pl-altgraph sun-pl-altgraph off"
+ "sundvorak sundvorak off"
+ "sunkeymap sunkeymap off"
+ "sunt4-es sunt4-es off"
+ "sunt4-fi-latin1 sunt4-fi-latin1 off"
+ "sunt4-no-latin1 sunt4-no-latin1 off"
+ "sunt5-cz-us sunt5-cz-us off"
+ "sunt5-de-latin1 sunt5-de-latin1 off"
+ "sunt5-es sunt5-es off"
+ "sunt5-fi-latin1 sunt5-fi-latin1 off"
+ "sunt5-fr-latin1 sunt5-fr-latin1 off"
+ "sunt5-ru sunt5-ru off"
+ "sunt5-uk sunt5-uk off"
+ "sunt5-us-cz sunt5-us-cz off"
+ "sunt6-uk sunt6-uk off"
+ "sv-latin1 sv-latin1 off"
+ "tj_alt-UTF8 tj_alt-UTF8 off"
+ "tr_f-latin5 tr_f-latin5 off"
+ "tr_q-latin5 tr_q-latin5 off"
+ "tralt tralt off"
+ "trf trf off"
+ "trf-fgGIod trf-fgGIod off"
+ "trq trq off"
+ "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off"
+ "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off"
+ "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off"
+ "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off"
+ "ua ua off"
+ "ua-cp1251 ua-cp1251 off"
+ "ua-utf ua-utf off"
+ "ua-utf-ws ua-utf-ws off"
+ "ua-ws ua-ws off"
+ "uk uk off"
+ "unicode unicode off"
+ "us us on"
+ "us-acentos us-acentos off"
+ "wangbe wangbe off"
+ "wangbe2 wangbe2 off"
+ "windowkeys windowkeys off"
+)
+
+echo "KEYMAP=$(dialog --stdout --radiolist "Selecciona la distribucion del teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf
+
+aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen)
+index=0
+for i in $aux; do
+ i=$(echo $i | sed -e 's/#/ /g')
+ locales+=("$i" "$i" off)
+ if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then
+ locales[$index]="$i"
+ locales[$((index+1))]="$i"
+ locales[$((index+2))]="on"
+ fi
+ index=$((index+3))
+done
+
+locale=$(dialog --stdout --checklist "Selecciona las Localizaciones" 20 70 50 "${locales[@]}")
+locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g')
+
+for i in ${locale[@]}; do
+ i=$(echo $i | sed -e 's/#/ /g')
+ sed -i -e "s/#$i/$i/g" /etc/locale.gen
+done
+
+locale-gen
+
+aux=$(locale -a)
+index=0
+for i in $aux; do
+ langs+=("$i" "$i" on)
+ index=$((index+1))
+done
+
+echo "LANG=$(dialog --stdout --radiolist "Selecciona tu idioma" 20 70 50 ${langs[@]})" > /etc/locale.conf
+
+mkinitcpio -p linux-libre
+
+hdd=$(cat /temporal | grep 'hdd=')
+grub-install ${hdd#*=}
+grub-mkconfig -o /boot/grub/grub.cfg
+
+password=$(dialog --stdout --passwordbox "Inserta la contraseña para el administrador" 8 40)
+
+while [[ $password != $password2 ]]; do
+ password2=$(dialog --stdout --passwordbox "Repite la contraseña para el administrador" 8 40)
+done
+
+usermod -p $(openssl passwd ${password}) root
+
+exit
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh
new file mode 100755
index 0000000..4ed7437
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/es/userAccount.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+user=$(cat /temporal | grep "userName")
+
+password=$(dialog --stdout --passwordbox "Introduce la contraseñara para el usuario ${user#*=}" 8 40)
+
+while [[ $password != $password2 ]]; do
+ password2=$(dialog --stdout --passwordbox "Repite la contraseña" 8 40)
+done
+
+useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=}
+
+exit
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh
new file mode 100755
index 0000000..a2c1caf
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/install.sh
@@ -0,0 +1,216 @@
+#!/bin/bash
+#Temporal is a file that contains parameters to use when access to chroot
+
+pacman -Sy parabola-keyring --noconfirm
+pacman-key --populate parabola
+pacman-key --refresh-keys
+
+partition(){
+
+ #Search and show the Hard Disks to select
+ aux=$(ls /dev/sd?)
+ index=0
+ for i in $aux; do
+ hdds[$index]="${i} ${i#/*/} off"
+ index=$((index+1))
+ done
+
+ hdd=$(dialog --stdout --radiolist "Selecciona Disco Duro" 20 70 50 ${hdds[@]})
+
+ #If exist the line delete
+ if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null
+ then
+ sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal
+ fi
+
+ #And add the new line with new parameter
+ echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal
+ selection=$(dialog --stdout --menu "Metodo de Particionado" 20 70 50 \
+ 1 "Usar todo o disco con swap (1GB) and /" \
+ 2 "Usar gparted para personalizar" )
+
+ case $selection in
+ 1)
+ umount /mnt &> /dev/null
+ #Create msdos partition table
+ parted -s $hdd -- mklabel msdos
+
+ #Create partition swap and /
+ parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s
+
+ #Boot option partition /
+ parted -s $hdd -- set 2 boot on
+
+ #Format and partitions and mount /
+ (echo t; echo 1; echo 82; echo w) | fdisk $hdd
+ mkswap ${hdd}1
+ mkfs.ext4 ${hdd}2
+ mount ${hdd}2 /mnt
+ ;;
+ 2)
+ gparted $hdd
+
+ #Search and show the partitions that select before.
+ aux=$(ls $hdd?)
+ index=0;
+ for i in $aux; do
+ partitions[$index]="${i} ${i#/*/} off"
+ index=$((index+1))
+ done
+
+ partition=$(dialog --stdout --radiolist "Montar particion /" 20 70 50 ${partitions[@]})
+
+ #Mount partition /
+ umount /mnt &> /dev/null
+ mount $partition /mnt
+
+ #Ask if you want mount other partitions
+ other=0
+ while [ $other != 3 ]; do
+ other=$(dialog --stdout --menu "¿Montar outra particion?" 20 70 50 1 "/home" 2 "/boot" 3 "No")
+
+ case $other in
+ 1)
+ umount /mnt/home &> /dev/null
+ mkdir /mnt/home &> /dev/null
+ mount $(dialog --stdout --radiolist "Montar particion /home" 20 70 50 ${partitions[@]}) /mnt/home
+ ;;
+ 2)
+ umount /mnt/boot &> /dev/null
+ mkdir /mnt/boot &> /dev/null
+ mount $(dialog --stdout --radiolist "Mount particion /boot" 20 70 50 ${partitions[@]}) /mnt/boot
+ ;;
+ *)
+ other=3
+ ;;
+ esac
+ done
+ ;;
+ esac
+}
+
+
+option=0
+while [ option != 7 ]; do
+ option=$(dialog --stdout --menu "Instalación CLI de Parabola" 20 70 50 \
+ 1 "Formatear e Montar Particiones" \
+ 2 "Instalar Sistema Base" \
+ 3 "Instalar GRUB" \
+ 4 "Configuración do Sistema" \
+ 5 "Crear Conta de Usuario" \
+ 6 "(Opcional) Instalar Escritorio/Aplicaciones de Live DVD" \
+ 7 "Salir" )
+
+ case $option in
+ 1)
+ partition
+ ;;
+ 2)
+ #Install base system
+ pacstrap /mnt base-openrc dbus-elogind
+ pacstrap /mnt dialog
+ ;;
+ 3)
+ #Install grub
+ pacstrap /mnt grub
+ ;;
+ 4)
+ #Generate fstab and acces to chroot to do System Config
+ genfstab -p /mnt >> /mnt/etc/fstab
+ cp ~/.scriptsInstallation/temporal /mnt
+ cp ~/.scriptsInstallation/systemConfig.sh /mnt
+ chmod +x /mnt/systemConfig.sh
+ arch-chroot /mnt /systemConfig.sh
+ rm -r /mnt/systemConfig.sh
+ ;;
+ 5)
+ #Create a new username and save in temporal, to use after
+ if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null
+ then
+ sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal
+ fi
+
+ echo "userName=$(dialog --stdout --inputbox "Introduce un nome de usuario" 8 40)" >> ~/.scriptsInstallation/temporal
+ cp ~/.scriptsInstallation/temporal /mnt
+ cp ~/.scriptsInstallation/userAccount.sh /mnt
+ chmod +x /mnt/userAccount.sh
+ arch-chroot /mnt /userAccount.sh
+ rm -r /mnt/userAccount.sh
+ ;;
+ 6)
+ #Packages to the X11 live
+ packages=( "xorg-server"
+ "xf86-input-evdev"
+ "xf86-input-synaptics"
+ "xf86-video-ati"
+ "xf86-video-dummy"
+ "xf86-video-fbdev"
+ "xf86-video-intel"
+ "xf86-video-nouveau"
+ "xf86-video-openchrome"
+ "xf86-video-sisusb"
+ "xf86-video-vesa"
+ "xf86-video-vmware"
+ "xf86-video-voodoo"
+ "xf86-video-qxl"
+ "xorg-xinit"
+ "gst-plugins-good"
+ "gst-libav"
+ "mate"
+ "mate-applets"
+ "mate-terminal"
+ "caja"
+ "volumeicon"
+ "zenity"
+ "octopi"
+ "pulseaudio-alsa"
+ "alsa-utils"
+ "networkmanager"
+ "network-manager-applet"
+ "ath9k-htc-firmware"
+ "iceweasel"
+ "icedove"
+ "pidgin"
+ "gparted"
+ "smplayer"
+ "epdfview"
+ "gpicview"
+ "abiword"
+ "gnumeric"
+ "leafpad"
+ "galculator-gtk2"
+ "xarchiver"
+ "openrc-desktop"
+ )
+
+ #Install packages
+ pacstrap /mnt ${packages[@]}
+ user=$(cat ~/.scriptsInstallation/temporal | grep "userName" )
+
+ #Copie skel in the new system and desktop's background
+ cp -a /etc/skel/ /mnt/etc/
+ cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png
+
+ #Puts the XKBMAP, start X11 automatically and icewm desktop
+ echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc
+ echo "exec mate-session" >> /mnt/etc/skel/.xinitrc
+ echo "startx" >> /mnt/etc/skel/.bash_profile
+ chmod +x /mnt/etc/skel/.xinitrc
+ cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/
+ cp -a ~/.scriptsInstallation/x11.sh /mnt
+
+ #Enable services with OpenRC
+ chmod +x /mnt/x11.sh
+ arch-chroot /mnt /x11.sh
+ rm /mnt/x11.sh
+ ;;
+ *)
+ #Delete temporal file and umount partitions
+ rm -r /mnt/temporal
+ umount /mnt/boot &> /dev/null
+ umount /mnt/home &> /dev/null
+ umount /mnt &> /dev/null
+ exit
+ ;;
+ esac
+done
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh
new file mode 100755
index 0000000..14836e6
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/systemConfig.sh
@@ -0,0 +1,271 @@
+#!/bin/bash
+
+HOSTNAME=$( "$(dialog --stdout --inputbox "Introduce o nome do sistema:" 8 40)")
+sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname
+
+ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Introduce a Zona Horaria:\nPor ejemplo: Europe/Athens" 8 40) /etc/localtime
+
+keymaps=(
+ "ANSI-dvorak ANSI-dvorak off"
+ "amiga-de amiga-de off"
+ "amiga-us amiga-us off"
+ "applkey applkey off"
+ "atari-de atari-de off"
+ "atari-se atari-se off"
+ "atari-uk-falcon atari-uk-falcon off"
+ "atari-us atari-us off"
+ "azerty azerty off"
+ "backspace backspace off"
+ "bashkir bashkir off"
+ "be-latin1 be-latin1 off"
+ "bg-cp1251 bg-cp1251 off"
+ "bg-cp855 bg-cp855 off"
+ "bg_bds-cp1251 bg_bds-cp1251 off"
+ "bg_bds-utf8 bg_bds-utf8 off"
+ "bg_pho-cp1251 bg_pho-cp1251 off"
+ "bg_pho-utf8 bg_pho-utf8 off"
+ "br-abnt br-abnt off"
+ "br-abnt2 br-abnt2 off"
+ "br-latin1-abnt2 br-latin1-abnt2 off"
+ "br-latin1-us br-latin1-us off"
+ "by by off"
+ "by-cp1251 by-cp1251 off"
+ "bywin-cp1251 bywin-cp1251 off"
+ "cf cf off"
+ "colemak colemak off"
+ "croat croat off"
+ "ctrl ctrl off"
+ "cz cz off"
+ "cz-cp1250 cz-cp1250 off"
+ "cz-lat2 cz-lat2 off"
+ "cz-lat2-prog cz-lat2-prog off"
+ "cz-qwertz cz-qwertz off"
+ "cz-us-qwertz cz-us-qwertz off"
+ "de de off"
+ "de-latin1 de-latin1 off"
+ "de-latin1-nodeadkeys de-latin1-nodeadkeys off"
+ "de-mobii de-mobii off"
+ "de_CH-latin1 de_CH-latin1 off"
+ "de_alt_UTF-8 de_alt_UTF-8 off"
+ "defkeymap defkeymap off"
+ "defkeymap_V1.0 defkeymap_V1.0 off"
+ "dk dk off"
+ "dk-latin1 dk-latin1 off"
+ "dvorak dvorak off"
+ "dvorak-ca-fr dvorak-ca-fr off"
+ "dvorak-es dvorak-es off"
+ "dvorak-fr dvorak-fr off"
+ "dvorak-l dvorak-l off"
+ "dvorak-r dvorak-r off"
+ "dvorak-ru dvorak-ru off"
+ "dvorak-sv-a1 dvorak-sv-a1 off"
+ "dvorak-sv-a5 dvorak-sv-a5 off"
+ "dvorak-uk dvorak-uk off"
+ "emacs emacs off"
+ "emacs2 emacs2 off"
+ "es es off"
+ "es-cp850 es-cp850 off"
+ "es-olpc es-olpc off"
+ "et et off"
+ "et-nodeadkeys et-nodeadkeys off"
+ "euro euro off"
+ "euro1 euro1 off"
+ "euro2 euro2 off"
+ "fi fi off"
+ "fr fr off"
+ "fr-bepo fr-bepo off"
+ "fr-bepo-latin9 fr-bepo-latin9 off"
+ "fr-latin1 fr-latin1 off"
+ "fr-latin9 fr-latin9 off"
+ "fr-pc fr-pc off"
+ "fr_CH fr_CH off"
+ "fr_CH-latin1 fr_CH-latin1 off"
+ "gr gr off"
+ "gr-pc gr-pc off"
+ "hu hu off"
+ "hu101 hu101 off"
+ "il il off"
+ "il-heb il-heb off"
+ "il-phonetic il-phonetic off"
+ "is-latin1 is-latin1 off"
+ "is-latin1-us is-latin1-us off"
+ "it it off"
+ "it-ibm it-ibm off"
+ "it2 it2 off"
+ "jp106 jp106 off"
+ "kazakh kazakh off"
+ "keypad keypad off"
+ "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off"
+ "kyrgyz kyrgyz off"
+ "la-latin1 la-latin1 off"
+ "lt lt off"
+ "lt.baltic lt.baltic off"
+ "lt.l4 lt.l4 off"
+ "lv lv off"
+ "lv-tilde lv-tilde off"
+ "mac-be mac-be off"
+ "mac-de-latin1 mac-de-latin1 off"
+ "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off"
+ "mac-de_CH mac-de_CH off"
+ "mac-dk-latin1 mac-dk-latin1 off"
+ "mac-dvorak mac-dvorak off"
+ "mac-es mac-es off"
+ "mac-euro mac-euro off"
+ "mac-euro2 mac-euro2 off"
+ "mac-fi-latin1 mac-fi-latin1 off"
+ "mac-fr mac-fr off"
+ "mac-fr_CH-latin1 mac-fr_CH-latin1 off"
+ "mac-it mac-it off"
+ "mac-pl mac-pl off"
+ "mac-pt-latin1 mac-pt-latin1 off"
+ "mac-se mac-se off"
+ "mac-template mac-template off"
+ "mac-uk mac-uk off"
+ "mac-us mac-us off"
+ "mk mk off"
+ "mk-cp1251 mk-cp1251 off"
+ "mk-utf mk-utf off"
+ "mk0 mk0 off"
+ "nl nl off"
+ "nl2 nl2 off"
+ "no no off"
+ "no-dvorak no-dvorak off"
+ "no-latin1 no-latin1 off"
+ "pc110 pc110 off"
+ "pl pl off"
+ "pl1 pl1 off"
+ "pl2 pl2 off"
+ "pl3 pl3 off"
+ "pl4 pl4 off"
+ "pt-latin1 pt-latin1 off"
+ "pt-latin9 pt-latin9 off"
+ "pt-olpc pt-olpc off"
+ "ro ro off"
+ "ro_std ro_std off"
+ "ro_win ro_win off"
+ "ru ru off"
+ "ru-cp1251 ru-cp1251 off"
+ "ru-ms ru-ms off"
+ "ru-yawerty ru-yawerty off"
+ "ru1 ru1 off"
+ "ru2 ru2 off"
+ "ru3 ru3 off"
+ "ru4 ru4 off"
+ "ru_win ru_win off"
+ "ruwin_alt-CP1251 ruwin_alt-CP1251 off"
+ "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off"
+ "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off"
+ "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off"
+ "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off"
+ "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off"
+ "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off"
+ "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off"
+ "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off"
+ "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off"
+ "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off"
+ "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off"
+ "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off"
+ "se-fi-ir209 se-fi-ir209 off"
+ "se-fi-lat6 se-fi-lat6 off"
+ "se-ir209 se-ir209 off"
+ "se-lat6 se-lat6 off"
+ "sg sg off"
+ "sg-latin1 sg-latin1 off"
+ "sg-latin1-lk450 sg-latin1-lk450 off"
+ "sk-prog-qwerty sk-prog-qwerty off"
+ "sk-prog-qwertz sk-prog-qwertz off"
+ "sk-qwerty sk-qwerty off"
+ "sk-qwertz sk-qwertz off"
+ "slovene slovene off"
+ "sr-cy sr-cy off"
+ "sun-pl sun-pl off"
+ "sun-pl-altgraph sun-pl-altgraph off"
+ "sundvorak sundvorak off"
+ "sunkeymap sunkeymap off"
+ "sunt4-es sunt4-es off"
+ "sunt4-fi-latin1 sunt4-fi-latin1 off"
+ "sunt4-no-latin1 sunt4-no-latin1 off"
+ "sunt5-cz-us sunt5-cz-us off"
+ "sunt5-de-latin1 sunt5-de-latin1 off"
+ "sunt5-es sunt5-es off"
+ "sunt5-fi-latin1 sunt5-fi-latin1 off"
+ "sunt5-fr-latin1 sunt5-fr-latin1 off"
+ "sunt5-ru sunt5-ru off"
+ "sunt5-uk sunt5-uk off"
+ "sunt5-us-cz sunt5-us-cz off"
+ "sunt6-uk sunt6-uk off"
+ "sv-latin1 sv-latin1 off"
+ "tj_alt-UTF8 tj_alt-UTF8 off"
+ "tr_f-latin5 tr_f-latin5 off"
+ "tr_q-latin5 tr_q-latin5 off"
+ "tralt tralt off"
+ "trf trf off"
+ "trf-fgGIod trf-fgGIod off"
+ "trq trq off"
+ "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off"
+ "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off"
+ "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off"
+ "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off"
+ "ua ua off"
+ "ua-cp1251 ua-cp1251 off"
+ "ua-utf ua-utf off"
+ "ua-utf-ws ua-utf-ws off"
+ "ua-ws ua-ws off"
+ "uk uk off"
+ "unicode unicode off"
+ "us us on"
+ "us-acentos us-acentos off"
+ "wangbe wangbe off"
+ "wangbe2 wangbe2 off"
+ "windowkeys windowkeys off"
+)
+
+echo "KEYMAP=$(dialog --stdout --radiolist "Selecciona a distribucion do teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf
+
+aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen)
+index=0
+for i in $aux; do
+ i=$(echo $i | sed -e 's/#/ /g')
+ locales+=("$i" "$i" off)
+ if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then
+ locales[$index]="$i"
+ locales[$((index+1))]="$i"
+ locales[$((index+2))]="on"
+ fi
+ index=$((index+3))
+done
+
+locale=$(dialog --stdout --checklist "Selecciona as Localizacions" 20 70 50 "${locales[@]}")
+locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g')
+
+for i in ${locale[@]}; do
+ i=$(echo $i | sed -e 's/#/ /g')
+ sed -i -e "s/#$i/$i/g" /etc/locale.gen
+done
+
+locale-gen
+
+aux=$(locale -a)
+index=0
+for i in $aux; do
+ langs+=("$i" "$i" on)
+ index=$((index+1))
+done
+
+echo "LANG=$(dialog --stdout --radiolist "Selecciona o teu idioma" 20 70 50 ${langs[@]})" > /etc/locale.conf
+
+mkinitcpio -p linux-libre
+
+hdd=$(cat /temporal | grep 'hdd=')
+grub-install ${hdd#*=}
+grub-mkconfig -o /boot/grub/grub.cfg
+
+password=$(dialog --stdout --passwordbox "Insire o contrasinal para o administrador" 8 40)
+
+while [[ $password != $password2 ]]; do
+ password2=$(dialog --stdout --passwordbox "Repite o contrasinal para o administrador" 8 40)
+done
+
+usermod -p $(openssl passwd ${password}) root
+
+exit
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh
new file mode 100755
index 0000000..aa1d33a
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/gl/userAccount.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+user=$(cat /temporal | grep "userName")
+
+password=$(dialog --stdout --passwordbox "Introduce o contrasinal para o usuario ${user#*=}" 8 40)
+
+while [[ $password != $password2 ]]; do
+ password2=$(dialog --stdout --passwordbox "Repite o contrasinal" 8 40)
+done
+
+useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=}
+
+exit
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh
new file mode 100755
index 0000000..0474fac
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/install.sh
@@ -0,0 +1,217 @@
+#!/bin/bash
+#Temporal is a file that contains parameters to use when access to chroot
+
+pacman -Sy parabola-keyring --noconfirm
+pacman-key --populate parabola
+pacman-key --refresh-keys
+
+partition(){
+
+ #Search and show the Hard Disks to select
+ aux=$(ls /dev/sd?)
+ index=0
+ for i in $aux; do
+ hdds[$index]="${i} ${i#/*/} off"
+ index=$((index+1))
+ done
+
+ hdd=$(dialog --stdout --radiolist "Escolha o Disco" 20 70 50 ${hdds[@]})
+
+ #If exist the line delete
+ if (cat ~/.scriptsInstallation/temporal | grep "hdd=") &>/dev/null
+ then
+ sed -i -e '/hdd=*/d' ~/.scriptsInstallation/temporal
+ fi
+
+ #And add the new line with new parameter
+ echo "hdd=$hdd" >> ~/.scriptsInstallation/temporal
+
+ selection=$(dialog --stdout --menu "Método de Particionamento" 20 70 50 \
+ 1 "Usar todo o disco com o swap (1GB) e /" \
+ 2 "Usar o gparted para personalizar" )
+
+ case $selection in
+ 1)
+ umount /mnt &> /dev/null
+ #Create msdos partition table
+ parted -s $hdd -- mklabel msdos
+
+ #Create partition swap and /
+ parted -s $hdd -- mkpart primary 1MiB 1000MiB mkpart primary 1000MiB -1s
+
+ #Boot option partition /
+ parted -s $hdd -- set 2 boot on
+
+ #Format and partitions and mount /
+ (echo t; echo 1; echo 82; echo w) | fdisk $hdd
+ mkswap ${hdd}1
+ mkfs.ext4 ${hdd}2
+ mount ${hdd}2 /mnt
+ ;;
+ 2)
+ gparted $hdd
+
+ #Search and show the partitions that select before.
+ aux=$(ls $hdd?)
+ index=0;
+ for i in $aux; do
+ partitions[$index]="${i} ${i#/*/} off"
+ index=$((index+1))
+ done
+
+ partition=$(dialog --stdout --radiolist "Montar a partição /" 20 70 50 ${partitions[@]})
+
+ #Mount partition /
+ umount /mnt &> /dev/null
+ mount $partition /mnt
+
+ #Ask if you want mount other partitions
+ other=0
+ while [ $other != 3 ]; do
+ other=$(dialog --stdout --menu "Quer montar outra partição?" 20 70 50 1 "/home" 2 "/boot" 3 "Não")
+
+ case $other in
+ 1)
+ umount /mnt/home &> /dev/null
+ mkdir /mnt/home &> /dev/null
+ mount $(dialog --stdout --radiolist "Montar a partição /home" 20 70 50 ${partitions[@]}) /mnt/home
+ ;;
+ 2)
+ umount /mnt/boot &> /dev/null
+ mkdir /mnt/boot &> /dev/null
+ mount $(dialog --stdout --radiolist "Montar a partição /boot" 20 70 50 ${partitions[@]}) /mnt/boot
+ ;;
+ *)
+ other=3
+ ;;
+ esac
+ done
+ ;;
+ esac
+}
+
+
+option=0
+while [ option != 7 ]; do
+ option=$(dialog --stdout --menu "Instalação CLI da Parabola" 20 70 50 \
+ 1 "Formatar e Montar as Partições" \
+ 2 "Instalar o Sistema Base" \
+ 3 "Instalar o GRUB" \
+ 4 "Configuração do Sistema" \
+ 5 "Adicionar uma Conta de Usuário" \
+ 6 "(Opcional) Instalar Ambiente Gráfico/Aplicativos da Live DVD" \
+ 7 "Sair" )
+
+ case $option in
+ 1)
+ partition
+ ;;
+ 2)
+ #Install base system
+ pacstrap /mnt base-openrc dbus-elogind
+ pacstrap /mnt dialog
+ ;;
+ 3)
+ #Install grub
+ pacstrap /mnt grub
+ ;;
+ 4)
+ #Generate fstab and acces to chroot to do System Config
+ genfstab -p /mnt >> /mnt/etc/fstab
+ cp ~/.scriptsInstallation/temporal /mnt
+ cp ~/.scriptsInstallation/systemConfig.sh /mnt
+ chmod +x /mnt/systemConfig.sh
+ arch-chroot /mnt /systemConfig.sh
+ rm -r /mnt/systemConfig.sh
+ ;;
+ 5)
+ #Create a new username and save in temporal, to use after
+ if (cat ~/.scriptsInstallation/temporal | grep "userName=") &>/dev/null
+ then
+ sed -i -e '/userName=*/d' ~/.scriptsInstallation/temporal
+ fi
+
+ echo "userName=$(dialog --stdout --inputbox "Insira o nome do usuário" 8 40)" >> ~/.scriptsInstallation/temporal
+ cp ~/.scriptsInstallation/temporal /mnt
+ cp ~/.scriptsInstallation/userAccount.sh /mnt
+ chmod +x /mnt/userAccount.sh
+ arch-chroot /mnt /userAccount.sh
+ rm -r /mnt/userAccount.sh
+ ;;
+ 6)
+ #Packages to the X11 live
+ packages=( "xorg-server"
+ "xf86-input-evdev"
+ "xf86-input-synaptics"
+ "xf86-video-ati"
+ "xf86-video-dummy"
+ "xf86-video-fbdev"
+ "xf86-video-intel"
+ "xf86-video-nouveau"
+ "xf86-video-openchrome"
+ "xf86-video-sisusb"
+ "xf86-video-vesa"
+ "xf86-video-vmware"
+ "xf86-video-voodoo"
+ "xf86-video-qxl"
+ "xorg-xinit"
+ "gst-plugins-good"
+ "gst-libav"
+ "mate"
+ "mate-applets"
+ "mate-terminal"
+ "caja"
+ "volumeicon"
+ "zenity"
+ "octopi"
+ "pulseaudio-alsa"
+ "alsa-utils"
+ "networkmanager"
+ "network-manager-applet"
+ "ath9k-htc-firmware"
+ "iceweasel"
+ "icedove"
+ "pidgin"
+ "gparted"
+ "smplayer"
+ "epdfview"
+ "gpicview"
+ "abiword"
+ "gnumeric"
+ "leafpad"
+ "galculator-gtk2"
+ "xarchiver"
+ "openrc-desktop"
+ )
+
+ #Install packages
+ pacstrap /mnt ${packages[@]}
+ user=$(cat ~/.scriptsInstallation/temporal | grep "userName" )
+
+ #Copie skel in the new system and desktop's background
+ cp -a /etc/skel/ /mnt/etc/
+ cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png
+
+ #Puts the XKBMAP, start X11 automatically and icewm desktop
+ echo "setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)" > /mnt/etc/skel/.xinitrc
+ echo "exec mate-session" >> /mnt/etc/skel/.xinitrc
+ echo "startx" >> /mnt/etc/skel/.bash_profile
+ chmod +x /mnt/etc/skel/.xinitrc
+ cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/
+ cp -a ~/.scriptsInstallation/x11.sh /mnt
+
+ #Enable services with OpenRC
+ chmod +x /mnt/x11.sh
+ arch-chroot /mnt /x11.sh
+ rm /mnt/x11.sh
+ ;;
+ *)
+ #Delete temporal file and umount partitions
+ rm -r /mnt/temporal
+ umount /mnt/boot &> /dev/null
+ umount /mnt/home &> /dev/null
+ umount /mnt &> /dev/null
+ exit
+ ;;
+ esac
+done
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh
new file mode 100755
index 0000000..44d251b
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/systemConfig.sh
@@ -0,0 +1,271 @@
+#!/bin/bash
+
+HOSTNAME=$(echo "$(dialog --stdout --inputbox "Adicione o nome do sistema:" 8 40)")
+sed 's|localhost|'"${HOSTNAME}"'|' -i /etc/conf.d/hostname
+
+ln -s /usr/share/zoneinfo/$(dialog --stdout --inputbox "Adicione o Fuso Horário:\nPor exemplo: America/Sao_Paulo" 8 40) /etc/localtime
+
+keymaps=(
+ "ANSI-dvorak ANSI-dvorak off"
+ "amiga-de amiga-de off"
+ "amiga-us amiga-us off"
+ "applkey applkey off"
+ "atari-de atari-de off"
+ "atari-se atari-se off"
+ "atari-uk-falcon atari-uk-falcon off"
+ "atari-us atari-us off"
+ "azerty azerty off"
+ "backspace backspace off"
+ "bashkir bashkir off"
+ "be-latin1 be-latin1 off"
+ "bg-cp1251 bg-cp1251 off"
+ "bg-cp855 bg-cp855 off"
+ "bg_bds-cp1251 bg_bds-cp1251 off"
+ "bg_bds-utf8 bg_bds-utf8 off"
+ "bg_pho-cp1251 bg_pho-cp1251 off"
+ "bg_pho-utf8 bg_pho-utf8 off"
+ "br-abnt br-abnt off"
+ "br-abnt2 br-abnt2 off"
+ "br-latin1-abnt2 br-latin1-abnt2 off"
+ "br-latin1-us br-latin1-us off"
+ "by by off"
+ "by-cp1251 by-cp1251 off"
+ "bywin-cp1251 bywin-cp1251 off"
+ "cf cf off"
+ "colemak colemak off"
+ "croat croat off"
+ "ctrl ctrl off"
+ "cz cz off"
+ "cz-cp1250 cz-cp1250 off"
+ "cz-lat2 cz-lat2 off"
+ "cz-lat2-prog cz-lat2-prog off"
+ "cz-qwertz cz-qwertz off"
+ "cz-us-qwertz cz-us-qwertz off"
+ "de de off"
+ "de-latin1 de-latin1 off"
+ "de-latin1-nodeadkeys de-latin1-nodeadkeys off"
+ "de-mobii de-mobii off"
+ "de_CH-latin1 de_CH-latin1 off"
+ "de_alt_UTF-8 de_alt_UTF-8 off"
+ "defkeymap defkeymap off"
+ "defkeymap_V1.0 defkeymap_V1.0 off"
+ "dk dk off"
+ "dk-latin1 dk-latin1 off"
+ "dvorak dvorak off"
+ "dvorak-ca-fr dvorak-ca-fr off"
+ "dvorak-es dvorak-es off"
+ "dvorak-fr dvorak-fr off"
+ "dvorak-l dvorak-l off"
+ "dvorak-r dvorak-r off"
+ "dvorak-ru dvorak-ru off"
+ "dvorak-sv-a1 dvorak-sv-a1 off"
+ "dvorak-sv-a5 dvorak-sv-a5 off"
+ "dvorak-uk dvorak-uk off"
+ "emacs emacs off"
+ "emacs2 emacs2 off"
+ "es es off"
+ "es-cp850 es-cp850 off"
+ "es-olpc es-olpc off"
+ "et et off"
+ "et-nodeadkeys et-nodeadkeys off"
+ "euro euro off"
+ "euro1 euro1 off"
+ "euro2 euro2 off"
+ "fi fi off"
+ "fr fr off"
+ "fr-bepo fr-bepo off"
+ "fr-bepo-latin9 fr-bepo-latin9 off"
+ "fr-latin1 fr-latin1 off"
+ "fr-latin9 fr-latin9 off"
+ "fr-pc fr-pc off"
+ "fr_CH fr_CH off"
+ "fr_CH-latin1 fr_CH-latin1 off"
+ "gr gr off"
+ "gr-pc gr-pc off"
+ "hu hu off"
+ "hu101 hu101 off"
+ "il il off"
+ "il-heb il-heb off"
+ "il-phonetic il-phonetic off"
+ "is-latin1 is-latin1 off"
+ "is-latin1-us is-latin1-us off"
+ "it it off"
+ "it-ibm it-ibm off"
+ "it2 it2 off"
+ "jp106 jp106 off"
+ "kazakh kazakh off"
+ "keypad keypad off"
+ "ky_alt_sh-UTF-8 ky_alt_sh-UTF-8 off"
+ "kyrgyz kyrgyz off"
+ "la-latin1 la-latin1 off"
+ "lt lt off"
+ "lt.baltic lt.baltic off"
+ "lt.l4 lt.l4 off"
+ "lv lv off"
+ "lv-tilde lv-tilde off"
+ "mac-be mac-be off"
+ "mac-de-latin1 mac-de-latin1 off"
+ "mac-de-latin1-nodeadkeys mac-de-latin1-nodeadkeys off"
+ "mac-de_CH mac-de_CH off"
+ "mac-dk-latin1 mac-dk-latin1 off"
+ "mac-dvorak mac-dvorak off"
+ "mac-es mac-es off"
+ "mac-euro mac-euro off"
+ "mac-euro2 mac-euro2 off"
+ "mac-fi-latin1 mac-fi-latin1 off"
+ "mac-fr mac-fr off"
+ "mac-fr_CH-latin1 mac-fr_CH-latin1 off"
+ "mac-it mac-it off"
+ "mac-pl mac-pl off"
+ "mac-pt-latin1 mac-pt-latin1 off"
+ "mac-se mac-se off"
+ "mac-template mac-template off"
+ "mac-uk mac-uk off"
+ "mac-us mac-us off"
+ "mk mk off"
+ "mk-cp1251 mk-cp1251 off"
+ "mk-utf mk-utf off"
+ "mk0 mk0 off"
+ "nl nl off"
+ "nl2 nl2 off"
+ "no no off"
+ "no-dvorak no-dvorak off"
+ "no-latin1 no-latin1 off"
+ "pc110 pc110 off"
+ "pl pl off"
+ "pl1 pl1 off"
+ "pl2 pl2 off"
+ "pl3 pl3 off"
+ "pl4 pl4 off"
+ "pt-latin1 pt-latin1 off"
+ "pt-latin9 pt-latin9 off"
+ "pt-olpc pt-olpc off"
+ "ro ro off"
+ "ro_std ro_std off"
+ "ro_win ro_win off"
+ "ru ru off"
+ "ru-cp1251 ru-cp1251 off"
+ "ru-ms ru-ms off"
+ "ru-yawerty ru-yawerty off"
+ "ru1 ru1 off"
+ "ru2 ru2 off"
+ "ru3 ru3 off"
+ "ru4 ru4 off"
+ "ru_win ru_win off"
+ "ruwin_alt-CP1251 ruwin_alt-CP1251 off"
+ "ruwin_alt-KOI8-R ruwin_alt-KOI8-R off"
+ "ruwin_alt-UTF-8 ruwin_alt-UTF-8 off"
+ "ruwin_alt_sh-UTF-8 ruwin_alt_sh-UTF-8 off"
+ "ruwin_cplk-CP1251 ruwin_cplk-CP1251 off"
+ "ruwin_cplk-KOI8-R ruwin_cplk-KOI8-R off"
+ "ruwin_cplk-UTF-8 ruwin_cplk-UTF-8 off"
+ "ruwin_ct_sh-CP1251 ruwin_ct_sh-CP1251 off"
+ "ruwin_ct_sh-KOI8-R ruwin_ct_sh-KOI8-R off"
+ "ruwin_ct_sh-UTF-8 ruwin_ct_sh-UTF-8 off"
+ "ruwin_ctrl-CP1251 ruwin_ctrl-CP1251 off"
+ "ruwin_ctrl-KOI8-R ruwin_ctrl-KOI8-R off"
+ "ruwin_ctrl-UTF-8 ruwin_ctrl-UTF-8 off"
+ "se-fi-ir209 se-fi-ir209 off"
+ "se-fi-lat6 se-fi-lat6 off"
+ "se-ir209 se-ir209 off"
+ "se-lat6 se-lat6 off"
+ "sg sg off"
+ "sg-latin1 sg-latin1 off"
+ "sg-latin1-lk450 sg-latin1-lk450 off"
+ "sk-prog-qwerty sk-prog-qwerty off"
+ "sk-prog-qwertz sk-prog-qwertz off"
+ "sk-qwerty sk-qwerty off"
+ "sk-qwertz sk-qwertz off"
+ "slovene slovene off"
+ "sr-cy sr-cy off"
+ "sun-pl sun-pl off"
+ "sun-pl-altgraph sun-pl-altgraph off"
+ "sundvorak sundvorak off"
+ "sunkeymap sunkeymap off"
+ "sunt4-es sunt4-es off"
+ "sunt4-fi-latin1 sunt4-fi-latin1 off"
+ "sunt4-no-latin1 sunt4-no-latin1 off"
+ "sunt5-cz-us sunt5-cz-us off"
+ "sunt5-de-latin1 sunt5-de-latin1 off"
+ "sunt5-es sunt5-es off"
+ "sunt5-fi-latin1 sunt5-fi-latin1 off"
+ "sunt5-fr-latin1 sunt5-fr-latin1 off"
+ "sunt5-ru sunt5-ru off"
+ "sunt5-uk sunt5-uk off"
+ "sunt5-us-cz sunt5-us-cz off"
+ "sunt6-uk sunt6-uk off"
+ "sv-latin1 sv-latin1 off"
+ "tj_alt-UTF8 tj_alt-UTF8 off"
+ "tr_f-latin5 tr_f-latin5 off"
+ "tr_q-latin5 tr_q-latin5 off"
+ "tralt tralt off"
+ "trf trf off"
+ "trf-fgGIod trf-fgGIod off"
+ "trq trq off"
+ "ttwin_alt-UTF-8 ttwin_alt-UTF-8 off"
+ "ttwin_cplk-UTF-8 ttwin_cplk-UTF-8 off"
+ "ttwin_ct_sh-UTF-8 ttwin_ct_sh-UTF-8 off"
+ "ttwin_ctrl-UTF-8 ttwin_ctrl-UTF-8 off"
+ "ua ua off"
+ "ua-cp1251 ua-cp1251 off"
+ "ua-utf ua-utf off"
+ "ua-utf-ws ua-utf-ws off"
+ "ua-ws ua-ws off"
+ "uk uk off"
+ "unicode unicode off"
+ "us us on"
+ "us-acentos us-acentos off"
+ "wangbe wangbe off"
+ "wangbe2 wangbe2 off"
+ "windowkeys windowkeys off"
+)
+
+echo "KEYMAP=$(dialog --stdout --radiolist "Escolha a distribuição do teclado" 20 70 50 ${keymaps[@]})" > /etc/vconsole.conf
+
+aux=$(sed -e '1,23d' -e 's/#//g' -e 's/ /#/g' -e 's/..$//' /etc/locale.gen)
+index=0
+for i in $aux; do
+ i=$(echo $i | sed -e 's/#/ /g')
+ locales+=("$i" "$i" off)
+ if [[ $i == "en_US.UTF-8 UTF-8" || $i == "en_US ISO-8859-1" ]]; then
+ locales[$index]="$i"
+ locales[$((index+1))]="$i"
+ locales[$((index+2))]="on"
+ fi
+ index=$((index+3))
+done
+
+locale=$(dialog --stdout --checklist "Escolha as Localizações" 20 70 50 "${locales[@]}")
+locale=$(echo ${locale} | sed -e 's/" "/\n/g' -e 's/ /#/g' -e 's/"//g')
+
+for i in ${locale[@]}; do
+ i=$(echo $i | sed -e 's/#/ /g')
+ sed -i -e "s/#$i/$i/g" /etc/locale.gen
+done
+
+locale-gen
+
+aux=$(locale -a)
+index=0
+for i in $aux; do
+ langs+=("$i" "$i" on)
+ index=$((index+1))
+done
+
+echo "LANG=$(dialog --stdout --radiolist "Escolha a sua língua" 20 70 50 ${langs[@]})" > /etc/locale.conf
+
+mkinitcpio -p linux-libre
+
+hdd=$(cat /temporal | grep 'hdd=')
+grub-install ${hdd#*=}
+grub-mkconfig -o /boot/grub/grub.cfg
+
+password=$(dialog --stdout --passwordbox "Insira a senha para o root" 8 40)
+
+while [[ $password != $password2 ]]; do
+ password2=$(dialog --stdout --passwordbox "Repita a senha para o root" 8 40)
+done
+
+usermod -p $(openssl passwd ${password}) root
+
+exit
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh
new file mode 100755
index 0000000..408beba
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/language/pt/userAccount.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+user=$(cat /temporal | grep "userName")
+
+password=$(dialog --stdout --passwordbox "Insira a senha para o usuário ${user#*=}" 8 40)
+
+while [[ $password != $password2 ]]; do
+ password2=$(dialog --stdout --passwordbox "Repita a senha" 8 40)
+done
+
+useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=}
+
+exit
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/parabolaicon.png b/configs/mate-openrc/root-image/root/.scriptsInstallation/parabolaicon.png
new file mode 100644
index 0000000..aed32d7
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/parabolaicon.png
Binary files differ
diff --git a/configs/mate-openrc/root-image/root/.scriptsInstallation/x11.sh b/configs/mate-openrc/root-image/root/.scriptsInstallation/x11.sh
new file mode 100755
index 0000000..a335cec
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.scriptsInstallation/x11.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+service NetworkManager start
diff --git a/configs/mate-openrc/root-image/root/.themes/Parabola/index.theme b/configs/mate-openrc/root-image/root/.themes/Parabola/index.theme
new file mode 100644
index 0000000..d6b2393
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.themes/Parabola/index.theme
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=Parabola
+Type=X-GNOME-Metatheme
+Comment=
+
+[X-GNOME-Metatheme]
+GtkTheme=Radiance-Purple
+MetacityTheme=Radiance-Purple
+IconTheme=RAVE-X-Dark-Purple
+GtkColorScheme=base_color:#ffffff,fg_color:#4c4c4c,tooltip_fg_color:#ffffff,selected_bg_color:#7E5BC5,selected_fg_color:#FFFFFF,text_color:#3C3C3C,bg_color:#F6F6F6,tooltip_bg_color:#000000,link_color:#9D7EDA
+CursorTheme=mate
+CursorSize=18
+BackgroundImage=/etc/wallpaper.png
diff --git a/configs/mate-openrc/root-image/root/.xinitrc b/configs/mate-openrc/root-image/root/.xinitrc
new file mode 100644
index 0000000..20fc29e
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.xinitrc
@@ -0,0 +1,12 @@
+setxkbmap $(cat ~/.codecheck | grep XKBMAP= | cut -d '=' -f 2)
+service NetworkManager start
+service dbus start
+service alsasound start
+volumeicon &
+gsettings set org.mate.interface gtk-theme 'Radiance-Purple'
+gsettings set org.mate.Marco.general theme 'Radiance-Purple'
+gsettings set org.mate.interface icon-theme 'RAVE-X-Dark-Purple'
+gsettings set org.mate.peripherals-mouse cursor-size '18'
+gsettings set org.mate.peripherals-mouse cursor-theme 'mate'
+gsettings set org.mate.background picture-filename '/etc/wallpaper.png'
+exec mate-session
diff --git a/configs/mate-openrc/root-image/root/.zlogin b/configs/mate-openrc/root-image/root/.zlogin
new file mode 100644
index 0000000..b24dba9
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/.zlogin
@@ -0,0 +1,4 @@
+~/.automated_script.sh
+~/.language.sh
+export $(cat /etc/locale.conf)
+startx
diff --git a/configs/mate-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop b/configs/mate-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop
new file mode 100755
index 0000000..9a2d871
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/Desktop/Parabola Installation CLI.desktop
@@ -0,0 +1,12 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Version=1.0
+Type=Application
+Terminal=true
+Name[es_ES]=Instalador CLI de Parabola
+Name[gl_ES]=Instalador CLI de Parabola
+Name[pt_BR]=Instalador CLI da Parabola
+Exec=/root/.scriptsInstallation/install.sh
+Name=Parabola Installation CLI
+Comment=Parabola Installation Scripts
+Icon=/root/.scriptsInstallation/parabolaicon.png
diff --git a/configs/mate-openrc/root-image/root/customize_root_image.sh b/configs/mate-openrc/root-image/root/customize_root_image.sh
new file mode 100755
index 0000000..24318a5
--- /dev/null
+++ b/configs/mate-openrc/root-image/root/customize_root_image.sh
@@ -0,0 +1,48 @@
+#!/bin/bash
+
+set -e -u
+
+check_dbus() {
+ cat /etc/$1|grep dbus
+}
+
+sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
+sed -i 's/#\(es_ES\.UTF-8\)/\1/' /etc/locale.gen
+sed -i 's/#\(gl_ES\.UTF-8\)/\1/' /etc/locale.gen
+sed -i 's/#\(pt_BR\.UTF-8\)/\1/' /etc/locale.gen
+sed -i 's/#\(pl_PL\.UTF-8\)/\1/' /etc/locale.gen
+sed -i 's/#\(it_IT\.UTF-8\)/\1/' /etc/locale.gen
+sed -i 's/#\(fr_FR\.UTF-8\)/\1/' /etc/locale.gen
+sed -i 's/#\(eo\)/\1/' /etc/locale.gen
+locale-gen
+
+ln -sf /usr/share/zoneinfo/UTC /etc/localtime
+
+usermod -s /usr/bin/zsh root
+cp -aT /etc/skel/ /root/
+
+useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel,disk,sys" -s /usr/bin/zsh parabola
+
+# Create the dbus user if it doesn't exist
+if [[ $(check_dbus group) = "" ]]; then
+ echo "Creating dbus group"
+ groupadd -g 81 dbus
+fi
+if [[ $(check_dbus passwd) = "" ]]; then
+ echo "Creating dbus user"
+ useradd -r -s /sbin/nologin -g 81 -u 81 dbus
+fi
+
+chmod 750 /etc/sudoers.d
+chmod 440 /etc/sudoers.d/g_wheel
+
+sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
+
+rc-update add NetworkManager default
+rc-update add elogind default
+rc-update add alsasound default
+rc-update add dbus default
+rc-update add haveged default
+rc-update add pacman-init default
+
+sed -i "s/_DATE_/${iso_version}/" /etc/motd