QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2354|回复: 9

怎么设置xfce的面板成透明的?

[复制链接]
发表于 2005-7-25 22:20:58 | 显示全部楼层 |阅读模式
我看到网上好到截图的Xfce的面板都是透明的,我找了半天都不见什么地方设置,请指教
发表于 2005-7-26 09:16:13 | 显示全部楼层
我也想知道的说
回复

使用道具 举报

发表于 2005-7-29 12:44:29 | 显示全部楼层
將xserver從xfree昇級到xorg,再安裝xcompmgr和transset。

脩改xorg.conf,增加:

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

脩改.xinitrc,加入:

xcompmgr -cfFc -n &

改變窗口透明度,在xterm輸入:

transset .6 (0-1 之間,1代錶不透明)
回复

使用道具 举报

 楼主| 发表于 2005-7-29 13:07:52 | 显示全部楼层
可是我想让面板透明,不是窗口透明,窗口透明我家显卡、CPU受不了
回复

使用道具 举报

发表于 2005-7-29 14:02:13 | 显示全部楼层
在xterm輸入:

transset .6 (會有一個“+”産生)

然后將“+”點在panel上,xfce4 panel就會變成透明。。。隻是panel變透明!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

 楼主| 发表于 2005-7-29 18:00:06 | 显示全部楼层
不让窗口透明行吗?
回复

使用道具 举报

 楼主| 发表于 2005-7-29 18:34:18 | 显示全部楼层
用这种方法电脑会不会变成非常之卡啊?
回复

使用道具 举报

发表于 2005-7-31 14:15:35 | 显示全部楼层
我也想知道
回复

使用道具 举报

 楼主| 发表于 2005-7-31 14:39:22 | 显示全部楼层
我看了一些帮助和上Xfce的论坛去问了一下,有几种方法可以,但我一种都没有成功过,大家试试:

1、确认你安装的是Xorg并在/etc/X11/Xorg.conf里加入:
Section "Extensions"
Option "Composite" "Enable"
EndSection  
   确保你的Xfwm4以--enable-compositor编译的,如果是软件包的安装方式,请重新编译Xfwm4并加上--enable-compositor的选项
  在$home$/.config/xfce4下增加一文件transparency在里面加入:
   iconbox=0
    panel=xx  //此处xx为透明度设置,只有数字没有单位

2、按照上面杜鋪兄的方法去做,不过会慢得出奇


  注意:重新编译时必须你的系统里必须有以下的包

pkgconfig , a system for managing library compile/link flags that works with automake and autoconf.
GTK+ >= 2.2 (also dev packages), the GIMP multi-platform toolkit designed for creating graphical user interfaces.
libxml2, a XML C library developed for the Gnome project.
libdbh, the "Disk based hashtables" library, is needed for xffm, the file manager.
Make sure you have these packages (and their *-devel packages) installed.

Optional dependencies :
librsvg >= 2.2.x, a SAX-based renderer library for SVG files, that has to be installed if you want to use SVG icons for the panel.
libstartup-notification >= 0.5, a library that has to be installed if you want to use the startup notification feature.


看不懂慢慢查,注意把它们的Devel包也要了~
不过我是没有成功过,说什么好像少X的什么文件,真该死
回复

使用道具 举报

 楼主| 发表于 2005-7-31 14:40:48 | 显示全部楼层
原文件:
18. Can I change the transparency value for the panel (or the iconbox)?
If you use X.org >= X11R6.8.0 with the Composite extension enabled, you can create the file ~.config/xfce4/transparency if you want to change the transparency value for the panel (or the iconbox). Create the file and add a line with the format panel=value, where value is a number between 0 and 100. Setting it to 0 effectively turns transparency off.

There are several options to change the compositing manager behaviour. Check the xfwm4 and xfce4-panel documentation to learn more.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-25 11:48 , Processed in 0.143314 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表