manjaro个人装机指南
好久没写博客了~~
最近问室友买了一块512G的固态, 就给游戏本装上了双系统, 这个双系统意外的好装啊, 开机还能让我选进 windows 还是 进 manjaro, 为什么大一的时候我没有花闲钱买一块固态呢…
由于上一篇装机实在不太行(自己用的都是另外一套软件), 所以打算再写一篇关于装完机配置的博客, 在安装完系统之后按照博客一步步操作即可
- 配置pacman mirrorlist
sudo pacman-mirrors -i -c China -m rank
- 装软件
sudo pacman -S
git openssh base-devel
picom light acpi tlp xclip scrot dunst
neovim ranger lazygit fzf tmux feh ncdu
python-neovim ueberzug xorg-xinput xorg-xsetroot
ncspot clash firefox neofetch
yay proxychains-ng mpg123 noto-fonts-emoji
fcitx5-im fcitx5-chinese-addons
perl perl-alien-base-modulebuild
steam noto-fonts-emoji
sudo pacman -R
xfce4-power-manager xfce4-notifyd xfce4-terminal
- 登录ncspot,听歌
下载clash订阅文件,放到
~/.clash/clash.yaml
配置 github ssh-key
ssh-keygen -t rsa -b 4096 -C "1312269430@qq.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
# paste id_rsa.pub at github
ssh -T git@github.com
- 下载资源整合包
curl -O https://parad0xpic.oss-cn-hangzhou.aliyuncs.com/zpkg.tar.gz
mkdir zpkg
tar -xzvf zpkg.tar.gz -C zpkg
# or
git clone git@github.com:paradoxskin/zpkg.git
- 使用suckless套件
git clone git@github.com:paradoxskin/dwm.git
git clone git@github.com:paradoxskin/st.git
git clone git@github.com:paradoxskin/dmenu.git
git clone git@github.com:paradoxskin/slock.git
# sudo make clean install all
- github 上下载各种配置文件
git clone git@github.com:paradoxskin/dot_file.git ~/.zStatic/dot_file
git clone git@github.com:paradoxskin/.scripts.git ~/.scripts
git clone git@github.com:paradoxskin/nvim.git ~/.config/nvim
git clone git@github.com:paradoxskin/ranger.git ~/.config/ranger
git clone git@github.com:creaktive/rainbarf.git
- 海量配置
# in zpkg
# system-time -> 修改/etc/locale.gen -> 加入zh_CN.UTF-8 UTF-8
sudo locale-gen
sudo timedatectl set-ntp true
# git
git config --global user.email "1312269430@qq.com"
git config --global user.name "paradoxskin"
# fonts
sudo cp pico-8.ttf /usr/share/fonts/TTF/
sudo cp loli.ttf /usr/share/fonts/TTF/
sudo cp -r SourceCodePro/ /usr/share/fonts/
sudo fc-cache
# lightdm
sudo cp dwm.desktop /usr/share/xsessions/dwm.desktop
sudo cp -r lightdm_wp /usr/share/pixmap/
sudo cplightdm-gtk-greeter.conf /etc/lightdm/
# dot_file
# 如果以下有程序报已存在,则提前删除
# 注意! 要使用绝对路径 !
ln -s **/picom.conf ~/.config/
ln -s **/.bashrc ~/
ln -s **/.tmux.conf ~/
ln -s **/.rainbarf.conf ~/
ls -s **/dunstrc ~/.config/dunst/
# rainbarf
perl Build.PL
./Build test
sudo ./Build install
# touchpad
sudo cp 30-touchpad.conf /etc/X11/xorg.conf.d/30-touchpad.conf
# fcitx5
sudo cp flypy.conf /usr/share/fcitx5/inputmethod/flypy.conf
sudo cp flypy.dict /usr/share/libime/flypy.dict
cp -r PB-color ~/.local/share/fcitx5/themes/
cat .profile >> ~/.profile
# dwm
mkdir ~/.dwm
cp ~/.scripts/autostart.sh ~/.dwm/
# light
sudo chmod +s $(which light)
# image
cp -r * ~/Pictures/
# nvim -> ~/.config/nvim | long time
./plg_ins
# slock
cp -r slock_wp/ /usr/share/pixmap/
sudo useradd slock
sudo passwd slock
# proxychains -> /etc/proxychains.conf
# 注释掉 proxy_dns, 在结尾设置 sock5 与 http
# finish
reboot
2023/10/24很简约对吧(我是说教程), 最近想把博客主题变的再极简点