Created
November 28, 2024 11:08
-
-
Save unixc3t/cb5ef56c2b6245dd2533071d197a779a to your computer and use it in GitHub Desktop.
manajro dev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/locale.conf | |
LANG=en_US.UTF-8 | |
1 sudo pacman-mirrors -c China -i -m rank | |
select ustc | |
2 sudo pacman -Syy && sudo pacman -Syu | |
3 sudo pacman -S vim | |
sudo vim /etc/pacman.conf # 打开文件 | |
[archlinuxcn] | |
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch | |
Server = https://mirrors.sjtug.sjtu.edu.cn/manjaro/stable/$repo/$arch | |
sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring | |
install nvidia by manjaro setting manager | |
4 install kernel | |
mhwd-kernel -l | |
sudo pacman -S nvidia | |
sudo mhwd-kernel -i linuxXXX rmc | |
reboot | |
sudo pacman -S linuxXXX-nvidia-XXX # but use manjaro setting mananger install nvidia | |
sudo pacman -Rns $(pacman -Qsq fcitx5) | |
输入法 | |
sudo pacman -S yay | |
sudo pacman -S fcitx5-chinese-addons fcitx5-rime fcitx5-im | |
.xinitrc | |
export GTK_IM_MODULE=fcitx | |
export QT_IM_MODULE=fcitx | |
export XMODIFIERS=@im=fcitx | |
export QT_QPA_PLATFORMTHEME="qt5ct" | |
.profile | |
export QT_QPA_PLATFORMTHEME="qt5ct" | |
export XMODIFIERS=@im=fcitx | |
export GTK_IM_MODULE=fcitx | |
export QT_IM_MODULE=fcitx | |
/etc/environment | |
GTK_IM_MODULE=fcitx | |
QT_IM_MODULE=fcitx | |
XMODIFIERS=@im=fcitx | |
QT_QPA_PLATFORMTHEME=qt5ct | |
git clone --depth=1 https://github.com/Mark24Code/rime-auto-deploy.git --branch latest | |
env XMODIFIERS=@im=fcitx GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx wechat | |
安装字体 | |
设置zsh | |
which zsh | |
为 root 设置默认 shell | |
sudo chsh -s /usr/bin/zsh | |
为特定用户设置shell | |
sudo chsh -s /usr/bin/zsh rudy | |
git | |
git config --global user.name "rudy" | |
git config --global user.email [email protected] | |
git config --global init.defaultBranch main | |
sudo pacman -S base-devel | |
oh-my-zh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
asdf | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1 | |
. "$HOME/.asdf/asdf.sh" | |
asdf plugin add rust https://github.com/code-lever/asdf-rust.git | |
asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git | |
asdf plugin add java https://github.com/halcyon/asdf-java.git | |
asdf plugin add elixir https://github.com/asdf-vm/asdf-elixir.git | |
asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git | |
asdf plugin add python https://github.com/danhper/asdf-python.git | |
asdf plugin add yt-dlp https://github.com/duhow/asdf-yt-dlp | |
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git | |
asdf plugin add golang https://github.com/asdf-community/asdf-golang.git | |
asdf plugin add yarn https://github.com/twuni/asdf-yarn.git | |
asdf list all rust | |
paru | |
startship | |
vscode | |
wechat-bin | |
sudo groupadd docker | |
sudo gpasswd -a rudy docker | |
sudo systemctl restart docker | |
sudo chmod a+rw /var/run/docker.sock | |
smplayer | |
goldendict |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment