Skip to content

Instantly share code, notes, and snippets.

@ahhajlou
Last active September 26, 2024 04:20
Show Gist options
  • Save ahhajlou/d1515027d89a906b0ffd143783a9715e to your computer and use it in GitHub Desktop.
Save ahhajlou/d1515027d89a906b0ffd143783a9715e to your computer and use it in GitHub Desktop.
Linux_on_Asus_Laptop
# https://askubuntu.com/questions/1254364/how-to-control-fans-on-an-asus-laptop/1398098#1398098
cat << EOF >>~/.bashrc
alias fan-turbo='cd /sys/devices/platform/asus-nb-wmi; sudo sh -c "echo 1 >> fan_boost_mode"; sudo sh -c "echo 1 >> throttle_thermal_policy"; source ~/.bashrc; cd ~;'
alias fan-performance='cd /sys/devices/platform/asus-nb-wmi; sudo sh -c "echo 0 >> fan_boost_mode"; sudo sh -c "echo 0 >> throttle_thermal_policy"; source ~/.bashrc; cd ~;'
alias fan-silent='cd /sys/devices/platform/asus-nb-wmi; sudo sh -c "echo 2 >> fan_boost_mode"; sudo sh -c "echo 2 >> throttle_thermal_policy"; source ~/.bashrc; cd ~;'
EOF
source ~/.bashrc
@ahhajlou
Copy link
Author

ahhajlou commented Aug 3, 2024

Temperature and fan monitor

sudo dnf install lm_sensors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment