create a simple desktop file for Seamonkey

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9251 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-01-28 15:46:15 +00:00
parent ff749e3814
commit 5e2fb70244
3 changed files with 32 additions and 18 deletions

View File

@ -275,7 +275,7 @@ Name=Firefox
Comment=Browse The Web
Icon=firefox
Exec=firefox
Categories=Network;GTK;Application;Browser;
Categories=Network;GTK;Application;Browser;WebBrowser;
StartupNotify=true
Terminal=false
EOF

View File

@ -41,7 +41,7 @@
based on the <application>Mozilla</application> source code.
<!-- if you delete the - -enable-application=suite option,
<application>Thunderbird</application> will be built from this source
tarball!--></para>
tarball...--></para>
&lfs70_checked;
@ -77,9 +77,9 @@
<para><application>libjpeg</application> and
<application>libpng</application> (patched for apng support) should have
been installed before <application>gdk-pixbuf</application> and should
exist on your system. If for some strange reason you haven't installed
them, you should remove the <option>--with-system-jpeg</option> and
<option>--with-system-png</option> options from the
exist on your system. If for some strange reason you haven&apos;t
installed them, you should remove the <option>--with-system-jpeg</option>
and <option>--with-system-png</option> options from the
<filename>mozconfig</filename> file created below.</para>
</note>
@ -102,7 +102,6 @@
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/seamonkey"/></para>
</sect2>
<sect2 role="installation">
@ -178,7 +177,6 @@ EOF</userinput></screen>
mkdir -pv /usr/lib/mozilla/plugins &amp;&amp;
ln -svf ../mozilla/plugins /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
</sect2>
<sect2 role="commands">
@ -196,10 +194,9 @@ cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</useri
<para><command>ln -s ../mozilla/plugins /usr/lib/seamonkey-2.5</command>:
this creates a symlink to
<filename class='directory'>/usr/lib/mozilla/plugins</filename> for the
<filename class="directory">/usr/lib/mozilla/plugins</filename> for the
sake of compatibility, to keep all your plugins in the place mozilla
plugins are normally found.</para>
</sect2>
<sect2 role="configuration">
@ -214,15 +211,15 @@ cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</useri
enabled).</para>
<para>For installing various <application>SeaMonkey</application> plugins,
refer to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's
refer to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev&apos;s
PluginDoc Project</ulink>.</para>
<para>Along with using the <quote>Preferences</quote> menu to configure
<application>SeaMonkey</application>'s options and preferences to suit
<application>SeaMonkey</application>&apos;s options and preferences to suit
individual tastes, finer grain control of many options is only available
using a tool not available from the general menu system. To access this
tool, you'll need to open a browser window and enter
<systemitem role='url'>about:config</systemitem> in the
tool, you&apos;ll need to open a browser window and enter
<systemitem role="url">about:config</systemitem> in the
address bar. This will display a list of the configuration preferences and
information related to each one. You can use the <quote>Filter:</quote> bar
to enter search criteria and narrow down the listed items. Changing a
@ -241,6 +238,26 @@ cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</useri
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
seamonkey.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/seamonkey.desktop &lt;&lt; "EOF"
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Seamonkey
Comment=The Mozilla Suite
Icon=seamonkey
Exec=seamonkey
Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
StartupNotify=true
Terminal=false
EOF
ln -sv -f /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png /usr/share/pixmaps</userinput></screen>
</sect2>
<sect2 role="content">
@ -255,7 +272,7 @@ cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</useri
<seg>seamonkey</seg>
<seg>Numerous libraries, browser, and email/newsgroup components,
plugins, extensions, and helper modules installed in <filename
class='directory'>/usr/lib/seamonkey-&seamonkey-version;</filename></seg>
class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename></seg>
<seg>/usr/lib/seamonkey-&seamonkey-version;</seg>
</seglistitem>
</segmentedlist>
@ -279,9 +296,6 @@ cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</useri
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -250,7 +250,7 @@ Name=Thunderbird
Comment=Fetch Your Email
Icon=thunderbird
Exec=thunderbird
Categories=Network;GTK;Application;Email;
Categories=Network;GTK;Application;Email;News;
StartupNotify=true
Terminal=false
EOF