-
-
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 | |
| # Sau asta https://github.com/sboli/twmn | |
| pacman -Sy notify-osd | |
| # Test it | |
| notify-send "Hi! This is a test" | |
| ########################################## Utils ################################################################ | |
| pacman -S git bash-completion | |
| # 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 | |
| # 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/` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment