====== Huawei MateBook Pro X 2021 ====== Ustawienia dla (X)Ubuntu 21.10 ===== Ogólne ===== Skróty klawiszowe: UEFI: F2 BOOT: F11 ===== GRUB ===== Wejście do boot menu Grub-a przy starcie poprzez przytrzymanie PRAWEGO Shift-a (FIXME: dlaczego lewy nie działa?) ==== Graphics Fix ==== Do ''GRUB_CMDLINE_LINUX_DEFAULT'' dodajemy ''i915.enable_psr=0'': GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_psr=0" Wyłącza to dynamiczne odświeżanie (MateBook może do 90Hz) i wymusza 60Hz, dzięki czemu obraz działa. ===== Pozostałe.. ===== Zmiana DPI dla niestandardowych WM (innych niż. XFCE, GNOME, KDE itp.) Xft.dpi: 192 #!/bin/sh # chmod +x .xinitrc xrdb -merge ~/.Xresources ==== lightdm fix ==== Nowy lightdm odpala sesję poprzez własny ''lightdm-session'' zamiast przez ''Xsession''. Powoduje to nieprawidłowe przetwarzanie części plików X11. Poniżej fix dla prawidłowego ładowania ''.Xresources'' użytkownika: # This file is sourced by Xsession(5), not executed. USRRESOURCES="$HOME/.Xresources" if [ -f "$USRRESOURCES" ]; then if type xrdb >/dev/null 2>&1; then xrdb -merge $USRRESOURCES else # Comment out this command if you desire a legacy-free X environment, and find # the warning spurious. message "warning: xrdb command not found; X resources not merged." fi fi # vim:set ai et sts=2 sw=2 tw=80: === dpi === Podbijanie DPI dla LightDM: [greeter] xft-dpi=260 ==== inputrc ==== Wyłączenie podświetlenia wklejanego tekstu: set enable-bracketed-paste off ==== Ubuntu Software Center ==== Wywalanie monitu o hasło przy instalacji: Install or remove packages To install or remove software, you need to authenticate. yes yes yes ==== Bluetooth ==== Z jakiegoś powodu mysz nie chciała się pojawić przy parowaniu w GUI. Parowanie przez CLI: # bluetoothctl [Bluetooth] power off [Bluetooth] power on [Bluetooth] scan on [Bluetooth] pair XX:XX:XX:XX:XX:XX