Last active
May 2, 2023 18:16
-
-
Save gabrielmoreira/561ec9374e03567fa710 to your computer and use it in GitHub Desktop.
Manjaro Install script
This file contains hidden or 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
# Prepare pacman | |
sudo mkdir -p /root/.gnupg | |
sudo pacman-key --init && sudo pacman-key --populate archlinux manjaro && sudo pacman-key --refresh-keys | |
# Remove packages | |
sudo pacman -R empathy accerciser gnome-chess gnome-sudoku gnome-tetravex polari five-or-more four-in-a-row steam-native ipython hitori gnome-klotski steam quadrapassel gnome-nibbles aisleriot lightsoff gnome-mahjongg gnome-mines iagno gnome-robots tali swell-foop | |
# Upgrade all | |
sudo pacman -Syyu | |
# Install zsh & oh-my-zsh | |
sudo pacman -S --noconfirm git zsh | |
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh | |
chsh -s $(which zsh) | |
# Do logout & login | |
# Install official packages | |
sudo pacman -S --noconfirm mysql pidgin plank openssh playonlinux wine tk libreoffice-still-pt-BR nethogs python2 python2-pip docker vim synapse samba | |
# Install community packages | |
yaourt -S --noconfirm google-chrome sublime-text-dev ngrok elementary-icon-theme fasd | |
# Install custom softwares | |
curl https://raw.githubusercontent.com/creationix/nvm/v0.23.3/install.sh | bash | |
# yaourt -S --noconfirm teamviewer insync dropbox | |
# yaourt -S --noconfirm crashplan | |
# yaourt -S --noconfirm nautilus-dropbox insync-nautilus | |
# Enable docker without sudo | |
sudo groupadd docker | |
sudo gpasswd -a ${USER} docker | |
sudo systemctl enable docker | |
sudo systemctl start docker | |
newgrp docker | |
# Install virtualbox | |
sudo pacman -S linux316-headers | |
sudo pacman -S virtualbox | |
# Gnome settings | |
gsettings set org.gnome.desktop.interface clock-show-date true | |
gsettings set org.gnome.shell enabled-extensions 'elementary' | |
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close' | |
gsettings set org.gnome.Terminal.Legacy.Settings dark-theme true | |
gsettings set org.gnome.Terminal.Legacy.Settings new-terminal-mode 'tab' | |
gsettings set org.gnome.Terminal.Legacy.Settings default-show-menubar false | |
# gsettings set org.gnome.Terminal.Legacy.Keybindings prev-tab '<Alt>Left' | |
# gsettings set org.gnome.Terminal.Legacy.Keybindings next-tab '<Alt>Right' | |
# gsettings set org.gnome.desktop.background picture-uri 'file:///usr/share/backgrounds/gnome/Mirror.jpg' | |
# gsettings set org.gnome.desktop.datetime automatic-timezone true |
Vim (SPF13-VIM) http://vim.spf13.com/
Installation
curl http://j.mp/spf13-vim3 -L -o - | sh
Disable automatic visual mode on right-click
echo "set mouse-=a" >> ~/.vimrc.local
Disable spell
echo "set nospell" >> ~/.vimrc.local
Alias for system upgrade
sysupgrade='sudo pacman --noconfirm -Syyyyu && yaourt --noconfirm -Syua'
If yaourt asks too much...
If you fed up with these questions asked all the time by yaourt:
Edit PKGBUILD ? [Y/n] ("A" to abort)
Edit <pkg_name>.install ? [Y/n] ("A" to abort)
Continue building <pkg_name> ? [Y/n]
The simple solution is to create a .yaourtrc under your home directory and configure yaourt to your taste. You can use the global /etc/yaourtrc file as a sample:
cp /etc/yaourtrc ~/.yaourtrc
Edit .yaourtrc to your liking according to http://archlinux.fr/man/yaourtrc.5.html
I simply edited two lines:
BUILD_NOCONFIRM=1
EDITFILES=0
These two will prevent yaourt to ask for editing anything and for continuing the build, it will skip these steps and will build the packages for you automatically. Still it will leave you some manual controls not to install anything unintentionally:
When you do system upgrade ( yaourt -Syua ), it will tell you what packages are to be installed and will ask "Continue upgrade ? [Y/n]".
It will always ask the last question for installing a package after building it: "Proceed with installation? [Y/n]".
from http://kissmyarch.blogspot.com.br/2012/05/two-simple-yaourt-tips.html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Better Gnome Terminal (fedora patches)
Installation
See it in action
https://www.youtube.com/watch?v=zFtUtgKmQlU