Changeset 5a9e610


Ignore:
Timestamp:
05/03/2012 03:36:42 PM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
3a37311
Parents:
574a402
Message:

Finished the note about sshfs on the rox page

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/other/rox-filer.xml

    r574a402 r5a9e610  
    66
    77  <!ENTITY rox-filer-download-http
    8   "&sourceforge-repo;/rox/rox-filer-&rox-filer-version;.tar.bz2">
     8    "&sourceforge-repo;/rox/rox-filer-&rox-filer-version;.tar.bz2">
    99  <!ENTITY rox-filer-download-ftp  " ">
    1010  <!ENTITY rox-filer-md5sum        "28e8494c9af783258ff86c830f8f0062">
     
    3131    <title>Introduction to rox-filer</title>
    3232
    33     <para><application>rox-filer</application> is a fast, lightweight, gtk2 file
    34     manager.</para>
     33    <para>
     34      <application>rox-filer</application> is a fast, lightweight, gtk2 file
     35      manager.
     36    </para>
    3537
    3638    &lfs71_checked;
     
    3941    <itemizedlist spacing="compact">
    4042      <listitem>
    41         <para>Download (HTTP): <ulink url="&rox-filer-download-http;"/></para>
    42       </listitem>
    43       <listitem>
    44         <para>Download (FTP): <ulink url="&rox-filer-download-ftp;"/></para>
    45       </listitem>
    46       <listitem>
    47         <para>Download MD5 sum: &rox-filer-md5sum;</para>
    48       </listitem>
    49       <listitem>
    50         <para>Download size: &rox-filer-size;</para>
    51       </listitem>
    52       <listitem>
    53         <para>Estimated disk space required: &rox-filer-buildsize;</para>
    54       </listitem>
    55       <listitem>
    56         <para>Estimated build time: &rox-filer-time;</para>
     43        <para>
     44          Download (HTTP): <ulink url="&rox-filer-download-http;"/>
     45        </para>
     46      </listitem>
     47      <listitem>
     48        <para>
     49          Download (FTP): <ulink url="&rox-filer-download-ftp;"/>
     50        </para>
     51      </listitem>
     52      <listitem>
     53        <para>
     54          Download MD5 sum: &rox-filer-md5sum;
     55        </para>
     56      </listitem>
     57      <listitem>
     58        <para>
     59          Download size: &rox-filer-size;
     60        </para>
     61      </listitem>
     62      <listitem>
     63        <para>
     64          Estimated disk space required: &rox-filer-buildsize;
     65        </para>
     66      </listitem>
     67      <listitem>
     68        <para>
     69          Estimated build time: &rox-filer-time;
     70        </para>
    5771      </listitem>
    5872    </itemizedlist>
     
    6680    </para>
    6781
    68     <para condition="html" role="usernotes">User Notes:
    69     <ulink url="&blfs-wiki;/rox-filer"/></para>
     82    <para condition="html" role="usernotes">
     83      User Notes: <ulink url="&blfs-wiki;/rox-filer"/>
     84    </para>
    7085  </sect2>
    7186
     
    7388    <title>Kernel Configuration</title>
    7489
    75       <para>If you want <application>rox-filer</application> to be able to update the
    76       contents of a directory when changes are made to the files by other
    77       applications (eg, if a script is running) you will need to enable dnotify
    78       support in your kernel. In <command>make menuconfig</command>:</para>
     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>
    7996
    8097<screen><literal>Filesystems -&#45;-&gt;
    8198  [*] Dnotify support</literal></screen>
    8299
    83     <para>Save the new <filename>.config</filename> and then compile the
    84     kernel.</para>
     100    <para>
     101      Save the new <filename>.config</filename> and then compile the kernel.
     102    </para>
    85103
    86104    <indexterm zone="rox-filer rox-filer-kernel">
     
    92110    <title>Installation of rox-filer</title>
    93111
    94     <para>Compile <application>rox-filer</application> with the following
    95     commands:</para>
     112    <para>
     113      Compile <application>rox-filer</application> with the following commands:
     114    </para>
    96115
    97116<screen><userinput>cd ROX-Filer &amp;&amp;
     
    102121make</userinput></screen>
    103122
    104     <para>Now install it as the <systemitem class="username">root</systemitem>
    105     user:</para>
     123    <para>
     124      Now install it as the <systemitem class="username">root</systemitem> user:
     125    </para>
    106126
    107127<screen role="root"><userinput>mkdir /usr/share/rox &amp;&amp;
     
    129149    <title>Command Explanations</title>
    130150
    131     <para><command>sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":'
    132     src/main.c</command>: This command hard codes /usr/share/rox as the
    133     directory for <application>rox-filer</application>'s private files. Without
    134     this sed rox needs the environment variable ${APP_DIR} to be set.</para>
    135 
    136     <para><command>ln -sv application-...</command>: These commands duplicate
    137     the icons for some common mime types. Without these links
    138     <application>rox-filer</application> would just display the default "unknown
    139     binary blob" icon.</para>
     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>
     157
     158    <para>
     159      <command>ln -sv application-...</command>: These commands duplicate the
     160      icons for some common mime types. Without these links
     161      <application>rox-filer</application> would just display the default
     162      "unknown binary blob" icon.
     163    </para>
    140164  </sect2>
    141165
     
    145169    <sect3><title>Configuration Information</title>
    146170
    147       <para>Most of the configuration of <application>rox-filer</application> is
    148       achieved by right clicking on a <application>rox-filer</application> window
    149       and choosing "Options" from the menu. It stores its settings in <filename
    150       class="directory">~/.config/rox.sourceforge.net</filename>.</para>
    151 
    152       <para>A <application>rox-filer</application> feature is that if there is an
    153       executable file called <filename>AppRun</filename> in a directory
    154       <application>rox-filer</application> will first run <command>AppRun</command>
    155       before it opens the folder.</para>
    156 
    157       <!-- <para>As an example of how this may be used, if you have
    158       <application>ssh<application> access to another computer (perhaps another
    159       computer on you local network) with <application>ssh</application>
    160       configured for passwordless logins and you have
    161       <ulink url="http://fuse.sourceforge.net/sshfs.html">sshfs</ulink>
    162       installed you can use <command>AppRun<command> to mount the remote
    163       computer in a local folder using <command>sshfs</command>. If the
    164       folder has the same name as the hostname of the remote computer:</para>
     171      <para>
     172        Most of the configuration of <application>rox-filer</application> is
     173        achieved by right clicking on a <application>rox-filer</application>
     174        window and choosing "Options" from the menu. It stores its settings in
     175        <filename class="directory">~/.config/rox.sourceforge.net</filename>.
     176      </para>
     177
     178      <para>
     179        A <application>rox-filer</application> feature is that if there is an
     180        executable file called <filename>AppRun</filename> in a directory
     181        <application>rox-filer</application> will first run
     182        <command>AppRun</command> before it opens the folder.
     183      </para>
     184
     185      <para>
     186        As an example of how this may be used, if you have ssh access to another
     187        computer (perhaps another computer on you local network) with ssh
     188        configured for passwordless logins and you have
     189        <xref linkend="sshfs-fuse"/> installed you can use AppRun to mount the
     190        remote computer in a local folder using <command>sshfs</command>. For
     191        this example AppRun script to work the folder must have the same name as
     192        the hostname of the remote computer:
     193      </para>
    165194
    166195<screen><userinput>cat &gt; /path/to/hostname/AppRun &lt;&lt; "HERE_DOC"
    167196#!/bin/bash
    168  
    169 MOUNT_PATH="$(dirname ${0})"
    170 HOST="$(basename ${MOUNT_PATH})"
    171 echo ${HOST}:/ ${MOUNT_PATH}
     197
     198MOUNT_PATH="${0%/*}"
     199HOST=${MOUNT_PATH##*/}
     200export MOUNT_PATH HOST
    172201sshfs -o nonempty ${HOST}:/ ${MOUNT_PATH}
    173202rox -x ${MOUNT_PATH}
    174203HERE_DOC
    175 chmod 755 /path/to/hostname/AppRun</userinput></screen> -->
    176 
    177       <para>If you use a desktop environment like
    178       <application>Gnome</application> or <application>KDE</application> you may
    179       like to create a <filename>rox.desktop</filename> file so that
    180       <application>rox-filer</application> appears in the panel's menus. As the
    181       <systemitem class="username">root</systemitem> user:</para>
     204chmod 755 /path/to/hostname/AppRun</userinput></screen>
     205
     206      <para>
     207        If you use a desktop environment like
     208        <application>Gnome</application> or <application>KDE</application> you
     209        may like to create a <filename>rox.desktop</filename> file so that
     210        <application>rox-filer</application> appears in the panel's menus. As the
     211        <systemitem class="username">root</systemitem> user:
     212      </para>
    182213
    183214<screen role="root"><userinput>ln -s ../rox/.DirIcon /usr/share/pixmaps/rox.png &amp;&amp;
     
    218249        <term><command>rox</command></term>
    219250        <listitem>
    220           <para>is the rox file manager.</para>
     251          <para>
     252            is the rox file manager.
     253          </para>
    221254          <indexterm zone="rox-filer rox-filer-prog">
    222255            <primary sortas="b-rox-filer">rox-filer</primary>
Note: See TracChangeset for help on using the changeset viewer.