git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9503 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-02-23 15:37:41 +00:00
parent ea8a884e4b
commit 2fa7a3f74b
7 changed files with 249 additions and 16 deletions

View File

@ -864,9 +864,7 @@ $Date$
<!ENTITY AbiWord-version "2.8.6">
<!ENTITY gnumeric-version "1.10.17">
<!ENTITY gnucash-version "2.2.4">
<!ENTITY gimp-version "2.6.12">
<!ENTITY evolution-version "3.2.2">
<!ENTITY icedtea-web-version "1.0.1">
<!-- Chapter 36 -->
<!ENTITY koffice-version "1.6.3">
@ -883,10 +881,13 @@ $Date$
-->
<!-- Chapter 38 -->
<!ENTITY thunderbird-version "10.0.2">
<!ENTITY pan-version "0.133">
<!ENTITY balsa-version "2.3.22">
<!ENTITY gimp-version "2.6.12">
<!ENTITY icedtea-web-version "1.0.1">
<!ENTITY pan-version "0.133">
<!ENTITY pidgin-version "2.10.0">
<!ENTITY rox-filer-version "2.10">
<!ENTITY thunderbird-version "10.0.2">
<!ENTITY xchat-version "2.8.4">
<!-- Part XI -->

View File

@ -74,6 +74,9 @@
<listitem>
<para>[ken] - merge gedit-3.2.3 from Wayne.</para>
</listitem>
<listitem>
<para>[abenton] - add Rox filer 2.10.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -258,10 +258,11 @@ chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
and click on 'Join the HTML5 Trial' (needs cookies enabled).</para>
<para>If you use a desktop environment like <application>Gnome</application>
or <application>KDE</application> you may like to create a firefox.desktop
file so that <application>Firefox</application> appears in the panel's
menus. If you didn't enable startup-notification in your mozconfig
change the StartupNotify line to false. As the
or <application>KDE</application> you may like to create a
<filename>firefox.desktop</filename> file so that
<application>Firefox</application> appears in the panel's menus. If you
didn'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/firefox.desktop &lt;&lt; "EOF"

View File

@ -23,7 +23,6 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="abiword.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gnumeric.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gnucash.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gimp.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="evolution.xml"/>
</chapter>

View File

@ -13,16 +13,18 @@ $Date$
<chapter id="xsoft-other">
<?dbhtml filename="other.html" ?>
<title>Other X-based Internet Programs</title>
<title>Other X-based Programs</title>
<para>The Internet isn't just about browsing. Here are more graphical
applications that utilize other areas of the Internet.</para>
<para>These programs use the X window system and don't fit easily into any
of the other chapters.</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="thunderbird.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pan.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="balsa.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pidgin.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xchat.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gimp.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="icedtea-web.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pan.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pidgin.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rox-filer.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="thunderbird.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xchat.xml"/>
</chapter>

227
xsoft/other/rox-filer.xml Normal file
View File

@ -0,0 +1,227 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY rox-filer-download-http
"&sourceforge-repo;/rox/rox-filer-&rox-filer-version;.tar.bz2">
<!ENTITY rox-filer-download-ftp " ">
<!ENTITY rox-filer-md5sum "28e8494c9af783258ff86c830f8f0062">
<!ENTITY rox-filer-size "1.8 MB">
<!ENTITY rox-filer-buildsize "3.7 MB">
<!ENTITY rox-filer-time "0.3 SBU">
]>
<sect1 id="rox-filer" xreflabel="Rox-&rox-filer-version;">
<?dbhtml filename="rox-filer.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date> </date>
</sect1info>
<title>Rox-&rox-filer-version;</title>
<indexterm zone="rox-filer">
<primary sortas="a-rox-filer">rox-filer</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Rox</title>
<para><application>Rox</application> is a fast, lightweight, gtk2 file
manager.</para>
&lfs70_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&rox-filer-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&rox-filer-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &rox-filer-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &rox-filer-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &rox-filer-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &rox-filer-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">rox-filer Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="libglade"/> and
<xref linkend="shared-mime-info"/></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/rox-filer"/></para>
</sect2>
<sect2 role="kernel" id="rox-filer-kernel">
<title>Kernel Configuration</title>
<para>If you want <application>Rox</application> to be able to update the
contents of a directory when changes are made to the files by other
applications (eg, if a script is running) you will need to enable dnotify
support in your kernel. In <command>make menuconfig</command>:</para>
<screen><literal>Filesystems -&#45;-&gt;
[*] Dnotify support</literal></screen>
<para>Save the new <filename>.config</filename> and then compile the
kernel.</para>
<indexterm zone="rox-filer rox-filer-kernel">
<primary sortas="d-rox-filer">rox-filer</primary>
</indexterm>
</sect2>
<sect2 role="installation">
<title>Installation of Rox</title>
<para>Compile <application>Rox</application> with the following
commands:</para>
<screen><userinput>cd ROX-Filer &amp;&amp;
sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":' src/main.c &amp;&amp;
mkdir build &amp;&amp;
cd build &amp;&amp;
../src/configure &amp;&amp;
make</userinput></screen>
<para>Now install it as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"><userinput>mkdir /usr/share/rox &amp;&amp;
mv ../{Help,images,Messages,Options.xml,ROX,style.css,.DirIcon} /usr/share/rox &amp;&amp;
mv ../../rox.1 /usr/share/man/man1 &amp;&amp;
mv ../ROX-Filer /usr/bin/rox &amp;&amp;
chown -R root:root /usr/{bin,share}/rox &amp;&amp;
cd /usr/share/rox/ROX/MIME &amp;&amp;
ln -sv text-x-{diff,patch}.png &amp;&amp;
ln -sv application-x-font-{afm,type1}.png &amp;&amp;
ln -sv application-xml{,-dtd}.png &amp;&amp;
ln -sv application-xml{,-external-parsed-entity}.png &amp;&amp;
ln -sv application-{,rdf+}xml.png &amp;&amp;
ln -sv application-x{ml,-xbel}.png &amp;&amp;
ln -sv application-{x-shell,java}script.png &amp;&amp;
ln -sv application-x-{bzip,xz}-compressed-tar.png &amp;&amp;
ln -sv application-x-{bzip,lzma}-compressed-tar.png &amp;&amp;
ln -sv application-x-{bzip-compressed-tar,lzo}.png &amp;&amp;
ln -sv application-x-{bzip,xz}.png &amp;&amp;
ln -sv application-x-{gzip,lzma}.png &amp;&amp;
ln -sv application-{msword,rtf}.png</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":'
src/main.c</command>: This command hard codes /usr/share/rox as the
directory for <application>Rox</application>'s private files. Without
this sed rox needs the environment variable ${APP_DIR} to be set.</para>
<para><command>ln -sv application-...</command>: These commands duplicate
the icons for some common mime types. Without these links
<application>Rox</application> would just display the default "unknown
binary blob" icon.</para>
</sect2>
<sect2 role="configuration">
<title>Configuring Rox</title>
<sect3><title>Configuration Information</title>
<para>Most of the configuration of <application>Rox</application> is
achieved by right clicking on a <application>Rox</application> window
and choosing "Options" from the menu. It stores its settings in <filename
class="directory">~/.config/rox.sourceforge.net</filename>.</para>
<para>A <application>Rox</application> feature is that if there is an
executable file called <filename>AppRun</filename> in a directory
<application>Rox</application> will first run <command>AppRun</command>
before it opens the folder.</para>
<!-- <para>As an example of how this may be used, if you have
<application>ssh<application> access to another computer (perhaps another
computer on you local network) with <application>ssh</application>
configured for passwordless logins and you have
<ulink url="http://fuse.sourceforge.net/sshfs.html">sshfs</ulink>
installed you can use <command>AppRun<command> to mount the remote
computer in a local folder using <command>sshfs</command>. If the
folder has the same name as the hostname of the remote computer:</para>
<screen><userinput>cat &gt; /path/to/hostname/AppRun &lt;&lt; "HERE_DOC"
#!/bin/bash
MOUNT_PATH="$(dirname ${0})"
HOST="$(basename ${MOUNT_PATH})"
echo ${HOST}:/ ${MOUNT_PATH}
sshfs -o nonempty ${HOST}:/ ${MOUNT_PATH}
rox -x ${MOUNT_PATH}
HERE_DOC
chmod 755 /path/to/hostname/AppRun</userinput></screen> -->
<para>If you use a desktop environment like
<application>Gnome</application> or <application>KDE</application> you may
like to create a <filename>rox.desktop</filename> file so that
<application>Rox</application> appears in the panel's menus. As the
<systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>ln -s ../rox/.DirIcon /usr/share/pixmaps/rox.png &amp;&amp;
cat &gt; /usr/share/applications/rox.desktop &lt;&lt; "HERE_DOC"
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Rox
Comment=The Rox File Manager
Icon=rox
Exec=rox
Categories=GTK;Utility;Application;System;Core;
StartupNotify=true
Terminal=false
HERE_DOC</userinput></screen>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>rox</seg>
<seg>/usr/share/rox</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="rox-filer-prog">
<term><command>rox</command></term>
<listitem>
<para>is the rox file manager.</para>
<indexterm zone="rox-filer rox-filer-prog">
<primary sortas="b-rox-filer">rox-filer</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>