Archlinux 2022安装配置之Gnome40
安装 Gnome
1 | yay -S gnome gnome-tweak-tool gnome-shell chrome-gnome-shell xorg-xrandr |
设置登陆管理器自启
1 | sudo systemctl enable gdm |
高分屏 HiDPI
gnome-tweak-tool 中可以调整缩放
高分屏用以下方法
注意: scaling-factor仅能设置为整数。1 = 100%,2 = 200%……等等
1 | gsettings set org.gnome.desktop.interface scaling-factor 2 |
如果想调整为1.2可以这么做
1 | # 先设置为两倍大小 |
fcitx5 输入法
搭配使用 https://wiki.archlinux.org/title/Fcitx5_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
1 | yay -S fcitx5 fcitx5-rime fcitx5-qt fcitx5-gtk fcitx5-config-qt gnome-shell-extension-kimpanel-git fcitx5-material-color |
配置环境变量
1 | vim ~/.pam_environment |
重启后在拓展中启动 kimpanel 插件状态栏就会出现输入法图标
配置小鹤音型
个人配置
1 | mkdir -p ~/software/git |
#配置蓝牙
https://wiki.archlinux.org/title/Bluetooth_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
安装软件包
1 | yay -S bluez bluez-utils pulseaudio-bluetooth |
启动服务
1 | systemctl start bluetooth.service |
重启系统即可连接蓝牙
充电域值
配置详解 https://linrunner.de/tlp/settings/battery.html
archlinux wiki https://wiki.archlinux.org/title/TLP_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
安装tlp
1 | yay -S tlp |
修改配置 /etc/tlp.conf
充电达到80%停止充电,低于75开始充电
1 | sudo vim /etc/tlp.conf |
一键设置充电域值脚本
1 | #!/bin/bash |
给予可执行权限
1 | chmod +x battery80 |
1 | ## 开机自启 |
触摸版配置
开启三指切换工作区等多触控手势
应该只支持 X11(xorg),其他请自行测试
- 安装多触控 GnomeExtends 插件
https://extensions.gnome.org/extension/4033/x11-gestures/ - 安装触摸版手势 Touchégg
Github:https://github.com/JoseExposito/touchegg#gnome - 安装 touche Gui 软件管理触摸版手势(可选)
1
yay -S touchegg touche
笔记本最大亮度
笔记本有时候拔出电源会自动将亮度调整最低,所以写个脚本设置最高亮度
shell脚本vim ~/software/shell/max-brightness
1 | #!/bin/sh |
设置可执行权限并链接到/usr/local/bin
1 | chmod +x max-brightness |
完成后在设置中增加快捷键即可
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment