manjaro kde 安装后的配置#
启动项#
镜像源(选择清华源)#
1
2
3
|
sudo pacman-mirrors -i -c China -m rank
sudo pacman -Syy
sudo nano /etc/pacman.conf
|
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = http://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
1
2
|
sudo pacman -S archlinuxcn-keyring
sudo apcman -Syyu
|
安装软件#
yay#
1
|
sudo pacman -S yay base-devel
|
1
|
yay --save --aururl "https://aur.tuna.tsinghua.edu.cn"
|
git#
1
2
3
|
git config --global user.name 'lws597'
git config --global user.email '[email protected]'
sudo vim /etc/hosts
|
52.74.223.119 github.com
151.101.77.194 github.global.ssl.fastly.net
151.101.76.133 raw.githubusercontent.com
github 密钥导入#
1
2
|
ssh-keygen
cat .ssh/id_rsa.pub
|
1
|
yay -S gcc go jdk8-openjdk clang python python2 google-chrome netease-cloud-music typora
|
pip#
1
|
yay -S python-pip python2-pip
|
1
2
|
mkdir ~/.pip
nano ~/.pip/pip.conf
|
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = https://pypi.tuna.tsinghua.edu.cn
npm#
1
|
npm config set registry https://registry.npm.taobao.org
|
1
|
npm install -g cnpm --registry=https://registry.npm.taobao.org
|
neovim#
1
2
|
yay -Rns vim
yay -S neovim
|
1
2
|
cd .config
git clone git://github.com/lws597/nvim
|
zsh#
1
|
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
|
zsh 插件#
plugins=(git zsh-autosuggestions zsh-syntax-highlighting autojump web-search extract last-working-dir sudo pip thefuck colored-man-pages colorize safe-paste git-open vi-mode copyfile copydir gitfast command-not-found history)
1
2
3
4
|
yay -S autojump thefuck
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/paulirish/git-open.git $ZSH_CUSTOM/plugins/git-open
|
zshrc 添加#
alias vim="nvim"
alias vi="nvim"
alias rm="rm -i"
alias cp="cp -i"
alias cls="clear"
alias cat="ccat"
alias ra="ranger"
alias -s c=copyfile
alias -s cpp=copyfile
输入法(rime)#
1
2
|
yay -S fcitx-im kcm-fcitx fcitx-rime
sudo vim ~/.xprofile
|
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=""@im=fcitx"
wps#
1
|
yay -S wps-office-mui-zh-cn wps-office ttf-wps-fonts
|
IDE#
1
|
yay -S visual-studio-code-bin
|
1
|
yay -S nerd-fonts-complete ttf-monaco ttf-hanazono
|
主题 arc
图标 numix papirus
光标 mcmojave
其他软件#
1
|
yay -S xmind zoom dingtalk electronic-wechat qq-linux
|
双系统时间#
windows 端管理员下 cmd 或 powershell
1
|
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_QWORD /f
|