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