sata configuration
改成ACHI
模式。(安裝好系統後或者以前須要將win10改成ACHI模型,否者兩個系統沒法同時運行,參考教程)driver=nonfree
,如沒法進入安裝界面,可在進入系統的位置設置systemd.mask=mhwd-live.service
,具體鍵入的位置,以下. 參考 quiet systemd.show_status=1 systemd.mask=mhwd-live.service'
/lib/calamares/modules/mhwdcfg/main.py
進行以下修改php
def run(): """ Configure the hardware """ mhwd = MhwdController() # return mhwd.run() return None # <- Add this and comment the above line
boot/efi
掛載到win10所在的引導分區便可,但必定要保持默認不能格式化
咱們在100G空閒分區中安裝系統,各個分區大小以下linux
分區 | 大小 | 文件系統類型 | 用處 |
---|---|---|---|
/ | 80G | ext4 | 系統安裝位置 |
swap | 8G | linuxswap | 將磁盤模擬爲內存,供內存不足時使用 |
/home | 52G | ext4 | 存放用戶我的文件 |
安裝好之後不能進入系統(配置雙顯卡之後能夠正常進入系統),要在系統啓動那一行使用按e
進入編輯模式,在linux 啓動參數中加入nouveau.modeset=0
,使得開機默認不加載n卡
具體加入位置,大體以下git
quiet resume=UUID=a86c33a5-6e60-4ac7-b81f-d53fe70dffdf nouveau.modeset=0
sudo pacman-mirrors -m rank -c China
/etc/pacman.conf
在文件末尾添加以下github
[archlinuxcn] SigLevel = Optional TrustedOnly Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring
若是是雙顯卡的話,本身使用Prime來管理。[參考](
https://forum.manjaro.org/t/h...數據庫
更改mhwd配置windows
/etc/X11/xorg.conf.d/90-mhwd.conf
,添加optimus.conf
內容以下Section "Module" Load "modesetting" EndSection Section "Device" Identifier "nvidia" Driver "nvidia" BusID "PCI:1:0:0" Option "AllowEmptyInitialConfiguration" EndSection
BusID參數設置,使用lspci | grep -E "VGA|3D"
查看NVIDIA顯卡地址。ide
/etc/modprobe.d/
下全部mhwd-*
相似的文件,例如mhwd-gpu.conf
/etc/modprobe.d/
下添加文件nvidia.conf
,內容以下blacklist nouveau blacklist nvidiafb blacklist rivafb
/etc/modprobe.d/
下添加文件nvidia-drm.conf
options nvidia_drm modeset=1
/usr/share/sddm/scripts/Xsteup
文件內容以下#!/bin/sh xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto
並將該文件設置爲可執行文件。工具
glxinfo | grep -i vendor server glx vendor string: NVIDIA Corporation client glx vendor string: NVIDIA Corporation OpenGL vendor string: NVIDIA Corporation
sudo pacman -S deepin.com.qq.office
安裝timsudo pacman -S gnome-settings-daemon
安裝所需模塊,並在System Settings -> Startup and Shutdown -> Autostart
中添加/usr/lib/gsd-xsettings
爲腳本啓動參考
安裝輸入法ui
sudo pacman -S fcitx-im sudo pacman -S fcitx-configtool sudo pacman -S fcitx-sogoupinyin
新建~/.xprofile
, 添加以下內容this
export LC_ALL=zh_CN.UTF-8 export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS="@im=fcitx"
重啓後有報錯
搜狗輸入法異常!請刪除.config/SogouPY 並重啓
不須要刪除文件,安裝以下,重啓,恢復正常
yay -S fcitx-qt4
時間不正確 參考
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_QWORD /f
sudo ntpd -qg
(須要提早使用sudo pacman -S ntp
安裝對應軟件包)timedatectl set-local-rtc true
系統設置-->桌面行爲