Ubuntu添加透明及阴影效果

参与到Ubuntu的翻译中来
回复
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

Ubuntu添加透明及阴影效果

#1

帖子 oneleaf » 2005-04-02 18:06

作者: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 的话你就看不到窗口了
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2006-07-31 16:46

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");
● 鸣学
赤裸舞男
帖子: 4
注册时间: 2006-06-24 0:23

#3

帖子 赤裸舞男 » 2006-08-17 15:09

请问
再在用户目录里添加 .gnomerc

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

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