分页: 1 / 1

Ubuntu添加透明及阴影效果

发表于 : 2005-04-02 18:06
oneleaf
作者:seniors

sudo apt-get install xcompmgr transset

编辑 /etc/X11/xorg.conf

查找:

Section "Device"
Identifier "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
Driver "i810"
BusID "PCI:0:2:0"
Option "RenderAccel"
EndSection

添加:

Option "RenderAccel"

eexp: 如果已经安装了驱动,比如nvidia。这此行一般自动添加了。写法如下:
Option "RenderAccel" "true"


在末尾加入:

Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection

再在用户目录里添加 .gnomerc

添加 xcompmgr -c -f

重启就可以看到阴影效果

要透明只要在终端里运行 transset 0.5

会出现一个十字鼠标,点击窗口就可以使该窗口透明

其中 0.5 是指透明度,如果是 0 的话你就看不到窗口了

发表于 : 2006-07-31 16:46
eexpress
http://forchheimer.se/transset-df/
这个版本可以带参数
" -h, --help display this message\n");
" -t, --toggle force toggle of opacity\n");
" -c, --click select by clicking on window (default)\n");
" -p, --point select the window currently under the cursor\n");
" -n, --name NAME select by name, NAME is matched as regular expression\n");
" --no-regex don't use regular expression for matching name\n");
" -i, --id select by window id\n");
" --inc increase by the given opacity\n");
" --dec decrease by given opacity\n");
" -m, --min OPACITY minimum possible opacity (default = 0)\n");
" -x, --max OPACITY maximum possible opacity (default = 1)\n");
" -v, --verbose print some debug info\n");
" -V, --version print version number\n");

发表于 : 2006-08-17 15:09
赤裸舞男
请问
再在用户目录里添加 .gnomerc

添加 xcompmgr -c -f
这是什么意思吗?

能给下代码吗?或者具体怎么操作??!1求助了1!!