-
-
Save Lokawn/00dc1a4aa6b98a9d5b50f16cce8e54f2 to your computer and use it in GitHub Desktop.
Steps i followed to install arch + i3
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
| timedatectl set-ntp true | |
| timedatectl set-timezone Europe/Bucharest | |
| fdisk /dev/sda | |
| ######################################## | |
| n 1G pentru /boot /dev/sda1 | |
| a - Flag it as bootable | |
| n - 4G pentru swap /dev/sda3 | |
| n - 70G pentru / /dev/sda2 | |
| n - restul pentru /home /dev/sda4 | |
| ######################################## | |
| mkfs.ext4 /dev/sda1 | |
| # For swap | |
| mkswap /dev/sda3 | |
| swapon /dev/sda3 | |
| # Example usage | |
| # systemctl enable service | |
| # In arch: | |
| pacman -Sy i3 | |
| pacman -Sy xorg-server xorg-xinit | |
| pacman -S ttf-dejavu ttf-font-awesome | |
| # Network manager and applet | |
| pacman -Sy networkmanager network-manager-applet gnome-keyring # Last one is for the nm-applet to ask password for wifis | |
| systemctl enable NetworkManger | |
| # Bluetooth and wifi | |
| #https://gist.github.com/ChrisTimperley/7f08117e7934122fb1d626fa6b725535 | |
| # Sound | |
| pacman -S pulseaudio pulseaudio-alsa pavucontrol --noconfirm --needed | |
| pacman -S alsa-utils alsa-plugins alsa-lib alsa-firmware --noconfirm --needed | |
| # Login greeeter | |
| pacman -S lightdm | |
| pacman -S lightdm-gtk-greeter | |
| systemctl enable lightdm.service | |
| # In /etc/lightdm/lightdm.conf | |
| ################################### | |
| #[Seat:*] | |
| #... | |
| #greeter-session=lightdm-gtk-greeter | |
| #... | |
| #################################### | |
| # autostart systemd default session on tty1 | |
| # Add this to /etc/profile | |
| if [[ "$(tty)" == '/dev/tty1' ]]; then | |
| exec startx | |
| fi | |
| # Start i3 | |
| # Optional | |
| # Copy content from /etc/.xinitrc to ~/.xinitrc | |
| # Add this line: | |
| exec i3 | |
| # File manager | |
| pacman -S pcmanfm | |
| # Theme manager and themes(icons) | |
| pacman -Sy lxappearance | |
| pacman -Sy arc-gtk-theme | |
| git clone https://aur.archlinux.org/papirus-icon-theme-git.gitt | |
| cd papirus-icon-theme-git | |
| makepkg -sric | |
| # Background image | |
| pacman -Sy feh | |
| feh --bg-scale /path/to/img | |
| # or in ~/.config/i3/config | |
| exec --no-startup-id feh --bg-scale /path/to/img | |
| # use exec_always if you want to run the command each time you restart i3. | |
| # exec will only run once. | |
| # Transparent terminal | |
| pacman -Sy urxvt-unicode urxvt-perls | |
| pacman -Sy compton # this does the transparency | |
| # Add in ~/.config/i3/config | |
| exec--no-startup-id compton | |
| # Power manager + lock screen | |
| pacman -Sy xfce-power-manager light-locker | |
| # Add in ~/.config/i3/config | |
| exec --no-startup-id xfce4-power-manager | |
| exec --no-startup-id light-locker | |
| # Notify manager | |
| # Or this https://github.com/sboli/twmn | |
| pacman -Sy notify-osd | |
| # or | |
| # More customizable : https://github.com/dunst-project/dunst | |
| pacman -Sy dunst | |
| # Change the config | |
| mkdir ~/.config/dunst | |
| cp /usr/share/dunst/dunstrc ~/.config/dunst/dunstrc | |
| # Test it | |
| notify-send "Hi! This is a test" | |
| # A notification should appear in the right corner | |
| #### | |
| # Control + grave : C-` : Show history of notifications | |
| # Control + Space : Close notification | |
| # Control + Shift + period : Opens the link from the notification in broswer | |
| ########################################## Utils ################################################################ | |
| pacman -S git bash-completion tk # tk is used by gitk | |
| # File editor | |
| pacman -S gedit vim gedit-plugins | |
| # Install skype | |
| clone https://aur.archlinux.org/skypeforlinux-stable-bin.git | |
| cd skypeforlinux-stable-bin/ | |
| makepkg -sri | |
| # qtcreator | |
| pacman -S qtcreator | |
| # Docker | |
| pacman -Sy docker | |
| #enable docker at startup | |
| sudo systemctl enable docker | |
| sudo systemctl start docker | |
| # add user to group docker | |
| gpasswd -a user docker | |
| # Reboot to work | |
| docker run --rm=true hello-world | |
| # SSH | |
| sudo pacman -Sy openssh | |
| sudo systemctl enable sshd | |
| sudo systemctl start sshd | |
| # X2goServer + Client | |
| sudo pacman -Sy x2goserver x2goclient | |
| #Create db for x2go | |
| sudo x2godbadmin --createdb | |
| # Start service | |
| sudo systemctl enable x2goserver.service | |
| sudo systemctl start x2goserver.service | |
| # In x2go client select `custom desktop` and add this `/usr/bin/i3/` | |
| # Install conan C++ | |
| # Install pip: https://pip.pypa.io/en/stable/installing/ | |
| curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
| python get-pip.py --user # if you only want it installed on this user | |
| # Add ~/.local/bin to $PATH | |
| # In ~/.bashrc add: | |
| PATH=$PATH:~/.local/bin | |
| export PATH | |
| # Install conan: | |
| pip install conan --user | |
| conan --version | |
| # Install tmux | |
| pacman -Sy tmux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment