Copyright © 2005 Thomas Leonard
Conditions
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA, 02111-1307, USA.
Abstract
ROX-Filer is a graphical file manger for the X Window System. Its user interface is based on the RISC OS filer and it supports similar features such as application directories and drag-and-drop loading and saving of files. The filer can also act as a pinboard, allowing you to pin frequently used files onto the desktop background.
Table of Contents
Table of Contents
ROX-Filer is a simple and easy to use graphical file manager for X11 — the windowing system used on Unix and Unix-like operating systems. It is also the core component of the ROX Desktop [ROX]. Many of the filer's features were inspired by RISC OS [RISC OS]. `ROX' stands for `RISC OS–On–X'.
A common drag-and-drop protocol used, for example, by the GNOME desktop[GNOME]. This allows data to be loaded into an application by dragging it from a filer window to a program. The full specification is given in [DND].
An extension to XDND that allows applications to save data by dragging an icon back to a filer window. The full specification is given in [XDS].
A simple, but flexible, system for managing user choices. By default, choices are
saved under `~/.config'. However, you can change this by setting
the XDG_CONFIG_HOME environment variable. See
[BaseDir] for details.
Self contained relocatable applications, where installation is as simple as copying it to where you want it and uninstalling it is just a matter of deleting a directory. Described later in this documentation.
The filer can be made to display image files by using the image itself for the icon, instead of a generic `this-is-an-image' icon. Very useful for organising a directory full of photos! See [Thumbs] for details.
In the past, each desktop had its own database of rules for determining the type of files. The Shared MIME Info Database[SharedMIME] unifies these into a single system shared by all desktops.
Collections of file icons, called themes, can be installed (eg, to `~/.icons'). You can switch between themes in the Options box. Once other desktops support this fully, themes will be sharable between desktops. See [IconTheme] for details.
If used with a recent Linux kernel (2.4.x series), the filer will notice changes to directories automatically. On other systems, directories will update when the pointer is moved over them.
Table of Contents
You should be able to start the filer by simply running the rox
command, by typing it at a shell prompt or otherwise. If the filer isn't installed yet,
consult Appendix A, Compiling.
By default, ROX-Filer will start by displaying the current directory. You can get it to display other directories instead by listing them after the command:
$ rox /home /usr /usr/local
You can also use it to open files, like this:
$ rox README
The filer supports various options; use -h for a list.
All options have long and short forms (eg -h and
--help) — although on some systems you can only use the
short versions.
Note that if the same version of the filer is already running on this machine then, by default, it will be used to open the directories.
For a complete list of command-line options, see Appendix B, Manual page
If you want the filer to manage your desktop background then you use
the --pinboard option and supply a name for the pinboard,
eg:
$ rox --pinboard=MyPinboard
The pinboard configuration is saved in `~/.config/rox.sourceforge.net/ROX-Filer/pb_MyPinboard' as soon as you change it in some way (for example, by dropping a file onto the background). You can have as many pinboards as you like and switch between them by running rox again, eg:
$ rox --pinboard=MyOtherPinboard
To turn off the pinboard again, set the name to an empty string:
$ rox --pinboard=
See the window manager notes if you have trouble getting the icons to display correctly. The pinboard may also be turned on and off by locating `ROX-Filer' in a filer window and choosing or from the menu.
Panels work just like the pinboard, except that they run along the edge of the screen. To create a panel:
$ rox -b=MyPanel
The panel should be displayed in a window without a title bar. If this does not work then see the window manager notes for some ideas. You can drag files onto either side of the panel to add them. Panel icons can be repositioned by dragging them with the middle mouse button. Changes to the panel are automatically saved to `~/.config/rox.sourceforge.net/ROX-Filer/pan_MyPanel'. As with the pinboard, you can switch between panel configurations simply by running rox again with a different panel name.
$ rox -b=MyOtherPanel
You can set which edge of the screen the panel appears on using the popup menu. You can also set the edge when enabling the panel by using the side instead of -b. Specify a blank name to remove the panel:
$ rox --bottom=
You may have to play around with your window manager a bit to get the pinboard icons and panels to display correctly (eg, without borders and underneath all other windows). In particular, try setting the stacking level / depth to low (or a negative value). Make sure any 'Keep transients above other windows' type options are turned off!
Sawfish tries to guess whether you are using GNOME at start-up and only provides support if so. You may need to add the line
(require 'gnome)
to your `.sawfishrc' file (see the sawfish manual for more details).
Paste these configuration settings into `~/.icewm/preferences':
# Manage root window (EXPERIMENTAL - normally enabled!)
GrabRootWindow=1 # 0/1
# Bitmask of root window button click to use in window manager
UseRootButtons=3 # [0-255]
# Desktop mouse-button click to show the menu
DesktopWinMenuButton=1 # [0-20]
# Desktop mouse-button click to show the window list
DesktopWinListButton=2 # [0-5]
# Desktop mouse-button click to show the window list menu
DesktopMenuButton=0 # [0-20]Paste these into `~/.icewm/winoptions':
# ROX-Filer pinboard and panel
ROX-Filer.icon: folder
ROX-Panel.layer: Dock
ROX-Panel.doNotCover: 1
ROX-Panel.ignoreWinList: 1
ROX-Panel.ignoreTaskBar: 1
ROX-Panel.ignoreQuickSwitch: 1
ROX-Pinboard.layer: Below
ROX-Pinboard.ignoreWinList: 1
ROX-Pinboard.ignoreTaskBar: 1
ROX-Pinboard.ignoreQuickSwitch: 1
ROX-Filer.layer: NormalRestart IceWM and the filer for the new settings to take effect.
Run the filer using rox -p=Default.
Press Control+Escape, or [RightButtonDown] on any window's titlebar. Choose from the menu.
The Attributes Inspector window appears. From the pulldown menu at the top, choose (the top item).
Press the button.
The cursor changes to a double crosshair. Select one of the
ROX-Filer pinboard icons. The radio buttons
in the Window Specification frame should change
their labels to include ROX-Pinboard.ROX-Filer
as the first item. Select that radio button.
Choose from the pulldown menu. In the Attributes frame, choose the features you want the pinboard icons to have; I recommend the following:
Disable titlebar
Disable resizebar
Disable close button
Disable miniaturize button
Keep at bottom (sunken)
Omnipresent
Choose from the pulldown menu. In the Advanced frame, choose the advanced features you wish; I recommend the following:
Do not show in the window list
Ignore 'Hide Others'
Ignore 'Save Session' (possibly)
When you're finished selecting window attributes, press the button, and then close the Attributes Inspector window using the button in the titlebar.
If you run the filer as the `root' user then the filer will display a message at the top of each window to remind you. The root user has permission to access or change any file in the system, so be very careful when using the filer like this. Normally, you should log in as an ordinary user and only change to root when you need to. If you have sudo installed and set up then you can run the filer like this:
$ sudo rox
Remember, any file operations you perform and any programs you run from these windows will run as root too! Be careful!
You may find that the X server won't allow root (or other users) to connect. Reading the manual pages for xauth and xhost may give you some hints, but it varies between systems (which is why this isn't built in to the filer!).
Note: gnomesu can also be used to run the filer as root, but you'll need to use setsid to run it in a new session group, otherwise gnomesu kills it before it has a chance to open a window. For example:
gnomesu -c 'setsid /usr/local/bin/rox /'
Quick start:
Click the left [1] mouse button to open files and directories.
Click the right button to get a menu. Click over a file to perform an action on that file.
Drag files between windows with the left button to copy, move or link them (choose from a menu). Linking creates a shortcut to the original file.
By default, the mouse button bindings are designed to fit in with X conventions. However, the behaviour is highly configurable — have a play in the Options window if you don't like the normal settings. The normal settings behave as follows:
| Key or mouse button | Action |
|---|---|
| Left button click | Open the file or directory clicked on. Hold down Control to select things instead of opening them. Hold down Shift to look inside applications, treat files as text, follow symlinks, or get more control over mount points (see Removable devices). |
| Middle button click | Same as left click, but open a directory in a new window or close the viewer when opening a file. |
| Right button click | Open the main menu. Hold down Control while clicking to go directly to the Selection submenu. Hold down Shift to get the menu (see the Send To menu section). |
| Drag an item (left mouse button) | Show a menu of possible actions. There is an option to disable this menu, in which case this gesture will copy the file(s) to the destination (an application or another filer window). Hold down Shift to move the file, Control+Shift to create a symbolic link, or Alt to get the menu of possible actions. |
| Drag an item (middle mouse button) | When you let go, display a menu of possible actions. There is an option to make this move the files rather than open the menu. |
| Drag (not over an item) | Select a group of items by dragging a box around them. With the left mouse button, only the files in the box will be selected. If you hold down Control then the boxed items are added to the selection. If you use the middle button then the boxed items switch between being selected and unselected. |
| Double-click background | Resize the window to a sensible size (this can be turned off from the Options window). |
| Backspace | Change to viewing the parent directory. |
| Cursor keys | Move the cursor around. |
| Page Up, Page Down | Move the cursor up and down a page at a time. |
| Home, End | Move to the first/last entry in the directory. |
| Return | Acts like clicking on the file. You may hold down Shift for other effects, as with clicking. Holding down Alt works like clicking with the middle button; directories open in a new window and opening files closes the directory at the same time. |
| Spacebar | Toggles the item under the cursor between being selected and unselected, and moves to the next item. |
| Tab, Shift+Tab | Moves the cursor to the next/previous selected item. |
| Hold mouse over an item | Shows a tooltip containing a brief description of an application (if available), the target of a symbolic link, and the full name of a file, if it's too long to show in the main window. |
If you have user-defineable key-bindings enabled, then other keys can easily be set by opening the menu, moving the pointer over the item you want to use and pressing a key. The key will appear in the menu and can be used from then on. Key bindings are automatically saved when the filer quits. You can use an XSettings manager, such as ROX-Session, to turn this feature on for all Gtk+-2.0 applications.
[1] This documentation assumes that button–1 is the left button, button–2 is the middle button and button–3 is the right button. This is not always the case — for example, in a left-handed setup.
Table of Contents
When you select items in a ROX-Filer window, the filer takes the primary selection. You can then paste into another window to get the pathnames of the selected files.
Procedure 4.1. Example: loading a file into an application that doesn't support drag-and-drop:
Open the application's Open dialog box.
Control-click on the file in ROX-Filer to select it.
Click the middle button in the filename box in the application to paste the name in.
Note that clicking the middle mouse button in the main area of most web-browsers will open the selected file.
If you select something else (eg, some text in another program), the selected items in the filer window will be shown shaded (the filer no longer has the primary selection). Clicking on one of the shaded items will cause the filer to regain the primary selection.
It is sometimes useful to save the current selection for later. You can save the current selection to one of ten numbered groups by pressing Control+<number>. You can restore a saved group by pressing the group number on its own. You can do this from a different directory, or even a different filer window.
Saving is also useful even if there is no selection, since it still saves the current directory.
Procedure 4.2. Example: saving a directory and returning to it later:
You are looking at a directory, and wish to remember it. Press Control+1.
Move to another directory, or close the window, etc.
Press 1 in any filer window to return to the first directory.
The groups are saved automatically for next time the filer is loaded.
By default, each window has a toolbar along the top. You can disable this (or make it larger) from the Options window, as well as set which tools appear on the toolbar. Normally, you should click with the left mouse button (1). However, many tools can perform a related function if clicked on with buttons 2 or 3 (middle or right).
| Icon | Mouse button 1 | Other button |
|---|---|---|
| Cross | Close the window | Open a new window |
| Up arrow | Change to parent directory | Show parent in a new window [1] |
| House | Change to home directory | Show home in a new window [1] |
| Jump to point | Open the Bookmarks menu | Edit the bookmarks |
| Looping arrows | Reread the directory contents | Open a new window |
| Magnifying glass (+) | Select a larger icon size. | Select a smaller icon size. |
| Magnifying glass (fit) | Set Automatic sizing mode and resize the window. | - |
| List | Hide or show extra details | Same |
| A..Z | Step forward through the different sort types. | Step backward through the sort types. |
| Eye | Toggle the display of hidden files (those with names starting with a dot) | Toggle display of thumbnails for image files. |
| List with selections | Select All. | Invert Selection. |
| Life-belt | Show ROX-Filer's help files | Open manual directly |
[1] If the 'New window on button 1' option is turned on then the default is to open a new window — clicking with the other button reuses the same window instead.
Dragging files to the Up or Home icons acts just like dragging them into the directory which the button leads to. Dragging to the Bookmarks button will add the directory as a bookmark.
The toolbar can also show the number of files in the directory, and information about the selection. This can be turned on or off in the Options box.
Table of Contents
By default, you can open a menu by right clicking over a pinboard, panel or filer window. In filer windows, you may also press \ to open the menu. As a shortcut, you can open the File submenu directly by holding down the Control key when opening the menu. Here is a full description of each menu item:
| Entry | Action |
|---|---|
| Change the display settings. | |
| Operations on the selected items. | |
| Control which items are selected. | |
| Configure ROX-Filer. | |
| Create a new file or subdirectory inside this directory. | |
| Operations on the window as a whole. | |
| Information about the filer. |
| Entry | Action |
|---|---|
| Files are displayed as rows of icons. | |
| Files are displayed as rows of icons with additional details (chosen from the submenu). To see fuller information about each file use the List View instead. | |
| Show files in a list along with their details. Click on a column heading to sort by that column. | |
| Increase the size of the icons. Turns off Automatic mode. | |
| Reduce the size of the icons. Turns off Automatic mode. | |
| Select a sensbile icon size automatically now and when changing directory, etc. | |
| Set the sort mode. In List View you can also set the sort type by clicking on the column headings. | |
| Sort in reverse order (newest to oldest, largest to smallest, etc). | |
| If on, files beginning with a dot are shown, otherwise they are hidden. The titlebar shows (All) when this is on. | |
| Restrict the display to only show files with names matching the given pattern. The titlebar shows (Glob (pattern)) when this is on. | |
| When on, the filer tries to load every image file and use that image as the file's icon. Useful if you have a directory full of photos and can't remember which is which! See the Thumbnails section for details. | |
| Rereads the contents of the directory and details of all the files in it. Use this if the display becomes out-of-date. | |
| Remember the display settings just for this directory. Each time you open the directory, the saved settings will be used. |
The permissions field, when shown, is made up of four groups of three flags. Each flag is displayed as a letter if it is on and a dash (–) if not. The first three characters show the permissions for the owner of the file, the second for other members of the file's group and the third for everyone else. Whichever group applies to the ROX-Filer process itself is shown underlined. The fourth group shows any special flags.
The meanings of the characters are:
r —
Permission to read the contents of a file, or the names of files
in a directory.
w —
Permission to alter the contents of a file, or change which names
appear in a directory.
x —
Permission to run the file as a program, or refer to the files
listed within the directory.
U —
This program executes with the effective user ID of its
owner rather than the person who ran it.
G —
This program executes with the effective group ID of its
group, regardless of who ran it.
T —
Entries in this directory can only be altered or removed by the
people who own the files even if they have write permission on the
directory itself.
For example,
rwx,rwx,r-x/---means that the owner of the file is the same as the effective user of ROX-Filer (basically, you own the file), you and members of the file's group have read, write and execute permission and other people have only read and execute permission. There are no special flags set. The rules which determine which permissions apply may vary slightly between operating systems, but a rough guide is:
If the effective user ID of the process is equal to the file's owner, then the owner permissions apply.
Otherwise, if the effective group ID of the process is equal to the file's group OR the file's group is one of the process's supplemental groups then the group permissions apply.
Otherwise, the `other' permissions apply. The real user ID and real group ID have no effect (except that a process may set its real IDs to its effective IDs).
All of these work in the same way — if you open the menu with some items selected then the operation applies to those items. If you open then menu over an item while there is no selection then that item is temporarily selected.
If you choose one of these while there is no selection at all then the window goes into `target mode'; the operation happens to the next item you click on. Click on the window background, press Escape, or click with the right mouse button to cancel target mode. Target mode is mainly useful with the Single-click navigation option and keys bound to the various menu entries.
Note that individual applications may add extra menu items to the top of this submenu when you click over them — see Application directories for details. There may also be any number of user-defined actions at the top, which depend on the type of file clicked on. You can add programs here by choosing the item. For example, you could make The Gimp appear on the menu for images, and FreeFS appear for mount points.
| Entry | Action |
|---|---|
| Make a copy of this object. | |
| Change the name used for this object, or move it between directories. If multiple files are selected, this opens The Bulk Rename window. | |
| Create a symbolic link to this name. | |
| Remove all the selected entries from the directory. Subdirectories will have their contents deleted first. Deleting symlinks only removes the link, not the thing it points to. | |
| Opens applications as directories, files as text/plain, and symlinks by opening the directory containing the thing they point to. It also has interesting effects on mount points (see Removable devices). This is the same effect as clicking with Shift held down. The text of the menu entry changes to show which action will be performed. | |
| Opens the `Send To' menu, allowing you to send the selected files to one of a list of applications. See the Send To menu section. | |
| Allows you to set the default program to use when opening files of this type. See the Set Run Action box section for details. | |
| You can give each file or directory its own special icon using this feature — simply drag a suitable image onto the Set Icon box. | |
| Display extra information about this object. You can also change the access permissions from here ( below allows you to change many files at once), and change the target to which a symlink points. | |
| Count the sizes of all the selected items. Directories also have their contents counted. Symlinks count themselves, not the things they point to. | |
| Set the MIME type for a file. This only works on filesystems with extended attribute support. For older filesystems, you will have to rename a file to change its type. | |
| Allows you to change the permissions for the selected files. If only one file is to be changed, you can use instead for a simpler interface. | |
| Search for files by specifying various conditions — see the Searching section. |
Note about symlinks: A symbolic link stores the location of another file. Deleting the symlink doesn't affect the other file. Deleting the other file means that the symlink won't work. There are two types of symbolic link — Relative and Absolute. An absolute link stores the path from the root directory to the target file (eg `/home/fred/MyFile'). A relative path stores the path from the symlink to the target (eg `../fred/MyFile'). If the target file is never going to move then you want an absolute link, but if the target may move (and the symlink will be moved with it) then you want a relative link.
This menu allows you to select and unselect files in various ways. See the mouse and key bindings section for other ways to select files.
| Entry | Action |
|---|---|
| Select every item in this window. | |
| Unselect every item in this window. | |
| Every selected file becomes unselected, and every unselected file becomes selected. | |
Select just those files that match the given name pattern. This
isn't as flexible as (see
below), but it is quicker to use. Files also highlight as you type
with this option. The default key binding is .,
so you can type .png to select all
`.png' files, for example.
| |
| Select just those files that match the given pattern — see the Select If section. |
Each entry in this submenu opens a savebox for creating a new file or directory. There are three standard entries; the others are the contents of your `~/.config/rox.sourceforge.net/Templates' directory, if it exists.
| Entry | Action |
|---|---|
| Directory | Create a new directory. |
| File | Create a blank file. |
| Customise Menu | Open the `Templates' directory so that you can add extra items to the menu. |
| <user entries> | Copy a file from your Templates directory. |
To add your own entries, choose and put any files you want in there. Each file in the directory will appear on the menu and the box that appears will copy it. For example, you could create a blank HTML file:
<html> <head> <title>My Page</title> </head> <body> The contents. </body> </html>
Save this as `index.html' inside the `Templates' directory and you can easily create new HTML files. You can also save blank documents from various applications into here (eg, a blank spreadsheet, a blank letter, etc).
Note that you cannot set keyboard shortcuts for these user-defined entries at present.
| Entry | Action |
|---|---|
| Open a new window displaying this window's parent. | |
| As above, but reuse this window. | |
| Open another window onto this directory. | |
| Change to your home directory. | |
| Open the bookmarks menu (see Bookmarks menu). | |
| Converts the path shown in the window's titlebar to its canonical form. For example, if `/home/fred/link' is a symlink pointing to `/usr/share/doc/' then clicking on the symlink will take you to that directory and going `up' will take you back to `/home/fred'. If you'd used , you would have ended up in `/usr/share' instead. | |
| Set the window to a sensible size for its contents. | |
| Close this window. | |
| Open the path-entry box (see the the Minibuffer section). | |
| Open the shell command box (see the Minibuffer section). | |
| Open an xterm with its current directory set to this directory. | |
| Open an xterm with its current directory set to this directory, and close the filer window at the same time. |
| Entry | Action |
|---|---|
| Display information about the file. This is the same as locating ROX-Filer itself in a filer window and selecting from the file menu. | |
| Same as selecting ROX-Filer and choosing from the file menu. | |
| Opens the HTML manual for your language, or the English version if there is no translation. |
The `Send To' menu provides a quick way to send some files to an application. The filer scans all the `$XDG_CONFIG_DIRS/rox.sourceforge.net/SendTo' directories (see [BaseDir]) and lists the contents on this menu.
To change which applications appear here you should choose the item from the bottom of the menu to create and open your own `SendTo' directory. Applications can be symlinked into this directory by dragging them in and choosing from the menu.
Opening the Send To menu via the main menu is rather slow, so it is normally opened by clicking the Menu mouse button over a file while holding the Shift key down.
You may want to set things up so that, for example, the Gimp is only shown when an image is selected. To do this, create a hidden directory inside `SendTo' called `.image', or whatever type you want to use. You can use either the complete type (eg `.image_png') or just the media type. Use over a file to find out its MIME type.
Entries in these hidden directories are shown only for files of the appropriate type. If multiple files are selected, the `.group' directory is used instead.
The bookmarks menu can be used to store a list of frequently used directories. You can also open the menu from the main popup menu (in the submenu) and you can use this to bind a shortcut key to it. From the bookmarks menu you can add the currently shown directory to the list, jump to one of the stored directories, or open a dialog letting you edit the list. In the dialog box, you can remove entries, rearrange them (using the arrows or by dragging) and edit the pathnames directly, if required.
The submenu shows the last few directories viewed. Choosing one will switch to that directory. The current directory is shown shaded, since you are already there.
Table of Contents
The Pinboard support and Panel support sections explain how to turn the pinboard and panels on. Once on, you may drop items from filer windows onto the them to pin them up. Clicking on a pinned item acts just like clicking on it in a filer window. You can drag pinned icons just like normal icons and you can right-click on one to see the popup menu.
Drag panel icons with the middle mouse button to move them around. In previous versions of the filer, pinboard icons were also moved using the middle mouse button, but this is no longer supported (as the middle button is reserved for the window manager's use).
You can assign keyboard shortcuts to pinboard and panel icons. These can be used to open directories, files or applications quickly, even if another window has the focus.
Changes to the pinboard and panel are automatically saved. Clicking on pinned icons with Control held down selects and unselects them. Click on the background to unselect them all.
Pinning a file does not copy it, it merely creates a shortcut to the original file. If you delete the file, then you've lost it! Removing a pinned file from its pinboard or panel only removes the link. This is different to most other filers...
| Entry | Action |
|---|---|
| Show the filer's help, edit the options or open your home directory. | |
| Offers a smaller version of the filer's submenu of the same name. | |
| Change the name displayed under the icon, or the pathname the item points to. You can also set a keyboard shortcut for the icon here, and lock it against accidental deletion. For programs, you can specify extra arguments to be passed in. | |
| Open a directory viewer showing where the file is stored. | |
| Remove the selected items from the pinboard or panel. | |
| Set the desktop backdrop image (see below). Only available from the pinboard menu. | |
| Set the edge of the screen on which the panel is displayed. Only available from the panel menu. |
If you are setting up the defaults for multiple users and you wish to create a `Home' icon that leads to each user's home directory then you should first create a new icon and then use to change the location to `~' and the name to `Home'.
Note that individual applications may add extra menu items to the top of this menu when you click over them — see Application directories for details.
ROX-Filer allows you to run small programs inside the panel — such programs are called applets. To run an applet, drag it onto the panel from a filer window and instead of the applet's icon being shown, the applet will run.
Procedure 7.1. To create your own applets (programmers only!):
Create a directory for the applet (eg `MyApplet').
Use the feature to create an icon called `.DirIcon' inside it (so the directory appears with an icon).
Make a `Help' directory inside it for when the user chooses from the menu.
Create an executable file called `AppletRun'. This will be passed the XID of the panel socket window when the directory is dragged onto the panel. You can use this to create a GtkPlug widget. A tutorial is available at http://rox.sourceforge.net/phpwiki/index.php/Tutorials/Applets
When the pinboard is in use, ROX-Filer can be used to display an icon for each iconified (or 'minimised') window. You can turn this on or off from the Options box. Iconified window icons have a semi-transparent background slab effect, and can be dragged around. Clicking on one will expand it back into the window it represents. Some older window managers do not support this, and no icons will be shown.
You can set any image for the backdrop by choosing from the pinboard menu (right-click over the desktop background when the pinboard is turned on).
To set an image, select Centre, Scale, Stretch or Tile to set the style, and then drag an image onto the marked area. To return to a solid colour backdrop (as set in the Options box), click on .
The Wallpaper[Wallpaper] application can be used for more complicated effects, such as choosing a new random image each hour, or rendering an image of the Earth as it is currently lit by the sun.
For programmers... If you want to create an application to set the backdrop (eg, to choose a random image, or a slideshow) you need to first create an application directory (see Application directories).
When run without arguments, the application should invoke the
SetBackdropApp SOAP method (see Appendix C, SOAP RPC). The filer will immediately run the application again,
this time with the --backdrop option.
When run with --backdrop, the program should write the style and name of
the image file to display to its standard output stream, eg:
tile /tmp/image.png
centre and scale are the other possible
styles. The filer will then load this image and display it. The application does not
set the backdrop itself, it only tells the filer what to display.
In the case of a random backdrop chooser, the program may then quit immediately. If the application created a temporary image then it should read the line "ok\n" from its standard input before deleting the image.
If the application wishes to show a sequence of images it should still read "ok\n", then wait until it's time to display the next image and then write that filename, and so on.
The filer will indicate that the program should stop running by closing the two streams. The program should clean up and exit at this point. Be sure to catch SIGPIPE when writing to standard output if you need to delete any temporary files.
See the Wallpaper[Wallpaper] application for a complete example application (written in python).
Using removable devices, such as floppy disks and CDROMs under ROX-Filer is quite simple. However, it is important to understand about mounting and unmounting devices.
Mounting a device causes its contents to appear in the filesystem. On a typical setup, the directory `/floppy' is an empty directory on the hard disk. The floppy device is then mounted onto this directory, causing its contents to appear inside. For example, a file called `Letter' on the floppy disk will appear as `/floppy/Letter'.
Devices must be unmounted before the disk is removed. Unmounting causes the system to write any buffered data to the disk. If you remove a disk without unmounting it, it will probably be corrupted. CD and Zip drives often lock the tray while the device is mounted so you can't remove it accidentally.
So that you don't have to specify which device should be mounted at which point in the filesystem every time you want to use a disk, a preset list is usually found in the file `/etc/fstab'. ROX-Filer shows mount points (such as `/floppy') which are listed here but not mounted with transparent grey circles overlayed on their icons.
Clicking on one of these mount points will mount the device for you. The circle turns green to indicate that the device is now mounted. Do not remove the device while the circle is lit! You can unmount the device by clicking while holding down Shift on the `/floppy' directory icon.
You can also unmount a device by closing its directory window (eg, closing the view of `/floppy') and choosing Unmount when prompted. The filer will only offer to unmount devices this way if they were mounted by the filer in the first place.
If you want to open a directory without mounting anything (eg, if you want to see the contents of `/floppy' on the hard disk), you can click on the unmounted mount point with Shift held down. This isn't usually useful, as these directories are typically empty.
Table of Contents
When thumbnailing is turned on, the filer tries to load every image file and use that image as the file's icon. Useful if you have a directory full of photos and can't remember which is which! You can turn it on for a single directory by choosing from the menu. You can set it as the default from the Options box. The titlebar shows (Thumbs) when thumbnailing is on.
The thumbnails are saved in `~/.thumbnails' for quick loading next time. While loading thumbnails, a progress bar appears at the bottom of the window. Clicking on the button beside the bar stops the scan. It is also possible to thumbnail other types of file, such as videos (eg, by showing the first frame), with a suitable helper program.
When in thumbnail mode ROX-Filer checks the thumbnail directory (`~/.thumbs/normal') for a thumbnail for each file it scans. If a thumbnail exists it loads it and continues on to the next file.
To generate a thumbnail for a given file of type media/subtype the filer looks for a program `~/.config/rox.sourceforge.net/MIME-thumb/media_subtype', falling back to `~/.config/rox.sourceforge.net/MIME-thumb/media' if one cannot be found (this duplicates how run actions for files are looked up). If neither file can be found and the file is of type image/* then the internal routines are used. If the file is not of type image/* then no thumbnail is generated.
If the generator program is found, is executed with the parameters
thumbnailer /path/to/source/file /path/to/thumbnail pixel_size
Once the child program exits, it attempts to load `/path/to/thumbnail'. If that fails no thumbnail is displayed.
Note that because of the order it does things ROX-Filer will happily use any pre-existing thumbnail even if it has no idea how it was generated.
Some types of file can be represented as a directory. A typical example is a zip file, which contains an entire directory structure in compressed form. It is often useful to be able to open up such a file as if it was a real directory, and the VFS system allows you to do this.
To use this feature you must have a system such as AVFS[AVFS] installed, which causes the kernel to support various Virtual File Systems directly.
There are various ways to use AVFS. This example shows how to use it on a Linux 2.6 system with FUSE. You will need a kernel with FUSE support and the 'libfuse-dev' header files package installed.
Procedure 10.1. Installing AVFS on Linux 2.6
Get AVFS from CVS (the current July 2005 release is too old).
Compile AVFS (sh autogen.sh; ./configure; make).
Go into the `avfs/fuse' subdirectory and
run ./compile.sh.
Create a mount point: mkdir ~/.avfs-mount.
Run AVFS: ./avfsd ~/.avfs-mount.
To configure ROX-Filer to open directories using AVFS, set the run action () for zip files (and other archive types) to:
rox ~/.avfs-mount/"$1#"
Note that all of the above steps should be done as a user, not as root. You may need to be in some special group to use FUSE (check the group of `/usr/bin/fusermount').
If you don't want to make AVFS the default action for these files, you could instead create a script containing the above and add it to the menu, using .
Table of Contents
The mini-buffer is a white bar that appears along the bottom of the window and allows you to enter some text. Press Escape to get rid of it again. It behaves in different ways depending on how you invoked it:
This allows you to type in a path directly. As you type the display is updated to show the item entered visually. The main use is to find a file in a large directory quickly, but you can also use it for navigating between directories, or for selecting a full pathname from somewhere else and pasting it directly into the path-entry box.
| Key | Action |
|---|---|
| Return | Open the currently selected item. |
| Tab | Shell-style tab completion. |
| Up, Down | Select the previous/next matching entry. |
If you start entering a name beginning with a `.' then the `Show Hidden' feature is temporarily turned on so that the file can be shown.
Tab completion tries to fill in as many characters for you as it can.
For example, if there are two files in a directory called
`save-mail-nov-1999' and
`save-mail-dec-1999' then typing
save and pressing Tab will expand
save to save-mail- and beep
to indicate that the match is not complete. If you use tab completion on a
directory and it is unique then the filer will automatically change into
the directory. This behavior should be familiar to shell users.
Let's say you want to locate the documentation for Wine in the directory `/usr/share/doc' (which is usually very large). Here's how you could do it:
Open the minibuffer by choosing from the menu, or by pressing the slash (/) key.
Press CTRL+A to select the existing contents.
Type
u<Tab>sh<Tab>do<Tab>wi<Tab>.
As you type, the cursor will move to the correct subdirectory.
If it beeps when you press Tab then you need to supply
more letters, or press Return.
This provides a quick way of entering shell commands if you don't want to open an xterm. If you don't know what shell commands are, skip this section!
Just type in the command and press Return to execute it.
Up and Down arrows move through previously
entered commands.
Tab does shell-style completion.
Clicking on an item inserts its name into the minibuffer.
If some items are selected then they are assigned to the positional
parameters $1, $2, etc.
Opening the minibuffer with a selection adds "$@"
to the end of the command — this expands to all the selected files.
Examples:
To untar a `.tgz' archive:
Open the minibuffer by choosing from the menu. I usually bind this to the bang (!) key.
Type tar xzf and click on the file.
The leading space is automatically inserted.
Press Return to execute it.
To print all the selected files:
Open the shell command minibuffer.
Type lpr at the beginning of the line and press
Return.
Notes
Be careful; you will not be asked to confirm! If in doubt, start the
command with xmessage so that it will be displayed
rather than executed.
sh
is always used as the name of the shell to run (mainly because
bash and
csh treat
positional parameters differently).
However, PATH is searched to find it so you can still use
another shell if you want by naming it sh and putting it in your path.
Commands execute in the background, so you can say: sleep 240; xmessage Time to go!
Use this if you want to automatically slns=""">rox ~/.avfs-mount/"$1#"
Note that all of the above steps should be done as a user, not as root. You may need to be in some special group to use FUSE (check the group of `/usr/bin/fusermount').
If you don't want to make AVFS the default action for these files, you could instead create a script containing the above and add it to the menu, using .
Table of Contents
The mini-buffer is a white bar that appears along the bottom of the window and allows you to enter some text. Press Escape to get rid of it again. It behaves in different ways depending on how you invoked it:
This allows you to type in a path directly. As you type the display is updated to show the item entered visually. The main use is to find a file in a large directory quickly, but you can also use it for navigating between directories, or for selecting a full pathname from somewhere else and pasting it directly into the path-entry box.
| Key | Action |
|---|---|
| Return | Open the currently selected item. |
| Tab | Shell-style tab completion. |
| Up, Down | Select the previous/next matching entry. |
If you start entering a name beginning with a `.' then the `Show Hidden' feature is temporarily turned on so that the file can be shown.
Tab completion tries to fill in as many characters for you as it can.
For example, if there are two files in a directory called
`save-mail-nov-1999' and
`save-mail-dec-1999' then typing
save and pressing Tab will expand
save to save-mail- and beep
to indicate that the match is not complete. If you use tab completion on a
directory and it is unique then the filer will automatically change into
the directory. This behavior should be familiar to shell users.
Let's say you want to locate the documentation for Wine in the directory `/usr/share/doc' (which is usually very large). Here's how you could do it:
Open the minibuffer by choosing from the menu, or by pressing the slash (/) key.
Press CTRL+A to select the existing contents.
Type
u<Tab>sh<Tab>do<Tab>wi<Tab>.
As you type, the cursor will move to the correct subdirectory.
If it beeps when you press Tab then you need to supply
more letters, or press Return.
This provides a quick way of entering shell commands if you don't want to open an xterm. If you don't know what shell commands are, skip this section!
Just type in the command and press Return to execute it.
Up and Down arrows move through previously
entered commands.
Tab does shell-style completion.
Clicking on an item inserts its name into the minibuffer.
If some items are selected then they are assigned to the positional
parameters $1, $2, etc.
Opening the minibuffer with a selection adds "$@"
to the end of the command — this expands to all the selected files.
Examples:
To untar a `.tgz' archive:
Open the minibuffer by choosing from the menu. I usually bind this to the bang (!) key.
Type tar xzf and click on the file.
The leading space is automatically inserted.
Press Return to execute it.
To print all the selected files:
Open the shell command minibuffer.
Type lpr at the beginning of the line and press
Return.
Notes
Be careful; you will not be asked to confirm! If in doubt, start the
command with xmessage so that it will be displayed
rather than executed.
sh
is always used as the name of the shell to run (mainly because
bash and
csh treat
positional parameters differently).
However, PATH is searched to find it so you can still use
another shell if you want by naming it sh and putting it in your path.
Commands execute in the background, so you can say: sleep 240; xmessage Time to go!
Use this if you want to automatically slns=""">rox ~/.avfs-mount/"$1#"
Note that all of the above steps should be done as a user, not as root. You may need to be in some special group to use FUSE (check the group of `/usr/bin/fusermount').
If you don't want to make AVFS the default action for these files, you could instead create a script containing the above and add it to the menu, using .
Table of Contents
The mini-buffer is a white bar that appears along the bottom of the window and allows you to enter some text. Press Escape to get rid of it again. It behaves in different ways depending on how you invoked it:
This allows you to type in a path directly. As you type the display is updated to show the item entered visually. The main use is to find a file in a large directory quickly, but you can also use it for navigating between directories, or for selecting a full pathname from somewhere else and pasting it directly into the path-entry box.
| Key | Action |
|---|---|
| Return | Open the currently selected item. |
| Tab | Shell-style tab completion. |
| Up, Down | Select the previous/next matching entry. |
If you start entering a name beginning with a `.' then the `Show Hidden' feature is temporarily turned on so that the file can be shown.
Tab completion tries to fill in as many characters for you as it can.
For example, if there are two files in a directory called
`save-mail-nov-1999' and
`save-mail-dec-1999' then typing
save and pressing Tab will expand
save to save-mail- and beep
to indicate that the match is not complete. If you use tab completion on a
directory and it is unique then the filer will automatically change into
the directory. This behavior should be familiar to shell users.
Let's say you want to locate the documentation for Wine in the directory `/usr/share/doc' (which is usually very large). Here's how you could do it:
Open the minibuffer by choosing from the menu, or by pressing the slash (/) key.
Press CTRL+A to select the existing contents.
Type
u<Tab>sh<Tab>do<Tab>wi<Tab>.
As you type, the cursor will move to the correct subdirectory.
If it beeps when you press Tab then you need to supply
more letters, or press Return.
This provides a quick way of entering shell commands if you don't want to open an xterm. If you don't know what shell commands are, skip this section!
Just type in the command and press Return to execute it.
Up and Down arrows move through previously
entered commands.
Tab does shell-style completion.
Clicking on an item inserts its name into the minibuffer.
If some items are selected then they are assigned to the positional
parameters $1, $2, etc.
Opening the minibuffer with a selection adds "$@"
to the end of the command — this expands to all the selected files.
Examples:
To untar a `.tgz' archive:
Open the minibuffer by choosing from the menu. I usually bind this to the bang (!) key.
Type tar xzf and click on the file.
The leading space is automatically inserted.
Press Return to execute it.
To print all the selected files:
Open the shell command minibuffer.
Type lpr at the beginning of the line and press
Return.
Notes
Be careful; you will not be asked to confirm! If in doubt, start the
command with xmessage so that it will be displayed
rather than executed.
sh
is always used as the name of the shell to run (mainly because
bash and
csh treat
positional parameters differently).
However, PATH is searched to find it so you can still use
another shell if you want by naming it sh and putting it in your path.
Commands execute in the background, so you can say: sleep 240; xmessage Time to go!
Use this if you want to automatically slns=""">rox ~/.avfs-mount/"$1#"
Note that all of the above steps should be done as a user, not as root. You may need to be in some special group to use FUSE (check the group of `/usr/bin/fusermount').
If you don't want to make AVFS the default action for these files, you could instead create a script containing the above and add it to the menu, using .
Table of Contents
The mini-buffer is a white bar that appears along the bottom of the window and allows you to enter some text. Press Escape to get rid of it again. It behaves in different ways depending on how you invoked it:
This allows you to type in a path directly. As you type the display is updated to show the item entered visually. The main use is to find a file in a large directory quickly, but you can also use it for navigating between directories, or for selecting a full pathname from somewhere else and pasting it directly into the path-entry box.
| Key | Action |
|---|---|
| Return | Open the currently selected item. |
| Tab | Shell-style tab completion. |
| Up, Down | Select the previous/next matching entry. |
If you start entering a name beginning with a `.' then the `Show Hidden' feature is temporarily turned on so that the file can be shown.
Tab completion tries to fill in as many characters for you as it can.
For example, if there are two files in a directory called
`save-mail-nov-1999' and
`save-mail-dec-1999' then typing
save and pressing Tab will expand
save to save-mail- and beep
to indicate that the match is not complete. If you use tab completion on a
directory and it is unique then the filer will automatically change into
the directory. This behavior should be familiar to shell users.
Let's say you want to locate the documentation for Wine in the directory `/usr/share/doc' (which is usually very large). Here's how you could do it:
Open the minibuffer by choosing from the menu, or by pressing the slash (/) key.
Press CTRL+A to select the existing contents.
Type
u<Tab>sh<Tab>do<Tab>wi<Tab>.
As you type, the cursor will move to the correct subdirectory.
If it beeps when you press Tab then you need to supply
more letters, or press Return.
This provides a quick way of entering shell commands if you don't want to open an xterm. If you don't know what shell commands are, skip this section!
Just type in the command and press Return to execute it.
Up and Down arrows move through previously
entered commands.
Tab does shell-style completion.
Clicking on an item inserts its name into the minibuffer.
If some items are selected then they are assigned to the positional
parameters $1, $2, etc.
Opening the minibuffer with a selection adds "$@"
to the end of the command — this expands to all the selected files.
Examples:
To untar a `.tgz' archive:
Open the minibuffer by choosing from the menu. I usually bind this to the bang (!) key.
Type tar xzf and click on the file.
The leading space is automatically inserted.
Press Return to execute it.
To print all the selected files:
Open the shell command minibuffer.
Type lpr at the beginning of the line and press
Return.
Notes
Be careful; you will not be asked to confirm! If in doubt, start the
command with xmessage so that it will be displayed
rather than executed.
sh
is always used as the name of the shell to run (mainly because
bash and
csh treat
positional parameters differently).
However, PATH is searched to find it so you can still use
another shell if you want by naming it sh and putting it in your path.
Commands execute in the background, so you can say: sleep 240; xmessage Time to go!
Use this if you want to automatically slns=""">rox ~/.avfs-mount/"$1#"
Note that all of the above steps should be done as a user, not as root. You may need to be in some special group to use FUSE (check the group of `/usr/bin/fusermount').
If you don't want to make AVFS the default action for these files, you could instead create a script containing the above and add it to the menu, using .
Table of Contents
The mini-buffer is a white bar that appears along the bottom of the window and allows you to enter some text. Press Escape to get rid of it again. It behaves in different ways depending on how you invoked it:
This allows you to type in a path directly. As you type the display is updated to show the item entered visually. The main use is to find a file in a large directory quickly, but you can also use it for navigating between directories, or for selecting a full pathname from somewhere else and pasting it directly into the path-entry box.
| Key | Action |
|---|---|
| Return | Open the currently selected item. |
| Tab | Shell-style tab completion. |
| Up, Down | Select the previous/next matching entry. |
If you start entering a name beginning with a `.' then the `Show Hidden' feature is temporarily turned on so that the file can be shown.
Tab completion tries to fill in as many characters for you as it can.
For example, if there are two files in a directory called
`save-mail-nov-1999' and
`save-mail-dec-1999' then typing
save and pressing Tab will expand
save to save-mail- and beep
to indicate that the match is not complete. If you use tab completion on a
directory and it is unique then the filer will automatically change into
the directory. This behavior should be familiar to shell users.
Let's say you want to locate the documentation for Wine in the directory `/usr/share/doc' (which is usually very large). Here's how you could do it:
Open the minibuffer by choosing from the menu, or by pressing the slash (/) key.
Press CTRL+A to select the existing contents.
Type
u<Tab>sh<Tab>do<Tab>wi<Tab>.
As you type, the cursor will move to the correct subdirectory.
If it beeps when you press Tab then you need to supply
more letters, or press Return.
This provides a quick way of entering shell commands if you don't want to open an xterm. If you don't know what shell commands are, skip this section!
Just type in the command and press Return to execute it.
Up and Down arrows move through previously
entered commands.
Tab does shell-style completion.
Clicking on an item inserts its name into the minibuffer.
If some items are selected then they are assigned to the positional
parameters $1, $2, etc.
Opening the minibuffer with a selection adds "$@"
to the end of the command — this expands to all the selected files.
Examples:
To untar a `.tgz' archive:
Open the minibuffer by choosing from the menu. I usually bind this to the bang (!) key.
Type tar xzf and click on the file.
The leading space is automatically inserted.
Press Return to execute it.
To print all the selected files:
Open the shell command minibuffer.
Type lpr at the beginning of the line and press
Return.
Notes
Be careful; you will not be asked to confirm! If in doubt, start the
command with xmessage so that it will be displayed
rather than executed.
sh
is always used as the name of the shell to run (mainly because
bash and
csh treat
positional parameters differently).
However, PATH is searched to find it so you can still use
another shell if you want by naming it sh and putting it in your path.
Commands execute in the background, so you can say: sleep 240; xmessage Time to go!
Use this if you want to automatically slns=""">rox ~/.avfs-mount/"$1#"
Note that all of the above steps should be done as a user, not as root. You may need to be in some special group to use FUSE (check the group of `/usr/bin/fusermount').
If you don't want to make AVFS the default action for these files, you could instead create a script containing the above and add it to the menu, using .
Table of Contents
The mini-buffer is a white bar that appears along the bottom of the window and allows you to enter some text. Press Escape to get rid of it again. It behaves in different ways depending on how you invoked it:
This allows you to type in a path directly. As you type the display is updated to show the item entered visually. The main use is to find a file in a large directory quickly, but you can also use it for navigating between directories, or for selecting a full pathname from somewhere else and pasting it directly into the path-entry box.
| Key | Action |
|---|---|
| Return | Open the currently selected item. |
| Tab | Shell-style tab completion. |
| Up, Down | Select the previous/next matching entry. |
If you start entering a name beginning with a `.' then the `Show Hidden' feature is temporarily turned on so that the file can be shown.
Tab completion tries to fill in as many characters for you as it can.
For example, if there are two files in a directory called
`save-mail-nov-1999' and
`save-mail-dec-1999' then typing
save and pressing Tab will expand
save to save-mail- and beep
to indicate that the match is not complete. If you use tab completion on a
directory and it is unique then the filer will automatically change into
the directory. This behavior should be familiar to shell users.
Let's say you want to locate the documentation for Wine in the directory `/usr/share/doc' (which is usually very large). Here's how you could do it:
Open the minibuffer by choosing from the menu, or by pressing the slash (/) key.
Press CTRL+A to select the existing contents.
Type
u<Tab>sh<Tab>do<Tab>wi<Tab>.
As you type, the cursor will move to the correct subdirectory.
If it beeps when you press Tab then you need to supply
more letters, or press Return.
This provides a quick way of entering shell commands if you don't want to open an xterm. If you don't know what shell commands are, skip this section!
Just type in the command and press Return to execute it.
Up and Down arrows move through previously
entered commands.
Tab does shell-style completion.
Clicking on an item inserts its name into the minibuffer.
If some items are selected then they are assigned to the positional
parameters $1, $2, etc.
Opening the minibuffer with a selection adds "$@"
to the end of the command — this expands to all the selected files.
Examples:
To untar a `.tgz' archive:
Open the minibuffer by choosing from the menu. I usually bind this to the bang (!) key.
Type tar xzf and click on the file.
The leading space is automatically inserted.
Press Return to execute it.
To print all the selected files:
Open the shell command minibuffer.
Type lpr at the beginning of the line and press
Return.
Notes
Be careful; you will not be asked to confirm! If in doubt, start the
command with xmessage so that it will be displayed
rather than executed.
sh
is always used as the name of the shell to run (mainly because
bash and
csh treat
positional parameters differently).
However, PATH is searched to find it so you can still use
another shell if you want by naming it sh and putting it in your path.
Commands execute in the background, so you can say: sleep 240; xmessage Time to go!
Use this if you want to automatically slns=""">rox ~/.avfs-mount/"$1#"
Note that all of the above steps should be done as a user, not as root. You may need to be in some special group to use FUSE (check the group of `/usr/bin/fusermount').
If you don't want to make AVFS the default action for these files, you could instead create a script containing the above and add it to the menu, using .
Table of Contents
The mini-buffer is a white bar that appears along the bottom of the window and allows you to enter some text. Press Escape to get rid of it again. It behaves in different ways depending on how you invoked it:
This allows you to type in a path directly. As you type the display is updated to show the item entered visually. The main use is to find a file in a large directory quickly, but you can also use it for navigating between directories, or for selecting a full pathname from somewhere else and pasting it directly into the path-entry box.
| Key | Action |
|---|---|
| Return | Open the currently selected item. |
| Tab | Shell-style tab completion. |
| Up, Down | Select the previous/next matching entry. |
If you start entering a name beginning with a `.' then the `Show Hidden' feature is temporarily turned on so that the file can be shown.
Tab completion tries to fill in as many characters for you as it can.
For example, if there are two files in a directory called
`save-mail-nov-1999' and
`save-mail-dec-1999' then typing
save and pressing Tab will expand
save to save-mail- and beep
to indicate that the match is not complete. If you use tab completion on a
directory and it is unique then the filer will automatically change into
the directory. This behavior should be familiar to shell users.
Let's say you want to locate the documentation for Wine in the directory `/usr/share/doc' (which is usually very large). Here's how you could do it:
Open the minibuffer by choosing from the menu, or by pressing the slash (/) key.
Press CTRL+A to select the existing contents.
Type
u<Tab>sh<Tab>do<Tab>wi<Tab>.
As you type, the cursor will move to the correct subdirectory.
If it beeps when you press Tab then you need to supply
more letters, or press Return.
This provides a quick way of entering shell commands if you don't want to open an xterm. If you don't know what shell commands are, skip this section!
Just type in the command and press Return to execute it.
Up and Down arrows move through previously
entered commands.
Tab does shell-style completion.
Clicking on an item inserts its name into the minibuffer.
If some items are selected then they are assigned to the positional
parameters $1, $2, etc.
Opening the minibuffer with a selection adds "$@"
to the end of the command — this expands to all the selected files.
Examples:
To untar a `.tgz' archive:
Open the minibuffer by choosing from the menu. I usually bind this to the bang (!) key.
Type tar xzf and click on the file.
The leading space is automatically inserted.
Press Return to execute it.
To print all the selected files:
Open the shell command minibuffer.
Type lpr at the beginning of the line and press
Return.
Notes
Be careful; you will not be asked to confirm! If in doubt, start the
command with xmessage so that it will be displayed
rather than executed.
sh
is always used as the name of the shell to run (mainly because
bash and
csh treat
positional parameters differently).
However, PATH is searched to find it so you can still use
another shell if you want by naming it sh and putting it in your path.
Commands execute in the background, so you can say: sleep 240; xmessage Time to go!
Use this if you want to automatically slns=""">rox ~/.avfs-mount/"$1#"
Note that all of the above steps should be done as a user, not as root. You may need to be in some special group to use FUSE (check the group of `/usr/bin/fusermount').
If you don't want to make AVFS the default action for these files, you could instead create a script containing the above and add it to the menu, using .
Table of Contents
The mini-buffer is a white bar that appears along the bottom of the window and allows you to enter some text. Press Escape to get rid of it again. It behaves in different ways depending on how you invoked it:
This allows you to type in a path directly. As you type the display is updated to show the item entered visually. The main use is to find a file in a large directory quickly, but you can also use it for navigating between directories, or for selecting a full pathname from somewhere else and pasting it directly into the path-entry box.
| Key | Action |
|---|---|
| Return | Open the currently selected item. |
| Tab | Shell-style tab completion. |
| Up, Down | Select the previous/next matching entry. |
If you start entering a name beginning with a `.' then the `Show Hidden' feature is temporarily turned on so that the file can be shown.
Tab completion tries to fill in as many characters for you as it can.
For example, if there are two files in a directory called
`save-mail-nov-1999' and
`save-mail-dec-1999' then typing
save and pressing Tab will expand
save to save-mail- and beep
to indicate that the match is not complete. If you use tab completion on a
directory and it is unique then the filer will automatically change into
the directory. This behavior should be familiar to shell users.
Let's say you want to locate the documentation for Wine in the directory `/usr/share/doc' (which is usually very large). Here's how you could do it:
Open the minibuffer by choosing from the menu, or by pressing the slash (/) key.
Press CTRL+A to select the existing contents.
Type
u<Tab>sh<Tab>do<Tab>wi<Tab>.
As you type, the cursor will move to the correct subdirectory.
If it beeps when you press Tab then you need to supply
more letters, or press Return.
This provides a quick way of entering shell commands if you don't want to open an xterm. If you don't know what shell commands are, skip this section!
Just type in the command and press Return to execute it.
Up and Down arrows move through previously
entered commands.
Tab does shell-style completion.
Clicking on an item inserts its name into the minibuffer.
If some items are selected then they are assigned to the positional
parameters $1, $2, etc.
Opening the minibuffer with a selection adds "$@"
to the end of the command — this expands to all the selected files.
Examples:
To untar a `.tgz' archive:
Open the minibuffer by choosing from the menu. I usually bind this to the bang (!) key.
Type tar xzf and click on the file.
The leading space is automatically inserted.
Press Return to execute it.
To print all the selected files:
Open the shell command minibuffer.
Type lpr at the beginning of the line and press
Return.
Notes
Be careful; you will not be asked to confirm! If in doubt, start the
command with xmessage so that it will be displayed
rather than executed.
sh
is always used as the name of the shell to run (mainly because
bash and
csh treat
positional parameters differently).
However, PATH is searched to find it so you can still use
another shell if you want by naming it sh and putting it in your path.
Commands execute in the background, so you can say: sleep 240; xmessage Time to go!
Use this if you want to automatically slns=""">rox ~/.avfs-mount/"$1#"
Note that all of the above steps should be done as a user, not as root. You may need to be in some special group to use FUSE (check the group of `/usr/bin/fusermount').
If you don't want to make AVFS the default action for these files, you could instead create a script containing the above and add it to the menu, using .
Table of Contents
The mini-buffer is a white bar that appears along the bottom of the window and allows you to enter some text. Press Escape to get rid of it again. It behaves in different ways depending on how you invoked it:
This allows you to type in a path directly. As you type the display is updated to show the item entered visually. The main use is to find a file in a large directory quickly, but you can also use it for navigating between directories, or for selecting a full pathname from somewhere else and pasting it directly into the path-entry box.
| Key | Action |
|---|---|
| Return | Open the currently selected item. |
| Tab | Shell-style tab completion. |
| Up, Down | Select the previous/next matching entry. |
If you start entering a name beginning with a `.' then the `Show Hidden' feature is temporarily turned on so that the file can be shown.
Tab completion tries to fill in as many characters for you as it can.
For example, if there are two files in a directory called
`save-mail-nov-1999' and
`save-mail-dec-1999' then typing
save and pressing Tab will expand
save to save-mail- and beep
to indicate that the match is not complete. If you use tab completion on a
directory and it is unique then the filer will automatically change into
the directory. This behavior should be familiar to shell users.
Let's say you want to locate the documentation for Wine in the directory `/usr/share/doc' (which is usually very large). Here's how you could do it:
Open the minibuffer by choosing from the menu, or by pressing the slash (/) key.
Press CTRL+A to select the existing contents.
Type
u<Tab>sh<Tab>do<Tab>wi<Tab>.
As you type, the cursor will move to the correct subdirectory.
If it beeps when you press Tab then you need to supply
more letters, or press Return.
This provides a quick way of entering shell commands if you don't want to open an xterm. If you don't know what shell commands are, skip this section!
Just type in the command and press Return to execute it.
Up and Down arrows move through previously
entered commands.
Tab does shell-style completion.
Clicking on an item inserts its name into the minibuffer.
If some items are selected then they are assigned to the positional
parameters $1, $2, etc.
Opening the minibuffer with a selection adds "$@"
to the end of the command — this expands to all the selected files.
Examples:
To untar a `.tgz' archive:
Open the minibuffer by choosing from the menu. I usually bind this to the bang (!) key.
Type tar xzf and click on the file.
The leading space is automatically inserted.
Press Return to execute it.
To print all the selected files:
Open the shell command minibuffer.
Type lpr at the beginning of the line and press
Return.
Notes
Be careful; you will not be asked to confirm! If in doubt, start the
command with xmessage so that it will be displayed
rather than executed.
sh
is always used as the name of the shell to run (mainly because
bash and
csh treat
positional parameters differently).
However, PATH is searched to find it so you can still use
another shell if you want by naming it sh and putting it in your path.
Commands execute in the background, so you can say: sleep 240; xmessage Time to go!
Use this if you want to automatically slns=""">rox ~/.avfs-mount/"$1#"
Note that all of the above steps should be done as a user, not as root. You may need to be in some special group to use FUSE (check the group of `/usr/bin/fusermount').
If you don't want to make AVFS the default action for these files, you could instead create a script containing the above and add it to the menu, using .
Table of Contents
The mini-buffer is a white bar that appears along the bottom of the window and allows you to enter some text. Press Escape to get rid of it again. It behaves in different ways depending on how you invoked it:
This allows you to type in a path directly. As you type the display is updated to show the item entered visually. The main use is to find a file in a large directory quickly, but you can also use it for navigating between directories, or for selecting a full pathname from somewhere else and pasting it directly into the path-entry box.
| Key | Action |
|---|---|
| Return | Open the currently selected item. |
| Tab | Shell-style tab completion. |
| Up, Down | Select the previous/next matching entry. |
If you start entering a name beginning with a `.' then the `Show Hidden' feature is temporarily turned on so that the file can be shown.
Tab completion tries to fill in as many characters for you as it can.
For example, if there are two files in a directory called
`save-mail-nov-1999' and
`save-mail-dec-1999' then typing
save and pressing Tab will expand
save to save-mail- and beep
to indicate that the match is not complete. If you use tab completion on a
directory and it is unique then the filer will automatically change into
the directory. This behavior should be familiar to shell users.
Let's say you want to locate the documentation for Wine in the directory `/usr/share/doc' (which is usually very large). Here's how you could do it:
Open the minibuffer by choosing from the menu, or by pressing the slash (/) key.
Press CTRL+A to select the existing contents.
Type
u<Tab>sh<Tab>do<Tab>wi<Tab>.
As you type, the cursor will move to the correct subdirectory.
If it beeps when you press Tab then you need to supply
more letters, or press Return.
This provides a quick way of entering shell commands if you don't want to open an xterm. If you don't know what shell commands are, skip this section!
Just type in the command and press Return to execute it.
Up and Down arrows move through previously
entered commands.
Tab does shell-style completion.
Clicking on an item inserts its name into the minibuffer.
If some items are selected then they are assigned to the positional
parameters $1, $2, etc.
Opening the minibuffer with a selection adds "$@"
to the end of the command — this expands to all the selected files.
Examples:
To untar a `.tgz' archive:
Open the minibuffer by choosing from the menu. I usually bind this to the bang (!) key.
Type tar xzf and click on the file.
The leading space is automatically inserted.
Press Return to execute it.
To print all the selected files:
Open the shell command minibuffer.
Type lpr at the beginning of the line and press
Return.
Notes
Be careful; you will not be asked to confirm! If in doubt, start the
command with xmessage so that it will be displayed
rather than executed.
sh
is always used as the name of the shell to run (mainly because
bash and
csh treat
positional parameters differently).
However, PATH is searched to find it so you can still use
another shell if you want by naming it sh and putting it in your path.
Commands execute in the background, so you can say: sleep 240; xmessage Time to go!
Use this if you want to automatically slns=""">rox ~/.avfs-mount/"$1#"
Note that all of the above steps should be done as a user, not as root. You may need to be in some special group to use FUSE (check the group of `/usr/bin/fusermount').
If you don't want to make AVFS the default action for these files, you could instead create a script containing the above and add it to the menu, using .
Table of Contents
The mini-buffer is a white bar that appears along the bottom of the window and allows you to enter some text. Press Escape to get rid of it again. It behaves in different ways depending on how you invoked it:
This allows you to type in a path directly. As you type the display is updated to show the item entered visually. The main use is to find a file in a large directory quickly, but you can also use it for navigating between directories, or for selecting a full pathname from somewhere else and pasting it directly into the path-entry box.
| Key | Action |
|---|---|
| Return | Open the currently selected item. |
| Tab | Shell-style tab completion. |
| Up, Down | Select the previous/next matching entry. |
If you start entering a name beginning with a `.' then the `Show Hidden' feature is temporarily turned on so that the file can be shown.
Tab completion tries to fill in as many characters for you as it can.
For example, if there are two files in a directory called
`save-mail-nov-1999' and
`save-mail-dec-1999' then typing
save and pressing Tab will expand
save to save-mail- and beep
to indicate that the match is not complete. If you use tab completion on a
directory and it is unique then the filer will automatically change into
the directory. This behavior should be familiar to shell users.
Let's say you want to locate the documentation for Wine in the directory `/usr/share/doc' (which is usually very large). Here's how you could do it:
Open the minibuffer by choosing from the menu, or by pressing the slash (/) key.
Press CTRL+A to select the existing contents.
Type
u<Tab>sh<Tab>do<Tab>wi<Tab>.
As you type, the cursor will move to the correct subdirectory.
If it beeps when you press Tab then you need to supply
more letters, or press Return.
This provides a quick way of entering shell commands if you don't want to open an xterm. If you don't know what shell commands are, skip this section!
Just type in the command and press Return to execute it.
Up and Down arrows move through previously
entered commands.
Tab does shell-style completion.
Clicking on an item inserts its name into the minibuffer.
If some items are selected then they are assigned to the positional
parameters $1, $2, etc.