Original location: http://tieba.baidu.com/p/3005287033
When using Ubutu, if you can see the current system usage, such as CPU, memory, speed, etc. is very cool, today tell a system running state display software
1. Download Indicator-sysmonitor with wget,
After the download is complete, execute the command at the terminal:
Wget-c https://launchpad.net/indicator-sysmonitor/trunk/4.0/+download/indicator-sysmonitor_0.4.3_ All.deb
After the download, do not rush to install, because the software some dependencies have not been resolved. The terminal executes the following command to install the dependency:
sudo apt-get install python python-psutil python-appindicator
Install indicator-sysmonitor using the following command:
sudo dpkg-i indicator-sysmonitor_0. 4
2. Configure Indicator-sysmonitor
The installation is installed, but some configuration is required to display it properly. Because the software default display icon is Sysmonitor.svg, and in the Ubuntu 14.04 64-bit system does not have this icon, which causes the icon display error, very unattractive. So you have to change the default icon of the software to an existing icon, of course, you can make a DIY icon. But the system has a lot of icons, find a good point of direct use on the line!
The system icon is stored in:
/usr/share/icons/humanity/apps/xx directory (XX: 128 16 192 22 24 32 48 64 in any of the different dimensions of the same icon, the same icon does not have each size).
Open/usr/share/icons/humanity/apps/32, found Application-community.svg is not bad, so I use this icon! Of course, with other or own production is also possible!
After you find the icon you like, mark the file name (not including the suffix), here is application-community, and the following is the beginning of the replacement. The terminal executes the command to modify the code:
sudo gedit/usr/bin/indicator-sysmonitor
Change the sysmonitor of line 724 to the application-community you just noted.
To save (or use CTRL + V), the terminal executes:
Indicator-sysmonitor
Run under Indicator-sysmonitor, look at the mark effect, the effect is very good!
For convenience also to add power-on start for the program! The first thing to do is to set up a directory to store your own boot files. Terminal execution:
Then, right-click on the title bar application-community Hearts icon, pop-up menu, select Preferences, tick the run on startup: so that it can boot up. Switch to the advanced option to set the information you want to display to the title bar.
3. Display Information settings
In use I just want it to show the speed, so customize output: only {net}, you can select the sensors item, then click Add (A), add other items to display, some items appear to be less right. You can also enter it by format in Customize output:.
For example, enter: CPU: {CPU} MEM: {mem} net:{net}, then click Test
For example, enter: CPU:{CPU} Memory: {mem} speed: {net}, then click Test
Try setting another format, then test until the effect is satisfied and then click Save.
Ubuntu 14.04 (64bit) use Indicator-sysmonitor to display system operating status