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
系统设置-->桌面行为