https://wiki.archlinux.org/api.php?action=feedcontributions&user=Pandagoat&feedformat=atomArchWiki - User contributions [en]2024-03-29T10:31:42ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Paramano&diff=88925Paramano2009-12-25T22:38:29Z<p>Pandagoat: </p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:Daemons and system services (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon and displays information for your battery. Trayfreq is designed to be desktop-environment-independent so it depends only on GTK+ and a system tray to show its icons. Trayfreq is the perfect addition to Xfce, LXDE, and Window Managers (Openbox, Fluxbox, etc.).<br />
<br />
== Features ==<br />
* Displays a icon that shows you the relative current CPU frequency<br />
* When the CPU icon is right-clicked, it provides a menu of available frequencies and governors to choose.<br />
* When the CPU icon is left-clicked, it runs a command (set in config file, default nothing)<br />
* Displays a icon that shows you the status of your Battery (Charging, Discharging, Charged) and its relative current charge (optional)<br />
* Toggling of CPU governor based on if the battery is discharging or not.<br />
* Lightweight, Desktop-Environment Independent<br />
<br />
== Latest Version ==<br />
0.2.x.dev1-3<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver, modprobe it:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up, add the module to {{Filename|/etc/[[rc.conf]]}}:<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, but you can add them to {{Filename|/etc/rc.conf}} to have them automatically load at start up. Again, edit {{Filename|/etc/rc.conf}} to load the governors' drivers. <br />
# MODULES=( ... cpufreq-powersave cpufreq-userspace cpufreq-ondemand ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
$ cp /usr/share/trayfreq/trayfreq.config ~/.trayfreq.config<br />
$ nano ~/.trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*{{Codeline|[battery]}} &ndash; the group battery<br />
**{{Codeline|show&#61;1}} &ndash; 1 to show the battery tray icon, 0 to not show it<br />
**{{Codeline|governor&#61;powersave}} &ndash; this sets the governor to use if the battery is discharging<br />
*{{Codeline|[events]}} &ndash; the group events<br />
**{{Codeline|activate&#61;/usr/bin/xterm}} &ndash; this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*{{Codeline|[governor]}} &ndash; the group governor<br />
**{{Codeline|default&#61;ondemand}} &ndash; this sets the default governor to be set when trayfreq starts<br />
*{{Codeline|[ac]}} &ndash; the group for if the batter is not discharging<br />
**{{Codeline|governor&#61;ondemand}} &ndash; this sets the governor to use if the battery is not discharging<br />
*{{Codeline|[frequency]}} &ndash; the group frequency<br />
**{{Codeline|default&#61;800000}} &ndash; this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. <br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governor]<br />
default=ondemand<br />
[battery]<br />
show=1<br />
governor=powersave<br />
[ac]<br />
governor=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it can now set the program to run when the tray icon is activated too. The file should be {{Filename|~/.trayfreq.config}}; if it exists, trayfreq will not look at {{Filename|/usr/share/trayfreq/trayfreq.config}}.<br />
<br />
== Remarks ==<br />
A desktop file is installed into /etc/xdg/autostart/. It will automatically start once installed. If you do not want it to start automatically, open the start up manager that comes with your desktop enviroment and uncheck trayfreq.<br />
<br />
== External Links ==<br />
*[http://trayfreq.sourceforge.net Trayfreq's Website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=88924Paramano2009-12-25T22:38:09Z<p>Pandagoat: </p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:Daemons and system services (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon and displays information for your battery. Trayfreq is designed to be desktop-environment-independent so it depends only on GTK+ and a system tray to show its icons. Trayfreq is the perfect addition to Xfce, LXDE, and Window Managers (Openbox, Fluxbox, etc.).<br />
<br />
== Features ==<br />
* Displays a icon that shows you the relative current CPU frequency<br />
* When the CPU icon is right-clicked, it provides a menu of available frequencies and governors to choose.<br />
* When the CPU icon is left-clicked, it runs a command (set in config file, default nothing)<br />
* Displays a icon that shows you the status of your Battery (Charging, Discharging, Charged) and its relative current charge (optional)<br />
* Toggling of CPU governor based on if the battery is discharging or not.<br />
* Lightweight, Desktop-Environment Independent<br />
<br />
== Latest Version ==<br />
0.2.x.dev1-3<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver, modprobe it:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up, add the module to {{Filename|/etc/[[rc.conf]]}}:<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, but you can add them to {{Filename|/etc/rc.conf}} to have them automatically load at start up. Again, edit {{Filename|/etc/rc.conf}} to load the governors' drivers. <br />
# MODULES=( ... cpufreq-powersave cpufreq-userspace cpufreq-ondemand ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
$ cp /usr/share/trayfreq/trayfreq.config ~/.trayfreq.config<br />
$ nano ~/.trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*{{Codeline|[battery]}} &ndash; the group battery<br />
**{{Codeline|show&#61;1}} &ndash; 1 to show the battery tray icon, 0 to not show it<br />
**{{Codeline|governor&#61;powersave]} &ndash; this sets the governor to use if the battery is discharging<br />
*{{Codeline|[events]}} &ndash; the group events<br />
**{{Codeline|activate&#61;/usr/bin/xterm}} &ndash; this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*{{Codeline|[governor]}} &ndash; the group governor<br />
**{{Codeline|default&#61;ondemand}} &ndash; this sets the default governor to be set when trayfreq starts<br />
*{{Codeline|[ac]}} &ndash; the group for if the batter is not discharging<br />
**{{Codeline|governor&#61;ondemand}} &ndash; this sets the governor to use if the battery is not discharging<br />
*{{Codeline|[frequency]}} &ndash; the group frequency<br />
**{{Codeline|default&#61;800000}} &ndash; this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. <br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governor]<br />
default=ondemand<br />
[battery]<br />
show=1<br />
governor=powersave<br />
[ac]<br />
governor=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it can now set the program to run when the tray icon is activated too. The file should be {{Filename|~/.trayfreq.config}}; if it exists, trayfreq will not look at {{Filename|/usr/share/trayfreq/trayfreq.config}}.<br />
<br />
== Remarks ==<br />
A desktop file is installed into /etc/xdg/autostart/. It will automatically start once installed. If you do not want it to start automatically, open the start up manager that comes with your desktop enviroment and uncheck trayfreq.<br />
<br />
== External Links ==<br />
*[http://trayfreq.sourceforge.net Trayfreq's Website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=88923Paramano2009-12-25T22:33:30Z<p>Pandagoat: </p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:Daemons and system services (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon and displays information for your battery. Trayfreq is designed to be desktop-environment-independent so it depends only on GTK+ and a system tray to show its icons. Trayfreq is the perfect addition to Xfce, LXDE, and Window Managers (Openbox, Fluxbox, etc.).<br />
<br />
== Features ==<br />
* Displays a icon that shows you the relative current CPU frequency<br />
* When the CPU icon is right-clicked, it provides a menu of available frequencies and governors to choose.<br />
* When the CPU icon is left-clicked, it runs a command (set in config file, default nothing)<br />
* Displays a icon that shows you the status of your Battery (Charging, Discharging, Charged) and its relative current charge (optional)<br />
* Toggling of CPU governor based on if the battery is discharging or not.<br />
* Lightweight, Desktop-Environment Independent<br />
<br />
== Latest Version ==<br />
0.2.x.dev1-3<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver, modprobe it:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up, add the module to {{Filename|/etc/[[rc.conf]]}}:<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, but you can add them to {{Filename|/etc/rc.conf}} to have them automatically load at start up. Again, edit {{Filename|/etc/rc.conf}} to load the governors' drivers. <br />
# MODULES=( ... cpufreq-powersave cpufreq-userspace cpufreq-ondemand ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
$ cp /usr/share/trayfreq/trayfreq.config ~/.trayfreq.config<br />
$ nano ~/.trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*{{Codeline|[battery]}} &ndash; the group battery<br />
**{{Codeline|show&#61;1}} &ndash; 1 to show the battery tray icon, 0 to not show it<br />
*{{Codeline|[events]}} &ndash; the group events<br />
**{{Codeline|activate&#61;/usr/bin/xterm}} &ndash; this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*{{Codeline|[governor]}} &ndash; the group governor<br />
**{{Codeline|default&#61;ondemand}} &ndash; this sets the default governor to be set when trayfreq starts<br />
*{{Codeline|[frequency]}} &ndash; the group frequency<br />
**{{Codeline|default&#61;800000}} &ndash; this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. <br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governor]<br />
default=ondemand<br />
[battery]<br />
show=1<br />
governor=powersave<br />
[ac]<br />
governor=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it can now set the program to run when the tray icon is activated too. The file should be {{Filename|~/.trayfreq.config}}; if it exists, trayfreq will not look at {{Filename|/usr/share/trayfreq/trayfreq.config}}.<br />
<br />
== Remarks ==<br />
A desktop file is installed into /etc/xdg/autostart/. It will automatically start once installed. If you do not want it to start automatically, open the start up manager that comes with your desktop enviroment and uncheck trayfreq.<br />
<br />
== External Links ==<br />
*[http://trayfreq.sourceforge.net Trayfreq's Website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=71887Paramano2009-07-11T06:23:45Z<p>Pandagoat: </p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:Daemons and system services (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon and displays information for your battery. Trayfreq is designed to be desktop-environment-independent so it depends only on GTK+ and a system tray to show its icons. Trayfreq is the perfect addition to Xfce, LXDE, and Window Managers (Openbox, Fluxbox, etc.).<br />
<br />
== Features ==<br />
* Displays a icon that shows you the relative current CPU frequency<br />
* When the CPU icon is right-clicked, it provides a menu of available frequencies and governors to choose.<br />
* When the CPU icon is left-clicked, it runs a command (set in config file, default nothing)<br />
* Displays a icon that shows you the status of your Battery (Charging, Discharging, Charged) and its relative current charge (optional)<br />
* Lightweight, Desktop-Environment Independent<br />
<br />
== Latest Version ==<br />
0.1.6.3<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver, modprobe it:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up, add the module to {{Filename|/etc/[[rc.conf]]}}:<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, but you can add them to {{Filename|/etc/rc.conf}} to have them automatically load at start up. Again, edit {{Filename|/etc/rc.conf}} to load the governors' drivers. <br />
# MODULES=( ... cpufreq-powersave cpufreq-userspace cpufreq-ondemand ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
$ cp /usr/share/trayfreq/trayfreq.config ~/.trayfreq.config<br />
$ nano ~/.trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*{{Codeline|[battery]}} &ndash; the group battery<br />
**{{Codeline|show&#61;1}} &ndash; 1 to show the battery tray icon, 0 to not show it<br />
*{{Codeline|[events]}} &ndash; the group events<br />
**{{Codeline|activate&#61;/usr/bin/xterm}} &ndash; this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*{{Codeline|[governor]}} &ndash; the group governor<br />
**{{Codeline|default&#61;ondemand}} &ndash; this sets the default governor to be set when trayfreq starts<br />
*{{Codeline|[frequency]}} &ndash; the group frequency<br />
**{{Codeline|default&#61;800000}} &ndash; this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. <br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governor]<br />
default=ondemand<br />
[battery]<br />
show=1<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it can now set the program to run when the tray icon is activated too. The file should be {{Filename|~/.trayfreq.config}}; if it exists, trayfreq will not look at {{Filename|/usr/share/trayfreq/trayfreq.config}}.<br />
<br />
== Remarks ==<br />
A desktop file is installed into /etc/xdg/autostart/. It will automatically start once installed. If you do not want it to start automatically, open the start up manager that comes with your desktop enviroment and uncheck trayfreq.<br />
<br />
== External Links ==<br />
*[http://trayfreq.sourceforge.net Trayfreq's Website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=71886Paramano2009-07-11T06:23:04Z<p>Pandagoat: </p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:Daemons and system services (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon and displays information for your battery. Trayfreq is designed to be desktop-environment-independent so it depends only on GTK+ and a system tray to show its icons. Trayfreq is the perfect addition to Xfce, LXDE, and Window Managers (Openbox, Fluxbox, etc.).<br />
<br />
== Features ==<br />
* Displays a icon that shows you the relative current CPU frequency<br />
* When the CPU icon is right-clicked, it provides a menu of available frequencies and governors to choose.<br />
* When the CPU icon is left-clicked, it runs a command (set in config file, default nothing)<br />
* Displays a icon that shows you the status of your Battery (Charging, Discharging, Charged) and its relative current charge (optional)<br />
* Lightweight, Desktop-Environment Independent<br />
<br />
== Latest Version ==<br />
0.1.6.3<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver, modprobe it:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up, add the module to {{Filename|/etc/[[rc.conf]]}}:<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, but you can add them to {{Filename|/etc/rc.conf}} to have them automatically load at start up. Again, edit {{Filename|/etc/rc.conf}} to load the governors' drivers. <br />
# MODULES=( ... cpufreq-powersave cpufreq-userspace cpufreq-ondemand ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
$ cp /usr/share/trayfreq/trayfreq.config ~/.trayfreq.config<br />
$ nano ~/.trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*{{Codeline|[battery]}} &ndash; the group battery<br />
**{{Codeline|show&#61;800000}} &ndash; 1 to show the battery tray icon, 0 to not show it<br />
*{{Codeline|[events]}} &ndash; the group events<br />
**{{Codeline|activate&#61;/usr/bin/xterm}} &ndash; this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*{{Codeline|[governor]}} &ndash; the group governor<br />
**{{Codeline|default&#61;ondemand}} &ndash; this sets the default governor to be set when trayfreq starts<br />
*{{Codeline|[frequency]}} &ndash; the group frequency<br />
**{{Codeline|default&#61;800000}} &ndash; this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. <br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governor]<br />
default=ondemand<br />
[battery]<br />
show=1<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it can now set the program to run when the tray icon is activated too. The file should be {{Filename|~/.trayfreq.config}}; if it exists, trayfreq will not look at {{Filename|/usr/share/trayfreq/trayfreq.config}}.<br />
<br />
== Remarks ==<br />
A desktop file is installed into /etc/xdg/autostart/. It will automatically start once installed. If you do not want it to start automatically, open the start up manager that comes with your desktop enviroment and uncheck trayfreq.<br />
<br />
== External Links ==<br />
*[http://trayfreq.sourceforge.net Trayfreq's Website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=71071Paramano2009-06-23T21:25:36Z<p>Pandagoat: </p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:Daemons and system services (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon and displays information for your battery. Trayfreq is designed to be desktop-environment-independent so it depends only on GTK+ and a system tray to show its icons. Trayfreq is the perfect addition to Xfce, LXDE, and Window Managers (Openbox, Fluxbox, etc.).<br />
<br />
== Features ==<br />
* Displays a icon that shows you the relative current CPU frequency<br />
* When the CPU icon is right-clicked, it provides a menu of available frequencies and governors to choose.<br />
* When the CPU icon is left-clicked, it runs a command (set in config file, default nothing)<br />
* Displays a icon that shows you the status of your Battery (Charging, Discharging, Charged) and its relative current charge<br />
* Lightweight, Desktop-Environment Independent<br />
<br />
== Latest Version ==<br />
0.1.6.2<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver, modprobe it:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up, add the module to {{Filename|/etc/[[rc.conf]]}}:<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, but you can add them to {{Filename|/etc/rc.conf}} to have them automatically load at start up. Again, edit {{Filename|/etc/rc.conf}} to load the governors' drivers. <br />
# MODULES=( ... cpufreq-powersave cpufreq-userspace cpufreq-ondemand ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
$ cp /usr/share/trayfreq/trayfreq.config ~/.trayfreq.config<br />
$ nano ~/.trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*{{Codeline|[events]}} &ndash; the group events<br />
**{{Codeline|activate&#61;/usr/bin/xterm}} &ndash; this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*{{Codeline|[governor]}} &ndash; the group governor<br />
**{{Codeline|default&#61;ondemand}} &ndash; this sets the default governor to be set when trayfreq starts<br />
*{{Codeline|[frequency]}} &ndash; the group frequency<br />
**{{Codeline|default&#61;800000}} &ndash; this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. <br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governor]<br />
default=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it can now set the program to run when the tray icon is activated too. The file should be {{Filename|~/.trayfreq.config}}; if it exists, trayfreq will not look at {{Filename|/usr/share/trayfreq/trayfreq.config}}.<br />
<br />
== Remarks ==<br />
A desktop file is installed into /etc/xdg/autostart/. It will automatically start once installed. If you do not want it to start automatically, open the start up manager that comes with your desktop enviroment and uncheck trayfreq.<br />
<br />
== External Links ==<br />
*[http://trayfreq.sourceforge.net Trayfreq's Website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70220Paramano2009-06-09T02:17:41Z<p>Pandagoat: /* Remarks */</p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:Daemons and system services (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
== Latest Version ==<br />
0.1.4<br />
<br />
== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends on GTK+ and anything that can show tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver, modprobe it:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up, add the module to /etc/rc.conf:<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. <br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governer]<br />
default=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.<br />
<br />
== Remarks ==<br />
A desktop file is installed into /etc/xdg/autostart/. NotShowIn=KDE;GNOME;XFCE;LXDE; is placed in the desktop file so that it will not automatically start but put the option in start up managers. If you want it to start automatically, open the start up manager that comes with your desktop enviroment and check trayfreq. KDE, GNOME, XFCE, LXDE all have start up managers. If you don't use one of these, trayfreq will automatically start.<br />
<br />
== External Links ==<br />
[http://u-lite.org/trayfreq trayfreq at u-lite's website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70217Paramano2009-06-09T02:01:45Z<p>Pandagoat: /* Trayfreq Setup */</p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:Daemons and system services (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
== Latest Version ==<br />
0.1.4<br />
<br />
== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends on GTK+ and anything that can show tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver, modprobe it:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up, add the module to /etc/rc.conf:<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. <br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governer]<br />
default=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.<br />
<br />
== Remarks ==<br />
A desktop file is installed into /etc/xdg/autostart.<br />
<br />
== External Links ==<br />
[http://u-lite.org/trayfreq trayfreq at u-lite's website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70216Paramano2009-06-09T02:00:50Z<p>Pandagoat: </p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:Daemons and system services (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
== Latest Version ==<br />
0.1.4<br />
<br />
== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends on GTK+ and anything that can show tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver, modprobe it:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up, add the module to /etc/rc.conf:<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. Setting a frequency sets the maximum frequency and sets the governor to performance.<br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governer]<br />
default=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.<br />
<br />
== Remarks ==<br />
A desktop file is installed into /etc/xdg/autostart.<br />
<br />
== External Links ==<br />
[http://u-lite.org/trayfreq trayfreq at u-lite's website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70043Paramano2009-06-05T06:40:31Z<p>Pandagoat: </p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:Daemons and system services (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends on GTK+ and anything that can show tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver, modprobe it:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up, add the module to /etc/rc.conf:<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. Setting a frequency sets the maximum frequency and sets the governor to performance.<br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governer]<br />
default=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.<br />
<br />
== Finally ==<br />
Finally, add trayfreq to a one of the [[Startup files]] based on your setup.<br />
<br />
== Possible Annoyances ==<br />
*Because of how trayfreq currently works, if the current governor is to performance, trayfreq will show that it is set to the highest frequency instead of the governor performance. This is because setting it to a specific frequency is setting the maximum frequency to the chosen frequency and changing the governor to performance, and setting the governor to performance is setting the maximum frequency to the maximum available frequency and changing the governor to performance; they're the same!<br />
<br />
== External Links ==<br />
[http://u-lite.org/trayfreq trayfreq at u-lite's website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=CPU_frequency_scaling&diff=70042CPU frequency scaling2009-06-05T02:23:08Z<p>Pandagoat: </p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
{{i18n_links_start}}<br />
{{i18n_entry|English (SpeedStep)|SpeedStep}}<br />
{{i18n_entry|Deutsch (SpeedStep)|SpeedStep (Deutsch)}}<br />
{{i18n_entry|Français (SpeedStep)|SpeedStep (Français)}}<br />
{{i18n_entry|Ελληνικά (SpeedStep)|SpeedStep (Ελληνικά)}}<br />
{{i18n_entry|English (PowerNow)|PowerNow}}<br />
{{i18n_entry|Русский|PowerNow (Русский)}}<br />
{{i18n_entry|简体中文|PowerNow (简体中文)}}<br />
{{i18n_entry|Español|Ajuste de frecuencia del CPU (Español)}}<br />
{{i18n_entry|Português|Cpu Frequency Scaling (Português)}}<br />
{{i18n_entry|Italiano|Variazione di frequenza CPU}}<br />
{{i18n_entry|Türkçe|İşlemci Frekansı Ayarlama}}<br />
{{i18n_links_end}}<br />
<br />
{{merge|Cpufrequtils|Talk:Cpufrequtils}}<br />
<br />
'''CPU Frequency Scaling''' is a technology primarily for notebooks that enables the OS to scale the CPU speed to system and/or power use. For instance, slowing down the CPU when a notebook is on battery power, saves battery life. Intel calls this technology SpeedStep.The equivalent AMD technology is called PowerNow! or Cool'n'Quiet.<br />
<br />
<br />
= Steps =<br />
1. Install <tt>cpufrequtils</tt><br />
# pacman -S cpufrequtils<br />
2. Load kernel module<br />
<br />
'''Intel:'''<br />
# modprobe acpi_cpufreq<br />
If you have an older Intel CPU and the command returns with:<br />
FATAL: Error inserting acpi_cpufreq (.../acpi-cpufreq.ko): No such device <br />
try<br />
# modprobe p4-clockmod<br />
# modprobe speedstep-ich<br />
for Pentium 4 or Pentium III-M and earlier, instead.<br />
<br />
'''AMD:'''<br />
# modprobe powernow-k{6,7,8}<br />
3. Load scaling governor(s)<br />
# modprobe cpufreq_ondemand<br />
# modprobe cpufreq_powersave<br />
To load everything automatically at startup, add the appropriate drivers to the MODULES array within <tt>/etc/rc.conf</tt>. For example:<br />
MODULES=( '''''acpi_cpufreq cpufreq_ondemand cpufreq_powersave''''' vboxdrv fuse fglrx iwl3945 ... )<br />
<br />
or, if you have an AMD:<br />
MODULES=( '''''powernow-k8 cpufreq_ondemand cpufreq_powersave''''' vboxdrv fuse fglrx iwl3945 ... )<br />
<br />
4. Edit <tt>/etc/conf.d/cpufreq</tt> as root, selecting the desired governor:<br />
<br />
#configuration for cpufreq control<br />
# valid governors:<br />
# ondemand, performance, powersave,<br />
# conservative, userspace<br />
governor="ondemand"<br />
<br />
# valid suffixes: Hz, kHz (default), MHz, GHz, THz<br />
min_freq="1GHz"<br />
max_freq="2GHz"<br />
Note: the min_freq and max_freq lines can be commented out, as the kernel driver should see your values automatically. <br />
<br />
The min_freq and max_freq of the CPU can be found out by:<br />
# cpufreq-info<br />
or<br />
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies<br />
Just check the output.<br />
<br><br><br />
5. Start the cpufreq daemon:<br />
# /etc/rc.d/cpufreq start<br />
Add <tt>cpufreq</tt> to the DAEMONS list in <tt>/etc/rc.conf</tt>.<br />
<br><br><br />
6. (Optional) Install and setup a GUI tool in your desktop environment. For KDE there is KLaptop and KPowersave. The latter is available via [[AUR]] and has more features. The devel-version is recommended, as it no longer depends on <tt>powersave</tt>.<br />
<br><br />
<br />
= Other resources =<br />
[[cpufrequtils]] - info for advanced users<br />
<br />
[[Trayfreq]] - a tray icon to control cpu frequency scaling</div>Pandagoathttps://wiki.archlinux.org/index.php?title=CPU_frequency_scaling&diff=70041CPU frequency scaling2009-06-05T02:22:56Z<p>Pandagoat: </p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
{{i18n_links_start}}<br />
{{i18n_entry|English (SpeedStep)|SpeedStep}}<br />
{{i18n_entry|Deutsch (SpeedStep)|SpeedStep (Deutsch)}}<br />
{{i18n_entry|Français (SpeedStep)|SpeedStep (Français)}}<br />
{{i18n_entry|Ελληνικά (SpeedStep)|SpeedStep (Ελληνικά)}}<br />
{{i18n_entry|English (PowerNow)|PowerNow}}<br />
{{i18n_entry|Русский|PowerNow (Русский)}}<br />
{{i18n_entry|简体中文|PowerNow (简体中文)}}<br />
{{i18n_entry|Español|Ajuste de frecuencia del CPU (Español)}}<br />
{{i18n_entry|Português|Cpu Frequency Scaling (Português)}}<br />
{{i18n_entry|Italiano|Variazione di frequenza CPU}}<br />
{{i18n_entry|Türkçe|İşlemci Frekansı Ayarlama}}<br />
{{i18n_links_end}}<br />
<br />
{{merge|Cpufrequtils|Talk:Cpufrequtils}}<br />
<br />
'''CPU Frequency Scaling''' is a technology primarily for notebooks that enables the OS to scale the CPU speed to system and/or power use. For instance, slowing down the CPU when a notebook is on battery power, saves battery life. Intel calls this technology SpeedStep.The equivalent AMD technology is called PowerNow! or Cool'n'Quiet.<br />
<br />
<br />
= Steps =<br />
1. Install <tt>cpufrequtils</tt><br />
# pacman -S cpufrequtils<br />
2. Load kernel module<br />
<br />
'''Intel:'''<br />
# modprobe acpi_cpufreq<br />
If you have an older Intel CPU and the command returns with:<br />
FATAL: Error inserting acpi_cpufreq (.../acpi-cpufreq.ko): No such device <br />
try<br />
# modprobe p4-clockmod<br />
# modprobe speedstep-ich<br />
for Pentium 4 or Pentium III-M and earlier, instead.<br />
<br />
'''AMD:'''<br />
# modprobe powernow-k{6,7,8}<br />
3. Load scaling governor(s)<br />
# modprobe cpufreq_ondemand<br />
# modprobe cpufreq_powersave<br />
To load everything automatically at startup, add the appropriate drivers to the MODULES array within <tt>/etc/rc.conf</tt>. For example:<br />
MODULES=( '''''acpi_cpufreq cpufreq_ondemand cpufreq_powersave''''' vboxdrv fuse fglrx iwl3945 ... )<br />
<br />
or, if you have an AMD:<br />
MODULES=( '''''powernow-k8 cpufreq_ondemand cpufreq_powersave''''' vboxdrv fuse fglrx iwl3945 ... )<br />
<br />
4. Edit <tt>/etc/conf.d/cpufreq</tt> as root, selecting the desired governor:<br />
<br />
#configuration for cpufreq control<br />
# valid governors:<br />
# ondemand, performance, powersave,<br />
# conservative, userspace<br />
governor="ondemand"<br />
<br />
# valid suffixes: Hz, kHz (default), MHz, GHz, THz<br />
min_freq="1GHz"<br />
max_freq="2GHz"<br />
Note: the min_freq and max_freq lines can be commented out, as the kernel driver should see your values automatically. <br />
<br />
The min_freq and max_freq of the CPU can be found out by:<br />
# cpufreq-info<br />
or<br />
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies<br />
Just check the output.<br />
<br><br><br />
5. Start the cpufreq daemon:<br />
# /etc/rc.d/cpufreq start<br />
Add <tt>cpufreq</tt> to the DAEMONS list in <tt>/etc/rc.conf</tt>.<br />
<br><br><br />
6. (Optional) Install and setup a GUI tool in your desktop environment. For KDE there is KLaptop and KPowersave. The latter is available via [[AUR]] and has more features. The devel-version is recommended, as it no longer depends on <tt>powersave</tt>.<br />
<br><br />
<br />
= Other resources =<br />
[[cpufrequtils]] - info for advanced users<br />
[[Trayfreq]] - a tray icon to control cpu frequency scaling</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70040Paramano2009-06-05T02:21:03Z<p>Pandagoat: </p>
<hr />
<div>[[Category:Power management (English)]]<br />
[[Category:CPU (English)]]<br />
[[Category:Daemons and system services (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends on GTK+ and anything that can show tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. Setting a frequency sets the maximum frequency and sets the governor to performance.<br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governer]<br />
default=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.<br />
<br />
== Finally ==<br />
Finally, add trayfreq to a one of the [[Startup files]] based on your setup.<br />
<br />
== Possible Annoyances ==<br />
*Because of how trayfreq currently works, if the current governor is to performance, trayfreq will show that it is set to the highest frequency instead of the governor performance. This is because setting it to a specific frequency is setting the maximum frequency to the chosen frequency and changing the governor to performance, and setting the governor to performance is setting the maximum frequency to the maximum available frequency and changing the governor to performance; they're the same!<br />
<br />
== External Links ==<br />
[http://u-lite.org/trayfreq trayfreq at u-lite's website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70039Paramano2009-06-05T02:19:51Z<p>Pandagoat: </p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends on GTK+ and anything that can show tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. Setting a frequency sets the maximum frequency and sets the governor to performance.<br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governer]<br />
default=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.<br />
<br />
== Finally ==<br />
Finally, add trayfreq to a one of the [[Startup files]] based on your setup.<br />
<br />
== Possible Annoyances ==<br />
*Because of how trayfreq currently works, if the current governor is to performance, trayfreq will show that it is set to the highest frequency instead of the governor performance. This is because setting it to a specific frequency is setting the maximum frequency to the chosen frequency and changing the governor to performance, and setting the governor to performance is setting the maximum frequency to the maximum available frequency and changing the governor to performance; they're the same!<br />
<br />
== External Links ==<br />
[http://u-lite.org/trayfreq trayfreq at u-lite's website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70038Paramano2009-06-05T02:19:33Z<p>Pandagoat: </p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends on GTK+ and anything that can show tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. Setting a frequency sets the maximum frequency and sets the governor to performance.<br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governer]<br />
default=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.<br />
<br />
== Finally ==<br />
Finally, add trayfreq to a one of the [[Startup Files]] based on your setup.<br />
<br />
== Possible Annoyances ==<br />
*Because of how trayfreq currently works, if the current governor is to performance, trayfreq will show that it is set to the highest frequency instead of the governor performance. This is because setting it to a specific frequency is setting the maximum frequency to the chosen frequency and changing the governor to performance, and setting the governor to performance is setting the maximum frequency to the maximum available frequency and changing the governor to performance; they're the same!<br />
<br />
== External Links ==<br />
[http://u-lite.org/trayfreq trayfreq at u-lite's website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70037Paramano2009-06-05T02:14:43Z<p>Pandagoat: /* Trayfreq Setup */</p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends on GTK+ and anything that can show tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. Setting a frequency sets the maximum frequency and sets the governor to performance.<br />
<br />
Sample File:<br />
[events]<br />
activate=/usr/bin/showbatt<br />
[governer]<br />
default=ondemand<br />
#[frequency]<br />
#default=800000<br />
<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.<br />
<br />
== Possible Annoyances ==<br />
*Because of how trayfreq currently works, if the current governor is to performance, trayfreq will show that it is set to the highest frequency instead of the governor performance. This is because setting it to a specific frequency is setting the maximum frequency to the chosen frequency and changing the governor to performance, and setting the governor to performance is setting the maximum frequency to the maximum available frequency and changing the governor to performance; they're the same!<br />
<br />
== External Links ==<br />
[http://u-lite.org/trayfreq trayfreq at u-lite's website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70036Paramano2009-06-05T02:10:54Z<p>Pandagoat: </p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends on GTK+ and anything that can show tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. Setting a frequency sets the maximum frequency and sets the governor to performance.<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.<br />
<br />
== Possible Annoyances ==<br />
*Because of how trayfreq currently works, if the current governor is to performance, trayfreq will show that it is set to the highest frequency instead of the governor performance. This is because setting it to a specific frequency is setting the maximum frequency to the chosen frequency and changing the governor to performance, and setting the governor to performance is setting the maximum frequency to the maximum available frequency and changing the governor to performance; they're the same!<br />
<br />
== External Links ==<br />
[http://u-lite.org/trayfreq trayfreq at u-lite's website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70035Paramano2009-06-05T02:09:22Z<p>Pandagoat: </p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends GTK+ and something that shows tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. Setting a frequency sets the maximum frequency and sets the governor to performance.<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.<br />
<br />
== Possible Annoyances ==<br />
*Because of how trayfreq currently works, if the current governor is to performance, trayfreq will show that it is set to the highest frequency instead of the governor performance. This is because setting it to a specific frequency is setting the maximum frequency to the chosen frequency and changing the governor to performance, and setting the governor to performance is setting the maximum frequency to the maximum available frequency and changing the governor to performance; they're the same!<br />
<br />
== External Links ==<br />
[http://u-lite.org/trayfreq trayfreq at u-lite's website]</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70034Paramano2009-06-05T02:08:25Z<p>Pandagoat: </p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends GTK+ and something that shows tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. Setting a frequency sets the maximum frequency and sets the governor to performance.<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.<br />
<br />
== Possible Annoyance ==<br />
*Because of how trayfreq currently works, if the current governor is to performance, trayfreq will show that it is set to the highest frequency instead of the governor performance. This is because setting it to a specific frequency is setting the maximum frequency to the chosen frequency and changing the governor to performance, and setting the governor to performance is setting the maximum frequency to the maximum available frequency and changing the governor to performance; they're the same!</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70033Paramano2009-06-05T02:02:49Z<p>Pandagoat: </p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends GTK+ and something that shows tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at start up add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at start up. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will override the governor. Setting a frequency sets the maximum frequency and sets the governor to performance.<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70032Paramano2009-06-05T02:01:11Z<p>Pandagoat: </p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends GTK+ and something that shows tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at startup add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at startup. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out; uncomment what you want to use. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency in hertz to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will overide the governor. Setting a frequency sets the maximum frequency and sets the governor to performance.<br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config; if it exists, trayfreq will still look at /usr/share/trayfreq/trayfreq.config for the program to run when the tray icon is activated, but the configuration file in the home folder will override everything else.</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70031Paramano2009-06-05T01:55:11Z<p>Pandagoat: </p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends GTK+ and something that shows tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at startup add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
== CPU Governors Setup == <br />
Some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at startup. Again, edit /etc/rc.conf to load the governors' drivers. <br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will overide the governor. <br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config.</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70030Paramano2009-06-05T01:52:58Z<p>Pandagoat: </p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends GTK+ and something that shows tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at startup add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
While you are in /etc/rc.conf, some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at startup.<br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup ==<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will overide the governor. <br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config.</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70029Paramano2009-06-05T01:52:45Z<p>Pandagoat: </p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends GTK+ and something that shows tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== System Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq<br />
<br />
To load the driver automatically at startup add the module to /etc/rc.conf<br />
# MODULES=( ... acpi-cpufreq ... )<br />
<br />
While you are in /etc/rc.conf, some CPU governors may not be built into your kernel, and you can add them to /etc/rc.conf to have them automatically load at startup.<br />
# MODULES=( ... cpufreq-conservative cpufreq-powersave cpufreq-userspace cpufreq-ondemand cpufreq-performance ... )<br />
<br />
== Trayfreq Setup<br />
<br />
Now, let's edit the configuration file for trayfreq.<br />
# nano /usr/share/trayfreq/trayfreq.config<br />
Everything will be commented out. Let's go through the options<br />
*[events] -- the group events<br />
*activate=/usr/bin/xterm -- this sets the program to launch when the tray icon is activated (left clicked usually)<br />
*[governor] -- the group governor<br />
*default=ondemand -- this sets the default governor to be set when trayfreq starts<br />
*[frequency] -- the group frequency<br />
*default=800000 -- this sets the default frequency to be set when trayfreq starts<br />
Note that, if a default frequency is set, it will overide the governor. <br />
<br />
If you want, you can have a configuration file in your home folder, but it cannot set the program to run when the tray icon is activated for security reasons. The file should be ~/.trayfreq.config.</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70028Paramano2009-06-05T01:34:16Z<p>Pandagoat: </p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends GTK+ and something that shows tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have an appropriate driver module loaded. If the former case represents you, then you do not have to worry. If the latter case represents you, follow the following steps:<br />
<br />
Most modern computers use the module acpi-cpufreq. Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers. <br />
<br />
To load the driver:<br />
# modprobe acpi-cpufreq</div>Pandagoathttps://wiki.archlinux.org/index.php?title=Paramano&diff=70027Paramano2009-06-05T01:27:51Z<p>Pandagoat: Created page with '== Introduction == Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, tr...'</p>
<hr />
<div>== Introduction ==<br />
<br />
Trayfreq (pronounced trayfreek) is a GTK+ application released under GPL that lets you select your CPU's governor or frequency from a tray icon; therefore, trayfreq only depends GTK+ and something that shows tray icons.<br />
<br />
== Installing ==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=26999 trayfreq from the AUR]. I suggest using one of the [[AUR Helpers]].<br />
<br />
== Setup ==<br />
<br />
CPU scaling requires you to have a kernel with the ability already built in or have a module loaded.</div>Pandagoat