关于什么Xwinwarp请看:viewtopic.php?t=39270
看了下,挻炫的,
自己也想弄个,郁闷!就是没有提供64位的包。。。
我在网上找了好久 终于找了个Suse的Rpm,转 成了DEB!发上来分享下。。。
装好后要改下coolbg
代码: 全选
sudo gedit /usr/bin/coolbg
代码: 全选
#!/bin/bash
##
# Copyright : (C) 2007 cyberorg
# E-mail : cyberorg (at) cyberorg.info
# Modified by zhuqin
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#This is a script to run xscreensaver as animated background in Xgl
#Get xwinwrap before using this script
#
#-g = parse geometry
#-ni = no input
#-argb = argb visual
#-fs = full screen
#-s = sticky
#-st = skip taskbar
#-sp = skip pager
#-a = above
#-b = below
#-nf = no focus
#-o OPACITY
#
##
ARCH=`arch`
#if [ $ARCH == "i686" ]; then
#SAVERPATH=/usr/lib/xscreensaver
#elif [ $ARCH == "x86_64" ]; then
SAVERPATH=/usr/lib64/xscreensaver
#fi
while true; do
ls $SAVERPATH
echo "Select your cool background:"
read background
bg=$background
echo -n "Want to run in foreground? (y/n) "
read yn
case $yn in
y* | Y* ) xwinwrap -o 0.6 -ni -argb -fs -s -st -sp -a -nf -- $SAVERPATH/$bg -window-id WID; break ;;# -o后的数值从0到1,可自行修改
[nN]* ) xwinwrap -o 0.6 -ni -argb -fs -s -st -sp -b -nf -- $SAVERPATH/$bg -window-id WID -root; break ;;
q* ) exit ;;
* ) echo "unknown response. Asking again" ;;
esac
done
代码: 全选
Fuzzy Flakes: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/fuzzyflakes -window-id WID -color black
Ripples: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/ripples -window-id WID