LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: Debentoo Gao

2005.6 Gentoo PP Show :)

[复制链接]
发表于 2005-6-19 20:56:14 | 显示全部楼层
Post by jhuangjiahua
ppip :

你可以自己编译 CVS 里的


sunmoon 的已经弄好了


你可以跟她要



1997 是男的还是女的 ??  :p

:!!  :!!  :!!  :!!  :!!  :!!  :!!  :%
回复 支持 反对

使用道具 举报

发表于 2005-6-20 02:24:53 | 显示全部楼层
男的。。。。
回复 支持 反对

使用道具 举报

发表于 2005-6-21 11:52:27 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2005-6-21 16:40:44 | 显示全部楼层
曾经的Gentoo Fans,但是现在用iBook……,不要踢我,但是我真的很喜欢贴图啊…… :eek:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2005-6-23 01:16:36 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2005-6-24 01:05:17 | 显示全部楼层

GRUB splash 切换脚本

Post by LiEn
Grub启动图片更换:
到/boot/grub/grub.conf文件中找到以下字段;
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz在这里把准备好的图片打包为gz后的文件名放在这里,同进将准备好的图片考备到这里。


下面是我写的用来自动切换 GRUB splash 的脚本,运行一次按图片文件名的字母序选择下一个 splash。

[php]# change the GRUB splash
# /boot 应该准备好了
cd /boot/grub

#  下面“btb”是我的名字,可以随意改变
#  但是注意 grub.conf 里要用如 btb.xpm.gz 来做 splash 的文件
##    splashimage=(hd0,9)/boot/grub/btb.xpm.gz
#  btb.xpm.gz 只是一个软链接,其它图片放在 splash.xpm.gz 同目录下即可
curxpm=`ls *.gz -l | grep btb|cut -d'>' -f2`
#echo "current xpm.gz iscurxpm"
if test "$curxpm" = ""
    then
    nextxpm=`ls *.gz|head -n 1`
else
    `rm btb.xpm.gz`
    total=`ls *.gz -l |wc -l`
    current=`ls *.gz|sort|grep -n $curxpm|cut -d: -f1`
    next=`expr $current + 1`
    if test $next -gt $total
        then
        next="1"
    fi
    nextxpm=`ls *.gz|sort|head -n $next|tail -n 1`
    #echo $nextxpm
fi
`ln -s $nextxpm btb.xpm.gz`[/php]
回复 支持 反对

使用道具 举报

发表于 2005-6-24 01:22:11 | 显示全部楼层
Post by BenBear
下面是我写的用来自动切换 GRUB splash 的脚本,运行一次按图片文件名的字母序选择下一个 splash。

[php]# change the GRUB splash
# /boot 应该准备好了
cd /boot/grub

#  下面“btb”是我的名字,可以随意改变
#  但是注意 grub.conf 里要用如 btb.xpm.gz 来做 splash 的文件
##    splashimage=(hd0,9)/boot/grub/btb.xpm.gz
#  btb.xpm.gz 只是一个软链接,其它图片放在 splash.xpm.gz 同目录下即可
curxpm=`ls *.gz -l | grep btb|cut -d'>' -f2`
#echo "current xpm.gz iscurxpm"
if test "$curxpm" = ""
    then
    nextxpm=`ls *.gz|head -n 1`
else
    `rm btb.xpm.gz`
    total=`ls *.gz -l |wc -l`
    current=`ls *.gz|sort|grep -n $curxpm|cut -d: -f1`
    next=`expr $current + 1`
    if test $next -gt $total
        then
        next="1"
    fi
    nextxpm=`ls *.gz|sort|head -n $next|tail -n 1`
    #echo $nextxpm
fi
`ln -s $nextxpm btb.xpm.gz`[/php]


不错,顶一个。因个人使用中splash不是常换,基本上一次更换很少再动。当然做为脚本自动化来处理并提供方便,哪是值得提倡的。谢谢赐教
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表