怎么样实现窗口透明

各种窗口管理器和美化相关
头像
lerosua
论坛版主
帖子: 8455
注册时间: 2007-11-29 9:41
联系:

Re: 怎么样实现窗口透明

#16

帖子 lerosua » 2009-10-10 8:31

给代码里加
gtk_window_set_opacity(0.80)
fhqiddd
帖子: 41
注册时间: 2009-11-02 8:05

Re: 怎么样实现窗口透明

#17

帖子 fhqiddd » 2009-11-02 10:32

右击桌面,更改桌面背景,将‘视觉效果’设置为‘正常’或‘拓展’,OK!



选中任一窗口,光标处在此窗口范围内,按住Alt键,然后滚动鼠标中键。

好好啊。
头像
whx-002
帖子: 139
注册时间: 2007-11-07 23:37
联系:

Re: 怎么样实现窗口透明

#18

帖子 whx-002 » 2009-11-02 22:03

sambrale 写了:右击桌面,更改桌面背景,将‘视觉效果’设置为‘正常’或‘拓展’,OK!
选中任一窗口,光标处在此窗口范围内,按住Alt键,然后滚动鼠标中键。
:em11 牛淫~
头像
denglin216
帖子: 46
注册时间: 2008-08-29 19:27
来自: 四川成都
联系:

Re: 怎么样实现窗口透明

#19

帖子 denglin216 » 2010-05-21 13:39

貌似不起作用
自己的命运由自己来主宰,将脆弱悲哀全都就地掩埋。
头像
wean
帖子: 686
注册时间: 2007-04-23 14:47
系统: Gentoo
来自: 常熟
联系:

Re: 怎么样实现窗口透明

#20

帖子 wean » 2010-05-21 13:52

装上玻璃 :em06
jxndqlz
帖子: 36
注册时间: 2008-08-02 10:23

Re: 怎么样实现窗口透明

#21

帖子 jxndqlz » 2010-11-04 9:55

这个要标记下,好方法,哈哈
头像
wilsonincup
帖子: 142
注册时间: 2010-09-20 12:31

Re: 怎么样实现窗口透明

#22

帖子 wilsonincup » 2010-11-06 12:32

这个效果如何?开启RGBA就可以了,cool!
附件
Screenshot-12.png
头像
echodreamer
帖子: 37
注册时间: 2010-10-11 15:39

Re: 怎么样实现窗口透明

#23

帖子 echodreamer » 2010-11-06 17:31

wilsonincup 写了:这个效果如何?开启RGBA就可以了,cool!
请问这是怎么做的,怎么开启RGBA呢,找了论坛一圏也没看明白。
头像
yds8999
帖子: 87
注册时间: 2010-08-06 22:08

Re: 怎么样实现窗口透明

#24

帖子 yds8999 » 2010-11-06 19:43

透明好看么。?
头像
wilsonincup
帖子: 142
注册时间: 2010-09-20 12:31

Re: 怎么样实现窗口透明

#25

帖子 wilsonincup » 2010-11-07 0:21

Setup
0. It is assumed you have what ever driver for 3d and transparency installed. The ppa has been set up for Karmic, Lucid, and Maverick. This can be found in System -> Administration -> Hardware Drivers.

1. To add the PPA and get the keys, go to Applications->Accessories->Terminal and run

sudo add-apt-repository ppa:erik-b-andersen/rgba-gtk
2. Go to System -> Administration -> Update Manager and click check. Then install the updates, which will install the necessary packages for RGBA Gtk.

Or, if you like to do it via Terminal (optional), just run:
sudo apt-get update ; sudo apt-get upgrade
3. Go to System -> Preferences -> Gnome Color Chooser. Go to the Engines tab. Check the box next to Global and choose Murrine in the drop down list next to the check box. Click Preferences. In the window that comes up find 'Configuration of Enable/Disable RGBA support', and check both boxes under that section. Click OK. Click Apply and then Close.

4. Go to System -> Preferences -> Appearance. On the theme tab click Customize... and then in the window that comes up, on the Controls tab, select a murrine theme. Close Close and then Close (again).

5. Log out and then log back in.

Optional
You may want to blur the transparency with compiz to make it easier to read text that is on a transparent area of a window. To do this,

1. Go to Applications -> Ubuntu Software Center.

2. Search for compiz and install the packages compiz-fusion-plugins-extra(you may have to install this using synaptic in karmic) and Advanced Desktop Effects Settings (ccsm).

3. Go to System -> Preferences -> Compiz Config Settings Manager.

4. Search for blur windows, and check the box next to it, and then click on it.

5. Set the Blur Filter to Gaussian and Gaussian Radius to around 4 or 5.

6. When you are satisfied with the result, just close the window.
头像
wilsonincup
帖子: 142
注册时间: 2010-09-20 12:31

Re: 怎么样实现窗口透明

#26

帖子 wilsonincup » 2010-11-07 0:27

其实我也是今天早上第一次开的RGBA但是感觉不太稳定,开机速度稍微慢了些。而且之前自己做的主题完全不搭配,重新修改了颜色,否则按钮都看不清。但处处透明还是很酷的。
gnome color chooser是个好东西,玩好和CCSM一样重要。
xuto
帖子: 4
注册时间: 2010-11-07 15:10

Re: 怎么样实现窗口透明

#27

帖子 xuto » 2010-11-07 15:39

谢谢指点!! :em06
头像
wilsonincup
帖子: 142
注册时间: 2010-09-20 12:31

Re: 怎么样实现窗口透明

#28

帖子 wilsonincup » 2010-11-13 0:31

千万别用RGBA!很多程序不支持的。我今天血的教训,编辑了个配置文件,结果直接进不去了。全部重装。
回复