Uploaded Version 5.0

This commit is contained in:
fossraven 2021-08-29 11:40:18 +02:00
parent 9e61b9e5f6
commit ea41a32ad0
4 changed files with 114 additions and 15 deletions

View File

@ -1,4 +1,4 @@
Section "InputClass"
Identifier "keyboard"
Option "XkbLayout" "us"
Option "XkbLayout" "de"
EndSection

View File

@ -69,3 +69,15 @@ Fri 06 Aug 2021
- Added xarchiver to Enlightenment and LXDE setup
- Added German language pack to Firefox and Firefox ESR setup
- Added German and American English language pack to LibreOffice setup
Version 5.0 <br>
Sun 29 Aug 2021
- Added the awesome window manager
- Network Manager Applet has been separated from the Network Manager setup
- Blueman has been separated from the Bluetooth setup
- system-config-printer has been separated from the Printer support setup
- Added a system update check to the beginning of the script
- Added missing package chrome-gnome-shell to GNOME setup
- Added package NetworkManager-vpnc and NetworkManager-l2tp to Network Manager setup
- Some bug fixes in the script

View File

@ -4,13 +4,14 @@ void-sh is a program written in Bash that configures Void Linux.
### Content
- Update the system
- Install recommended packages
- Install development packages
- Install the X Window System (1/10) (optional)
- Install a Desktop environment (2/10) (optional)
- Xfce, MATE, GNOME, KDE Plasma, Budgie, Cinnamon, LXQt, Enlightenment, LXDE
- Install a Window manager (3/10) (optional)
- i3wm, Openbox, Fluxbox, bspwm, herbstluftwm, IceWM, jwm, dwm, FVWM3
- i3wm, Openbox, Fluxbox, bspwm, herbstluftwm, IceWM, awesome, jwm, dwm, FVWM3
- Install fonts (4/10) (optional)
- Install an Internet browser (5/10) (optional)
- Install LibreOffice (6/10) (optional)

112
void.sh
View File

