QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2749|回复: 12

GTK+2.3.6, Xserver, 无需补丁菜单便透明.

[复制链接]
发表于 2004-3-13 12:01:01 | 显示全部楼层 |阅读模式
昨晚上随手执行了一下Xserser的 安装脚本, 今天早上发现已经编译安装完了.

经过一番努力, 终于运行起来了.
启动速度异常的快. 不像我原来的XFree86, 等半天出不来

Xserver 安装脚本:  

http://www.freedesktop.org/~sk/xserver-inst.sh
http://xserver.freedesktop.org/Software/XserverInstallGuide

安装指南: http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=45490&highlight=xserver

我使用Debian, 其中关于sudo 的做法,

执行 visudo , 文件内容如下, 把 linuxer 换成你的帐号
[code:1]
root    ALL=(ALL) ALL
linuxer   ALL=(ALL) ALL

Defaults:linuxer  timestamp_timeout=-1
[/code:1]

下面是我用来启动 Xserver 以及我的 Gnome的脚本

[code:1]
L=""
LANG=$L
LC_ALL=$L
export LC_CTYPE=zh_CN.GBK
export LANG LC_CTYPE
export XMODIFIERS=@im=fcitx
export WINDOW_MANAGER=metacity
export GTK_IM_MODULE=xim

#下面这句也许不需要,
sudo head /etc/sudoers

#启动Xserver, 分辨率 1024x768, 16位色, 模拟三键, 使用shadow memory, 使用滚轮鼠标.
sudo /opt/fdo/bin/Xvesa -screen 1024x768x16 -2button -shadow -nolisten tcp -ac -mouse /dev/input/mice,5 :0 &

export DISPLAY=:0

export LD_LIBRARY_PATH="/opt/fdo/lib:$LD_LIBRARY_PATH"
/opt/fdo/bin/xcompmgr &

exec fcitx &

export GDK_USE_XFT="1"

export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/lib/pkgconfig"
export GNOME_PATH="/usr/local:$GNOME_PATH"

exec /usr/local/bin/gnome-session

[/code:1]

本帖子中包含更多资源

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

×
发表于 2004-3-13 13:22:50 | 显示全部楼层
freedesktop 的那个?和 Gtk 没关系的,是 XServer 支持的透明显示
可惜这个 XServer 还没有被 port 到 FreeBSD 上来,而且 FreeBSD 团队并不介意 XFree86 的协议更改,解释是说 FreeBSD 不关心政治的东西,呵呵
所以,我们只好继续用 XFree86 了...
回复

使用道具 举报

发表于 2004-3-13 13:37:11 | 显示全部楼层
很好。
回复

使用道具 举报

发表于 2004-3-13 13:41:12 | 显示全部楼层
gooood,but花哨,but goood
为什么我执行xserver*sh的时候,总是中间停顿退出了?
回复

使用道具 举报

发表于 2004-3-13 23:48:29 | 显示全部楼层
还是慢……起动倒是快了……
wacom用不了,没有硬件加速
回复

使用道具 举报

发表于 2004-3-14 00:50:02 | 显示全部楼层
XServer 还处于早期发展阶段,很多特性还没实现,甚至于对 nvidia 的支持很不好。
回复

使用道具 举报

发表于 2004-3-14 02:15:53 | 显示全部楼层
使用时有错误!
[code:1]
./autogen.sh --prefix=/opt/fdo
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal  --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
autoreconf: running: aclocal  --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:33: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
autoreconf: automake failed with exit status: 1
[/code:1]
什么意思?
回复

使用道具 举报

发表于 2004-3-14 11:39:27 | 显示全部楼层
xserver的刷新率好像改不了,怎么老是60,闪啊,对眼睛不好。
回复

使用道具 举报

发表于 2004-3-14 23:46:11 | 显示全部楼层
[quote:eaf3805124="Neo.K"]xserver的刷新率好像改不了,怎么老是60,闪啊,对眼睛不好。[/quote]

换液晶
回复

使用道具 举报

发表于 2004-3-15 08:16:14 | 显示全部楼层
什么系统?,是不是automake的版本不对啊,我第一次编译的时候也出过这个问题,
时间太久忘了事怎么决解的了。 大概是在/usr/pkgconf/下面找找
有关的文件看。
您试试看:
$ WANT_AUTOMAKE=XX(要求的版本号)

[quote:3ecc5c807c="athlonxhy"]使用时有错误!
[code:1]
./autogen.sh --prefix=/opt/fdo
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal  --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
autoreconf: running: aclocal  --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:33: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
autoreconf: automake failed with exit status: 1
[/code:1]
什么意思?[/quote]
回复

使用道具 举报

发表于 2004-3-15 18:18:03 | 显示全部楼层
[quote:776cfb3095="jcome"]什么系统?,是不是automake的版本不对啊,我第一次编译的时候也出过这个问题,
时间太久忘了事怎么决解的了。 大概是在/usr/pkgconf/下面找找
有关的文件看。
您试试看:
$ WANT_AUTOMAKE=XX(要求的版本号)

[quote:776cfb3095="athlonxhy"]使用时有错误!
[code:1]
./autogen.sh --prefix=/opt/fdo
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal  --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
autoreconf: running: aclocal  --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:33: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
autoreconf: automake failed with exit status: 1
[/code:1]
什么意思?[/quote][/quote]
恩,我试试看!
回复

使用道具 举报

发表于 2004-3-15 21:11:29 | 显示全部楼层
Before You Build

    * autoconf --version must report 2.5 or later
    * automake --version must report 1.7.x
    * libtool --version must report 1.5
    * pkg-config --version must report 0.9.0 or later
回复

使用道具 举报

发表于 2004-3-19 19:51:46 | 显示全部楼层
我等呀等....
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-25 20:26 , Processed in 0.060095 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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