mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-18 19:21:32 +01:00
changes
This commit is contained in:
@@ -210,42 +210,8 @@ case $tipoinstall in
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
function entorno {
|
function baseconX {
|
||||||
clear
|
echo "Instalando algún otro programa básico para arrancar X y programas base de X.."
|
||||||
optentorno=`dialog --stdout --nocancel --menu "Escoje tu entorno de escritorio" 0 0 5 1 "LXDE (Muy liviano)" 2 "XFCE (Liviano y bonito)" 3 "Cinnamon (Facil para antiguos usuarios de Windows)" 4 "Gnome (Complejo, pero practico)" 5 "Plasma/KDE (Pesado aunque bonito) " 6 "No instalar nada, solo la terminal de comandos"`
|
|
||||||
|
|
||||||
case $optentorno in
|
|
||||||
1)
|
|
||||||
pacman -S lxde --noconfirm
|
|
||||||
#Quitar paquetes no necesarios para correr lxde
|
|
||||||
pacman -R lxmusic lxlauncher lxdm --noconfirm
|
|
||||||
instentorno=1
|
|
||||||
;;
|
|
||||||
2)
|
|
||||||
pacman -S xfce4 --noconfirm
|
|
||||||
instentorno=1
|
|
||||||
;;
|
|
||||||
3)
|
|
||||||
pacman -S cinnamon --noconfirm
|
|
||||||
instentorno=1
|
|
||||||
;;
|
|
||||||
4)
|
|
||||||
pacman -S gnome --noconfirm
|
|
||||||
instentorno=1
|
|
||||||
;;
|
|
||||||
5)
|
|
||||||
pacman -S plasma --noconfirm
|
|
||||||
pacman -R plasma-mediacenter ksshaskpass --noconfirm
|
|
||||||
instentorno=1
|
|
||||||
;;
|
|
||||||
6)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
if [[ $instentorno ]];then
|
|
||||||
graficos
|
|
||||||
echo "Instalando algún otro programa básico para mejorar la experiencia de usuario.."
|
|
||||||
pacman -S xorg-server xorg-xinit xorg-server-common xf86-input-libinput lightdm lightdm-gtk-greeter lxterminal gvfs udisks networkmanager network-manager-applet xdialog --noconfirm
|
pacman -S xorg-server xorg-xinit xorg-server-common xf86-input-libinput lightdm lightdm-gtk-greeter lxterminal gvfs udisks networkmanager network-manager-applet xdialog --noconfirm
|
||||||
#Instalar pulseaudio si tiene entorno grafico, sino es tonteria
|
#Instalar pulseaudio si tiene entorno grafico, sino es tonteria
|
||||||
pacman -S pulseaudio pavucontrol --noconfirm
|
pacman -S pulseaudio pavucontrol --noconfirm
|
||||||
@@ -253,6 +219,50 @@ pacman -S pulseaudio pavucontrol --noconfirm
|
|||||||
#Habilitamos ciertos servicios
|
#Habilitamos ciertos servicios
|
||||||
systemctl enable lightdm
|
systemctl enable lightdm
|
||||||
systemctl enable NetworkManager
|
systemctl enable NetworkManager
|
||||||
|
}
|
||||||
|
|
||||||
|
function entorno {
|
||||||
|
clear
|
||||||
|
optentorno=`dialog --stdout --nocancel --menu "Escoje tu entorno de escritorio" 0 0 5 1 "LXDE (Muy liviano)" 2 "XFCE (Liviano y bonito)" 3 "Cinnamon (Facil para antiguos usuarios de Windows)" 4 "Gnome (Complejo, pero practico)" 5 "Plasma/KDE (Pesado aunque bonito) " 6 "No instalar nada, solo la terminal de comandos"`
|
||||||
|
|
||||||
|
case $optentorno in
|
||||||
|
1)
|
||||||
|
baseconX
|
||||||
|
pacman -S lxde --noconfirm
|
||||||
|
#Quitar paquetes no necesarios para correr lxde
|
||||||
|
pacman -R lxmusic lxlauncher lxdm --noconfirm
|
||||||
|
instentorno=1
|
||||||
|
;;
|
||||||
|
2)
|
||||||
|
baseconX
|
||||||
|
pacman -S xfce4 --noconfirm
|
||||||
|
instentorno=1
|
||||||
|
;;
|
||||||
|
3)
|
||||||
|
baseconX
|
||||||
|
pacman -S cinnamon --noconfirm
|
||||||
|
instentorno=1
|
||||||
|
;;
|
||||||
|
4)
|
||||||
|
baseconX
|
||||||
|
optgnome=`dialog --stdout --nocancel --menu "¿Gnome base o gnome+extras?" 0 0 5 1 "Gnome base" 2 "Gnome+extras"`
|
||||||
|
case $optgnome
|
||||||
|
1) pacman -S gnome --noconfirm;;
|
||||||
|
2) pacman -S gnome gnome-extra --noconfirm;;
|
||||||
|
esac
|
||||||
|
instentorno=1
|
||||||
|
;;
|
||||||
|
5)
|
||||||
|
baseconX
|
||||||
|
pacman -S plasma --noconfirm
|
||||||
|
pacman -R plasma-mediacenter ksshaskpass --noconfirm
|
||||||
|
instentorno=1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
if [[ $instentorno ]];then
|
||||||
|
graficos
|
||||||
#Poner el teclado bien en x11
|
#Poner el teclado bien en x11
|
||||||
echo "# Read and parsed by systemd-localed. It's probably wise not to edit this file" > /etc/X11/xorg.conf.d/00-keyboard.conf
|
echo "# Read and parsed by systemd-localed. It's probably wise not to edit this file" > /etc/X11/xorg.conf.d/00-keyboard.conf
|
||||||
echo "# manually too freely." >> /etc/X11/xorg.conf.d/00-keyboard.conf
|
echo "# manually too freely." >> /etc/X11/xorg.conf.d/00-keyboard.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user