@ -1,6 +1,7 @@
#!/bin/bash
#
# - Update the system
# - Install recommended packages
# - Install development packages
# - Install the X Window System (1/10)
@ -29,9 +30,17 @@ GREEN='\033[01;32m'
RED='\033[01;31m'
DEFAULT='\033[00m'
# Update the System
echo "\n${BLUE}Checking for updates...${DEFAULT}\n"
xbps-install -Su
echo "\n${GREEN}Done${DEFAULT}\n"
# Install recommended packages
echo "\n${BLUE}Install recommended packages...${DEFAULT}\n"
echo "${BLUE}Install recommended packages...${DEFAULT}\n"
xbps-install -S curl wget unzip zip nano vim gptfdisk mtools mlocate \
ntfs-3g fuse-exfat bash-completion
@ -134,7 +143,7 @@ case $xwinsys in
gnome-disk-utility nautilus nautilus-sendto gvfs gvfs-mtp gvfs-gphoto2 totem eog eog-plugins \
evince gedit gedit-plugins gnome-video-effects gnome-themes-extra gnome-session gnome-screenshot \
gnome-shell-extensions gnome-icon-theme gnome-icon-theme-extras gnome-icon-theme-symbolic \
gnome-backgrounds file-roller
gnome-backgrounds file-roller chrome-gnome-shell
echo "\n${BLUE}GNOME Applications${DEFAULT}\n"
echo "Includes: GNOME Calendar, GNOME Clocks, GNOME Weather, Evolution, GNOME Font Viewer,"
@ -294,9 +303,10 @@ case $xwinsys in
- 4 bspwm
- 5 herbstluftwm
- 6 IceWM
- 7 jwm
- 8 dwm
- 9 FVWM3
- 7 awesome
- 8 jwm
- 9 dwm
- 10 FVWM3
- 0 none\n"
read -p "Which Window manager do you want? " windowmanager
@ -378,6 +388,18 @@ case $xwinsys in
7 )
echo "\n${BLUE}Install awesome...${DEFAULT}\n"
xbps-install -S awesome vicious dunst feh arandr xfce4-terminal Thunar thunar-volman \
thunar-archive-plugin thunar-media-tags-plugin gvfs gvfs-mtp gvfs-gphoto2 mousepad scrot \
htop xarchiver lightdm lightdm-gtk3-greeter lightdm-gtk-greeter-settings viewnior
echo "\n${GREEN}Done${DEFAULT}\n"
;;
8 )
echo "\n${BLUE}Install jwm...${DEFAULT}\n"
xbps-install -S jwm dunst feh dmenu xfce4-terminal arandr Thunar thunar-volman thunar-archive-plugin \
@ -388,7 +410,7 @@ case $xwinsys in
;;
8 )
9 )
echo "\n${BLUE}Install dwm...${DEFAULT}\n"
@ -400,7 +422,7 @@ case $xwinsys in
;;
9 )
10 )
echo "\n${BLUE}Install FVWM3...${DEFAULT}\n"
@ -671,6 +693,8 @@ case $xwinsys in
echo "\n${BLUE}Enable required services...${DEFAULT}\n"
echo "\n${BLUE}Enable D-Bus...${DEFAULT}\n"
xbps-install -Sy dbus
if [ -L /var/service/dbus ]; then
@ -680,6 +704,8 @@ case $xwinsys in
echo "\n${GREEN}Done${DEFAULT}\n"
fi
echo "\n${BLUE}Enable elogind...${DEFAULT}\n"
xbps-install -Sy elogind
if [ -L /var/service/elogind ]; then
@ -688,7 +714,9 @@ case $xwinsys in
ln -s /etc/sv/elogind /var/service
echo "\n${GREEN}Done${DEFAULT}\n"
fi
echo "\n${BLUE}Enable Polkit...${DEFAULT}\n"
if [ -L /var/service/polkitd ]; then
echo "\nService ${GREEN}polkitd ${DEFAULT}already exist. Continue.\n"
else
@ -747,6 +775,8 @@ case $pulseaudio in
;;
esac
sleep 1
# Configure Network Management
echo "\n${BLUE}Configure Network Management...${DEFAULT}\n"
@ -762,7 +792,26 @@ case $netmngt in
echo "\n${BLUE}Install Network Manager...${DEFAULT}\n"
xbps-install -S NetworkManager NetworkManager-openvpn NetworkManager-openconnect \
network-manager-applet
NetworkManager-vpnc NetworkManager-l2tp
echo "\n"
read -p "Do you want to integrate Network Manager into a graphical environment? (yes/no) " nmapplet
case $nmapplet in
yes )
echo "\n${BLUE}Install Network Manager applet...${DEFAULT}\n"
xbps-install -S network-manager-applet
;;
no )
continue
;;
esac
echo "\n${BLUE}Enable Network Manager service...${DEFAULT}\n"
@ -807,9 +856,28 @@ read -p "Do you want to use Bluetooth? (yes/no) " bluetooth
case $bluetooth in
yes )
echo "\n${BLUE}Install BlueZ and Blueman...${DEFAULT}\n"
echo "\n${BLUE}Install BlueZ...${DEFAULT}\n"
xbps-install -S bluez blueman
xbps-install -S bluez
echo "\n"
read -p "Do you want to integrate Bluetooth into a graphical environment? (yes/no) " blueman
case $blueman in
yes )
echo "\n${BLUE}Install Blueman...${DEFAULT}\n"
xbps-install -S blueman
;;
no )
continue
;;
esac
echo "\n${BLUE}Enable Bluetooth service...${DEFAULT}\n"
@ -839,8 +907,26 @@ case $printer in
echo "\n${BLUE}Install CUPS and Tools...${DEFAULT}\n"
xbps-install -S cups cups-pk-helper cups-filters system-config-printer \
foomatic-db foomatic-db-engine
xbps-install -S cups cups-pk-helper cups-filters foomatic-db foomatic-db-engine
echo "\n"
read -p "Do you want to install a graphical printer program? (yes/no) " printergui
case $printergui in
yes )
echo "\n${BLUE}Install system-config-printer...${DEFAULT}\n"
xbps-install -S system-config-printer
;;
no )
continue
;;
esac
echo "\n${BLUE}Enable CUPS service...${DEFAULT}\n"