QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1258|回复: 1

fc1 编译gnome2.6 求教

[复制链接]
发表于 2004-7-16 20:53:17 | 显示全部楼层 |阅读模式
把下载的gnome2.6 文件(tar.bz2格式) 放到/usr/src/ 目录下
把garnome2.6 放到/opt/ 目录下。
更改gar.con.mk 文件
下面是我自己改的两处:

# Directory config for the "main" image
main_prefix ?= /opt/garnome

# prepend the local file listing
FILE_SITES = file://$(FILEDIR)/ file://$(GARCHIVEDIR)/ file:///usr/src/2.6/

在字符界面下root帐号 进入 garnome2.6目录中的desktop目录,执行
make install

编译完成后重启
startx 还是原来的gnome2.4
我用的系统是fc1
求教 怎么才能编译成功gnome2.6 呢?
谢谢
发表于 2004-7-16 21:28:33 | 显示全部楼层

Re: fc1 编译gnome2.6 求教

[quote:6419c05f10="http://www.gnome.org/~jdub/garnome/"]
How do I start GARNOME once it is installed?

The easiest way is to create a garnome-session script, and use the standard method your distribution provides to launch it when you start X. Here's what the script should look like:

    #!/bin/sh
    GARNOME=$HOME/garnome

    PATH=$GARNOME/bin:$PATH
    LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH
    PYTHONPATH=$GARNOME/lib/python2.2/site-packages
    PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig
    GDK_USE_XFT=1
    XDG_DATA_DIRS=$GARNOME/share
    export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH GDK_USE_XFT XDG_DATA_DIRS

    exec $GARNOME/bin/gnome-session

Just set the GARNOME variable at the top to wherever you installed GARNOME. It will usually be $HOME/garnome, as above.

If you start X with the startx command you should launch this in ~/.xinitrc. If you use the Xsession menu choice in GDM, you should launch this in ~/.xsession. Assuming the garnome-session script is in your path, both files should look like this:

    #!/bin/sh
    exec garnome-session

My own startup script is a little bit funkier:

    #!/bin/sh
    xset -solid black
    xset fp+ /home/jdub/.fonts/
    xset fp rehash
    exec /usr/bin/ssh-agent /home/jdub/bin/garnome-session

This sets the background to black so I don't have to look at the ugly grey default for very long, sets up old X programs to use all the fonts I have in my .fonts directory, and runs garnome-session under ssh-agent (very useful if you use ssh keys).
[/quote]


[quote:6419c05f10="nkwz"]把下载的gnome2.6 文件(tar.bz2格式) 放到/usr/src/ 目录下
编译完成后重启
startx 还是原来的gnome2.4
我用的系统是fc1
求教 怎么才能编译成功gnome2.6 呢?
谢谢[/quote]
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-12-4 16:45 , Processed in 0.067391 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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