你有没有梦想过:把《黑客帝国》中的那掉落的 0 和 1 作为桌面?难道桌面只能是死气沉沉的一张壁纸。

下面就来教大家在 Linux 中实现。适合 Gnome。

1、首先要关闭 Nautilus。它是用来绘制出桌面和图标用的。

gconftool-2 --type bool --set /apps/nautilus/preferences/show_desktop false
2、在桌面上启动屏保 glmatrix(模仿了《黑客帝国》中那个路人皆知的烂俗效果)
/usr/lib/xscreensaver/glmatrix -root
3、恭喜你。快看桌面!

4、可选步骤:如果你希望当你登录的时候屏保就会自动启动为桌面背景的话,创建这个文件:“~/.config/autostart/glmatrix.desktop”,里面的内容是:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=No name
Name[en_IN]=Desktop matrix
Exec=/usr/lib/xscreensaver/glmatrix -root
X-GNOME-Autostart-enabled=true
你可以点击这里去原文看看动态截图。

# sfufoet:在 Windows 中可以把 Flash 设置为桌面的。方法大家请搜索一下。好像视频也可以。屏保就没听说过啦。

p.s. 本帖算是煎蛋史上发布手段+技术含量最高的:手机当 MODEM + GPRS + 台式电脑 + FireFox + ScribeFire 写博扩展 + opera 打开煎蛋后台修改文章缩略名和加标签。嘿嘿~
强烈建议 yupoo 开发 wap 版。我的流量啊,哗哗哗全给了 yupoo ,因为我错误地上传了 gif 版。= =

update:读者 Evan 来拆台:

有个更好的程序可以得到这种效果,Nautilus不用关,桌面的图标也可显示,而且可以设置屏幕保护的透明度。这就是 xwinwrap 啦!ubuntu用户可以直接用 apt-get 装。

下面放个脚本:

#!/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

S□□ERPATH=/usr/lib/xscreensaver

elif [ $ARCH == "x86_64" ]; then

S□□ERPATH=/usr/lib64/xscreensaver

fi

while true; do

ls $S□□ERPATH

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 -- $S□□ERPATH/$bg -window-id WID; break ;;# -o后的数值从0到1,可自行修改

[nN]* ) xwinwrap -o 0.6 -ni -argb -fs -s -st -sp -b -nf -- $S□□ERPATH/$bg -window-id WID -root; break ;;

q* ) exit ;;

* ) echo "unknown response. Asking again" ;;

esac

done

[原文链接]