Chrome 已支持 Ubuntu 全局菜单

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

在最新的 Google Chrome Unstable 12.0.733 及 Chromium Daily Build 版中, Google 为它增加了一个新的实验特性 Experimental GNOME menu bar support,就是说它现已支持 Ubuntu 全局菜单,这也意味可以完全与 Ubuntu Natty 的 Unity 界面相融合了。

当然由于是实验特性,这个功能默认是不开启的,你可以通过在浏览器中输入 about:flags 后找到最后的 Experimental GNOME menu bar support 选项来开启。

# 安装 Chrome/Chromium 最新版:

Google Chrome Unstable Deb 包下载: 32 位 / 64 位 ,而 Chromium Daily Build 版请通过官方提供的 PPA 来安装。

- 消息来源

作者:riku

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

17 Responses to Chrome 已支持 Ubuntu 全局菜单

Avatar

xndcn

Google Chrome 8.0.552.237 Google Chrome 8.0.552.237 Windows 7 Windows 7

四月 13th, 2011 at 10:20 下午

全局菜单威武啊...
不过这个特性需要修改程序,是这样的吗?
还以为不用任何修改就行的呢...

[Reply]

Google Chrome 12.0.733.0 Google Chrome 12.0.733.0 GNU/Linux GNU/Linux

riku Reply:

@xndcn, 应该是有些程序需要修改,有些则不用,我不是开发者对此也不是很清楚。

[Reply]

Google Chrome 12.0.733.0 Google Chrome 12.0.733.0 GNU/Linux GNU/Linux

Shellexy Reply:

@riku, @xndcn, 可以认为不需要修改,

原先就有菜单栏的程序在 AppMenu 下会自动变为全局菜单,

只不过 Chrome 原先并没有菜单栏,所以不能全局菜单。

我没看 Chrome 是怎么干的,

我的 #Hotot 推特客户端是这样支持全局菜单的:
1. 给 Gtk 的 Box 布局里添加一个行
2. 在添加的行插入一个 Gtk 菜单栏
3. 菜单栏设为显示,但是所在的行设为隐藏
4. 这样平时 Hotot 不会显示出菜单栏,但是在 AppMenu 下依旧会自己把菜单栏弄到全局菜单

[Reply]

Google Chrome 12.0.733.0 Google Chrome 12.0.733.0 GNU/Linux GNU/Linux

riku Reply:

@Shellexy, 有点明白了,谢谢!

[Reply]

Google Chrome 12.0.733.0 Google Chrome 12.0.733.0 GNU/Linux GNU/Linux

Shellexy Reply:

@riku, 嗯,或者换个说法,

原先有菜单栏的“标准窗口程序”不用修改,
直接就会把菜单栏弄到全局菜单,

而原先没有菜单栏的窗口程序就没得弄,
可以加个隐藏的菜单栏解决。

[Reply]

Avatar

wo0d.z

Google Chrome 12.0.725.0 Google Chrome 12.0.725.0 Windows 7 Windows 7

四月 13th, 2011 at 10:29 下午

gnome3真大,我都不敢升级啊,咋办呢?

[Reply]

Firefox 4.0b10 Firefox 4.0b10 Windows XP Windows XP

瓦力 Reply:

@wo0d.z, 虚拟小机机

[Reply]

Avatar

stufever

Google Chrome 10.0.648.204 Google Chrome 10.0.648.204 GNU/Linux GNU/Linux

四月 13th, 2011 at 10:44 下午

全局菜单这个东西是好是坏,还不知道呢

[Reply]

Chromium 10.0.648.204 Chromium 10.0.648.204 Ubuntu 10.10 Ubuntu 10.10

xiaodang Reply:

@stufever,

不崩溃的时候很好。

大部分时间。

[Reply]

Avatar

LiuKai

Firefox 4.0 Firefox 4.0 Windows XP Windows XP

四月 14th, 2011 at 7:57 上午

Chrome还是在全局菜单什么都不显示的好。

[Reply]

Avatar

心之所在

Opera 11.10 Opera 11.10 Windows XP Windows XP

四月 14th, 2011 at 8:30 上午

ubuntu有钱就是好,做事会有人跟,kde搞个全局菜单,谁鸟你。这就是资本的力量

[Reply]

Avatar

lwh

Google Chrome 10.0.648.204 Google Chrome 10.0.648.204 Windows XP Windows XP

四月 14th, 2011 at 8:35 上午

非常好

[Reply]

Avatar

fanhe

Firefox 4.0b12pre Firefox 4.0b12pre GNU/Linux GNU/Linux

四月 14th, 2011 at 10:50 上午

如果要在两个窗口之间来回使用菜单上某项的功能的话,全局菜单要多点一下,只要这个操作有替代方案,全局菜单就没问题

[Reply]

Google Chrome 12.0.733.0 Google Chrome 12.0.733.0 GNU/Linux GNU/Linux

Shellexy Reply:

@fanhe, 先前的全局菜单算是随时随着前台的焦点所在窗口而变化,在切换窗口较频繁时会闪烁得厉害,

而且现有的 Linux 程序其实依旧是基于窗口的,做不到 MAC 那样基于程序,所以当前台窗口是某程序的对话框时,抓到的菜单栏会不对劲,

于是 Unity 干脆让全局菜单在需要时(鼠标移到顶部菜单栏)时才更新显示出来,
绕过现有问题。

[Reply]

Google Chrome 10.0.648.204 Google Chrome 10.0.648.204 Windows 7 Windows 7

qyang Reply:

@fanhe, 是的,不太好用

[Reply]

Google Chrome 10.0.648.204 Google Chrome 10.0.648.204 GNU/Linux GNU/Linux

书痕 Reply:

@fanhe, 感觉全局菜单炒概念的成分比较多

[Reply]

Avatar

期待ing

Safari 5.0.2 Safari 5.0.2 iPad iOS 4.3 iPad iOS 4.3

四月 14th, 2011 at 12:20 下午

問題好多

[Reply]

Comment Form

top

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