[推荐]linux下的梦幻桌面——xwinwrap,让您的桌面与众不同 07/11/28 更新
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
- zhuqin_83
- 帖子: 10606
- 注册时间: 2006-05-13 4:02
- 联系:
- zhuqin_83
- 帖子: 10606
- 注册时间: 2006-05-13 4:02
- 联系:
-
- 帖子: 513
- 注册时间: 2006-06-29 11:36
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
sky@ThinkPad:~/Desktop$ sh coolbg.sh
[: 37: ==: unexpected operator
[: 37: ==: unexpected operator
coolbg.sh installMSfonts.sh~ 新文件 新文件 1~
coolbg.sh~ xwinwrap_0.1+cvs20060209_i386.deb 新文件~ 新文件 2~
Select your cool background:
把arch 还有接下来的if 语句中#去掉后运行就是上面的样子
[: 37: ==: unexpected operator
[: 37: ==: unexpected operator
coolbg.sh installMSfonts.sh~ 新文件 新文件 1~
coolbg.sh~ xwinwrap_0.1+cvs20060209_i386.deb 新文件~ 新文件 2~
Select your cool background:
把arch 还有接下来的if 语句中#去掉后运行就是上面的样子
no security measure is worth anything if an attacker has physical access to the machine
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
加了#号后就可以了
sky@ThinkPad:~/Desktop$ sh coolbg.sh
antinspect engine gleidescope metaballs sierpinski3d
antspotlight euphoria glknots mirrorblob skyrocket
atunnel fiberlamp glmatrix moebius slidescreen
biof fieldlines glslideshow molecule solarwinds
blinkbox flipflop glsnake morph3d sonar
braid flipscreen3d gltext penrose spheremonics
bubble3d flocks helios pipes spirographx
busyspheres flurry hufo_smoke plasma stonerview
circuit flux hufo_tunnel polyhedra sundancer2
colorfire flyingtoasters hyperspace polytopes superquadrics
cubestorm fuzzyflakes hypertorus popsquares swirl
cyclone galaxy jigglypuff pulsar xlyap
deco gears lattice queens
distort gflux lavalite ripples
endgame glblur matrixview shadebobs
Select your cool background:
flux
Want to run in foreground? (y/n) y
sky@ThinkPad:~/Desktop$ sh coolbg.sh
antinspect engine gleidescope metaballs sierpinski3d
antspotlight euphoria glknots mirrorblob skyrocket
atunnel fiberlamp glmatrix moebius slidescreen
biof fieldlines glslideshow molecule solarwinds
blinkbox flipflop glsnake morph3d sonar
braid flipscreen3d gltext penrose spheremonics
bubble3d flocks helios pipes spirographx
busyspheres flurry hufo_smoke plasma stonerview
circuit flux hufo_tunnel polyhedra sundancer2
colorfire flyingtoasters hyperspace polytopes superquadrics
cubestorm fuzzyflakes hypertorus popsquares swirl
cyclone galaxy jigglypuff pulsar xlyap
deco gears lattice queens
distort gflux lavalite ripples
endgame glblur matrixview shadebobs
Select your cool background:
flux
Want to run in foreground? (y/n) y
no security measure is worth anything if an attacker has physical access to the machine
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
不是 bash 的语法..
试试这个
试试这个
代码: 全选
if [ $ARCH -eq "i686" ]; then
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
我帮你debug好了,你在==前后分别加了空格,去掉就可以了
下面的在我的 ubuntu上可以用了。
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 -ni -argb -fs -s -st -sp -nf -- $SAVERPATH/$bg -root -window-id WID; break ;;
[nN]* ) xwinwrap -ni -argb -fs -s -st -sp -b -nf -- $SAVERPATH/$bg -root -window-id WID; break ;;
q* ) exit ;;
* ) echo "unknown response. Asking again" ;;
esac
done
下面的在我的 ubuntu上可以用了。
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 -ni -argb -fs -s -st -sp -nf -- $SAVERPATH/$bg -root -window-id WID; break ;;
[nN]* ) xwinwrap -ni -argb -fs -s -st -sp -b -nf -- $SAVERPATH/$bg -root -window-id WID; break ;;
q* ) exit ;;
* ) echo "unknown response. Asking again" ;;
esac
done
no security measure is worth anything if an attacker has physical access to the machine
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
- zhuqin_83
- 帖子: 10606
- 注册时间: 2006-05-13 4:02
- 联系: