Code Monkey home page Code Monkey logo

Comments (2)

konkor avatar konkor commented on September 2, 2024

Actually, it's possible. You just have to know GUID of a custom profile. Unfortunately, there is no such info in GUI yet but you could take a look at dconf-editor or dconf and find desired GUIDs for your script:

dconf dump  "/org/gnome/shell/extensions/cpufreq/"

# YOU CAN USE IT like this:

$ cpufreq-application -p efd73d3a96e8e59fc8cbb3625c8a4b5b

# OR

$ cpufreq-application -p efd73d3a96e8e59fc8cbb3625c8a4b5b --no-save

# (to switch without remembering)

$ cpufreq-application --help
Usage:
  cpufreq-application [OPTION...]

Help Options:
  -h, --help                 Show help options
  --help-all                 Show all help options
  --help-gtk                 Show GTK+ Options
  --help-gapplication        Show GApplication options

Application Options:
  --debug                    Enable debugging messages
  --verbose                  Enable verbose output
  --extension                Enable extension mode
  --no-save                  Do not remember applying profile
  -p, --profile=GUID         Enable power profile battery|balanced|performance|system|user|GUID
  --display=DISPLAY          X display to use

from cpufreq.

konkor avatar konkor commented on September 2, 2024

Also, you can use cpufreqctl for tuning CPU parameters from user space.

$ cpufreqctl --help
Package version: 21
Usage:
  cpufreqctl [OPTION[=VALUE]...]

  --help          Show help options
  --version       Package version
  --verbose, -v   Verbose output

basic options
  --set=VALUE     Set VALUE for selected option
  --core=NUMBER   Apply selected option just for the core NUMBER (0 ~ N - 1)
  --available     Get available values instead of default: current

  --driver        Current processor driver
  --governor      Scaling governor's options
  --on            Turn on --core=NUMBER
  --off           Turn off --core=NUMBER
  --frequency-min Minimal frequency options
  --frequency-max Maximum frequency options
  --boost         Current cpu boost value

Frequency options
  --frequency     Frequency options
  --max           Get a maximum value of the current frequencies
  --min           Get a minimum value of the current frequencies
  --average       Get an average value of the current frequencies

intel_pstate options
  --no-turbo      Current no_turbo value
  --min-perf      Current min_perf_pct options
  --max-perf      Current max_perf_pct options

Package options
  --install       Install extra components for all users
  --uninstall     Uninstall extra components for all users
  --update-fonts  Update font cache
  --reset         Reset to defaults for current user

Events options
  --throttle      Get thermal throttle counter
  --throttle-event Get kernel thermal throttle events counter
  --irqbalance     Get irqbalance presence

from cpufreq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.