m1gin 659

Installation

https://wiki.archlinux.org/title/Installation_guide

Boot from USB drive.

Load keyboard layout

# loadkeys trq

Connect to Wi-Fi. (Tab Tab will help for auto complete)

# iwctl

[iwd]# device list

[iwd]# station wlan0 connect m1

[iwd]# exit


# timedatectl set-ntp true

#cfdisk // or // #fdisk -l

# mkfs.ext4 /dev/sda5
# mkswap /dev/sda7

# mount /dev/sda5 /mnt

# swapon /dev/sda7

If home should be in another partititon:

# mkdir /mnt/home
# mount /dev/sda6 /mnt/home

For UEFI systems, mount the EFI system partition:

# mkdir /mnt/efi
Then mount the EFI partition on the EFI mount point.

# mount /dev/sda2 /mnt/efi

Start installation:

# pacstrap /mnt base linux linux-firmware

Configuration:

For path (like /dev/sda1) use -L,
for UUID: use -U

# genfstab -U /mnt >> /mnt/etc/fstab
# genfstab -L /mnt >> /mnt/etc/fstab


# arch-chroot /mnt

# ln -sf /usr/share/zoneinfo/Turkey /etc/localtime

# hwclock --systohc

Edit /etc/locale.gen and uncomment en_GB.UTF-8 UTF-8 and other needed locales. Generate the locales by running:

# pacman -S nano
# nano /etc/locale.gen

# sed -i 's/#en_GB.UTF-8/en_GB.UTF-8/g' /etc/locale.gen


# locale-gen

# echo "LANG=en_GB.UTF-8" > /etc/locale.conf

# echo "KEYMAP=trq" > /etc/vconsole.conf

# echo "archpc" > /etc/hostname

# echo "127.0.1.1 archpc" >> /etc/hosts

# mkinitcpio -P

# passwd


# pacman -S grub efibootmgr os-prober

To allow other OS'es to be detected...

nano /etc/default/grub
add or uncomment the following line:
GRUB_DISABLE_OS_PROBER=false

# grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB

# grub-mkconfig -o /boot/grub/grub.cfg



An error fired saying there is no space in efi partition... To be fix it. Unnecessary items deleted from boot menu:

#efibootmgr
#efibootmgr -v
#efibootmgr --delete-bootnum --bootnum 0007

Delete old records, if necessary

#rm -r /boot/EFI/RemixOS
#rm -r /boot/EFI/ubuntu


Connect to Wi-Fi

After long time the following finally works. (Can be run inside arch-chroot)

https://www.youtube.com/watch?v=MAi9DurTRQc

# pacman -S networkmanager network-manager-applet

# systemctl enable NetworkManager.service

# ip link

# systemctl disable netctl-auto@wlan0.service
# systemctl disable dhcpcd@enp1s0.service

After starting xfce4 session (strartxfce4), if network manager is not running, can be started by:

# systemctl start NetworkManager.service


Fixing Ethernet Network Problem after installation:

  • pacman -S dhcpcd
  • systemctl enable dhcpcd
  • ip link

Get interface name from the output of "ip link" and enable it.

  • systemctl enable dhcpcd@enp0s3.service

Instal Desktop Environment

  • pacman -S xorg xorg-server
  • pacman -S xfce4 sudo



PRIMARY:

  • sudo pacman -S zenity code yad wmctrl sxiv recode jq sqlite3 geany openssh xfce4-clipman-plugin xfce4-notifyd xfce4-pulseaudio-plugin xfce4-smartbookmark-plugin xfce4-taskmanager xfce4-whiskermenu-plugin parcellite xautomation lightdm lightdm-gtk-greeter alsa-utils sshfs ufw parallel socat bash-completion python-pip tk mono tap-plugins wget pcmanfm mpv pulseaudio pavucontrol onboard xfce4-notes-plugin ecryptfs-utils oath-toolkit sqlitebrowser xclip proxychains-ng sox libid3tag libmad twolame

sudo systemctl enable lightdm


SECONDARY:

sudo pacman -S opera noto-fonts gnome-subtitles file-roller unrar opera-developer opera-ffmpeg-codecs ardour calf



Manually Installed:

youtube-dl

  1. sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
  2. sudo chmod a+rx /usr/local/bin/youtube-dl



install yay

sudo pacman -S --needed base-devel git

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

install some tools

yay -S easystroke
yay -S espeak
yay -S google-chrome
yay -S xvkbd xsp




PIP:

sudo pip3 install from_root google_speech pymediainfo pydub bs4



Running Monodevelop on Arch Linux

m1gin 0

Wi-Fi keeps disconnecting...

https://wiki.archlinux.org/title/NetworkManager#DHCP_client

By default NetworkManager uses its internal DHCP client.
To use a different DHCP client install one of the alternatives:

  • dhclient
  • dhcpcd

To change the DHCP client backend, set the option main.dhcp=dhcp_client_name with a configuration file in /etc/NetworkManager/conf.d/. E.g.:

/etc/NetworkManager/conf.d/dhcp-client.conf

[main]
dhcp=dhcpcd


Add to: