You're viewing a single post. I have much more to say! The main blog page is a good starting point.

CPU Frequency applet

Finally got the CPU Frequency applet to not only display the current frequency, but also show a menu to easily change the processor speed.

The problem was that my custom GNOME installation (using jhbuild) was not installing /opt/gnome/bin/cpufreq-selector with the suid bit set, because I didn’t realise it was a part of the GNOME desktop (I thought it was part of the cpufrequtils package). Simple fix:

$ sudo chown root:root /opt/gnome/bin/cpufreq-selector
$ sudo chmod 4755 /opt/gnome/bin/cpufreq-selector
$ ls -al /opt/gnome/bin/cpufreq-selector
-rwsr-xr-x  1 root root 52103 2005-10-02 16:07 /opt/gnome/bin/cpufreq-selector*

Thanks to the source code I was able to find out what was wrong.