📄 install
字号:
Requirements:------------- *A processor that supports frequency scaling. *Linux Kernel version 2.6 with CPU Frequency scaling (CPU_FREQ) and CPU frequency translation statistics (CPU_FREQ_STAT) support. Of course, your processor's CPUFreq driver must be enabled, either inside the kernel or loaded as a module. *XOSD library. You can found at: http://www.ignavus.net/software.htmlInstallation:------------- 1- Edit the Makefile to fit your needs: CFLAGS, installation directory, etc. 2- make 3- As root: make install (4- To uninstall, as root: make uninstall) Usage:------ 1- Copy /etc/osdcpufreq.conf to your home directory as .osdcpufreq.conf: cp /etc/osdcpufreq.conf $HOME/.osdcpufreq.conf 2- Edit your $HOME/.osdcpufreq.conf to change the default settings. 3- Open an X Terminal, like xterm or konsole, and execute osdcpufreq command ;-) *The program's purpose is to quickly display the current status of the CPU, that's why I recommend you to associate a keyboard shortcut for the osdcpufreq command, for example: Ctrl+Shift+C. The configuration process depends on the desktop manager you were running: -->KDE: you can configure it inside Control Center--> Regional & Accessibility --> KHotKeys. Select New Action and type osdcpufreq into the Action name field, then go to Actions, select New--> Command/URL and type osdcpufreq. Finally go to Triggers, select New--> Shortcut Trigger and capture your keyboard shortcut. -->WindowMaker: you can attach osdcpufreq to a hotkey using WPrefs. To do this, osdcpufreq must be a command in your right-click menu or submenu. Go to WPrefs--> Applications Menu Definition, drag Run Program item to the menu, select it and type osdcpufreq into Program to Run field, then capture your keyboard shortcut. Finally reset WindowMaker: WindowMaker->Exit->Restart. -->XFCE: Settings--> Window Manager Settings--> Keyboard--> Add, write any name, then, inside Command shortcuts, double click on none none, type osdcpufreq, and now capture your shortcut. * NOTE: The X server (Xorg/XFree86) must be * running when executing osdcpufreq.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -