FG
💻 Software

Setting a default CPU Frequency in Ubuntu?

Fresh5 days ago
Mar 15, 202610490 views
Confidence Score0%
0%

Problem

How do I get Ubuntu to select a default on boot? These are the frequencies my CPU has available: I want 2200000 set as default. I have learnt that running the following command will do just that: My question is how do I get that to run on boot and stay default?

Error Output

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
2300000 2200000 2000000 1800000 1000000

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Setting a default CPU Frequency in Ubuntu?

Low Risk

The correct way to do this in Ubuntu is: Copy /etc/init.d/skeleton to scriptname and edit it to your needs. Make it executable. Install your script into the Debian runlevels via this command. sudo update-rc.d scriptname defaults Check that links to …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment