怎么样实现窗口透明
- lerosua
- 论坛版主
- 帖子: 8455
- 注册时间: 2007-11-29 9:41
- 联系:
Re: 怎么样实现窗口透明
给代码里加
gtk_window_set_opacity(0.80)
gtk_window_set_opacity(0.80)
-
- 帖子: 41
- 注册时间: 2009-11-02 8:05
Re: 怎么样实现窗口透明
右击桌面,更改桌面背景,将‘视觉效果’设置为‘正常’或‘拓展’,OK!
选中任一窗口,光标处在此窗口范围内,按住Alt键,然后滚动鼠标中键。
好好啊。
选中任一窗口,光标处在此窗口范围内,按住Alt键,然后滚动鼠标中键。
好好啊。
- whx-002
- 帖子: 139
- 注册时间: 2007-11-07 23:37
- 联系:
Re: 怎么样实现窗口透明
sambrale 写了:右击桌面,更改桌面背景,将‘视觉效果’设置为‘正常’或‘拓展’,OK!
选中任一窗口,光标处在此窗口范围内,按住Alt键,然后滚动鼠标中键。
![:em11 :em11](./images/smilies/em11.gif)
- denglin216
- 帖子: 46
- 注册时间: 2008-08-29 19:27
- 来自: 四川成都
- 联系:
- wean
- 帖子: 686
- 注册时间: 2007-04-23 14:47
- 系统: Gentoo
- 来自: 常熟
- 联系:
-
- 帖子: 36
- 注册时间: 2008-08-02 10:23
Re: 怎么样实现窗口透明
这个要标记下,好方法,哈哈
- wilsonincup
- 帖子: 142
- 注册时间: 2010-09-20 12:31
- echodreamer
- 帖子: 37
- 注册时间: 2010-10-11 15:39
Re: 怎么样实现窗口透明
请问这是怎么做的,怎么开启RGBA呢,找了论坛一圏也没看明白。wilsonincup 写了:这个效果如何?开启RGBA就可以了,cool!
- yds8999
- 帖子: 87
- 注册时间: 2010-08-06 22:08
Re: 怎么样实现窗口透明
透明好看么。?
- wilsonincup
- 帖子: 142
- 注册时间: 2010-09-20 12:31
Re: 怎么样实现窗口透明
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.
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: 怎么样实现窗口透明
其实我也是今天早上第一次开的RGBA但是感觉不太稳定,开机速度稍微慢了些。而且之前自己做的主题完全不搭配,重新修改了颜色,否则按钮都看不清。但处处透明还是很酷的。
gnome color chooser是个好东西,玩好和CCSM一样重要。
gnome color chooser是个好东西,玩好和CCSM一样重要。
-
- 帖子: 4
- 注册时间: 2010-11-07 15:10
Re: 怎么样实现窗口透明
谢谢指点!! ![:em06 :em06](./images/smilies/em06.gif)
![:em06 :em06](./images/smilies/em06.gif)
- wilsonincup
- 帖子: 142
- 注册时间: 2010-09-20 12:31
Re: 怎么样实现窗口透明
千万别用RGBA!很多程序不支持的。我今天血的教训,编辑了个配置文件,结果直接进不去了。全部重装。