[2fa7a3f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY rox-filer-download-http
|
---|
| 8 | "&sourceforge-repo;/rox/rox-filer-&rox-filer-version;.tar.bz2">
|
---|
| 9 | <!ENTITY rox-filer-download-ftp " ">
|
---|
| 10 | <!ENTITY rox-filer-md5sum "28e8494c9af783258ff86c830f8f0062">
|
---|
| 11 | <!ENTITY rox-filer-size "1.8 MB">
|
---|
| 12 | <!ENTITY rox-filer-buildsize "3.7 MB">
|
---|
| 13 | <!ENTITY rox-filer-time "0.3 SBU">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="rox-filer" xreflabel="Rox-&rox-filer-version;">
|
---|
| 17 | <?dbhtml filename="rox-filer.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date> </date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>Rox-&rox-filer-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="rox-filer">
|
---|
| 27 | <primary sortas="a-rox-filer">rox-filer</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[1b2d41b] | 31 | <title>Introduction to rox-filer</title>
|
---|
[2fa7a3f7] | 32 |
|
---|
[1b2d41b] | 33 | <para><application>rox-filer</application> is a fast, lightweight, gtk2 file
|
---|
[2fa7a3f7] | 34 | manager.</para>
|
---|
| 35 |
|
---|
[4c77a949] | 36 | &lfs71_checked;
|
---|
[2fa7a3f7] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&rox-filer-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&rox-filer-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &rox-filer-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &rox-filer-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &rox-filer-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &rox-filer-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">rox-filer Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 63 | <para role="required">
|
---|
[1b2d41b] | 64 | <xref linkend="libglade"/> and
|
---|
| 65 | <xref linkend="shared-mime-info"/>
|
---|
| 66 | </para>
|
---|
[2fa7a3f7] | 67 |
|
---|
| 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url="&blfs-wiki;/rox-filer"/></para>
|
---|
| 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 role="kernel" id="rox-filer-kernel">
|
---|
| 73 | <title>Kernel Configuration</title>
|
---|
| 74 |
|
---|
[1b2d41b] | 75 | <para>If you want <application>rox-filer</application> to be able to update the
|
---|
[2fa7a3f7] | 76 | contents of a directory when changes are made to the files by other
|
---|
| 77 | applications (eg, if a script is running) you will need to enable dnotify
|
---|
| 78 | support in your kernel. In <command>make menuconfig</command>:</para>
|
---|
| 79 |
|
---|
| 80 | <screen><literal>Filesystems --->
|
---|
| 81 | [*] Dnotify support</literal></screen>
|
---|
| 82 |
|
---|
| 83 | <para>Save the new <filename>.config</filename> and then compile the
|
---|
| 84 | kernel.</para>
|
---|
| 85 |
|
---|
| 86 | <indexterm zone="rox-filer rox-filer-kernel">
|
---|
| 87 | <primary sortas="d-rox-filer">rox-filer</primary>
|
---|
| 88 | </indexterm>
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
[1b2d41b] | 92 | <title>Installation of rox-filer</title>
|
---|
[2fa7a3f7] | 93 |
|
---|
[1b2d41b] | 94 | <para>Compile <application>rox-filer</application> with the following
|
---|
[2fa7a3f7] | 95 | commands:</para>
|
---|
| 96 |
|
---|
| 97 | <screen><userinput>cd ROX-Filer &&
|
---|
| 98 | sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":' src/main.c &&
|
---|
| 99 | mkdir build &&
|
---|
| 100 | cd build &&
|
---|
[bfe3828] | 101 | ../src/configure LIBS="-lm -ldl" &&
|
---|
[2fa7a3f7] | 102 | make</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | <para>Now install it as the <systemitem class="username">root</systemitem>
|
---|
| 105 | user:</para>
|
---|
| 106 |
|
---|
| 107 | <screen role="root"><userinput>mkdir /usr/share/rox &&
|
---|
| 108 | mv ../{Help,images,Messages,Options.xml,ROX,style.css,.DirIcon} /usr/share/rox &&
|
---|
| 109 | mv ../../rox.1 /usr/share/man/man1 &&
|
---|
| 110 | mv ../ROX-Filer /usr/bin/rox &&
|
---|
| 111 | chown -R root:root /usr/{bin,share}/rox &&
|
---|
| 112 | cd /usr/share/rox/ROX/MIME &&
|
---|
| 113 | ln -sv text-x-{diff,patch}.png &&
|
---|
| 114 | ln -sv application-x-font-{afm,type1}.png &&
|
---|
| 115 | ln -sv application-xml{,-dtd}.png &&
|
---|
| 116 | ln -sv application-xml{,-external-parsed-entity}.png &&
|
---|
| 117 | ln -sv application-{,rdf+}xml.png &&
|
---|
| 118 | ln -sv application-x{ml,-xbel}.png &&
|
---|
| 119 | ln -sv application-{x-shell,java}script.png &&
|
---|
| 120 | ln -sv application-x-{bzip,xz}-compressed-tar.png &&
|
---|
| 121 | ln -sv application-x-{bzip,lzma}-compressed-tar.png &&
|
---|
| 122 | ln -sv application-x-{bzip-compressed-tar,lzo}.png &&
|
---|
| 123 | ln -sv application-x-{bzip,xz}.png &&
|
---|
| 124 | ln -sv application-x-{gzip,lzma}.png &&
|
---|
| 125 | ln -sv application-{msword,rtf}.png</userinput></screen>
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="commands">
|
---|
| 129 | <title>Command Explanations</title>
|
---|
| 130 |
|
---|
| 131 | <para><command>sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":'
|
---|
| 132 | src/main.c</command>: This command hard codes /usr/share/rox as the
|
---|
[1b2d41b] | 133 | directory for <application>rox-filer</application>'s private files. Without
|
---|
[2fa7a3f7] | 134 | this sed rox needs the environment variable ${APP_DIR} to be set.</para>
|
---|
| 135 |
|
---|
| 136 | <para><command>ln -sv application-...</command>: These commands duplicate
|
---|
| 137 | the icons for some common mime types. Without these links
|
---|
[1b2d41b] | 138 | <application>rox-filer</application> would just display the default "unknown
|
---|
[2fa7a3f7] | 139 | binary blob" icon.</para>
|
---|
| 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="configuration">
|
---|
| 143 | <title>Configuring Rox</title>
|
---|
| 144 |
|
---|
| 145 | <sect3><title>Configuration Information</title>
|
---|
| 146 |
|
---|
[1b2d41b] | 147 | <para>Most of the configuration of <application>rox-filer</application> is
|
---|
| 148 | achieved by right clicking on a <application>rox-filer</application> window
|
---|
[2fa7a3f7] | 149 | and choosing "Options" from the menu. It stores its settings in <filename
|
---|
| 150 | class="directory">~/.config/rox.sourceforge.net</filename>.</para>
|
---|
| 151 |
|
---|
[1b2d41b] | 152 | <para>A <application>rox-filer</application> feature is that if there is an
|
---|
[2fa7a3f7] | 153 | executable file called <filename>AppRun</filename> in a directory
|
---|
[1b2d41b] | 154 | <application>rox-filer</application> will first run <command>AppRun</command>
|
---|
[2fa7a3f7] | 155 | before it opens the folder.</para>
|
---|
| 156 |
|
---|
| 157 | <!-- <para>As an example of how this may be used, if you have
|
---|
| 158 | <application>ssh<application> access to another computer (perhaps another
|
---|
| 159 | computer on you local network) with <application>ssh</application>
|
---|
| 160 | configured for passwordless logins and you have
|
---|
| 161 | <ulink url="http://fuse.sourceforge.net/sshfs.html">sshfs</ulink>
|
---|
| 162 | installed you can use <command>AppRun<command> to mount the remote
|
---|
| 163 | computer in a local folder using <command>sshfs</command>. If the
|
---|
| 164 | folder has the same name as the hostname of the remote computer:</para>
|
---|
| 165 |
|
---|
| 166 | <screen><userinput>cat > /path/to/hostname/AppRun << "HERE_DOC"
|
---|
| 167 | #!/bin/bash
|
---|
| 168 |
|
---|
| 169 | MOUNT_PATH="$(dirname ${0})"
|
---|
| 170 | HOST="$(basename ${MOUNT_PATH})"
|
---|
| 171 | echo ${HOST}:/ ${MOUNT_PATH}
|
---|
| 172 | sshfs -o nonempty ${HOST}:/ ${MOUNT_PATH}
|
---|
| 173 | rox -x ${MOUNT_PATH}
|
---|
| 174 | HERE_DOC
|
---|
| 175 | chmod 755 /path/to/hostname/AppRun</userinput></screen> -->
|
---|
| 176 |
|
---|
| 177 | <para>If you use a desktop environment like
|
---|
| 178 | <application>Gnome</application> or <application>KDE</application> you may
|
---|
| 179 | like to create a <filename>rox.desktop</filename> file so that
|
---|
[1b2d41b] | 180 | <application>rox-filer</application> appears in the panel's menus. As the
|
---|
[2fa7a3f7] | 181 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 182 |
|
---|
| 183 | <screen role="root"><userinput>ln -s ../rox/.DirIcon /usr/share/pixmaps/rox.png &&
|
---|
| 184 | cat > /usr/share/applications/rox.desktop << "HERE_DOC"
|
---|
| 185 | [Desktop Entry]
|
---|
| 186 | Encoding=UTF-8
|
---|
| 187 | Type=Application
|
---|
| 188 | Name=Rox
|
---|
| 189 | Comment=The Rox File Manager
|
---|
| 190 | Icon=rox
|
---|
| 191 | Exec=rox
|
---|
| 192 | Categories=GTK;Utility;Application;System;Core;
|
---|
| 193 | StartupNotify=true
|
---|
| 194 | Terminal=false
|
---|
| 195 | HERE_DOC</userinput></screen>
|
---|
| 196 | </sect3>
|
---|
| 197 | </sect2>
|
---|
| 198 |
|
---|
| 199 | <sect2 role="content">
|
---|
| 200 | <title>Contents</title>
|
---|
| 201 |
|
---|
| 202 | <segmentedlist>
|
---|
| 203 | <segtitle>Installed Programs</segtitle>
|
---|
| 204 | <segtitle>Installed Directories</segtitle>
|
---|
| 205 |
|
---|
| 206 | <seglistitem>
|
---|
| 207 | <seg>rox</seg>
|
---|
| 208 | <seg>/usr/share/rox</seg>
|
---|
| 209 | </seglistitem>
|
---|
| 210 | </segmentedlist>
|
---|
| 211 |
|
---|
| 212 | <variablelist>
|
---|
| 213 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 214 | <?dbfo list-presentation="list"?>
|
---|
| 215 | <?dbhtml list-presentation="table"?>
|
---|
| 216 |
|
---|
| 217 | <varlistentry id="rox-filer-prog">
|
---|
| 218 | <term><command>rox</command></term>
|
---|
| 219 | <listitem>
|
---|
| 220 | <para>is the rox file manager.</para>
|
---|
| 221 | <indexterm zone="rox-filer rox-filer-prog">
|
---|
| 222 | <primary sortas="b-rox-filer">rox-filer</primary>
|
---|
| 223 | </indexterm>
|
---|
| 224 | </listitem>
|
---|
| 225 | </varlistentry>
|
---|
| 226 | </variablelist>
|
---|
| 227 | </sect2>
|
---|
| 228 | </sect1>
|
---|