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