查看完整版本: linux下的梦幻桌面——xwinwrap

imapx2 2007-12-6 04:15 PM

linux下的梦幻桌面——xwinwrap

在 论坛上看到了linux下的梦幻桌面——xwinwrap, Y vXvJm3eNz
关于什么Xwinwarp请看:[url=http://forum.ubuntu.org.cn/viewtopic.php?t=39270][color=#9f4c09]http://forum.ubuntu.org.cn/viewtopic.php?t=39270[/color][/url]
j8l#I;~)c/I 看了下,挻炫的,
k%Bx_'_uF*rPl [size=7][color=red]64.bit[/color][/size]装好后要改下coolbg
$G#zi:O3@{;wn%HG [table=90%][tr][td][b]代码:[/b][/td][/tr][tr][td]
j}\:@;bLS}f sudo gedit /usr/bin/coolbg +Tw3Y2F^2zZ
[/td][/tr][/table],|!?2QY3|*R*^
把里面的东西全删了换成下面:
tI,~2Ic$u7G [table=90%][tr][td][b]代码:[/b][/td][/tr][tr][td] x#w1?:lWmK#[:U4K
#!/bin/bash !f5@H#B8I\!F
##
&TW_wk^2f(| # Copyright : (C) 2007 cyberorg
t+]#R`#V0K)toWWk # E-mail    : cyberorg (at) cyberorg.info
`(? E9F}_Lhq # Modified by zhuqin
J.ooI4Ld-Y #
&Uq Sq_v,W # This program is free software; you can redistribute it and/or 0}o7zDH|+b
# modify it under the terms of the GNU General Public License
v,O\$k4l5ito # as published by the Free Software Foundation; either version 2
j;v7bH6_?3[3cM/XY(L # of the License, or (at your option) any later version. Jsv'i3G1Tgb,On
# 3P i\i5zP
# This program is distributed in the hope that it will be useful, N,o!nH!B8fp [
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|6[#V1H A # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the W;s5Sf"ySa"QH
# GNU General Public License for more details. }%`Y|kO$~wq
#
,M&|*JU1iv?Xu(^.HJ #This is a script to run xscreensaver as animated background in Xgl
6e~Bh_2jW#| #Get xwinwrap before using this script
l;q[(c"\ nG[ #
-n\0A Z{f nN #-g = parse geometry
7u}%H f l,yn3u7{ #-ni = no input
R\ X \za#R@X #-argb = argb visual
w;H.Bz _ e #-fs = full screen ,O]{-x#l d8m8J(E)r
#-s = sticky
;bJuXhKOh #-st = skip taskbar
fD~CJ$U-X4F9M4S:Q"i #-sp = skip pager
`U\$] A #-a = above 3m(Ug5{W7eM-f!JH)_
#-b = below
5q*eL'U:Efn t,}:] #-nf = no focus xG6i5j1l0r
#-o OPACITY GW[P'[3q&h
#
e6wzC z ## k {1a.`G)gg"|
ARCH=`arch`
)Z&tw0aR.R{ #if [ $ARCH == "i686" ]; then
$ub"{(B,c|#pL #SAVERPATH=/usr/lib/xscreensaver
+J Pd$[bnt #elif [ $ARCH == "x86_64" ]; then } Bj%}:H6`4q%nKW%v
SAVERPATH=/usr/lib64/xscreensaver
^)h Se{+z #fi
Uh|)f1x K;M while true; do HVW3_~8_kKb
ls $SAVERPATH
V;Y1O k2] W(F echo "Select your cool background:" k,C"FK4w
read background M/s1v]S+pD
bg=$background r"@Yy"`
echo -n "Want to run in foreground? (y/n) " ~X](R+s#H/z s
read yn
P8b'l)A nR$`([ xX case $yn in K kX _8V8`9K
y* | Y* ) xwinwrap -o 0.6 -ni -argb -fs -s -st -sp -a -nf -- $SAVERPATH/$bg -window-id WID; break ;;# -o后的数值从0到1,可自行修改 ,]1BNzM5] nJE
[nN]* ) xwinwrap -o 0.6 -ni -argb -fs -s -st -sp -b -nf -- $SAVERPATH/$bg -window-id WID -root; break ;;
n3AO!utv q* ) exit ;; v.\,v+IB5],a.Q*V,Z
* ) echo "unknown response. Asking again" ;;
\2tM o ~ esac
g4Q[#A.z ~5`/rp done 0I` } |A
[/td][/tr][/table]"fL H d iaX
A,|'l F6_ MX G)b,e2^
我测试过的屏保例子,其它的在我这都用不了可能是显卡不行,GMA900的。。。。。 V,P:A,IO6[ y-Go
[table=90%][tr][td][b]代码:[/b][/td][/tr][tr][td]
S} Bs,tX!rF U9[ Fuzzy Flakes: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/fuzzyflakes -window-id WID -color black
LN[X1YZO D;B a^^6E!OM
Ripples: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/ripples -window-id WID[/td][/tr][/table]6[&h6Q&U_3HAY
其它的一些设置可以去这看看:[url=http://forum.ubuntu.org.cn/viewtopic.php?t=39270][color=#9f4c09]http://forum.ubuntu.org.cn/viewtopic.php?t=39270[/color][/url]
7L5ZS&o(a [url=http://forum.ubuntu.org.cn/download.php?id=22884][img]http://forum.ubuntu.org.cn/files/thumbs/t_screenshot_23332.png[/img][/url]XWvGPf$\'rk
[url=http://forum.ubuntu.org.cn/download.php?id=22883][img]http://forum.ubuntu.org.cn/files/thumbs/t_screenshot_1_15320.png[/img][/url] 9Ys@$g1w0QG ?ET#e

#e8W:Z y4g(?c
UrO s!p7Yb
%A4v Ueh6g2[(}#sH4]m +Q:BODe!G c

wj,J0{ xV o+n *bU(^(I ~,a0x,S
[table=95%][tr][td=3,1][b]xwinwrap.tar.bz2[/b][/td][/tr][tr][td=1,1,15%]描述:[/td][td=1,1,75%][table=98%][tr][td]
O4o;UFWj@}P [/td][/tr][/table][/td][td=1,4,10%][img]http://forum.ubuntu.org.cn/images/icon_clip.gif[/img]
ZJ/fT.f,t.| [url=http://forum.ubuntu.org.cn/download.php?id=22885][b][color=#9f4c09]下载[/color][/b][/url][/td][/tr][tr][td=1,1,15%]文件名:[/td][td=1,1,75%]xwinwrap.tar.bz2[/td][/tr][tr][td=1,1,15%]文件大小:[/td][td=1,1,75%]12.88 KB[/td][/tr][tr][td=1,1,15%]下载过的:[/td][td=1,1,75%]文件被下载或查看 16 次[/td][/tr][/table]

k.s.yong 2007-12-9 09:35 PM

回复 1# 的帖子

谢谢楼主分享。。。。。。。。。

qingren8883 2008-1-9 06:06 PM

感谢楼主,辛苦了.
页: [1]
查看完整版本: linux下的梦幻桌面——xwinwrap