mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
Updated gnome-menus-2.26.2 instructions
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8018 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
c65f0c0d22
commit
2b60acca5d
@ -124,13 +124,13 @@ make</userinput></screen>
|
||||
|
||||
<para>So that <application>GNOME</application> can find the desktop
|
||||
configuration files, ensure you set the <envar>XDG_CONFIG_DIRS</envar>
|
||||
environment variable in the system profile, or in individual user's
|
||||
profiles as shown below (you may add additional directories, separated
|
||||
with colons, if desired):</para>
|
||||
environment variable in the individual user's profiles, or in the system
|
||||
profile (use this option if you will be running
|
||||
<application>GDM</application>) as shown below (you may add additional
|
||||
directories, separated with colons, if desired):</para>
|
||||
|
||||
<screen role='root'><userinput>cat >> /etc/skel/.bash_profile << "EOF"
|
||||
<literal>export XDG_CONFIG_DIRS=&gnome-etc-dir;/xdg:/etc/xdg</literal>
|
||||
EOF</userinput></screen>
|
||||
<screen role='root'><userinput>echo "export XDG_CONFIG_DIRS=&gnome-etc-dir;/xdg" \
|
||||
> /etc/profile.d/gnome.sh</userinput></screen>
|
||||
|
||||
</sect4>
|
||||
|
||||
@ -139,33 +139,30 @@ EOF</userinput></screen>
|
||||
|
||||
<para>So that <application>GNOME</application> can find the data
|
||||
to populate the menus, ensure you set the <envar>XDG_DATA_DIRS</envar>
|
||||
environment variable in the system profile, or in individual user's
|
||||
profiles as shown below (you may add additional directories, separated
|
||||
environment variable in the individual user's profiles, or in the system
|
||||
profile as shown below (you may add additional directories, separated
|
||||
with colons, if desired):</para>
|
||||
|
||||
<screen role='root'><userinput>cat >> /etc/skel/.bash_profile << "EOF"
|
||||
<literal>export XDG_DATA_DIRS=$GNOME_PREFIX/share:/usr/share</literal>
|
||||
EOF</userinput></screen>
|
||||
<screen role='root'><userinput>echo "export XDG_DATA_DIRS=$GNOME_PREFIX/share:\
|
||||
/usr/share:/usr/local/share" >> /etc/profile.d/gnome.sh</userinput></screen>
|
||||
|
||||
</sect4>
|
||||
|
||||
<sect4>
|
||||
<title>PYTHONPATH Variable</title>
|
||||
|
||||
<para>If your GNOME-2 installation prefix is anything other than
|
||||
<filename class='directory'>/usr</filename> and you have
|
||||
<application>Python</application> installed, you need to update the
|
||||
<para>If your <application>GNOME</application> installation prefix is
|
||||
anything other than <filename class='directory'>/usr</filename> and you
|
||||
have <application>Python</application> installed, you need to update the
|
||||
<envar>PYTHONPATH</envar> environment variable so that the
|
||||
<filename>gmenu</filename> module can be located by
|
||||
<application>Python</application>. Set the variable in the system
|
||||
profile, or in individual user's profiles as shown below:</para>
|
||||
|
||||
<screen role='root'><userinput>cat >> /etc/skel/.bash_profile << "EOF"
|
||||
<literal>export PYTHONPATH=$PYTHONPATH:$(pkg-config --variable=prefix \
|
||||
ORBit-2.0)/lib/python&python-majorver;/site-packages:$(pkg-config \
|
||||
--variable=prefix \
|
||||
ORBit-2.0)/lib/python&python-majorver;/site-packages/GMenuSimpleEditor</literal>
|
||||
EOF</userinput></screen>
|
||||
<screen role='root'><userinput>echo "export PYTHONPATH=\$PYTHONPATH:$(pkg-config \
|
||||
--variable=prefix ORBit-2.0)/lib/python2.6/site-packages:$(pkg-config \
|
||||
--variable=prefix ORBit-2.0)/lib/python2.6/site-packages/GMenuSimpleEditor" \
|
||||
>> /etc/profile.d/gnome.sh</userinput></screen>
|
||||
|
||||
</sect4>
|
||||
|
||||
|
@ -40,6 +40,15 @@
|
||||
</listitem>
|
||||
|
||||
-->
|
||||
<listitem>
|
||||
<para>September 12th, 2009</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[wblaszcz] - Updated gnome-menus-2.26.2 instructions.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>September 8th, 2009</para>
|
||||
<itemizedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user