fc1 编译gnome2.6 求教
把下载的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 呢?
谢谢
Re: fc1 编译gnome2.6 求教
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).
把下载的gnome2.6 文件(tar.bz2格式) 放到/usr/src/ 目录下
编译完成后重启
startx 还是原来的gnome2.4
我用的系统是fc1
求教 怎么才能编译成功gnome2.6 呢?
谢谢
页:
[1]