Colin Harrington

Gnome CPU Frequency Scaling Monitor Authorization Policy

by on Mar.27, 2010, under General

After setting up a laptop with Ubuntu, one of the things that I typically like to do is add a the CPU Frequency Scaling Monitor applet (cpufreq-applet) to my main Gnome panel.

I typically work running large web applications (Grails…) that typically use a lot of CPU power when running tests, launching the apps or refactorings within an IDE.  I like the ability to quickly adjust the CPU ‘govenor’ which governs how the CPU is utilized from a power/performance perspective (see CPU Frequency Scaling in Linux for more).

Ubuntu 9.10 (Karmic Koala) uses Gnome 2.28.1 which requires authorization to change the CPU Frequency (which makes sense).  Earlier versions did not require this authorization since it is new in Gnome 2.28.

With policykit-1 (also new in Ubuntu 9.10) you can grant yourself authorization for the cpufreq-applet based on a user or group by creating a policy file (at /var/lib/polkit-1/localauthority/50-local.d/org.gnome.cpufreqselector.pkla for example) that looks something like this:

Thanks to this post/discussion for pointing this out :-)  be sure you change YourUser to your username or group that you wish to have authorized.

I don’t know of a policy GUI that works with policykit-1 yet, so let me know if you find something.

I also replaced the icons in the /usr/share/pixmaps/cpufreq-applet/ with something I found on

:, ,

4 Comments for this entry

  • overnight prints promotion codes

    Aw, this was an exceptionally nice post.
    Taking the time and actual effort to make a
    superb article… but what can I say… I procrastinate a lot and don’t
    manage to get nearly anything done.

  • promotional codes proform

    My coder is trying to persuade me to move to .net from PHP.
    I have always disliked the idea because of the costs. But he’s
    tryiong none the less. I’ve been using WordPress on
    various websites for about a year and am anxious about switching
    to another platform. I have heard excellent things about
    Is there a way I can import all my wordpress posts into it?
    Any help would be greatly appreciated!

  • zenni opticals

    You actually make it seem so easy with your presentation but I
    find this matter to be actually something that I think I would never understand.
    It seems too complex and extremely broad for me. I’m looking forward
    for your next post, I will try to get the hang of it!

  • lähde

    I enabled comments on my blogger page but it only shows the comments link, and when it’s clicked, a new page opens to show the comments. Is there a way to just have the comments show on my main page right underneath the blog, I don’t want just a link to the comments page..

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!