由于 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 样式。
13 Responses to 在 Ubuntu 11.04 顶栏上显示网络速度
Authur
五月 6th, 2011 at 12:05 下午
呃 一直对chrome那个不搭调的滚动条耿耿于怀……
[Reply]
CarlNERV
五月 6th, 2011 at 7:49 下午
一直用自带的 系统监视器 的图形化的网速监视器……说的好别扭……虽然看不到速度,但是有没有网速能很形象的看到
[Reply]
lihex
五月 6th, 2011 at 8:25 下午
友情提示:这个脚本需要安装dstat才能正确使用
sudo apt-get install dstat
[Reply]
Rabbit_52 Reply:
五月 6th, 2011 at 10:13 下午
@lihex, 太感谢友情提醒了,我说我的怎么没有数值
[Reply]
lihex Reply:
五月 7th, 2011 at 8:40 上午
@Rabbit_52, 不谢
[Reply]
lsc
五月 6th, 2011 at 11:00 下午
还是喜欢那个indicator-multiload
[Reply]
carbont
五月 9th, 2011 at 2:49 下午
11.04就不能之前的那样的图形界面了,还好有这个方法,不然在习惯上,太多的东西都不能使了。
[Reply]
Aircraft
五月 14th, 2011 at 12:06 下午
怎样在这样的基础上再显示CPU温度?
[Reply]
砼砼
六月 20th, 2011 at 7:47 下午
这东西不错,嘿嘿
[Reply]
lemon
八月 23rd, 2011 at 9:40 下午
使用gnome3 有用不?
[Reply]
riku Reply:
八月 24th, 2011 at 8:23 上午
@lemon, 没用
[Reply]
Rabbit_52
八月 27th, 2011 at 3:19 下午
我看到这个能显示显卡温度,想问看看能不能把显示硬件的温度也加入到这个自定义脚本中?
[Reply]
woodz
十月 15th, 2011 at 8:11 上午
我太外行了,看不大懂啊,还是怀念以前的netspeed!
[Reply]