create a simple desktop file for Thunderbird

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9250 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-01-28 13:25:17 +00:00
parent 31de6e7d9e
commit ff749e3814
2 changed files with 23 additions and 2 deletions

View File

@ -261,8 +261,8 @@ chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
enabled).</para>
<para>If you use a desktop environment like <application>Gnome</application>
or <application>KDE</application> you may like to create a desktop file so
that <application>Firefox</application> appears in the panel&apos;s
or <application>KDE</application> you may like to create a firefox.desktop
file so that <application>Firefox</application> appears in the panel&apos;s
menus. If you didn&apos;t enable startup-notification in your mozconfig
change the StartupNotify line to false. As the
<systemitem class="username">root</systemitem> user:</para>

View File

@ -234,6 +234,27 @@ ln -s ../lib/thunderbird-&thunderbird-version;/thunderbird /usr/bin/thunderbird<
not so up-to-date list of these parameters can be found at <ulink
url="http://preferential.mozdev.org/preferences.html"/>.</para>
</tip>
<para>If you use a desktop environment like <application>Gnome</application>
or <application>KDE</application> you may wish to create a
thunderbird.desktop file so that <application>Thunderbird</application>
appears in the panel&apos;s menus. If you didn&apos;t enable
startup-notification in your mozconfig change the StartupNotify line to
false. As the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>cat &gt; /usr/share/applications/thunderbird.desktop &lt;&lt; "EOF"
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Thunderbird
Comment=Fetch Your Email
Icon=thunderbird
Exec=thunderbird
Categories=Network;GTK;Application;Email;
StartupNotify=true
Terminal=false
EOF
ln -sv -f /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png /usr/share/pixmaps/thunderbird.png</userinput></screen>
</sect3>
</sect2>