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

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

在 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

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

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

选择 "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 样式。

转载于:https://my.oschina.net/lynnhy/blog/16436

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2021-11-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-08
  • 2021-10-05
  • 2022-12-23
  • 2021-12-04
  • 2021-11-17
  • 2021-12-31
相关资源
相似解决方案