在 Ubuntu 11.04 顶栏上显示网络速度

6
2011
# 作者: riku / 本文采用CC BY-NC-SA 2.5协议授权,转载请注明本文链接

由于 Ubuntu Natty Unity 界面取消了对 Gnome Applet 的支持,所以之前的很多软件都无法使用了。比如之前一直在用的 netspeed ,可以在顶部面板显示当前的网络速度,现在就无法在 Ubuntu 11.04 中使用。

不过现在,WebUpd8 的作者给出了一个解决方案,通过 indicator-sysmonitor 加上自已编写的脚本来实现这一功能。

- 方法如下:

1 安装 indicator-sysmonitor 及 dstat

sudo add-apt-repository ppa:alexeftimie/ppa
sudo apt-get update
sudo apt-get install indicator-sysmonitor dstat

2 下载脚本

mkdir -p ~/scripts && cd ~/scripts
wget http://webupd8.googlecode.com/files/sysmon_0.1.tar.gz
tar -xvf sysmon_0.1.tar.gz

3 运行并设置 indicator-sysmonitor

选择 "Use this command",然后在文本框中输入

$HOME/scripts/sysmon

4 关闭及重启 indicator-sysmonitor

killall indicator-sysmonitor

5 如果有需要的话你还可以配置一下脚本,来选择是否要显示 CPU 或 内存使用状态

gedit ~/scripts/sysmon

相应选项如下

#settings:
netspeed=true
ram=true
cpu=false

另外,为了让它开机自动启动,你还需要在“启动应用程序”设置中添加一下。

PS: 这里有一个 Chrome 插件,可以让滚动条变为 Overlay Scrollbar 样式。

 

作者:riku

Bio: 关注新网络、Web2.0、移动应用;Nexus S/Andorid,iPad,FreeBSD,Ubuntu 用户;伪设计师,好推墙运动。
链接:Blog - Twitter - Facebook - 此作者的更多文章

13 Responses to 在 Ubuntu 11.04 顶栏上显示网络速度

Avatar

Authur

Firefox 4.0.1 Firefox 4.0.1 Windows 7 Windows 7

五月 6th, 2011 at 12:05 下午

呃 一直对chrome那个不搭调的滚动条耿耿于怀……

[Reply]

Avatar

CarlNERV

Firefox 4.0.1 Firefox 4.0.1 Windows XP Windows XP

五月 6th, 2011 at 7:49 下午

一直用自带的 系统监视器 的图形化的网速监视器……说的好别扭……虽然看不到速度,但是有没有网速能很形象的看到

[Reply]

Avatar

lihex

Google Chrome 11.0.696.57 Google Chrome 11.0.696.57 GNU/Linux GNU/Linux

五月 6th, 2011 at 8:25 下午

友情提示:这个脚本需要安装dstat才能正确使用

sudo apt-get install dstat

[Reply]

Google Chrome 12.0.742.21 Google Chrome 12.0.742.21 GNU/Linux GNU/Linux

Rabbit_52 Reply:

@lihex, 太感谢友情提醒了,我说我的怎么没有数值

[Reply]

Google Chrome 11.0.696.57 Google Chrome 11.0.696.57 GNU/Linux GNU/Linux

lihex Reply:

@Rabbit_52, 不谢

[Reply]

Avatar

lsc

Google Chrome 12.0.742.21 Google Chrome 12.0.742.21 GNU/Linux GNU/Linux

五月 6th, 2011 at 11:00 下午

还是喜欢那个indicator-multiload

[Reply]

Avatar

carbont

Firefox 4.0.1 Firefox 4.0.1 GNU/Linux GNU/Linux

五月 9th, 2011 at 2:49 下午

11.04就不能之前的那样的图形界面了,还好有这个方法,不然在习惯上,太多的东西都不能使了。

[Reply]

Avatar

Aircraft

Firefox 4.0.1 Firefox 4.0.1 GNU/Linux x64 GNU/Linux x64

五月 14th, 2011 at 12:06 下午

怎样在这样的基础上再显示CPU温度?

[Reply]

Avatar

砼砼

Firefox 5.0 Firefox 5.0 GNU/Linux GNU/Linux

六月 20th, 2011 at 7:47 下午

这东西不错,嘿嘿

[Reply]

Avatar

lemon

Google Chrome 7.0.517.41 Google Chrome 7.0.517.41 GNU/Linux GNU/Linux

八月 23rd, 2011 at 9:40 下午

使用gnome3 有用不?

[Reply]

Google Chrome 15.0.854.0 Google Chrome 15.0.854.0 GNU/Linux GNU/Linux

riku Reply:

@lemon, 没用

[Reply]

Avatar

Rabbit_52

Chromium 15.0.861.0 Chromium 15.0.861.0 Ubuntu 11.04 x64 Ubuntu 11.04 x64

八月 27th, 2011 at 3:19 下午

我看到这个能显示显卡温度,想问看看能不能把显示硬件的温度也加入到这个自定义脚本中?

[Reply]

Avatar

woodz

Firefox 7.0.1 Firefox 7.0.1 GNU/Linux GNU/Linux

十月 15th, 2011 at 8:11 上午

我太外行了,看不大懂啊,还是怀念以前的netspeed!

[Reply]

Comment Form

top

无觅相关文章插件,快速提升流量