LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1374|回复: 1

解决了一个fluxbox下的fbsetbg的问题

[复制链接]
发表于 2006-10-1 02:31:03 | 显示全部楼层 |阅读模式
我在Archlinux下安装了fluxbox后,设置壁纸时出现如下错误:
/usr/bin/fbsetbg: line 169: xmessage: command not found
现已解决,给遇到同样问题的人参考
1、查看/usr/bin/fbsetbg定位到169 line得到如下

message() {

    # This Terminal detection method is inaccurate. Looking for a
    # replacement.

    # echo if we have terminal output, otherwise pop up a window
    # if [ -t 1 ]; then
    #     echo "$command: $@"
    # else
    extra_args="-default okay"
        if find_it gxmessage; then
            gxmessage $extra_args -center "$command: $@" &
        else
            xmessage $extra_args -center "$command: $@" &
        fi
xmessage是用来输出出错信息的,命令没有找到。是什么 命令呢???
2、用fbsetbg -i得到如下信息:
[root@myhost ~]# fbsetbg -i

display doesn't set the wallpaper properly. Transparency for fluxbox and apps like aterm and xchat won't work right with it. Consider installing feh, wmsetbg (from windowmaker) or Esetroot (from Eterm) and I'll use them instead.
3、由上得出我们要安装一个依赖的包:
只要安装feh就行了:[root@myhost ~]# pacman -S feh

问题解决。再次运行
[root@myhost ~]# fbsetbg -f ~/wallpaper/1.jpg
就没用出错信息了。已经成功!!
偶还是新手,各位高人不要见笑呀。
发表于 2006-10-2 10:56:18 | 显示全部楼层
装xorg-clients就可以
回复 支持 反对

使用道具 举报

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

本版积分规则

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