Changeset a149f6fe
- Timestamp:
- 05/01/2005 08:11:08 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.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:
- ab29575
- Parents:
- 88adcdd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genutils/desktop-file-utils.xml
r88adcdd ra149f6fe 15 15 <sect1 id="desktop-file-utils" 16 16 xreflabel="desktop-file-utils-&desktop-file-utils-version;"> 17 <sect1info> 18 <othername>$LastChangedBy$</othername> 19 <date>$Date$</date> 20 </sect1info> 21 <?dbhtml filename="desktop-file-utils.html"?> 22 <title>desktop-file-utils-&desktop-file-utils-version;</title> 23 <indexterm zone="desktop-file-utils"> 24 <primary sortas="a-Desktop-file-utils">Desktop-file-utils</primary> 25 </indexterm> 17 <?dbhtml filename="desktop-file-utils.html"?> 18 19 <sect1info> 20 <othername>$LastChangedBy$</othername> 21 <date>$Date$</date> 22 </sect1info> 23 24 <title>Desktop-file-utils-&desktop-file-utils-version;</title> 25 26 <indexterm zone="desktop-file-utils"> 27 <primary sortas="a-Desktop-file-utils">Desktop-file-utils</primary> 28 </indexterm> 26 29 27 <sect2> 28 <title>Introduction to <application>desktop-file-utils</application></title> 30 <sect2 role="package"> 31 <title>Introduction to Desktop-file-utils</title> 32 33 <para>The <application>desktop-file-utils</application> package contains 34 command line utilities for working with <ulink 35 url="http://www.freedesktop.org/Standards/desktop-entry-spec">desktop 36 entries</ulink>. These utilities are used by 37 <application>GNOME</application>-2 and other applications 38 to manipulate the MIME-types application databases and help 39 adhere to the desktop entries standards specification.</para> 40 <para><xref linkend="glib2"/> and <xref linkend="popt"/></para> 41 42 <bridgehead renderas="sect3">Package Information</bridgehead> 43 <itemizedlist spacing="compact"> 44 <listitem> 45 <para>Download (HTTP): <ulink url="&desktop-file-utils-download-http;"/></para> 46 </listitem> 47 <listitem> 48 <para>Download (FTP): <ulink url="&desktop-file-utils-download-ftp;"/></para> 49 </listitem> 50 <listitem> 51 <para>Download MD5 sum: &desktop-file-utils-md5sum;</para> 52 </listitem> 53 <listitem> 54 <para>Download size: &desktop-file-utils-size;</para> 55 </listitem> 56 <listitem> 57 <para>Estimated disk space required: &desktop-file-utils-buildsize;</para> 58 </listitem> 59 <listitem> 60 <para>Estimated build time: &desktop-file-utils-time;</para> 61 </listitem> 62 </itemizedlist> 63 64 <bridgehead renderas="sect3">Desktop-file-utils Dependencies</bridgehead> 65 66 <bridgehead renderas="sect4">Optional</bridgehead> 67 <para><xref linkend="emacs"/></para> 68 69 </sect2> 70 71 <sect2 role="installation"> 72 <title>Installation of Desktop-file-utils</title> 29 73 30 <para>The <application>desktop-file-utils</application> package contains 31 command line utilities for working with <ulink 32 url="http://www.freedesktop.org/Standards/desktop-entry-spec">desktop 33 entries</ulink>. These utilities are used by 34 <application><acronym>GNOME</acronym></application>-2 and other applications 35 to manipulate the <acronym>MIME</acronym>-types application databases and help 36 adhere to the desktop entries standards specification.</para> 74 <para>Install <application>desktop-file-utils</application> by running the 75 following commands:</para> 37 76 38 <sect3><title>Package information</title> 39 <itemizedlist spacing="compact"> 40 <listitem><para>Download (HTTP): 41 <ulink url="&desktop-file-utils-download-http;"/></para></listitem> 42 <listitem><para>Download (FTP): 43 <ulink url="&desktop-file-utils-download-ftp;"/></para></listitem> 44 <listitem><para>Download MD5 sum: &desktop-file-utils-md5sum;</para></listitem> 45 <listitem><para>Download size: &desktop-file-utils-size;</para></listitem> 46 <listitem><para>Estimated disk space required: 47 &desktop-file-utils-buildsize;</para></listitem> 48 <listitem><para>Estimated build time: 49 &desktop-file-utils-time;</para></listitem></itemizedlist> 50 </sect3> 77 <screen><userinput>./configure --prefix=/usr && 78 make</userinput></screen> 79 80 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 81 82 <screen role="root"><userinput>make install</userinput></screen> 83 84 </sect2> 85 86 <sect2 role="configuration"> 87 <title>Configuring Desktop-file-utils</title> 88 89 <sect3> 90 <title>Configuration Information</title> 91 92 <para>The default location for the MIME-types application 93 database is <filename>/usr/share/applications/mimeinfo.cache</filename>. If 94 you are going to install, or have already installed, a desktop environment 95 such as <application>GNOME</application> or 96 <application>KDE</application> in a prefix other than 97 <filename class='directory'>/usr</filename>, you'll need to update the 98 <envar>XDG_DATA_DIRS</envar> environment variable so that additional 99 MIME-types application databases are properly maintained. 100 Add the following to the system-wide or personal profile:</para> 51 101 52 <sect3><title><application>desktop-file-utils</application> dependencies</title> 53 <sect4><title>Required</title> 54 <para><xref linkend="glib2"/> and <xref linkend="popt"/></para> 55 </sect4> 102 <para>For <application>GNOME</application>:</para> 56 103 57 <sect4><title>Optional</title> 58 <para><xref linkend="emacs"/></para> 59 </sect4> 60 </sect3> 104 <screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share 105 export XDG_DATA_DIRS</literal></screen> 61 106 62 </sect2>107 <para>For <application>KDE</application>:</para> 63 108 64 <s ect2>65 <title>Installation of <application>desktop-file-utils</application></title>109 <screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDE_PREFIX/share 110 export XDG_DATA_DIRS</literal></screen> 66 111 67 <para>Install <application>desktop-file-utils</application> by running the68 following commands:</para>112 <para>If you're installing both <application>GNOME</application> and 113 <application>KDE</application>:</para> 69 114 70 <screen><userinput><command>./configure --prefix=/usr && 71 make</command></userinput></screen> 115 <screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share:$KDE_PREFIX/share 116 export XDG_DATA_DIRS</literal></screen> 117 118 </sect3> 119 120 </sect2> 121 122 <sect2 role="content"> 123 <title>Contents</title> 72 124 73 <para>Now, as the root user:</para> 125 <segmentedlist> 126 <segtitle>Installed Programs</segtitle> 127 <segtitle>Installed Libraries</segtitle> 128 <segtitle>Installed Directories</segtitle> 129 130 <seglistitem> 131 <seg>desktop-file-install, desktop-file-validate, and 132 update-desktop-database</seg> 133 <seg>None</seg> 134 <seg>None</seg> 135 </seglistitem> 136 </segmentedlist> 137 138 <variablelist> 139 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 140 <?dbfo list-presentation="list"?> 141 <?dbhtml list-presentation="table"?> 142 143 <varlistentry id="desktop-file-install"> 144 <term><command>desktop-file-install</command></term> 145 <listitem> 146 <para>is used to install a new, or modify an existing desktop file 147 entry. It is also used to rebuild or modify the MIME-types 148 application database.</para> 149 <indexterm zone="desktop-file-utils desktop-file-install"> 150 <primary sortas="b-desktop-file-install">desktop-file-install</primary> 151 </indexterm> 152 </listitem> 153 </varlistentry> 154 155 <varlistentry id="desktop-file-validate"> 156 <term><command>desktop-file-validate</command></term> 157 <listitem> 158 <para>is used to verify the integrity of a desktop file.</para> 159 <indexterm zone="desktop-file-utils desktop-file-validate"> 160 <primary sortas="b-desktop-file-validate">desktop-file-validate</primary> 161 </indexterm> 162 </listitem> 163 </varlistentry> 164 165 <varlistentry id="update-desktop-database"> 166 <term><command>update-desktop-database</command></term> 167 <listitem> 168 <para>is used to update the MIME-types 169 application database.</para> 170 <indexterm zone="desktop-file-utils update-desktop-database"> 171 <primary sortas="b-update-desktop-database">update-desktop-database</primary> 172 </indexterm> 173 </listitem> 174 </varlistentry> 175 </variablelist> 74 176 75 <screen><userinput role='root'><command>make install</command></userinput></screen> 76 77 </sect2> 78 79 <sect2> 80 <title>Configuring <application>desktop-file-utils</application></title> 81 82 <sect3><title>Configuration information</title> 83 <para>The default location for the <acronym>MIME</acronym>-types application 84 database is <filename>/usr/share/applications/mimeinfo.cache</filename>. If 85 you are going to install, or have already installed, a desktop environment 86 such as <application><acronym>GNOME</acronym></application> or 87 <acronym>KDE</acronym> in a prefix other than 88 <filename class='directory'>/usr</filename>, you'll need to update the 89 <envar>XDG_DATA_DIRS</envar> environment variable so that additional 90 <acronym>MIME</acronym>-types application databases are properly maintained. 91 Add the following to the system-wide or personal profile:</para> 92 93 <para>For <application><acronym>GNOME</acronym></application>:</para> 94 95 <screen><userinput>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share 96 export XDG_DATA_DIRS</userinput></screen> 97 98 <para>For <application><acronym>KDE</acronym></application>:</para> 99 100 <screen><userinput>XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDE_PREFIX/share 101 export XDG_DATA_DIRS</userinput></screen> 102 103 <para>If you're installing both 104 <application><acronym>GNOME</acronym></application> and 105 <application><acronym>KDE</acronym></application>:</para> 106 107 <screen><userinput>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share:$KDE_PREFIX/share 108 export XDG_DATA_DIRS</userinput></screen> 109 110 </sect3> 111 112 </sect2> 113 114 <sect2> 115 <title>Contents</title> 116 117 <segmentedlist> 118 <segtitle>Installed Programs</segtitle> 119 <segtitle>Installed Libraries</segtitle> 120 <segtitle>Installed Directories</segtitle> 121 122 <seglistitem> 123 <seg>desktop-file-install, desktop-file-validate and 124 update-desktop-database</seg> 125 <seg>None</seg> 126 <seg>None</seg> 127 </seglistitem> 128 </segmentedlist> 129 130 <variablelist> 131 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 132 <?dbfo list-presentation="list"?> 133 134 <varlistentry id="desktop-file-install"> 135 <term><command>desktop-file-install</command></term> 136 <listitem><para>is used to install a new, or modify an existing desktop file 137 entry. It is also used to rebuild or modify the <acronym>MIME</acronym>-types 138 application database.</para> 139 <indexterm zone="desktop-file-utils desktop-file-install"> 140 <primary sortas="b-desktop-file-install">desktop-file-install</primary> 141 </indexterm></listitem> 142 </varlistentry> 143 144 <varlistentry id="desktop-file-validate"> 145 <term><command>desktop-file-validate</command></term> 146 <listitem><para>is used to verify the integrity of a desktop file.</para> 147 <indexterm zone="desktop-file-utils desktop-file-validate"> 148 <primary sortas="b-desktop-file-validate">desktop-file-validate</primary> 149 </indexterm></listitem> 150 </varlistentry> 151 152 <varlistentry id="update-desktop-database"> 153 <term><command>update-desktop-database</command></term> 154 <listitem><para>is used to update the <acronym>MIME</acronym>-types 155 application database.</para> 156 <indexterm zone="desktop-file-utils update-desktop-database"> 157 <primary sortas="b-update-desktop-database">update-desktop-database</primary> 158 </indexterm></listitem> 159 </varlistentry> 160 </variablelist> 161 162 </sect2> 177 </sect2> 163 178 164 179 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.