[FZH] gnome3 鼠标禁用预览

alick alick9188 at gmail.com
Sat Mar 17 02:55:09 UTC 2012


于 2012年03月17日 00:48, 嘉谟 写道:
> 我没找到。 而是通过如下方法 (google)
> 
> edit file /usr/share/gnome-shell/js/ui/layout.js Find this code:
> 
> this._corner = new Clutter.Rectangle({ name: 'hot-corner',
> width: 1,
> height: 1,
> opacity: 0,
> reactive: true });
> 
> Change reactive: true to reactive: false and it will disable the hot
> corner but still allow to activate the overview screen by clicking the
> Activities button or by pressing the Super (Windows) key.
> 
> 很好的达到了我要的效果
> 
> 
> 

软件源里有同样功能的应该是如下的软件包:

$ yum info gnome-shell-extension-noripple.noarch
已加载插件:etckeeper, langpacks, presto, refresh-packagekit,
remove-with-leaves
可安装的软件包
名称        :gnome-shell-extension-noripple
构架        :noarch
版本     :1.0
发布     :1.fc16
大小        :5.2 k
仓库        :fedora
简介     : A gnome-shell extension to disable hot corner ripple effects
网址         :http://www.fpmurphy.com/gnome-shell-extensions/
协议     : GPLv2
描述: This Gnome Shell extension disables Activities hot corner ripple
effects.

不过我没有试过。我猜它做的事情和直接改动 layout.js 差不多。只不过,
直接改的话,gnome-shell 今后升级时可能会覆盖掉你做的更改。

-- 
alick
Fedora 16 (Verne) user
https://fedoraproject.org/wiki/User:Alick


More information about the Chinese mailing list