No, it shouldn't matter which desktop you are running. I've used /usr/bin/cpufreq-set -f 800 from a virtual terminal outside of the desktop environment. There is a kde applet that you can use to set power profiles: "Performance", "Dynamic" or "Power Saving". On my laptop, this selects either 2.2Ghz or 800MHZ. From the shell I can use 1.8 Ghz.
You might want to check if you have the dbus daemon installed, and if it is running. Maybe also an acpci package as well.
And check if you have the programs /usr/bin/cpufreq-info and /usr/bin/cpufreq-set. Maybe your system puts them in /usr/sbin/ instead.
You may also need to modprobe a kernel module if it isn't built-in. My laptop uses an AMD-64 processor so my module is different.
I just looked on my system, the cpufreq-info and cpufreq-set are supplied by a separate package from the daemon. ( cpufrequtils )
Maybe you have a similar package.
I took a look at a kernel package:
Code:
/lib/modules/2.6.18.8-0.1-default/kernel/drivers/cpufreq
/lib/modules/2.6.18.8-0.1-default/kernel/drivers/cpufreq/cpufreq_conservative.ko
/lib/modules/2.6.18.8-0.1-default/kernel/drivers/cpufreq/cpufreq_ondemand.ko
/lib/modules/2.6.18.8-0.1-default/kernel/drivers/cpufreq/cpufreq_powersave.ko
/lib/modules/2.6.18.8-0.1-default/kernel/drivers/cpufreq/cpufreq_stats.ko
/lib/modules/2.6.18.8-0.1-default/kernel/drivers/cpufreq/cpufreq_userspace.ko
/lib/modules/2.6.18.8-0.1-default/kernel/drivers/cpufreq/freq_table.ko
If you can locate the kde program that gives you the panel control, you will probably end up installing other packages that you need as well.
...
I just looked at kpowersave. It uses HAL and acpci instead of a cpufreq daemon. Things may be different for Kubuntu.