記一次manjaro安裝配置


原文:https://www.cnblogs.com/Observer-A/p/13771829.html

 


 

1. 開始安裝

  安裝時最好斷網,否則可能會卡在 misc postinstall configurations

  到bios下把secure boot和fastboot關掉

 

2. 掛載點

  掛載點/      標記root

  掛載點/home  無標記

  掛載點/boot/efi 標記boot

 

3. 字體

  1. 全局

    系統設置->字體 里調整所有字體

    noto sans cjk sc medium 11pt

    小字體 noto sans cjk sc medium 10pt

    固定寬度  noto sans mono cjk sc 10pt

  2. firefox

    先把語言改成中文重啟

    

 

4. 添加archlinuxcn源  Arch Linux 中文社區倉庫

  用sudo pacman-mirrors -i -c China -m rank 換個國內源

  sudo nano /etc/pacman.conf

  在打開文件的最后面加上

  [archlinuxcn]

  Server = https://mirrors.aliyun.com/archlinuxcn/$arch

 

  sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring

  sudo pacman -S archlinuxcn-mirrorlist-git

 

  sudo nano /etc/pacman.conf

   把剛加的改成

  [archlinuxcn]

  SigLevel = Optional TrustAll

  Include = /etc/pacman.d/archlinuxcn-mirrorlist

 

  sudo nano /etc/pacman.d/archlinuxcn-mirrorlist

  把要用的源前面的#去掉

 

5. 家目錄下,通用文件夾名稱中英文互轉:

  --(1)中文->英文

    export LANG=en_US.UTF-8

    xdg-user-dirs-update --force

  --(2)英文->中文

    export LANG=zh_CN.UTF-8

    xdg-user-dirs-update --force

  文件管理器里的再手動改一下 右鍵->編輯

    

 

6. 更新軟件,裝yay和base-devel

  sudo pacman -Syyu

  sudo pacman -S yay base-devel

 

7. 換源,改hosts

  [yay]

    https://mirrors4.tuna.tsinghua.edu.cn/help/AUR/

 

  [pip]

    https://mirrors4.tuna.tsinghua.edu.cn/help/pypi/

 

  [github]

# GitHub Start
140.82.112.4    github.com
140.82.113.6    api.github.com
140.82.112.3    gist.github.com
185.199.108.153 assets-cdn.github.com
151.101.1.194   github.global.ssl.fastly.net
151.101.108.133 raw.githubusercontent.com  
151.101.108.133 camo.githubusercontent.com
151.101.108.133 gist.githubusercontent.com  
151.101.108.133 cloud.githubusercontent.com 
151.101.108.133 user-images.githubusercontent.com
151.101.108.133 avatars0.githubusercontent.com
151.101.108.133 avatars1.githubusercontent.com
151.101.108.133 avatars2.githubusercontent.com
151.101.108.133 avatars3.githubusercontent.com
151.101.108.133 avatars4.githubusercontent.com
151.101.108.133 avatars5.githubusercontent.com
151.101.108.133 avatars6.githubusercontent.com
151.101.108.133 avatars7.githubusercontent.com
151.101.108.133 avatars8.githubusercontent.com
# GitHub Start 

    把上面這幾個加到hosts里 sudo nano /etc/hosts

    可以到這兩個里測看看有沒有更快的

    https://site.ip138.com/

    https://www.ipaddress.com/

 

8. 輸入法

  1. https://github.com/fkxxyz/rime-cloverpinyin/wiki/linux

  2. 裝上之后運行fcitx5,到輸入法的配置->配置附加組件->經典用戶界面

    里把字體改noto sans cjk sc medium 大小14號

  3. 到系統設置->開機和關機->自動啟動 里設置fcitx5自啟動

 

9. 同步win linux 時間

  sudo timedatectl set-local-rtc 1

 

10. 改grub等待時間

  1. sudo nano /etc/default/grub

    改GRUB_TIMEOUT后面的數字

  2. sudo update-grub

 

11. 調高鼠標滾輪速度

  1. sudo pacman -S imwheel

  2. sudo nano ~/.imwheelrc

  3. 寫入

".*"
None,      Up,      Button4, 4
None,      Down,    Button5, 3
Control_L, Up,      Control_L|Button4
Control_L, Down,    Control_L|Button5
Shift_L,   Up,      Shift_L|Button4
Shift_L,   Down,    Shift_L|Button5

  4. whereis imwheel 查看安裝路徑

  5. 到系統設置->開機和關機->自動啟動里設置自啟動

 

12.  配置ohmyzsh

  Manjaro-KDE配置全攻略 5.2

  解決 Zsh 卡頓問題

  使用oh-my-zsh后導致的卡頓問題

 

13. 換dns解決github.io上不去

  1. https://www.alidns.com/ 阿里的dns

  2. sudo nano /etc/resolv.conf

  3. 將nameserver改成阿里的

nameserver 223.5.5.5
nameserver 223.6.6.6

 

14. 軟件

  1. yay -S netease-cloud-music  #網易雲音樂  (沒法輸中文,能粘貼

  2. yay -S timeshift        #timeshift

  3. yay -S xdman        #xdm (tool里設置語言

  4. sudo pacman -S gparted   #分區工具

 

15.顯卡驅動

  到系統設置->硬件設定里裝上閉源驅動

  inxi -G 確認一下

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM