title: manjaro的美化
date: 2019-04-24 22:59:57
tags: manjaro
categories: manjaro
加入arch源
[archlinuxcn] SigLevel = Optional TrustedOnly Server = https://mirrors.ustc.edu.cn/archlinuxcn/$archblackarch源(可以选择加入)
[blackarch] SigLevel = Optional TrustAll Server = https://mirrors.ustc.edu.cn/blackarch/$repo/os/$arch面对高校的源
[arch4edu] SigLevel = Never Server = $archck源
[repo-ck] Server = $arch设置国内源 选择前三个 快的
sudo pacman-mirrors -i -c China -m rank全局更新
sudo pacman -Syyu数据库被锁,删除/var/lib/pacman/db.lck
rm /var/lib/pacman/db.lck导入key
sudo pacman -Sy archlinuxcn-keyring导入失败
sudo pacman -Syu haveged sudo systemctl start haveged sudo systemctl enable haveged sudo rm -rf /etc/pacman.d/gnupg pacman-key --init pacman-key --populate archlinux pacman-key --populate archlinuxcn 挂载硬盘 sudo mount -t ntfs-3g /dev/sda1 /mnt sudo fdisk -l #查看UUID sudo blkid sudo vim /etc/fstab UUID=DA18EBFA09C1B27D /mnt/Windows ntfs-3g rw,umask=0000,defaults 0 0 常用命令 安装 pacman -S package_name |yay -S package_name 删除 pacman -R package_name 查询net pacman -Q |grep net解决Windows和Linux双系统时间不一致问题
sudo timedatectl set-local-rtc 1
搜狗拼音 sudo pacman -S fcitx-im sudo pacman -S fcitx-configtool sudo pacman -S fcitx-sogoupinyin添加配置文件
sudo vi ~/.xprofile内容
export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS=@im=fcitx fcitx-configtool #对于jetbrians系列fcitx无法跟随的情况 fcitx输入法配置>附加组件>勾选高级>xim前端>勾选on the spot 安装工具 sudo pacman -S yaourt yay ZSH sudo pacman -S zsh sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" chsh -s /bin/zsh 可选插件安装 高亮插件高亮zsh-syntax-highlighting 高亮你的zsh可用命令插件
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting激活插件
sudo vi ~/.zshrc加入插件
plugins=(git zsh-syntax-highlighting)让他生效
source ~/.zshrc zsh-autosuggestions git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions加入插件
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)生效 source ~/.zshrc
zsh补全插件创建目录
mkdir ~/.oh-my-zsh/custom/plugins/incr把下载的文件移动进去
sudo vi ~/.zshrc添加
plugins=(git zsh-syntax-highlighting incr)在~/.zshrc文件末尾加上
source ~/.oh-my-zsh/plugins/incr/incr*.zsh更新.zshrc文件:
source ~/.zshrc spaceship主题 git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"打开~/.zshrc 设置主题
ZSH_THEME="spaceship" 中文字体 文泉驿家族: sudo pacman -S --noconfirm wqy-microhei &&fc-cache -fv sudo pacman -S wqy-microhei-lite sudo pacman -S wqy-bitmapfont sudo pacman -S wqy-zenhei YaHei-Consolas字体 cd /tmp&&git clone https://github.com/GitHubNull/YaHei-Consolas-Hybrid-1.12.git --depth 1&&sudo sh YaHei-Consolas-Hybrid-1.12/setup.sh 选用: yaourt -S ttf-meslo sudo pacman -S adobe-source-han-sans-cn-fonts sudo pacman -S adobe-source-han-serif-cn-fonts sudo pacman -S noto-fonts-cjk 软件安装谷歌 vim git vs vlc neofetch 网易云 foxitreader 火狐汉化 uget
yay -S google-chrome vim git visual-studio-code-bin vlc neofetch netease-cloud-music foxitreader firefox-i18n-zh-cn ugetbat cat的克隆
xmind zen
pdf-footer-zh-CN.svg png-watermark-zh-CN.svg print-watermark-zh-CN.svgncdu 可视化分析目录占用
redshift 色温调节
virtualbox 虚拟机 安装对应内核
qalculate 计算器
wiznote 为知笔记
Albert 软件启动器
wps wps字体 wps-office ttf-wps-fonts
file-roller unrar unzip p7zip 压缩解压缩
motrix
aria2
需要安装以下工具即可正常使用ifconfig
sudo pacman -S net-tools dnsutils inetutils iproute2spacevim
curl -sLf https://spacevim.org/cn/install.sh | bashcool-retro-term 一个怀旧的终端
开发软件