Arch mac : Initial setting #2 install cli

arch

Minimum settings when using arch linux with cli (Common Language Infrastructure)

After completing the process of [arch mac: Initial setting # 1(http://prototype.tel/blog/en/detail/68), execute the following contents

wi-fi network connection

If you are not connected to the network, execute the following

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 48:2a:48:2f:80:bc brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DORMANT group default qlen 1000
    link/ether 10:2f:80:48:2f:bc brd ff:ff:ff:ff:ff:ff

ip link set wlp3s0 up

Turn on the driver that says wlp

systemctl enable NetworkManager

networkmanager を enable

/usr/lib/systemd/system/NetworkManager.servce
/usr/lib/systemd/system/NetworkManager-dispatcher.service
/usr/lib/systemd/system/NetworkManager-wait-online.service

Location where it was created

Network settings

systemctl start NetworkManager

Networkmanager を start

nmcli dev wifi connect wifi-network-name password this-networkname-pass

Example

wifi-name : Bu1145-14SE-19ac
pass : f4fvac34

nmcli dev wifi connect Bu1145-14SE-19ac password f4fvac34

ping -c2 google.com

Check if communication is possible

Change Fn key Function key

echo 2 > /sys/module/hid_apple/parameters/fnmode

echo options hid_apple fnmode=2 > /etc/modprobe.d/hid_apple.conf

macbook keyboard backlight

su username

cd

git clone https://aur.archlinux.org/kbdlight.git

cd kbdlight

makepkg -si

kbdlight operation method

kbdlight up

Increase the amount of light from the keyboard backlight

kbdlight down

Lower the amount of light from the keyboard backlight

light-git setting light intensity backlight

cd

git clone https://aur.archlinux.org/light-git.git

cd light-git

makepkg -si

light -S 12

screen light by 12%

light -U 10

Reduce screen light by 10%

light -A 7

Increase screen light by 7%

yay install

yay cheat sheets

Unofficial tool to support the installation of stray software

cd

git clone https://aur.archlinux.org/yay.git

cd yay

makepkg -si

Home directory automount settings

cd

mkdir q

sudo chmod -R 770 q

Root + general user only read / write permission to q

lsblk --fs

NAME   FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                           
├─sda1 vfat   FAT32       A411-F7A8                             255.1M    15% /boot
├─sda2 swap   1           ????????-????-????-????-????????????                [SWAP]
├─sda3 ext4   1.0         ????????-????-????-????-????????????      8G    53% /
└─sda4 ext4   1.0         4f11f84f-ff46-19fa-ff46-2ca2f1f95f9f  177.6G    55% /home/username/c

sudo micro /etc/fstab

# /dev/sda4
UUID=4f11f84f-ff46-19fa-ff46-2ca2f1f95f9f   /home/username/q  ext4        defaults    0 0

Add the above UUID is your own sda4 UUID

sudo chown -R username:root q

username is a general user created by yourself

sudo chmod -R 770 q

Only root + general users can change to q

micro-bin install (optional)

Install the latest terminal editor that is easy to use even for those who are new to terminal editors

sudo yay -S micro-bin

N

fish shell

pacman -S fish

su username

cd

echo exec fish >> .bashrc

Backup (Optional)

Arch linux backup

thank you

最後までご覧いただきありがとうございました。参考になれば幸いです

いつも助けてくださってありがとうございます

amazon ギフト券 投げ銭リンク

これからもお役に立てる情報を更新します。皆さんのお助けに飛び跳ねて喜びます。ありがとうございます。