First of all, of course, use wget to download indicator-sysmonitor, and the terminal executes the command:
wget -c https://launchpad.net/indicator-sysmonitor/trunk/4.0/+download/indicator-sysmonitor_0.4.3_all.deb
After downloading, do not rush to install, because some dependencies of the software have not been resolved. Terminal execution:
sudo apt-get install python python-psutil python-appindicator
Then install indicator-sysmonitor
sudo dpkg -i indicator-sysmonitor_0.4.3_all.deb
All the items to be installed are installed, but some configuration is needed to display normally. Because the default icon displayed by the software is sysmonitor.svg
, and there is no such icon in the Ubuntu 14.04 64-bit system, this causes the icon to display incorrectly. So change the software icon to an existing icon, of course, you can also make an icon yourself. But there are already many icons in the system, which can be used directly.
The system icons are stored in the directory /usr/share/icons/Humanity/apps/ XX
(XX is any one of 128 16 192 22 24 32 48 64, corresponding to different sizes of the same icon. The same icon is not every All sizes). Open /usr/share/icons/Humanity/apps/32
and find that application-community.svg
is not bad, so I use this icon! Of course you can use other ones or make them yourself!
After you find the icon you like, write down the file name of the icon (not including the suffix), here is application-community, start to replace it below. Terminal execution command:
sudo gedit /usr/bin/indicator-sysmonitor
Change the sysmonitor
of line 724
to the application-community
just noted
Save after modification, terminal execute: indicator-sysmonitor
Set automatic startup
Terminal execution: mkdir ~/.config/autostart
If this directory already exists, go to the next step
Then, right-click the application-community icon on the title bar to pop up a menu, select Preferences, and tick Run on startup:
, so that it can be started. Switch to the Advanced
option to set the information to be displayed in the title bar.
I only want it to display the network speed, so there is only {net} in Customize output:, you can select the Sensors item, and then click Add (A) to add other items to be displayed. Some items seem to be displayed incorrectly. You can also input the format in Customize output:.
For example, input: cpu: {cpu} mem: {mem} net:{net}, then click Test
For another example, enter: CPU: {cpu} Memory: {mem} Internet speed: {net}, then click Test
Recommended Posts