Switch branches/tags
Nothing to show
Find file Copy path
c501339 Apr 16, 2013
nodefourtytwo Update
0 contributors

Users who have contributed to this file

69 lines (44 sloc) 1.92 KB


View the actual frequency and change CPU frequency governor from gnome shell.

There is a bit of work to make it work though.


You need CPU Frequency scaling set up to use it.
Archlinux: (if you have a good tutorial for your distro of choice, file a bug, I'll add it to the list)

You also need cpufreq-selector, which is usually in the gnome-applets package.

cpupower is now also supported

Fedora 18: cpupower is available in the kernel-tools package

Ubuntu 12.x: sudo apt-get install cpufrequtils

The best way to test you have these is to type in terminal:

which cpufreq-info
or which cpupower
which cpufreq-selector

and check if they exist.

Admin rights for changing the governor

When the extension sets a governor, it does it one by one, calling cpufreq-selector for every cpu.

The problem here is that it will raise a popup asking for your password for each cpu. Typing the password for 4 CPUs can become quite annoying.

To solve this, I use (in archlinux):

Create and edit the file: /var/lib/polkit-1/localauthority/50-local.d/org.gnome.cpufreqselector.pkla



replacing USER with your username.

An easier solution in Archlinux to give privileges to the user

The package 'desktop-privileges' from aur provides an easier method to set privileges for cpu frequency selector.
The user needs to be in the power group though.

I'm open to any advice to make this easier/better.