打印

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

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

昨晚上随手执行了一下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]
附件: 您所在的用户组无法下载或查看附件

TOP

freedesktop 的那个?和 Gtk 没关系的,是 XServer 支持的透明显示
可惜这个 XServer 还没有被 port 到 FreeBSD 上来,而且 FreeBSD 团队并不介意 XFree86 的协议更改,解释是说 FreeBSD 不关心政治的东西,呵呵
所以,我们只好继续用 XFree86 了...
努力争取打造我的 FreeBSD 中文如 Magic 一样完美:)

TOP

很好。

TOP

gooood,but花哨,but goood
为什么我执行xserver*sh的时候,总是中间停顿退出了?

TOP

还是慢……起动倒是快了……
wacom用不了,没有硬件加速
宅中自有( . v . ),宅中自有¥¥¥

TOP

XServer 还处于早期发展阶段,很多特性还没实现,甚至于对 nvidia 的支持很不好。

TOP

使用时有错误!
[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]
什么意思?

TOP

xserver的刷新率好像改不了,怎么老是60,闪啊,对眼睛不好。
Just Slackware...

TOP

[quote:eaf3805124="Neo.K"]xserver的刷新率好像改不了,怎么老是60,闪啊,对眼睛不好。[/quote]

换液晶

TOP

什么系统?,是不是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]

TOP

[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]
恩,我试试看!

TOP

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

TOP

我等呀等....

TOP