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

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 d4798472 was d4798472, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags

  • Property mode set to 100644
File size: 10.3 KB
Line 
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 "&sourceforge-dl;/rox/rox-filer-&rox-filer-version;.tar.bz2">
8 <!ENTITY rox-filer-download-ftp " ">
9 <!ENTITY rox-filer-md5sum "0eebf05a67f7932367750ebf9faf215d">
10 <!ENTITY rox-filer-size "1.8 MB">
11 <!ENTITY rox-filer-buildsize "19 MB">
12 <!ENTITY rox-filer-time "0.3 SBU">
13]>
14
15<sect1 id="rox-filer" xreflabel="Rox-Filer-&rox-filer-version;">
16 <?dbhtml filename="rox-filer.html"?>
17
18 <sect1info>
19 <date> </date>
20 </sect1info>
21
22 <title>Rox-Filer-&rox-filer-version;</title>
23
24 <indexterm zone="rox-filer">
25 <primary sortas="a-rox-filer">rox-filer</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Rox-Filer</title>
30
31 <para>
32 <application>rox-filer</application> is a fast, lightweight, gtk2 file
33 manager.
34 </para>
35
36 &lfs110_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&rox-filer-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&rox-filer-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &rox-filer-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &rox-filer-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &rox-filer-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &rox-filer-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">rox-filer Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="libglade"/> and
77 <xref linkend="shared-mime-info"/>
78 </para>
79
80 <para condition="html" role="usernotes">
81 User Notes: <ulink url="&blfs-wiki;/rox-filer"/>
82 </para>
83 </sect2>
84
85 <sect2 role="kernel" id="rox-filer-kernel">
86 <title>Kernel Configuration</title>
87
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>
94
95<screen><literal>File systems ---&gt;
96 [*] Dnotify support [CONFIG_DNOTIFY]</literal></screen>
97
98 <para>
99 Save the new <filename>.config</filename> and then compile the kernel.
100 </para>
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">
108 <title>Installation of Rox-Filer</title>
109
110 <para>
111 Compile <application>rox-filer</application> with the following commands:
112 </para>
113
114<screen><userinput>cd ROX-Filer &amp;&amp;
115sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":' src/main.c &amp;&amp;
116sed -i 's/gboolean/extern &amp;/' src/session.h &amp;&amp;
117
118mkdir build &amp;&amp;
119pushd build &amp;&amp;
120 ../src/configure LIBS="-lm -ldl" &amp;&amp;
121 make &amp;&amp;
122popd</userinput></screen>
123
124 <para>
125 Now install it as the <systemitem class="username">root</systemitem> user:
126 </para>
127
128<screen role="root"><userinput>mkdir -p /usr/share/rox &amp;&amp;
129cp -av Help Messages Options.xml ROX images style.css .DirIcon /usr/share/rox &amp;&amp;
130
131cp -av ../rox.1 /usr/share/man/man1 &amp;&amp;
132cp -v ROX-Filer /usr/bin/rox &amp;&amp;
133chown -Rv root:root /usr/bin/rox /usr/share/rox &amp;&amp;
134
135cd /usr/share/rox/ROX/MIME &amp;&amp;
136ln -sv text-x-{diff,patch}.png &amp;&amp;
137ln -sv application-x-font-{afm,type1}.png &amp;&amp;
138ln -sv application-xml{,-dtd}.png &amp;&amp;
139ln -sv application-xml{,-external-parsed-entity}.png &amp;&amp;
140ln -sv application-{,rdf+}xml.png &amp;&amp;
141ln -sv application-x{ml,-xbel}.png &amp;&amp;
142ln -sv application-{x-shell,java}script.png &amp;&amp;
143ln -sv application-x-{bzip,xz}-compressed-tar.png &amp;&amp;
144ln -sv application-x-{bzip,lzma}-compressed-tar.png &amp;&amp;
145ln -sv application-x-{bzip-compressed-tar,lzo}.png &amp;&amp;
146ln -sv application-x-{bzip,xz}.png &amp;&amp;
147ln -sv application-x-{gzip,lzma}.png &amp;&amp;
148ln -sv application-{msword,rtf}.png</userinput></screen>
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
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>
160
161 <para>
162 <command>sed -i 's/gboolean/extern &amp;/' src/session.h</command>:
163 This command fixes a multiple definition flagged as an error
164 by GCC 10 and higher.
165 </para>
166
167 <para>
168 <command>ln -sv application-...</command>: These commands duplicate the
169 icons for some common mime types. Without these links
170 <application>rox-filer</application> would just display the default
171 "unknown binary blob" icon.
172 </para>
173 </sect2>
174
175 <sect2 role="configuration">
176 <title>Configuring RoxFiler</title>
177
178 <sect3><title>Configuration Information</title>
179
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
196 computer (perhaps another computer on your local network) with ssh
197 configured for passwordless logins and you have
198 <xref linkend="sshfs"/> installed you can use AppRun to mount the
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>
203
204<screen role="nodump"><userinput>cat &gt; /path/to/hostname/AppRun &lt;&lt; "HERE_DOC"
205#!/bin/bash
206
207MOUNT_PATH="${0%/*}"
208HOST=${MOUNT_PATH##*/}
209export MOUNT_PATH HOST
210sshfs -o nonempty ${HOST}:/ ${MOUNT_PATH}
211rox -x ${MOUNT_PATH}
212HERE_DOC
213
214chmod 755 /path/to/hostname/AppRun</userinput></screen>
215
216 <para>
217 That works fine for mounting, but to unmount it the
218 command <command>fusermount -u ${MOUNTPOINT}</command> is ran. You could set
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
221 umount). A script is needed that will unmount a Fuse mountpoint
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 &gt; /usr/bin/myumount &lt;&lt; "HERE_DOC" &amp;&amp;
228#!/bin/bash
229sync
230if mount | grep "${@}" | grep -q fuse
231then fusermount -u "${@}"
232else umount "${@}"
233fi
234HERE_DOC
235
236chmod 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
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
250 <application>rox-filer</application> appears in the panel's menus. As
251 the <systemitem class="username">root</systemitem> user:
252 </para>
253
254<screen role="root"><userinput>ln -s ../rox/.DirIcon /usr/share/pixmaps/rox.png &amp;&amp;
255mkdir -p /usr/share/applications &amp;&amp;
256
257cat &gt; /usr/share/applications/rox.desktop &lt;&lt; "HERE_DOC"
258[Desktop Entry]
259Encoding=UTF-8
260Type=Application
261Name=Rox
262Comment=The Rox File Manager
263Icon=rox
264Exec=rox
265Categories=GTK;Utility;Application;System;Core;
266StartupNotify=true
267Terminal=false
268HERE_DOC</userinput></screen>
269 </sect3>
270 </sect2>
271
272 <sect2 role="content">
273 <title>Contents</title>
274
275 <segmentedlist>
276 <segtitle>Installed Programs</segtitle>
277 <segtitle>Installed Libraries</segtitle>
278 <segtitle>Installed Directories</segtitle>
279
280 <seglistitem>
281 <seg>rox</seg>
282 <seg>None</seg>
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>
295 <para>
296 is the rox file manager
297 </para>
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>
305
306</sect1>
Note: See TracBrowser for help on using the repository browser.