前言
有了桌面環境,軟體也不可以缺少吧,因此這裡會紀錄一下用到的軟體的安裝方式
教學開始
Yay
- Yay 的 Github
| |
中文輸入法
- 中文輸入法 Wiki
- 這邊我選擇了之前在 Ubuntu 用習慣的 ibus (IBus (简体中文) Wiki)
- 安裝注音輸入法:
pacman -S ibus ibus-chewing vim /etc/environment1 2 3GTK_IM_MODULE=ibus QT_IM_MODULE=ibus XMODIFIERS=@im=ibusvim ~/.xprofile1 2 3 4export CTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus ibus-daemon -drxR- 重新啟動
- 安裝注音輸入法:
Oh My Zsh
- Oh My Zsh 的 官網、Github
- 安裝 zsh:
pacman -S zsh - 看系統是否裝了 zsh:
cat /etc/shells - 切換 Shell 為 zsh:
chsh -s /bin/zsh - 安裝 Git 以及 Curl:
pacman -S git curl - 安裝 oh-my-zsh:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" - 配置主題,我選擇的是 powerlevel10k
- 安裝 Nerd Fonts字體
1 2 3 4 5 6 7# 下載字體 mkdir -p ~/.local/share/fonts cd ~/.local/share/fonts && curl -fLo "Droid Sans Mono for Powerline Nerd Font Complete.otf" https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/DroidSansMono/complete/Droid%20Sans%20Mono%20Nerd%20Font%20Complete.otf # 快取字體 fc-cache -vf ~/.local/share/fonts/ # 查看是否安裝成功 fc-list | grep -i droid - 設定終端字體
- 設定 -> 編輯目前的設定檔… -> 外觀 -> 字型 ->
DroidSansMono Nerd Font
- 設定 -> 編輯目前的設定檔… -> 外觀 -> 字型 ->
- 下載 powerlevel10k:
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k - 修改主題:
vim ~/.zshrc- 修改 ZSH_THEME 為:
ZSH_THEME="powerlevel10k/powerlevel10k"
- 修改 ZSH_THEME 為:
- 更新配置:
source .zshrc
- 安裝 Nerd Fonts字體
- 安裝插件
- 下載 zsh-autosuggestion:
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions - 下載 zsh-syntax-highlighting:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting - 修改 .zshrc:
vim ~/.zshrc1 2 3 4 5 6 7 8plugins=( git extract archlinux colored-man-pages zsh-syntax-highlighting zsh-autosuggestions ) - 更新配置:
source .zshrc
- 下載 zsh-autosuggestion:
Vim 配置
- 請查看 Use Vim as IDE
藍芽設置
- 使用 Sony WH-1000XM4 測試可行
1 2 3 4 5pacman -S bluez bluez-utils systemctl start bluetooth.service systemctl enable bluetooth.service pacman -S pulseaudio-bluetooth reboot
Asus NumberPad
其他軟體
- TLP
1 2pacman -S tlp systemctl enable --now tlp - Google Chrome:
yay -S google-chrome - 1password:
yay -S 1password - Neofetch:
pacman -S neofetch - Keyring:
pacman -S gnome-keyring- Seahorse:
pacman -S seahorse
- Seahorse:
- Visual Studio Code:
yay -S visual-studio-code-bin- 增加在資料夾上右鍵開啟的選項:
vim /usr/share/kservices5/vscodehere.desktop1 2 3 4 5 6 7 8 9 10 11 12 13 14 15[Desktop Entry] Type=Service X-KDE-ServiceTypes=KonqPopupMenu/Plugin MimeType=inode/directory; X-KDE-Priority=TopLevel Actions=openVSCodeHere; X-KDE-AuthorizeAction=shell_access [Desktop Action openVSCodeHere] TryExec=code Exec=code %f Icon=visual-studio-code Name=Open VS Code Here Comment=Opens a VS Code Instance in the current folder
- 增加在資料夾上右鍵開啟的選項:
- Discord:
pacman -S discord - LibreOffice:
pacman -S libreoffice-still libreoffice-still-zh-tw - Hugo-Extended:
yay -S hugo-bin - UxPlay:用於 iPad 的螢幕共享
- 安裝:
1 2 3yay -S uxplay-git systemctl start avahi-daemon.service systemctl enable avahi-daemon.service - 使用:
uxplay
- 安裝: