mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-06-23 00:26:21 +02:00
changes
This commit is contained in:
@@ -82,35 +82,34 @@ done
|
||||
|
||||
function entorno {
|
||||
clear
|
||||
echo "Ahora customizaremos el entorno, escritorio, etc)"
|
||||
echo "Para empezar, ¿que entorno de escritorio (parte gráfica) le gustaría usar?"
|
||||
echo "LXDE es más liviano, XFCE es liviano pero bonito, Cinnamon es agradable para usuarios antiguos de Windows, Gnome es complejo pero práctico"
|
||||
echo "Si seleccionas solo consola no se instalará ningun añadido xf86 ni utilidades, opción para usuarios avanzados"
|
||||
options=("LXDE" "XFCE" "Cinnamon" "Gnome" "Solo quiero la consola")
|
||||
#optentorno=`dialog --stdout --checklist "Choose your favorite distribution:" 10 40 3 1 RedHat on 2 "Ubuntu Linux" off 3 Slackware off`
|
||||
optentorno=`dialog --stdout --menu "Escoje tu entorno de escritorio" 0 0 5 1 "LXDE (Liviano)" 2 "XFCE (Liviano pero bonito)" 3 "Cinnamon (Facil para antiguos usuarios de Windows)" 4 "Gnome (Complejo, pero práctico) 5 "No instalar nada, solo la terminal de comandos"`
|
||||
|
||||
#options=("LXDE" "XFCE" "Cinnamon" "Gnome" "Solo quiero la consola")
|
||||
select opt in "${options[@]}"
|
||||
do
|
||||
case $opt in
|
||||
"LXDE")
|
||||
1)
|
||||
pacman -S lxde --noconfirm
|
||||
instentorno=1
|
||||
break
|
||||
;;
|
||||
"XFCE")
|
||||
2)
|
||||
pacman -S xfce4 --noconfirm
|
||||
instentorno=1
|
||||
break
|
||||
;;
|
||||
"Cinnamon")
|
||||
3)
|
||||
pacman -S cinnamon --noconfirm
|
||||
instentorno=1
|
||||
break
|
||||
;;
|
||||
"Gnome")
|
||||
4)
|
||||
pacman -S gnome --noconfirm
|
||||
instentorno=1
|
||||
break
|
||||
;;
|
||||
"Solo quiero la consola")
|
||||
5)
|
||||
break
|
||||
;;
|
||||
*) echo invalid option;;
|
||||
@@ -142,6 +141,7 @@ do
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
else
|
||||
echo "Instalando GRUB para GPT/UEFI"
|
||||
echo "AVISO, GPT/UEFI ES EXPERMIENTAL, FALTA PROBARLO MAS, PUEDES QUEDARTE SIN ARRANQUE"
|
||||
pacman -S grub os-prober efibootmgr dosfstools --noconfirm
|
||||
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub_uefi --recheck
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
@@ -167,6 +167,7 @@ mkinitcpio -p linux
|
||||
|
||||
userpass
|
||||
entorno
|
||||
programasuser
|
||||
bootinstall
|
||||
echo "Ultimos retoques.."
|
||||
systemctl enable dhcpcd
|
||||
Reference in New Issue
Block a user