Skip to content

Install Arch linux using these simple scripts. Inclusing base, DE and dotfiles.

License

Notifications You must be signed in to change notification settings

kud04rk/My_ArchLinux_Install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

My_ArchLinux_Install

This is a complete Guide to install Arch linux from scratch. I have created various scripts to install Arch linux.

Once completed the Arch linux will look like below.

Last tested on 25-september-2022

ScreenShots

opnebox

Features

minimal

  • Window Manager β€’ Openbox 🎨 4 modes!
  • Shell β€’ Zsh 🐚 with oh-my-zsh framework!
  • Terminal β€’ kitty
  • Openbox Menu β€’ obmenu-generator
  • Panel β€’ Tint2 🍧 material icons font!
  • Compositor β€’ Picom 🍩 rounded corners!
  • Notify Daemon β€’ Dunst πŸƒ minimalism!
  • Application Launcher β€’ Rofi πŸš€ blazing fast!
  • File Manager β€’ Thunar πŸ”– customized sidebar!
  • Music Player β€’ Spotify # THEMED
  • GUI Basic-IDE β€’ Geany - The Flyweight IDE
Audio - Currently the script uses pulse audio. Pipewire will be implemented in the near future. - Pulse effects are also installe as a flatpak for cusotmization - Spotify is used as the default Music player
Flatpak,AppImages Discover - This supports flatpak, App images for non essential packages(Packages that do not break the install) and Discover is used to manage the faltpaks.
Auto Cpu Freq - This is enabled by default and can be changed later
Backups - Timeshift backups are enabled by default and accesible from grub - snapper is also installed but not configured. can be used if you so choose.
Gaming - Preinstalled steam,lutris and mangohud
BTRFS File System
  • Features: - BTRFS File system allows for live snapshots. Learn More - It takes up less storage for those snapshots than ext4 - These snapshots can be booted from grub in case of errors.

Swap
  • A swap partition is created based on the requirement.

Why no swap file?

  • Swap partition is created rather than swap files becasue BTRFS does not play well with swap files and throws permission denied errors.
GPU Drivers The script auto detects the graphics card and installs drivers.

I have tested the code with Nvidia and Intel drivers .

AMD i have not tested but confident it would work.

Systems with intel integrated and AMD/Nvidia graphics

If the system has both intel integrated and a graphics card then both the drivers will be installed.

Shortcuts
  • The Install has a complete list of shortcuts that are used in Install.

  • Completely configurable shortcuts

Window management shortcuts

https://github.com/kud04rk/Openbox_Dotfiles/blob/main/openbox%20shortcuts.md

Terminal shortcuts (kitty)

https://github.com/kud04rk/Openbox_Dotfiles/blob/main/kitty%20shortcuts.md

FileManager shortcuts

https://github.com/kud04rk/Openbox_Dotfiles/blob/main/Thunar%20shortcuts.md

Wallpaper - The default wallpapes are located in the .wallpapers of home directory. It can be linked to the place where you save your wallpapers.

How to Install

Step 1

Installaing Base Go to https://github.com/kud04rk/ArchBaseInstall to install the Arch linux base.

ArchBase Install Script

This is a simple Arch install script with only one command to run and a few questions to ans.

This script is made with minimal install in mind. Less bloat.

After the script completes the neofetch results in just 130 mb of ram usage.

This script is made for imtermediate users.

To install a Desktop environment Please visit https://github.com/kud04rk/OpenboxInstall.git.

Features

Ranking mirros Arch linux has many mirrors and ranking these is important. The script selects 6 mirrors based on the speed of the mirrors.
BTRFS File System
  • Features: - BTRFS File system allows for live snapshots. Learn More - It takes up less storage for those snapshots than ext4 - These snapshots can be booted from grub in case of errors.

Swap
  • A swap partition is created based on the requirement.

Why no swap file?

  • Swap partition is created rather than swap files becasue BTRFS does not play well with swap files and throws permission denied errors.
GPU Drivers The script auto detects the graphics card and installs drivers.

I have tested the code with Nvidia and Intel drivers .

AMD i have not tested but confident it would work.

Systems with intel integrated and AMD/Nvidia graphics

If the system has both intel integrated and a graphics card then both the drivers will be installed.

Note:

If there is no mux switch in the laptop to switch the graphics then this will cause problems during boot up and needs to figured out manually by setting the display to boot from intel graphics and not nvidia or amd graphics card.

Microcode Intel and amd microcode will be installed automatically
Bootloader the script installs grub boot loader by default and systemd boot loader caused me problems with graphics and btrfs.

How to use

Download the latest arch linux iso file and boot from it.

https://archlinux.org/download/

After boot run

pacman -Sy
pacman -S git

Clone the repository from the git

git clone https://github.com/kud04rk/ArchBaseInstall.git

Chnage the working directory into the folder

Check if the scripts have permissions to run. if not use chmod to give permissions.

Note

If you are not from india you have to modify the script to set keybord and time to your location. Modify this part of the script in 2_setup.sh

line number 36 to 44 in 2_setup.sh

Run the script crusedo.sh

./crusedo.sh

Answer few quesitons about the install and done.

Install the desktop envronment of your choice.

My recommendations are the end.



NOTE:

SYSTEMD BOOT DOESNT WORK.AMD GPU NOT TESTED Tested With only integrated gpu and nvidia gpu.

This script is used to install the base package of the linux system with btrfs file system.

CHANGE THE LANGUGE AND LOCALES BEFORE USING THE SCRIPT

After the install of the script you can continue with the installation of desktop environment or window manager.

Want to install Arch linux manually ?

Here is my guide https://github.com/kud04rk/ArchBaseInstall/blob/main/Manual%20install.txt

Struck somewhere.. here are a few fixes ..

https://github.com/kud04rk/ArchBaseInstall/blob/main/ArchInstall_Errors_Fixes.txt

Credits

Chris titus tech

https://github.com/ChrisTitusTech/ArchTitus.git

Install The below desktop enviroment if you please.

I have a Open Box script to install the GUI.

Preview

5_6188198762796549223

Credits for dotfiles and pictures

Harry

https://github.com/owl4ce

To use a desktop environment use the script in the below link.

https://github.com/kud04rk/KdeInstall.git

Step 2

Installaing GUI This includes GUI window manager login manager etc.

OpenboxInstall

This is a simple customizable script to install a new style of desktop enviroment rather your KDEs and Gnomes....

This is a complete desktop environment experince made from openbox.

This is to be installed after the base install of Arch linux.

Here is my repo to install the same. https://github.com/kud04rk/ArchBaseInstall.git

The script uses these dot files: https://github.com/kud04rk/Openbox_Dotfiles.git

NOTE:

Most of the Dotfiles and scritps are from various sources and I have made my tweaks to enhance it to my preference.

I have creditted all the creators in the code and in this readme file.

Features

Packages - Please have a look at the Packages that are being istalled running the script. - Almost all the packages are essential for the working of the environment. - Only remove the packages after install complete install.
Audio - Currently the script uses pulse audio. Pipewire will be implemented in the near future. - Pulse effects are also installe as a flatpak for cusotmization - Spotify is used as the default Music player
Flatpak,AppImages Discover - This supports flatpak, App images for non essential packages(Packages that do not break the install) and Discover is used to manage the faltpaks.
Auto Cpu Freq - This is enabled by default and can be changed later
Backups - Timeshift backups are enabled by default and accesible from grub - snapper is also installed but not configured. can be used if you so choose.
Gaming - Preinstalled steam,lutris and mangohud

Dotfiles

I am using my other git for the Dotfiles https://github.com/kud04rk/Openbox_Dotfiles.git

Here are a few highlights Learn More

Please support the original creator HERE

  • Window Manager β€’ Openbox 🎨 4 modes!
  • Shell β€’ Zsh 🐚 with oh-my-zsh framework!
  • Terminal β€’ kitty
  • Openbox Menu β€’ obmenu-generator
  • Panel β€’ Tint2 🍧 material icons font!
  • Compositor β€’ Picom 🍩 rounded corners!
  • Notify Daemon β€’ Dunst πŸƒ minimalism!
  • Application Launcher β€’ Rofi πŸš€ blazing fast!
  • File Manager β€’ Thunar πŸ”– customized sidebar!
  • Music Player β€’ Spotify # THEMED
  • GUI Basic-IDE β€’ Geany - The Flyweight IDE

Screenshot

opnebox

How to install

Prerequisites

Install the base system of arch from

https://github.com/kud04rk/ArchBaseInstall.git

Minimum Requirements & Resource Usage

My test System Specs

  • CPU: Dual core intel i5 5300u
  • Memory: 12gb ram
  • SSD: 64gb.
  • GPU: Integrated
  • Display : 1920x1080(required)

Minimum Requirements (My estimate)

  • CPU: Dual Code intel i5 4th gen or above
  • Memmory : 2gb (min)/ 4gb remommended
  • SSD: 64 GB minimum(256 gb remommended)
  • GPU: NA
  • Display : 1376x768 or 1920x1080 required
  • Dual monitor supported.

Screenshot of resource usage

2022-04-02-231741_1920x1080_scrot

Steps to Install.

Clone the Git repo

git clone https://github.com/kud04rk/OpenboxInstall.git

Go into the downloaded folder and if not alredy done

chmod 777 openbox_install.sh enabling_services.sh

Run the openbox_install script

./openbox_install.sh

switch to root

sudo -s
./enabling_services.sh

switch back to user and run

exit
./theme_config.sh

Known Problems

Webgreeter at the time of Writing this doc has a few probelms and not getting installed properly.

Visit the official git repo for support.(it will work after dependies are correctly istalled).

My solution:

install it using yay once and also from git repo using git clone once. then it will work.

SMB client:

Also does not work on the current version in AUR. Look at my dependecy list to figure of which version works for smb client or any others. https://github.com/kud04rk/Openbox_Dotfiles/blob/main/dependencies_versions.txt

Credits:

This is hands down my favourite dot files package. I have made only a few tweaks but most of the work belongs to.

HARRY: (https://github.com/owl4ce)

https://github.com/owl4ce/dotfiles.git

Chris titus tech: This script is a tweaked version of his KDE install script.

Done