Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nick Petrov
committed
Dec 16, 2018
1 parent
9262c26
commit f3fe1b4
Showing
112 changed files
with
9,047 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
set -e | ||
################################################################################################################## | ||
# Author : Erik Dubois | ||
# Website : https://www.erikdubois.be | ||
# Website : https://www.arcolinux.info | ||
# Website : https://www.arcolinux.com | ||
# Website : https://www.arcolinuxd.com | ||
# Website : https://www.arcolinuxforum.com | ||
################################################################################################################## | ||
# | ||
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. | ||
# | ||
################################################################################################################## | ||
echo "#################################################" | ||
echo "If it feels like the downloads are too slow" | ||
echo "Stop the installation with CTRL + C" | ||
echo "and run the alias - mirror in the terminal" | ||
echo "#################################################" | ||
|
||
sudo pacman -Syyu --noconfirm | ||
#installing displaymanager or login manager | ||
sudo pacman -S --noconfirm --needed lightdm | ||
sudo pacman -S --noconfirm --needed arcolinux-lightdm-gtk-greeter arcolinux-lightdm-gtk-greeter-settings | ||
sudo pacman -S --noconfirm --needed arcolinux-wallpapers-git | ||
#installing desktop environment | ||
sudo pacman -S xmonad xmonad-contrib xmonad-utils xmobar --noconfirm --needed | ||
#enabling displaymanager or login manager | ||
sudo systemctl enable lightdm.service -f | ||
sudo systemctl set-default graphical.target | ||
|
||
|
||
#Remove anything you do not like from the installed applications | ||
|
||
#sudo pacman -R ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
set -e | ||
################################################################################################################## | ||
# Author : Erik Dubois | ||
# Website : https://www.erikdubois.be | ||
# Website : https://www.arcolinux.info | ||
# Website : https://www.arcolinux.com | ||
# Website : https://www.arcolinuxd.com | ||
# Website : https://www.arcolinuxforum.com | ||
################################################################################################################## | ||
# | ||
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. | ||
# | ||
################################################################################################################## | ||
|
||
#Sound | ||
sudo pacman -S pulseaudio --noconfirm --needed | ||
sudo pacman -S pulseaudio-alsa --noconfirm --needed | ||
sudo pacman -S pavucontrol --noconfirm --needed | ||
sudo pacman -S alsa-utils alsa-plugins alsa-lib alsa-firmware --noconfirm --needed | ||
sudo pacman -S gstreamer --noconfirm --needed | ||
sudo pacman -S gst-plugins-good gst-plugins-bad gst-plugins-base gst-plugins-ugly --noconfirm --needed | ||
sudo pacman -S volumeicon --noconfirm --needed | ||
sudo pacman -S playerctl --noconfirm --needed | ||
|
||
echo "################################################################" | ||
echo "######### sound software software installed ################" | ||
echo "################################################################" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
set -e | ||
################################################################################################################## | ||
# Author : Erik Dubois | ||
# Website : https://www.erikdubois.be | ||
# Website : https://www.arcolinux.info | ||
# Website : https://www.arcolinux.com | ||
# Website : https://www.arcolinuxd.com | ||
# Website : https://www.arcolinuxforum.com | ||
################################################################################################################## | ||
# | ||
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. | ||
# | ||
################################################################################################################## | ||
|
||
# installing bluetooth software | ||
|
||
sudo pacman -S --noconfirm --needed pulseaudio-bluetooth | ||
sudo pacman -S --noconfirm --needed bluez | ||
sudo pacman -S --noconfirm --needed bluez-libs | ||
sudo pacman -S --noconfirm --needed bluez-utils | ||
sudo pacman -S --noconfirm --needed bluez-firmware | ||
sudo pacman -S --noconfirm --needed blueberry | ||
|
||
sudo systemctl enable bluetooth.service | ||
sudo systemctl start bluetooth.service | ||
|
||
sudo sed -i 's/'#AutoEnable=false'/'AutoEnable=true'/g' /etc/bluetooth/main.conf | ||
|
||
echo "reboot your system then ..." | ||
echo "set with bluetooth icon in bottom right corner" | ||
echo "change to have a2dp if needed" | ||
|
||
|
||
echo "################################################################" | ||
echo "################### T H E E N D ######################" | ||
echo "################################################################" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
set -e | ||
################################################################################################################## | ||
# Author : Erik Dubois | ||
# Website : https://www.erikdubois.be | ||
# Website : https://www.arcolinux.info | ||
# Website : https://www.arcolinux.com | ||
# Website : https://www.arcolinuxd.com | ||
# Website : https://www.arcolinuxforum.com | ||
################################################################################################################## | ||
# | ||
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. | ||
# | ||
################################################################################################################## | ||
|
||
|
||
sudo pacman -S --noconfirm --needed cups cups-pdf | ||
|
||
#first try if you can print without foomatic | ||
#sudo pacman -S foomatic-db-engine --noconfirm --needed | ||
#sudo pacman -S foomatic-db foomatic-db-ppds foomatic-db-nonfree-ppds foomatic-db-gutenprint-ppds --noconfirm --needed | ||
sudo pacman -S ghostscript gsfonts gutenprint --noconfirm --needed | ||
sudo pacman -S gtk3-print-backends --noconfirm --needed | ||
sudo pacman -S libcups --noconfirm --needed | ||
sudo pacman -S hplip --noconfirm --needed | ||
sudo pacman -S system-config-printer --noconfirm --needed | ||
|
||
sudo systemctl enable org.cups.cupsd.service | ||
|
||
echo "After rebooting it will work" | ||
|
||
echo "################################################################" | ||
echo "######### printer management software installed ##########" | ||
echo "################################################################" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
set -e | ||
################################################################################################################## | ||
# Author : Erik Dubois | ||
# Website : https://www.erikdubois.be | ||
# Website : https://www.arcolinux.info | ||
# Website : https://www.arcolinux.com | ||
# Website : https://www.arcolinuxd.com | ||
# Website : https://www.arcolinuxforum.com | ||
################################################################################################################## | ||
# | ||
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. | ||
# | ||
################################################################################################################## | ||
|
||
sudo pacman -S --noconfirm --needed samba | ||
sudo wget "https://git.samba.org/samba.git/?p=samba.git;a=blob_plain;f=examples/smb.conf.default;hb=HEAD" -O /etc/samba/smb.conf.original | ||
sudo wget "https://raw.githubusercontent.com/arcolinux/arcolinux-system-config/master/etc/samba/smb.conf.arcolinux" -O /etc/samba/smb.conf.arcolinux | ||
sudo wget "https://raw.githubusercontent.com/arcolinux/arcolinux-system-config/master/etc/samba/smb.conf.arcolinux" -O /etc/samba/smb.conf | ||
sudo systemctl enable smb.service | ||
sudo systemctl start smb.service | ||
sudo systemctl enable nmb.service | ||
sudo systemctl start nmb.service | ||
|
||
##Change your username here | ||
read -p "What is your login? It will be used to add this user to smb : " choice | ||
sudo smbpasswd -a $choice | ||
|
||
#access samba share windows | ||
sudo pacman -S --noconfirm --needed gvfs-smb | ||
|
||
echo "################################################################" | ||
echo "######### samba software installed ################" | ||
echo "################################################################" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/bin/bash | ||
set -e | ||
################################################################################################################## | ||
# Author : Erik Dubois | ||
# Website : https://www.erikdubois.be | ||
# Website : https://www.arcolinux.info | ||
# Website : https://www.arcolinux.com | ||
# Website : https://www.arcolinuxd.com | ||
# Website : https://www.arcolinuxforum.com | ||
################################################################################################################## | ||
# | ||
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. | ||
# | ||
################################################################################################################## | ||
|
||
echo "Network Discovery" | ||
|
||
sudo pacman -S --noconfirm --needed avahi | ||
sudo systemctl enable avahi-daemon.service | ||
sudo systemctl start avahi-daemon.service | ||
|
||
#shares on a mac | ||
sudo pacman -S --noconfirm --needed nss-mdns | ||
|
||
#shares on a linux | ||
sudo pacman -S --noconfirm --needed gvfs-smb | ||
|
||
#change nsswitch.conf for access to nas servers | ||
#original line comes from the package filesystem | ||
#hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns | ||
#ArcoLinux line | ||
#hosts: files mymachines resolve [!UNAVAIL=return] mdns dns wins myhostname | ||
|
||
#first part | ||
sudo sed -i 's/files mymachines myhostname/files mymachines/g' /etc/nsswitch.conf | ||
#last part | ||
sudo sed -i 's/\[\!UNAVAIL=return\] dns/\[\!UNAVAIL=return\] mdns dns wins myhostname/g' /etc/nsswitch.conf | ||
echo "################################################################" | ||
echo "#### network discovery software installed ########" | ||
echo "################################################################" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
set -e | ||
################################################################################################################## | ||
# Author : Erik Dubois | ||
# Website : https://www.erikdubois.be | ||
# Website : https://www.arcolinux.info | ||
# Website : https://www.arcolinux.com | ||
# Website : https://www.arcolinuxd.com | ||
# Website : https://www.arcolinuxforum.com | ||
################################################################################################################## | ||
# | ||
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. | ||
# | ||
################################################################################################################## | ||
|
||
# https://wiki.archlinux.org/index.php/TLP | ||
#TLP brings you the benefits of advanced power management for Linux without | ||
#the need to understand every technical detail. TLP comes with a default | ||
#configuration already optimized for battery life, so you may just install | ||
# and forget it. Nevertheless TLP is highly customizable to fulfill your | ||
# specific requirements | ||
|
||
echo "Install tlp for battery life - laptops" | ||
|
||
sudo pacman -S --noconfirm --needed tlp | ||
sudo systemctl enable tlp.service | ||
sudo systemctl start tlp-sleep.service | ||
|
||
echo "################################################################" | ||
echo "#### tlp software installed ########" | ||
echo "################################################################" |
Oops, something went wrong.