想 让鲸鱼在您的桌面游泳么?
想不想 把matrix里面的特效放到您的面前?
您还想 要vista ultimate才能享受的梦幻桌面么?
。。。。
用xwinwrap吧,一切,皆有可能~~~
==========================
咳咳,大家胃口被吊足了吧?活活~
下面开始讲解xwinwrap的安装及使用。
注意大前提:必须安装并开启compiz。
1。使用屏保来装点桌面
安装:下载xwinwrap包
edgy:
代码: 全选
http://3v1n0.tuxfamily.org/pool/edgy/beryl-svn/xwinwrap_0.1+cvs20060209_i386.deb
代码: 全选
http://3v1n0.tuxfamily.org/pool/feisty/eyecandy/xwinwrap_0.1+cvs20060209_i386.deb
代码: 全选
sudo apt-get install xwinwrap
更新:其实gutsy也可以用这个包,只是老了一点。我把suse的rpm转过来了,12月版,看上去舒服对吧:D 这个版本自带了coolbg脚本,如果不习惯,可以仍然用我以前给的。
另外,64位的见 viewtopic.php?t=91230。
使用:双击coolbg.sh,选择“在终端中运行”。(也可以把他cp到/usr/local/bin,以后就可以直接在终端敲coolbg执行)
输入以上列出的屏保名称,如鲸鱼的就是atlantis,matrix的就是glmatrix。
问你
这个随便选。Want to run in foreground? (y/n)
少安毋躁,就会在您的桌面出现奇迹。
一些例子:
代码: 全选
xwinwrap -ni -argb -fs -s -st -sp -b -nf -o .5 -- /usr/lib/xscreensaver/lavalite -root -window-id WID #puts xscreensaver lavalite on desktop, partially transparent
xwinwrap -ni -argb -fs -s -st -sp -a -nf -- /usr/lib/xscreensaver/glmatrix -window-id WID #runs matrix screensaver in foreground
xwinwrap -ni -o 0.6 -fs -s -st -sp -b -nf -- mplayer -wid WID -quiet movie.mpg #play movie.mpg with no window
xwinwrap -ni -argb -fs -s -st -sp -b -nf -- q3demo -window-id WID #cool if quake demo is installed
#-g = parse geometry
#-ni = no input
#-argb = argb visual (alpha-rgb colors)
#-fs = full screen
#-s = sticky
#-st = skip taskbar
#-sp = skip pager
#-a = above
#-b = below
#-nf = no focus
#-o OPACITY
***************************
大家可以修改coolbg脚本,让他符合你的要求。
或者,这里有一些测试过的屏保例子,据说没有问题的。
代码: 全选
Atlantis: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/atlantis -window-id WID -delay 10000 -texture -gradient
Blocktube: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/blocktube -window-id WID -delay 10000 -visual 1
Flurry: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/flurry -window-id WID
Fuzzy Flakes: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/fuzzyflakes -window-id WID -color black
Halftone: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/halftone -window-id WID -colors 1 -cycle-speed 1000
Matrix: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/glmatrix -window-id WID -delay 10000 -speed 0.4 -density 8 -fog -rotate -waves
Ripples: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/ripples -window-id WID
Starwars: xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/starwars -window-id WID
Starwars (just the starfield): xwinwrap -o 0.3 -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/starwars -window-id WID -lines 0
这个其实更棒,也更灵活。
原始命令是
代码: 全选
xwinwrap -ni -o 0.6 -fs -s -sp -st -b -nf -- mplayer -wid WID -quiet 视频文件路径
至于mplayer的后的参数可以自行根据需要修改,手册上都有。
个人比较倾向于用终端,因为好控制,也有快捷方式。
也可以把这个写成nautilus脚本,好直接选择打开某个视频文件。
代码: 全选
gedit ~/.gnome2/nautilus-scripts/video-background
代码: 全选
#!/bin/bash
xwinwrap -ni -o 0.6 -fs -s -sp -st -b -nf -- mplayer -wid WID -quiet "`echo $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS`"
还有关闭的脚本,不过我这里似乎没用,大家测试一下。如果不奏效,那么只好用killall xwinwrap命令了。
代码: 全选
gedit ~/.gnome2/nautilus-scripts/video-background-off
代码: 全选
#!/bin/bash
FILE="`echo $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS`"
kill "`pgrep -fn $FILE`"
===================================
附上coolbg脚本,xwinwrap deb包和几张截图。