[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
|
---|
[5a9e610] | 8 | "&sourceforge-repo;/rox/rox-filer-&rox-filer-version;.tar.bz2">
|
---|
[2fa7a3f7] | 9 | <!ENTITY rox-filer-download-ftp " ">
|
---|
[271e089] | 10 | <!ENTITY rox-filer-md5sum "0eebf05a67f7932367750ebf9faf215d">
|
---|
[2fa7a3f7] | 11 | <!ENTITY rox-filer-size "1.8 MB">
|
---|
[ebec0ca6] | 12 | <!ENTITY rox-filer-buildsize "19 MB">
|
---|
[2fa7a3f7] | 13 | <!ENTITY rox-filer-time "0.3 SBU">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
[ebec0ca6] | 16 | <sect1 id="rox-filer" xreflabel="Rox-Filer-&rox-filer-version;">
|
---|
[2fa7a3f7] | 17 | <?dbhtml filename="rox-filer.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date> </date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[ebec0ca6] | 24 | <title>Rox-Filer-&rox-filer-version;</title>
|
---|
[2fa7a3f7] | 25 |
|
---|
| 26 | <indexterm zone="rox-filer">
|
---|
| 27 | <primary sortas="a-rox-filer">rox-filer</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[ebec0ca6] | 31 | <title>Introduction to Rox-Filer</title>
|
---|
[2fa7a3f7] | 32 |
|
---|
[5a9e610] | 33 | <para>
|
---|
| 34 | <application>rox-filer</application> is a fast, lightweight, gtk2 file
|
---|
| 35 | manager.
|
---|
| 36 | </para>
|
---|
[2fa7a3f7] | 37 |
|
---|
[ebec0ca6] | 38 | &lfs72_checked;
|
---|
[2fa7a3f7] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[5a9e610] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&rox-filer-download-http;"/>
|
---|
| 45 | </para>
|
---|
[2fa7a3f7] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[5a9e610] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&rox-filer-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[2fa7a3f7] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[5a9e610] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &rox-filer-md5sum;
|
---|
| 55 | </para>
|
---|
[2fa7a3f7] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[5a9e610] | 58 | <para>
|
---|
| 59 | Download size: &rox-filer-size;
|
---|
| 60 | </para>
|
---|
[2fa7a3f7] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[5a9e610] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &rox-filer-buildsize;
|
---|
| 65 | </para>
|
---|
[2fa7a3f7] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[5a9e610] | 68 | <para>
|
---|
| 69 | Estimated build time: &rox-filer-time;
|
---|
| 70 | </para>
|
---|
[2fa7a3f7] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">rox-filer Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
[1b2d41b] | 78 | <xref linkend="libglade"/> and
|
---|
| 79 | <xref linkend="shared-mime-info"/>
|
---|
| 80 | </para>
|
---|
[2fa7a3f7] | 81 |
|
---|
[5a9e610] | 82 | <para condition="html" role="usernotes">
|
---|
| 83 | User Notes: <ulink url="&blfs-wiki;/rox-filer"/>
|
---|
| 84 | </para>
|
---|
[2fa7a3f7] | 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="kernel" id="rox-filer-kernel">
|
---|
| 88 | <title>Kernel Configuration</title>
|
---|
| 89 |
|
---|
[5a9e610] | 90 | <para>
|
---|
| 91 | If you want <application>rox-filer</application> to be able to update
|
---|
| 92 | the contents of a directory when changes are made to the files by other
|
---|
| 93 | applications (eg, if a script is running) you will need to enable
|
---|
| 94 | dnotify support in your kernel. In <command>make menuconfig</command>:
|
---|
| 95 | </para>
|
---|
[2fa7a3f7] | 96 |
|
---|
| 97 | <screen><literal>Filesystems --->
|
---|
| 98 | [*] Dnotify support</literal></screen>
|
---|
| 99 |
|
---|
[5a9e610] | 100 | <para>
|
---|
| 101 | Save the new <filename>.config</filename> and then compile the kernel.
|
---|
| 102 | </para>
|
---|
[2fa7a3f7] | 103 |
|
---|
| 104 | <indexterm zone="rox-filer rox-filer-kernel">
|
---|
| 105 | <primary sortas="d-rox-filer">rox-filer</primary>
|
---|
| 106 | </indexterm>
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="installation">
|
---|
[ebec0ca6] | 110 | <title>Installation of Rox-Filer</title>
|
---|
[2fa7a3f7] | 111 |
|
---|
[5a9e610] | 112 | <para>
|
---|
| 113 | Compile <application>rox-filer</application> with the following commands:
|
---|
| 114 | </para>
|
---|
[2fa7a3f7] | 115 |
|
---|
[ebec0ca6] | 116 | <screen><userinput>cd ROX-Filer &&
|
---|
[2fa7a3f7] | 117 | sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":' src/main.c &&
|
---|
[ebec0ca6] | 118 |
|
---|
| 119 | mkdir build &&
|
---|
| 120 | pushd build &&
|
---|
[bfe3828] | 121 | ../src/configure LIBS="-lm -ldl" &&
|
---|
[ebec0ca6] | 122 | make &&
|
---|
| 123 | popd</userinput></screen>
|
---|
[2fa7a3f7] | 124 |
|
---|
[5a9e610] | 125 | <para>
|
---|
| 126 | Now install it as the <systemitem class="username">root</systemitem> user:
|
---|
| 127 | </para>
|
---|
[2fa7a3f7] | 128 |
|
---|
[ebec0ca6] | 129 | <screen role="root"><userinput>mkdir -p /usr/share/rox &&
|
---|
| 130 | cp -av Help Messages Options.xml ROX images style.css .DirIcon /usr/share/rox &&
|
---|
| 131 |
|
---|
| 132 | cp -av ../rox.1 /usr/share/man/man1 &&
|
---|
| 133 | cp -v ROX-Filer /usr/bin/rox &&
|
---|
| 134 | chown -Rv root:root /usr/bin/rox /usr/share/rox &&
|
---|
| 135 |
|
---|
| 136 | cd /usr/share/rox/ROX/MIME &&
|
---|
| 137 | ln -sv text-x-{diff,patch}.png &&
|
---|
| 138 | ln -sv application-x-font-{afm,type1}.png &&
|
---|
| 139 | ln -sv application-xml{,-dtd}.png &&
|
---|
[2fa7a3f7] | 140 | ln -sv application-xml{,-external-parsed-entity}.png &&
|
---|
[ebec0ca6] | 141 | ln -sv application-{,rdf+}xml.png &&
|
---|
| 142 | ln -sv application-x{ml,-xbel}.png &&
|
---|
| 143 | ln -sv application-{x-shell,java}script.png &&
|
---|
| 144 | ln -sv application-x-{bzip,xz}-compressed-tar.png &&
|
---|
| 145 | ln -sv application-x-{bzip,lzma}-compressed-tar.png &&
|
---|
| 146 | ln -sv application-x-{bzip-compressed-tar,lzo}.png &&
|
---|
| 147 | ln -sv application-x-{bzip,xz}.png &&
|
---|
| 148 | ln -sv application-x-{gzip,lzma}.png &&
|
---|
[2fa7a3f7] | 149 | ln -sv application-{msword,rtf}.png</userinput></screen>
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | <sect2 role="commands">
|
---|
| 153 | <title>Command Explanations</title>
|
---|
| 154 |
|
---|
[5a9e610] | 155 | <para>
|
---|
| 156 | <command>sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":'
|
---|
| 157 | src/main.c</command>: This command hard codes /usr/share/rox as the
|
---|
| 158 | directory for <application>rox-filer</application>'s private files.
|
---|
| 159 | Without this sed rox needs the environment variable ${APP_DIR} to be set.
|
---|
| 160 | </para>
|
---|
[2fa7a3f7] | 161 |
|
---|
[5a9e610] | 162 | <para>
|
---|
| 163 | <command>ln -sv application-...</command>: These commands duplicate the
|
---|
| 164 | icons for some common mime types. Without these links
|
---|
| 165 | <application>rox-filer</application> would just display the default
|
---|
| 166 | "unknown binary blob" icon.
|
---|
| 167 | </para>
|
---|
[2fa7a3f7] | 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | <sect2 role="configuration">
|
---|
[ebec0ca6] | 171 | <title>Configuring RoxFiler</title>
|
---|
[2fa7a3f7] | 172 |
|
---|
| 173 | <sect3><title>Configuration Information</title>
|
---|
| 174 |
|
---|
[5a9e610] | 175 | <para>
|
---|
| 176 | Most of the configuration of <application>rox-filer</application> is
|
---|
| 177 | achieved by right clicking on a <application>rox-filer</application>
|
---|
| 178 | window and choosing "Options" from the menu. It stores its settings in
|
---|
| 179 | <filename class="directory">~/.config/rox.sourceforge.net</filename>.
|
---|
| 180 | </para>
|
---|
| 181 |
|
---|
| 182 | <para>
|
---|
| 183 | A <application>rox-filer</application> feature is that if there is an
|
---|
| 184 | executable file called <filename>AppRun</filename> in a directory
|
---|
| 185 | <application>rox-filer</application> will first run
|
---|
| 186 | <command>AppRun</command> before it opens the folder.
|
---|
| 187 | </para>
|
---|
| 188 |
|
---|
| 189 | <para>
|
---|
| 190 | As an example of how this may be used, if you have ssh access to another
|
---|
| 191 | computer (perhaps another computer on you local network) with ssh
|
---|
| 192 | configured for passwordless logins and you have
|
---|
| 193 | <xref linkend="sshfs-fuse"/> installed you can use AppRun to mount the
|
---|
| 194 | remote computer in a local folder using <command>sshfs</command>. For
|
---|
| 195 | this example AppRun script to work the folder must have the same name as
|
---|
| 196 | the hostname of the remote computer:
|
---|
| 197 | </para>
|
---|
[2fa7a3f7] | 198 |
|
---|
| 199 | <screen><userinput>cat > /path/to/hostname/AppRun << "HERE_DOC"
|
---|
| 200 | #!/bin/bash
|
---|
[5a9e610] | 201 |
|
---|
| 202 | MOUNT_PATH="${0%/*}"
|
---|
| 203 | HOST=${MOUNT_PATH##*/}
|
---|
| 204 | export MOUNT_PATH HOST
|
---|
[2fa7a3f7] | 205 | sshfs -o nonempty ${HOST}:/ ${MOUNT_PATH}
|
---|
| 206 | rox -x ${MOUNT_PATH}
|
---|
| 207 | HERE_DOC
|
---|
[ebec0ca6] | 208 |
|
---|
[5a9e610] | 209 | chmod 755 /path/to/hostname/AppRun</userinput></screen>
|
---|
[2fa7a3f7] | 210 |
|
---|
[5feea08] | 211 | <para>
|
---|
[ec64d28] | 212 | That works fine for mounting, but to unmount it the
|
---|
| 213 | command <command>fusermount -u ${MOUNTPOINT}</command> is ran. You could set
|
---|
[5feea08] | 214 | that as your default umount command in your rox preferences, but you
|
---|
| 215 | would then be unable to unmount any normal mountpoints (that need
|
---|
[ec64d28] | 216 | umount). A script is needed that will unmount a Fuse mountpoint
|
---|
[5feea08] | 217 | with <command>fusermount -u ${MOUNTPOINT}</command> and everything else
|
---|
| 218 | with <command>umount</command>. As the
|
---|
| 219 | <systemitem class="username">root</systemitem> user:
|
---|
| 220 | </para>
|
---|
| 221 |
|
---|
| 222 | <screen role="root"><userinput>cat > /usr/bin/myumount << "HERE_DOC" &&
|
---|
| 223 | #!/bin/bash
|
---|
| 224 | sync
|
---|
| 225 | if mount | grep "${@}" | grep -q fuse
|
---|
| 226 | then fusermount -u "${@}"
|
---|
| 227 | else umount "${@}"
|
---|
| 228 | fi
|
---|
| 229 | HERE_DOC
|
---|
[ebec0ca6] | 230 |
|
---|
[5feea08] | 231 | chmod 755 /usr/bin/myumount</userinput></screen>
|
---|
| 232 |
|
---|
| 233 | <para>
|
---|
| 234 | Now, to make Rox use this simple script, open a Rox window, right click
|
---|
| 235 | on it and choose Options from the menu. In the left hand list choose
|
---|
| 236 | "Action windows" and then on the right hand side, where it says
|
---|
| 237 | "Unmount command" change <command>umount</command> to
|
---|
| 238 | <command>myumount</command>.
|
---|
| 239 | </para>
|
---|
| 240 |
|
---|
[5a9e610] | 241 | <para>
|
---|
| 242 | If you use a desktop environment like
|
---|
| 243 | <application>Gnome</application> or <application>KDE</application> you
|
---|
| 244 | may like to create a <filename>rox.desktop</filename> file so that
|
---|
[3a37311] | 245 | <application>rox-filer</application> appears in the panel's menus. As
|
---|
| 246 | the <systemitem class="username">root</systemitem> user:
|
---|
[5a9e610] | 247 | </para>
|
---|
[2fa7a3f7] | 248 |
|
---|
| 249 | <screen role="root"><userinput>ln -s ../rox/.DirIcon /usr/share/pixmaps/rox.png &&
|
---|
[c099902d] | 250 | mkdir -p /usr/share/applications &&
|
---|
[ebec0ca6] | 251 |
|
---|
[2fa7a3f7] | 252 | cat > /usr/share/applications/rox.desktop << "HERE_DOC"
|
---|
| 253 | [Desktop Entry]
|
---|
| 254 | Encoding=UTF-8
|
---|
| 255 | Type=Application
|
---|
| 256 | Name=Rox
|
---|
| 257 | Comment=The Rox File Manager
|
---|
| 258 | Icon=rox
|
---|
| 259 | Exec=rox
|
---|
| 260 | Categories=GTK;Utility;Application;System;Core;
|
---|
| 261 | StartupNotify=true
|
---|
| 262 | Terminal=false
|
---|
| 263 | HERE_DOC</userinput></screen>
|
---|
| 264 | </sect3>
|
---|
| 265 | </sect2>
|
---|
| 266 |
|
---|
| 267 | <sect2 role="content">
|
---|
| 268 | <title>Contents</title>
|
---|
| 269 |
|
---|
| 270 | <segmentedlist>
|
---|
| 271 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 272 | <segtitle>Installed Libraries</segtitle>
|
---|
[2fa7a3f7] | 273 | <segtitle>Installed Directories</segtitle>
|
---|
| 274 |
|
---|
| 275 | <seglistitem>
|
---|
| 276 | <seg>rox</seg>
|
---|
[c3c56b2] | 277 | <seg>None</seg>
|
---|
[2fa7a3f7] | 278 | <seg>/usr/share/rox</seg>
|
---|
| 279 | </seglistitem>
|
---|
| 280 | </segmentedlist>
|
---|
| 281 |
|
---|
| 282 | <variablelist>
|
---|
| 283 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 284 | <?dbfo list-presentation="list"?>
|
---|
| 285 | <?dbhtml list-presentation="table"?>
|
---|
| 286 |
|
---|
| 287 | <varlistentry id="rox-filer-prog">
|
---|
| 288 | <term><command>rox</command></term>
|
---|
| 289 | <listitem>
|
---|
[5a9e610] | 290 | <para>
|
---|
| 291 | is the rox file manager.
|
---|
| 292 | </para>
|
---|
[2fa7a3f7] | 293 | <indexterm zone="rox-filer rox-filer-prog">
|
---|
| 294 | <primary sortas="b-rox-filer">rox-filer</primary>
|
---|
| 295 | </indexterm>
|
---|
| 296 | </listitem>
|
---|
| 297 | </varlistentry>
|
---|
| 298 | </variablelist>
|
---|
| 299 | </sect2>
|
---|
| 300 | </sect1>
|
---|