华为matebook 13 安装Debian

  • 时间:2025-11-13 20:54 作者: 来源: 阅读:3
  • 扫一扫,手机访问
摘要:** 华为 matebook 13 网络安装 Debian 11 及配置 ** 2021年10月更新 本人配置: Huawei Matebook 13 i5 集显版 2018 版 网卡:Intel® Wireless-AC 9260 声卡:Realtek ALC256 耳机插入不自动识别,需要配置 不能用功能: 指纹识别,一碰传 一, 准备安装: 1.下载Debian 11 便捷连接:失效了

** 华为 matebook 13 网络安装 Debian 11 及配置 **
2021年10月更新
本人配置: Huawei Matebook 13 i5 集显版 2018 版
网卡:Intel® Wireless-AC 9260
声卡:Realtek ALC256 耳机插入不自动识别,需要配置

不能用功能: 指纹识别,一碰传

一, 准备安装

1.下载Debian 11
便捷连接:失效了就按下面的步骤手动来
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.2.0+nonfree/amd64/iso-cd/firmware-11.2.0-amd64-netinst.iso

*手动方法: https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/ ,找到 11.x.x+nonfree 目录点进去, 选amd64, 再选择iso-cd 目录, 拉到最低下下载firmware-11.x.x-amd64-netinst.iso 这个文件.

2.下载网卡驱动
便捷连接:失效了就按下面的步骤手动来
https://mirrors.tuna.tsinghua.edu.cn/debian/pool/non-free/f/firmware-nonfree/firmware-iwlwifi_20210818-1_all.deb

*手动方法:
https://mirrors.tuna.tsinghua.edu.cn/debian/pool/non-free/f/firmware-nonfree/
找“firmware-iwlwifi” 打头的日期是最新的那个就是

3.U盘制作(格式化为FAT32或者NTFS)

打开Debian 11镜像文件,将里面的内容全部拷贝到U盘里将网卡驱动包firmware-iwlwifi_xxxx_all.deb拷贝到u盘的firmware文件夹里

4.开始安装:

1)打开BIOS,关闭Security Boot
2)插入type-c拓展坞,插入U盘同时,再插个鼠标(触摸板在完全安装系统后才能用)
3)开始进入安装界面一路yes,按照正常步骤来

二, 基本配置
0.sudo权限
方法1:
su root
sudo usermod -aG sudo 你的用户名

重启电脑

方法2:
使用su终端登陆root,然后

vi /etc/sudoers
在#User privilege specification, 加入下面第二行
root ALL=(ALL:ALL) ALL
你的用户名 ALL=(ALL:ALL) ALL
备注: 如果不知道你的用户名,在普通权限下终端输入whoami

1.耳机插入识别

sudo nano /etc/modprobe.d/alsa-base.conf
添加下面这句:
options snd-hda-intel model=dell-headset-multi

4.输入法设置(安装拼音ibus)
sudo apt install ibus ibus-libpinyin
安装完后去设置语言添加汉语拼音就行

5.多指触控设置
请看https://blog.csdn.net/cg751943651/article/details/88555673

6.笔记本续航配置(特别重要)
sudo apt install tlp
*如果需要加强版续航,按照下面配置. 不需要就跳过
sudo cp tlp(续航特久的文档.下面可下载) /etc/default/tlp
TLP续航配置:
https://github.com/gong2009/my_config/tree/master/Matebook13

7.合盖睡眠中断
在关闭盖子休眠的时候,莫名其妙会自动启动
sudo nano /etc/systemd/system/disable-USB-wakeup.service
写入:
[Unit]
Description=Disable USB wakeup triggers in /proc/acpi/wakeup
[Service]
Type=oneshot
ExecStart=/bin/sh -c " echo XHC > /proc/acpi/wakeup"
ExecStop=/bin/sh -c “echo XHC > /proc/acpi/wakeup”
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target

再执行
sudo systemctl enable disable-USB-wakeup.service
sudo systemctl start disable-USB-wakeup.service

8.去除update-initramfs警告缺少固件信息
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_04.bin for module i915
sudo apt install firmware-misc-nonfree

** 三, Gnome 桌面(根据个人喜好,可选)**
1.HiDPI字体缩放(Gnome 桌面)
gnome环境只有100% 和 200%的选项, 在terminal里输入
wayland下:
gsettings set org.gnome.mutter experimental-features “[‘scale-monitor-framebuffer’]”
xorg下:
gsettings set org.gnome.mutter experimental-features “[‘x11-randr-fractional-scaling’]”
然后注销重新登陆, 可以在设置里调到150%

2.Gnome 常用拓展
登陆https://extensions.gnome.org/, 搜索
连接手机:GSConnect
触摸板: Extended Gestures
温度检测: Sensory Perception, 需要安装 sudo apt install lm-sensors 然后重启

3.连接副显示器
Gnome 连接显示器后显示登陆界面在外部显示器
sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
sudo chown gdm:gdm ~gdm/.config/monitors.xml

5设置Flat Remix GNOME/Ubuntu/GDM theme

点开https://www.gnome-look.org/p/1013030在File标签下 找到01-Flat-Remix_20210118.tar.xz这一行下载在用户目录创建 ".themes"目录解压主题文件,把里面的全部主题拷贝到上面的文件夹在 “扩展” 开启theme扩展, 去tweek里选择主题

6.增加常用字体(可选)

mkdir ~/.fonts解压lz打包的字体文件Arial,把所有字体文件拷贝到.fonts目录里.https://github.com/gong2009/my_config/blob/master/software_conf/arialztxz.zipsudo fc-cache -f -v

四, Flatpak(根据个人喜好,可选)
1.Flatpack基本配置, 三条命令依次输入终端
sudo apt install flatpak gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

*命令行安装例子:
安装steam: flatpak install flathub com.valvesoftware.Steam

-------------结束---------------
ref: https://bbs.archlinux.org/viewtopic.php?id=204127
https://www.linuxuprising.com/2019/04/how-to-enable-hidpi-fractional-scaling.html

*附录
博主自己精简的内核配置:
https://github.com/Error1x/Self_resources/blob/master/Matebook13/config_WRT_WX9
Ubuntu 18.10内核配置文件:
https://github.com/Error1x/Self_resources/blob/master/Matebook13/config-4.18.0-16-generic

  • 全部评论(0)
最新发布的资讯信息
【系统环境|】如何在日期天数后快速加上第n天的英文后缀?(2025-11-13 22:32)
【系统环境|】法兰的基本知识(2025-11-13 22:32)
【系统环境|】「从零搭建」用 SpringBoot + 向量搜索打造智能短视频推荐系统!(2025-11-13 22:31)
【系统环境|】常用英语词语辨析105组(内容有点多,请收藏备用)(2025-11-13 22:31)
【系统环境|】英语高级词汇:asylum(2025-11-13 22:30)
【系统环境|】第1章 电气家装仪表的使用方法与技巧(2025-11-13 22:29)
【系统环境|】最快获得VC的方式#NBA2K(2025-11-13 22:29)
【系统环境|】用 VitePress 搭建电子书,绝了!(2025-11-13 22:28)
【系统环境|】时隔多年,VitePress 终于迎来了 v1.0 !(2025-11-13 22:28)
【系统环境|】每日 GitHub 探索|探索一系列热门开源项目,提升你的技能(2025-11-13 22:27)
手机二维码手机访问领取大礼包
返回顶部