作者: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 的话你就看不到窗口了
Ubuntu添加透明及阴影效果
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
Ubuntu添加透明及阴影效果
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
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");
这个版本可以带参数
" -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");
● 鸣学