source: xsoft/other/rox-filer.xml@ fd42347a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since fd42347a was fd42347a, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Comment out sddm from systemd version of the book.
Finish all tags.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17736 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.0 KB
RevLine 
[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>
[0d7900a]34 <application>rox-filer</application> is a fast, lightweight, gtk2 file
[5a9e610]35 manager.
36 </para>
[2fa7a3f7]37
[fd42347a]38 &lfs7a_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
[38155d1]97<screen><literal>File systems ---&gt;
98 [*] Dnotify support [CONFIG_DNOTIFY]</literal></screen>
[2fa7a3f7]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 &amp;&amp;
[2fa7a3f7]117sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":' src/main.c &amp;&amp;
[ebec0ca6]118
[49b241a]119mkdir build &amp;&amp;
120pushd build &amp;&amp;
121 ../src/configure LIBS="-lm -ldl" &amp;&amp;
122 make &amp;&amp;
[ebec0ca6]123popd</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 &amp;&amp;
130cp -av Help Messages Options.xml ROX images style.css .DirIcon /usr/share/rox &amp;&amp;
131
132cp -av ../rox.1 /usr/share/man/man1 &amp;&amp;
133cp -v ROX-Filer /usr/bin/rox &amp;&amp;
134chown -Rv root:root /usr/bin/rox /usr/share/rox &amp;&amp;
135
136cd /usr/share/rox/ROX/MIME &amp;&amp;
137ln -sv text-x-{diff,patch}.png &amp;&amp;
138ln -sv application-x-font-{afm,type1}.png &amp;&amp;
139ln -sv application-xml{,-dtd}.png &amp;&amp;
[2fa7a3f7]140ln -sv application-xml{,-external-parsed-entity}.png &amp;&amp;
[ebec0ca6]141ln -sv application-{,rdf+}xml.png &amp;&amp;
142ln -sv application-x{ml,-xbel}.png &amp;&amp;
143ln -sv application-{x-shell,java}script.png &amp;&amp;
144ln -sv application-x-{bzip,xz}-compressed-tar.png &amp;&amp;
145ln -sv application-x-{bzip,lzma}-compressed-tar.png &amp;&amp;
146ln -sv application-x-{bzip-compressed-tar,lzo}.png &amp;&amp;
147ln -sv application-x-{bzip,xz}.png &amp;&amp;
148ln -sv application-x-{gzip,lzma}.png &amp;&amp;
[2fa7a3f7]149ln -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
[0d7900a]164 icons for some common mime types. Without these links
[5a9e610]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 &gt; /path/to/hostname/AppRun &lt;&lt; "HERE_DOC"
200#!/bin/bash
[5a9e610]201
202MOUNT_PATH="${0%/*}"
203HOST=${MOUNT_PATH##*/}
[0d7900a]204export MOUNT_PATH HOST
[2fa7a3f7]205sshfs -o nonempty ${HOST}:/ ${MOUNT_PATH}
206rox -x ${MOUNT_PATH}
207HERE_DOC
[ebec0ca6]208
[5a9e610]209chmod 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 &gt; /usr/bin/myumount &lt;&lt; "HERE_DOC" &amp;&amp;
223#!/bin/bash
224sync
225if mount | grep "${@}" | grep -q fuse
226then fusermount -u "${@}"
227else umount "${@}"
228fi
229HERE_DOC
[ebec0ca6]230
[5feea08]231chmod 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 &amp;&amp;
[c099902d]250mkdir -p /usr/share/applications &amp;&amp;
[ebec0ca6]251
[2fa7a3f7]252cat &gt; /usr/share/applications/rox.desktop &lt;&lt; "HERE_DOC"
253[Desktop Entry]
254Encoding=UTF-8
255Type=Application
256Name=Rox
257Comment=The Rox File Manager
258Icon=rox
259Exec=rox
260Categories=GTK;Utility;Application;System;Core;
261StartupNotify=true
262Terminal=false
263HERE_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>
Note: See TracBrowser for help on using the repository browser.