Arch Linux:環境設定與常用套件

GNOME 桌面設定

匯出與匯入設定檔

# 匯出
dconf dump / >~/.config/dconf/user.conf

# 匯入
dconf load / <~/.config/dconf/user.conf

中文輸入法以及中文環境

安裝 fcitx(注音)

fcitx 相關說明維基寫得很清楚,建議看一下。

# fcitx-im 會一併安裝需要用到的附加套件,內含 fcitx, fcitx-gtk2, fcitx-gtk3 等等
pacman -S fcitx-im fcitx-configtool fcitx-chewing

安裝之後編輯 ~/.xprofile

# for fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

export LANG=zh_TW.UTF-8 # 加入這行,預設語言會變成中文
export LC_CTYPE=zh_TW.UTF-8  # 能輸入中文

編輯完後存檔, reboot 之後系統就會變成中文的了,如果還是無法輸入中文的話,可以嘗試使用 fcitx-diagnose 來偵錯。

其它實用的套件

工具類

# Docker =>
pacman -S docker
systemctl enable docker # 開機時啟用

# tldr =>
# 懶得看 --help 時很好用
pacman -S tldr

# libinput =>
# 用來看 input 的硬體設備
pacaur -S libinput

# alsa =>
# 音訊控制
pacman -S alsa-utils
# 用法(GUI)
alsamixer

# asciinema =>
# 錄製與分享 terminal 影片,產生的檔案非常小。
# [Site](https://asciinema.org/)
pacman -S asciinema # install
# 錄製
asciinema rec # recording,<Ctrl-d> 或輸入 `exit` 停止
asciinema rec /tmp/my_rec.json # 錄製影片,存到本機端
asciinema rec -w 0.2 # 設定每次按鍵的時間間隔
# 播放
asciinema play https://asciinema.org/path
asciinema play /path/to/your.json

# ccat
# 用法和 `cat` 一樣,但支援語法 highlight。
pacaur -S ccat

編輯器

# VSCode
# [Site](https://aur.archlinux.org/packages/visual-studio-code/)
pacaur -S visual-studio-code

繪圖類

# GIMP
# 點陣繪圖與編輯,類似 Adobe Photoshop
pacman -S gimp

# Krita
# 點陣繪圖與編輯,類似 Adobe Photoshop
pacman -S krita

# mypaint
# 著重繪圖功能,類似 Corel Painter
pacman -S mypaint

# Inkscape
# 向量繪圖,類似 Adobe Illustrator
pacman -S inkscape

文書編輯

# LibreOffice
pacman -S libreoffice

GNOME UI

# Materia theme
# [Site](https://aur.archlinux.org/packages/materia-theme)
# [GitHub repo](https://github.com/nana-4/materia-theme)
pacaur -S materia-theme

# Paper Icon
# [Site](https://snwh.org/paper)
# [GitHub repo](https://github.com/snwh/paper-icon-theme)
pacaur -S paper-icon-theme

其他

# Chrome
# [Site](https://aur.archlinux.org/packages/google-chrome/)
pacaur -S google-chrome

參考資料

最後更新時間: