|
发表于 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] |
|