怎么设置xfce的面板成透明的?
我看到网上好到截图的Xfce的面板都是透明的,我找了半天都不见什么地方设置,请指教 :mrgreen: 我也想知道的说 將xserver從xfree昇級到xorg,再安裝xcompmgr和transset。脩改xorg.conf,增加:
Section "Extensions"
Option "Composite" "Enable"
EndSection
脩改.xinitrc,加入:
xcompmgr -cfFc -n &
改變窗口透明度,在xterm輸入:
transset .6 (0-1 之間,1代錶不透明) 可是我想让面板透明,不是窗口透明,窗口透明我家显卡、CPU受不了 在xterm輸入:
transset .6 (會有一個“+”産生)
然后將“+”點在panel上,xfce4 panel就會變成透明。。。隻是panel變透明! 不让窗口透明行吗? 用这种方法电脑会不会变成非常之卡啊? 我也想知道 我看了一些帮助和上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的什么文件,真该死 原文件:
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.
页:
[1]