Archlinux日常安装备份

安装

2021年7月29日更新:
archinstall脚本安装(需要先格式化分区参考arch wiki)

2019年12月23日更新:
已改用图形化安装
anarchy linux
或者
archfi脚本安装

安装后我的配置(i3为例)

i3

sudo pacman -S alacritty feh lxappearance git dunst ttf-font-awesome ttf-ionicons libnotify wqy-microhei os-prober gpick chromium elementary-icon-theme adapta-gtk-theme archlinux-wallpaper zsh man-db inter-font ttf-roboto-mono catimg conky scrot gst-libav mousepad

alacritty: sudo cp /usr/share/doc/alacritty/example/alacritty.yml ~/.config/alacritty/alacritty.yml
i3status: sudo cp /etc/i3status.conf ~/.config/i3status/config
Notification: sudo vim /usr/share/dbus-1/services/org.freedesktop.Notifications.service

[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/bin/dunst

ntp:
timedatectl set-ntp true
timedatectl set-timezone Asia/Shanghai
timedatectl set-local-rtc true

中文

pacman -S wqy-microhei

输入法

pacman -S fcitx fcitx-configtool fcitx-googlepinyin
sudo vim ~/.pam_environment

GTK_IM_MODULE DEFAULT=fcitx
QT_IM_MODULE  DEFAULT=fcitx
XMODIFIERS    DEFAULT=\@im=fcitx

文档管理器

pacman -S ntfs-3g thunar gvfs-smb gvfs-mtp

"Not authorized" error when attempting to mount drive

sudo vim /etc/polkit-1/rules.d/00-mount-internal.rules

polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" &&
      subject.local && subject.active && subject.isInGroup("storage")))
      {
         return polkit.Result.YES;
      }
});

And add your user to storage group::

sudo usermod -aG storage {username}

网络及vpn配置

pacman -S network-manager-applet networkmanager-l2tp strongswan networkmanager-strongswan

Phase1 Algorithms 字段中输入 aes128-sha1-modp2048
Phase2 Algorithms 字段中输入 aes128-sha1

声卡

pacman -S alsa-utils pulseaudio-alsa volumeicon

Grub

sudo vim /etc/default/grub:
GRUB_DISABLE_OS_PROBER=false

你可能感兴趣的:(Archlinux日常安装备份)