Difference between revisions of "Paramano"

From ArchWiki
Jump to: navigation, search
m (Installing: neither recommended nor discouraged, each user has his preferred method, just give choices)
(Reorganize headings and rewrite "System Setup" section to point to CPU Frequency Scaling article.)
Line 5: Line 5:
  
 
== Introduction ==
 
== Introduction ==
 +
Trayfreq (pronounced tray-freek) 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.).
  
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.).
+
=== Latest Version ===
 +
0.2.x.dev1-3
  
== Features ==
+
=== Features ===
 
* Displays a icon that shows you the relative current CPU frequency
 
* Displays a icon that shows you the relative current CPU frequency
 
* When the CPU icon is right-clicked, it provides a menu of available frequencies and governors to choose.
 
* When the CPU icon is right-clicked, it provides a menu of available frequencies and governors to choose.
Line 16: Line 18:
 
* Lightweight, Desktop-Environment Independent
 
* Lightweight, Desktop-Environment Independent
  
== Latest Version ==
+
== Installation ==
0.2.x.dev1-3
+
 
+
== Installing ==
+
 
+
 
Install [https://aur.archlinux.org/packages.php?ID=26999 trayfreq] from the [[AUR]]. [[AUR Helpers]] are available.
 
Install [https://aur.archlinux.org/packages.php?ID=26999 trayfreq] from the [[AUR]]. [[AUR Helpers]] are available.
  
== System Setup ==
+
=== System Setup ===
 
+
For Trayfreq to work, you will need the appropriate kernel modules loaded and added to your [[rc.conf]]. See [[CPU Frequency Scaling]] for instructions on loading cpufreq drivers and governors.
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:
+
 
+
Most modern computers use the module acpi-cpufreq.  Other options include the p4-clockmod, powernow-k6, powernow-k7, powernow-k8, and speedstep-centrino drivers.
+
 
+
To load the driver, modprobe it:
+
# modprobe acpi-cpufreq
+
 
+
To load the driver automatically at start up, add the module to {{Filename|/etc/[[rc.conf]]}}:
+
  # MODULES=( ... acpi-cpufreq ... )
+
 
+
== CPU Governors Setup ==
+
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.
+
# MODULES=( ... cpufreq-powersave cpufreq-userspace cpufreq-ondemand ... )
+
 
+
== Trayfreq Setup ==
+
  
 +
=== Trayfreq Setup ===
 
Now, let's edit the configuration file for trayfreq.
 
Now, let's edit the configuration file for trayfreq.
 
  $ cp /usr/share/trayfreq/trayfreq.config ~/.trayfreq.config
 
  $ cp /usr/share/trayfreq/trayfreq.config ~/.trayfreq.config
Line 70: Line 54:
 
  #[frequency]
 
  #[frequency]
 
  #default=800000
 
  #default=800000
 
  
 
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}}.
 
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}}.
  
 
== Remarks ==
 
== Remarks ==
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.
+
A desktop file is installed into {{filename|/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.
  
 
== External Links ==
 
== External Links ==
 
*[http://trayfreq.sourceforge.net Trayfreq's Website]
 
*[http://trayfreq.sourceforge.net Trayfreq's Website]

Revision as of 19:00, 25 July 2011

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Introduction

Trayfreq (pronounced tray-freek) 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.).

Latest Version

0.2.x.dev1-3

Features

  • Displays a icon that shows you the relative current CPU frequency
  • When the CPU icon is right-clicked, it provides a menu of available frequencies and governors to choose.
  • When the CPU icon is left-clicked, it runs a command (set in config file, default nothing)
  • Displays a icon that shows you the status of your Battery (Charging, Discharging, Charged) and its relative current charge (optional)
  • Toggling of CPU governor based on if the battery is discharging or not.
  • Lightweight, Desktop-Environment Independent

Installation

Install trayfreq from the AUR. AUR Helpers are available.

System Setup

For Trayfreq to work, you will need the appropriate kernel modules loaded and added to your rc.conf. See CPU Frequency Scaling for instructions on loading cpufreq drivers and governors.

Trayfreq Setup

Now, let's edit the configuration file for trayfreq.

$ cp /usr/share/trayfreq/trayfreq.config ~/.trayfreq.config
$ nano ~/.trayfreq.config

Everything will be commented out; uncomment what you want to use. Let's go through the options

Note that, if a default frequency is set, it will override the governor.

Sample File:

[battery]
show=1
governor=powersave
[ac]
governor=ondemand
[events]
activate=/usr/bin/showbatt
[governor]
default=ondemand
#[frequency]
#default=800000

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 Template:Filename; if it exists, trayfreq will not look at Template:Filename.

Remarks

A desktop file is installed into Template:Filename. 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.

External Links