Ignore:
Timestamp:
10/09/2005 05:39:52 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
3b269b9
Parents:
8cc8d59
Message:

Updated the XDG environment variables in the desktop-file-utils instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5155 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genutils/desktop-file-utils.xml

    r8cc8d59 r807b609  
    9292      <title>Configuration Information</title>
    9393
    94       <para>The default location for the MIME-types application
    95       database is <filename>/usr/share/applications/mimeinfo.cache</filename>. If
    96       you are going to install, or have already installed, a desktop environment
    97       such as <application>GNOME</application> or
    98       <application>KDE</application> in a prefix other than
    99       <filename class='directory'>/usr</filename>, you'll need to update the
    100       <envar>XDG_DATA_DIRS</envar> environment variable so that additional
    101       MIME-types application databases are properly maintained.
    102       Add the following to the system-wide or personal profile:</para>
     94      <para>The default location for the MIME-types application database is
     95      <filename>/usr/share/applications/mimeinfo.cache</filename>. If you are
     96      going to install, or have already installed, a desktop environment such
     97      as <application>GNOME</application> or <application>KDE</application> in
     98      a prefix other than <filename class='directory'>/usr</filename>, you'll
     99      need to update the <envar>XDG_DATA_DIRS</envar> and
     100      <envar>XDG_CONFIG_DIRS</envar> environment variables so that the
     101      additional MIME-types application databases and desktop menu files are
     102      properly maintained and discovered. Add the following to the system-wide
     103      or personal profile:</para>
    103104
    104105      <para>For <application>GNOME</application>:</para>
    105106
    106 <screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share
    107 export XDG_DATA_DIRS</literal></screen>
     107<screen><literal>XDG_DATA_DIRS=/usr/share:$GNOME_PREFIX/share
     108XDG_CONFIG_DIRS=/usr/share:/etc/gnome/xdg
     109export XDG_DATA_DIRS XDG_CONFIG_DIRS</literal></screen>
    108110
    109111      <para>For <application>KDE</application>:</para>
    110112
    111 <screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDE_PREFIX/share
    112 export XDG_DATA_DIRS</literal></screen>
     113<screen><literal>XDG_DATA_DIRS=/usr/share:$KDE_PREFIX/share
     114XDG_CONFIG_DIRS=/usr/share:/etc/kde/xdg
     115export XDG_DATA_DIRS XDG_CONFIG_DIRS</literal></screen>
     116
     117
     118<!-- This ends up messing up the menus and the GNOME and KDE stuff is simply
     119     not yet interchangeable
    113120
    114121      <para>If you're installing both <application>GNOME</application> and
     
    117124<screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share:$KDE_PREFIX/share
    118125export XDG_DATA_DIRS</literal></screen>
     126
     127-->
    119128
    120129    </sect3>
Note: See TracChangeset for help on using the changeset viewer.