{"id":26003209,"url":"https://github.com/aatrick/arch-matebook-x-pro","last_synced_at":"2025-06-23T19:06:51.012Z","repository":{"id":279687709,"uuid":"939624479","full_name":"Aatrick/Arch-Matebook-X-Pro","owner":"Aatrick","description":"Arch setup fresh out of arch installation","archived":false,"fork":false,"pushed_at":"2025-03-05T08:17:13.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T14:36:45.593Z","etag":null,"topics":["archlinux","huawei","install-script","linux","matebook-x-pro"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aatrick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-26T20:54:30.000Z","updated_at":"2025-05-25T06:26:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"5fc1ff21-fc0d-4381-8888-498801e8aca1","html_url":"https://github.com/Aatrick/Arch-Matebook-X-Pro","commit_stats":null,"previous_names":["aatrick/arch-matebook-x-pro"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aatrick/Arch-Matebook-X-Pro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FArch-Matebook-X-Pro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FArch-Matebook-X-Pro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FArch-Matebook-X-Pro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FArch-Matebook-X-Pro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aatrick","download_url":"https://codeload.github.com/Aatrick/Arch-Matebook-X-Pro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FArch-Matebook-X-Pro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261539318,"owners_count":23174136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archlinux","huawei","install-script","linux","matebook-x-pro"],"created_at":"2025-03-05T20:00:45.477Z","updated_at":"2025-06-23T19:06:50.961Z","avatar_url":"https://github.com/Aatrick.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arch Linux Setup Guide for Huawei Matebook X Pro\n\nThis guide explains the setup process implemented by the installation script in the Arch-Matebook-X-Pro repository. The script configures Arch Linux specifically for the Huawei Matebook X Pro laptop, optimizing for battery life, and functionality.\n\n```bash\ncurl -O https://raw.githubusercontent.com/Aatrick/Arch-Matebook-X-Pro/main/install_script.sh\nchmod +x install_script.sh\n./install_script.sh\n```\n\n## What the script does\n\n### 1. System Update and Pacman Optimization\n\n```bash\nsudo pacman -Syu --noconfirm\nsudo sed -i 's/^#Color/Color/' /etc/pacman.conf\nsudo sed -i 's/^#ParallelDownloads = 5/ParallelDownloads = 5/' /etc/pacman.conf\nsudo echo \"ILoveCandy\" \u003e\u003e /etc/pacman.conf\n```\n\n* Update the system packages\n* Configures pacman for better performance:\n    * Enables colored output\n    * Enables parallel downloads\n    * Adds ILoveCandy to pacman\n\n### 2. Mirror Configuration\n\n```bash\nsudo pacman -S --noconfirm reflector\nsudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak\nsudo reflector --verbose --latest 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist\n```\n\n* Install reflector\n* Backs up the current mirrorlist\n* Configures the fastest HTTPS mirrors for improved download speeds\n\n### 3. AUR Helper Installation\n\n```bash\nsudo pacman -S --needed --noconfirm base-devel\ngit clone https://aur.archlinux.org/paru.git\ncd paru\nmakepkg -si\n```\n\n* Installs base-devel packages required for building packages\n* Clones and installs paru AUR helper\n* Uses paru for installing AUR packages later in the script\n\n### 4. Desktop Environment Setup\n\n```bash\nsudo pacman -S --noconfirm xorg\nsudo pacman -S --noconfirm gnome-shell gdm gnome-console gnome-control-center gnome-keyring gnome-menus gnome-session gnome-settings-daemon gnome-shell-extensions gnome-text-editor nautilus\nsudo systemctl enable gdm.service\n```\n\n* Installs Xorg display server\n* Sets up GNOME desktop environment with essential components\n* Enables GDM display manager\n\n### 5. Power Management Optimization\n\n```bash\nsudo pacman -S --noconfirm cpupower acpi acpid intel-ucode\n# Creates power-management.sh script\nsudo systemctl enable power-management.service\nsudo pacman -S --noconfirm tlp tlp-rdw smartmontools ethtool\nsudo systemctl enable tlp\n```\n\n* Installs CPU frequency management tools\n* Creates custom power management script that:\n    * Limits CPU frequency to save battery\n    * Disables CPU Turbo Boost\n    * Disables half of the CPU cores when on battery\n    * Limits GPU frequency\n* Configures the script to run at system startup\n* Installs and configures TLP for additional power savings\n\n### 6. CPU Undervolting\n\n```bash\nsudo pacman -S intel-undervolt\n# Configures intel-undervolt.conf\nsudo systemctl enable intel-undervolt\n```\n\n* Installs intel-undervolt\n* Configures safe undervolting settings to reduce heat and power consumption:\n    * CPU: -115mV\n    * GPU: -90mV\n    * Cache: -115mV\n    * System components: -30mV\n* Sets power limits and temperature offset\n* Enables the service to apply settings at boot\n\n### 7. Graphics Configuration\n\n```bash\nparu -S --noconfirm xf86-video-intel libvdpau-va-gl intel-media-driver sof-firmware nvidia-dkms nvidia-utils nvidia-settings\nparu -S --noconfirm envycontrol\nsudo envycontrol -s integrated\n```\n\n* Installs Intel and NVIDIA drivers\n* Sets up video acceleration with VA-API\n* Configures envycontrol for GPU switching capabilities\n* Sets integrated graphics mode to maximize battery life\n\n### 8. Additional Software Installation\n\n```bash\nsudo pacman -S --noconfirm timeshift htop\n# Downloads wallpaper\nparu -S visual-studio-code-bin google-chrome legcord-bin vlc\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n```\n\n* Installs timeshift for system backups\n* Sets up a default wallpaper\n* Installs common applications:\n    * Visual Studio Code\n    * Google Chrome\n    * Discord (legcord-bin)\n    * VLC media player\n* Installs uv Python package installer\n\n### 9. Final System Configuration\n\n```bash\nsudo systemctl enable bluetooth\nsudo systemctl reboot\n```\n\n* Enables Bluetooth service\n* Reboots the system to apply all changes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatrick%2Farch-matebook-x-pro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faatrick%2Farch-matebook-x-pro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatrick%2Farch-matebook-x-pro/lists"}