基础环境
适用系统:
- linux mint 21
- ubuntu 22.04
安装版本:
- asusctl-5.0.10
- rust 1.77.2
构建
- 安装编译环境
sudo apt-get update
sudo apt-get install -y \libasound2-dev \libfreetype6-dev \libexpat1-dev \libxcb-composite0-dev \libssl-dev \libx11-dev \cmake \build-essential \libclang-dev \libclang-dev \libfontconfig-dev \pkg-config \libgdk-pixbuf2.0-0 \libpangomm-1.4-dev \libgtk-3-dev
- 下载源码
wget https://gitlab.com/asus-linux/asusctl/-/archive/5.0.10/asusctl-5.0.10.tar.gz
tar -zxvf asusctl-5.0.10.tar.gz
- 编译
cargo build --release
make && make install
- 启动服务
详细用法请自行查阅文档
sudo systemctl status asusd.service
- 效果图