gentooSection: (1x)Updated: September, 2002 |
gentooSection: (1x)Updated: September, 2002 |
gentoo always shows you the contents of two directories at once. Each of these is displayed in its own scrollable list, called a pane. At any time, exactly one pane is the current pane, and has a highlighted bar running across its top region. The current pane acts as the source for all file operations, while the other pane is the destination. You can select rows in panes using selection methods of varying complexity (from simply clicking a row, to selecting rows by name using a regular expression). Once you have a selection, you can click a button to perform some command on the selected files.
All file operations performed by gentoo are implemented natively. When you use gentoo to copy a file, for example, gentoo does not simply execute the system's cp(1L) command. Rather, gentoo contains its own code for opening source and destination files, and then reading and writing the right amount of data between them. This way of doing things makes gentoo independant of the availability of shell commands to do things.
gentoo incorporates a fairly powerful, object-oriented file typing and styling system. It can use a variety of ways to determine the type of the files it is displaying. Each type is then linked to something called a style, which controls how rows of that type are rendered in panes. You can use this system to control icons, colors, and various operations on the rows. For example, it is easy to make gentoo display all PNG images in red, and to invoke The GIMP(1) on them when double-clicked.
A design goal with gentoo has been to provide full GUI configurability, removing the need to edit a config file by hand and restart the program to see the changes, as is otherwise common in many programs for Un*x. As a result of this, gentoo features a Configuration dialog window where you can configure most aspects of its operation directly, using the mouse and standard GUI widgets.
gentoo borrows its basic look'n'feel from the classic Amiga file manager Directory OPUS, but is not a "clone" of any kind.
Any non-option command arguments will be silently ignored. If an argument "-h" or "--help" is given, gentoo will give a summary of its supported command line options and exit successfully. If an unknown option is given, or a option is missing a required argument, gentoo will whine and exit with a failure.
You can always see which directory a pane is showing by reading its path, shown in the entry box below (by default--you can change the position to above) the pane.
To enter a directory, locate it in the pane and double click it with the left mouse button. gentoo will read the directory's contents, and update the display accordingly.
There are several ways of going up in the directory structure. To enter the directory containing the one currently shown (the current dir's parent), you can: click the parent button (to the left of the path entry box); hit Backspace on your keyboard; click the middle mouse button; select "Parent" from the pop-up menu on the right mouse button, or click the downward arrow to the right of the path box (this pops up the directory history menu), then select the second row from the top.
To select a file (or directory), just point the mouse at the name (anywhere in the row is fine), and click the left mouse button. The colors of the clicked row will change, indicating that it is currently selected. To select more rows, keep the mouse button down, and drag the mouse vertically. gentoo extends the selection, including all rows touched. If you drag across the top or bottom border, the pane will scroll, trying to keep up. This is a very quick and convenient way of selecting multiple files, as long as they are listed in succession.
If you click again on an already selected file, you will deselect it. You can drag to deselect several files, just as when selecting.
To select a sequence of files without dragging, first click normally on the first file that you wish to select. Then release the mouse button, locate the last file in the sequence (it can be either above or below the first one), hold down shift on your keyboard, and click the wanted file. gentoo now adds all files between the first and the last to the current selection.
If you follow the instructions given above to select a sequence, but press control rather than shift before clicking the second time, gentoo will deselect the range of files indicated.
If you click on a file with the meta key held down (that's actually a key labeled Alt, located to the immediate left of the space bar, on my PC keyboard), gentoo will do something cool: it will select (or deselect, it's a toggle just like ordinary selection) all files, including the clicked one, that have the same type as the one you clicked. This can be used to select for example all PNG image files in a directory even if you can only see one. Occasionally very useful.
If you click on a file with both the shift and control keys held down, gentoo will toggle the selected state of all files having the same file name extension as the one you clicked. This can sometimes be useful to select files that you don't have a proper type defined for, as long as those files do share an extension, that is.
If your display includes icons, try sorting on that column: gentoo will then order each row according to its File Style, grouping the rows based on their parent styles, all the way up to the root of the Style tree. This means that, for example, JPEG and PNG pictures (both having an immediate parent style of Image) will be shown together, and before all Text files (HTML, man pages and so on). It's quite cool, really. :)
Most basic file operations (e.g. copy, move, rename, and so on) are found on the (cleverly labeled) buttons along the bottom of gentoo's main window. To copy a file, just select it, then click the button labeled "Copy". It's really that simple. Most of these built-in (or native) commands automatically operate recursively on directories, so you could copy (or move) a whole directory of files by just selecting it and then clicking "Copy".
If you can't see a button that does what you want to do, there's a chance that the command exists, but isn't bound. Click the right mouse button in a pane, this opens up the "pane pop-up menu". Select the "Run..." item. This opens up a dialog window showing all available commands. Select a command, and click "OK" to execute it.
To store this hefty amount of config data, gentoo uses a heavily structured config file. In fact, the file is (or at least it should be) legal XML!
When new features are added to gentoo, they will typically require some form of configuration data. This data is then simply added somewhere in the existing config file structure. Effort is made to assign reasonable built-in default values for all such new features, so older configuration files (that don't contain the values required by the new features) should still work. The first time you hit "Save" in the configuration window after changing your version of gentoo, your personal config file will be updated to match the version of gentoo.
Describing how to go about configuring gentoo is too big a topic for a manual page to cover. I'll just say that the command to open up the configuration window is called "Configure". It is by default available on a button (typically the top-right one), in the pane pop-up menu, and also by pressing the C key on your keyboard.
If you're concerned about using potentially buggy and completely unwarranted software to manage your precious files, please feel free not to use gentoo. The world is full of alternatives.
The chances that a bug gets fixed increase greatly if you report it. When reporting a bug, you must describe how to reproduce it, and also try to be as detailed and precise as possible in your description of the actual bug. If possible, perhaps you should include the output of gdb(1) (or whatever your system's debugger is called). In some cases it might be helpful if you include the configuration file you were using when the problem occurred. Before reporting a bug, please make sure that you are running a reasonably recent version of the software, since otherwise "your" bug might already been fixed. See below for how to obtain new releases.
Also, you should locate and read through the BUGS file distributed with gentoo, so you don't go through all this hassle just to report an already known bug, thereby wasting everybody's time...
The only efficient way to contact me (to report bugs, give praise, suggest features/fixes/extensions/whatever) is by Internet e-mail. My address is <emil@obsession.se>. Please try and include the word "gentoo" in the Subject part of your e-mail, to help me organize my inbox. Thanks.
Thanks also to all people who have mailed me about gentoo, providing bug reports, feature requests, and the occasional kind word. :^) It's because of people like yourselves that we have this wonderful computer platform to play with.
The GTK+ GUI toolkit that gentoo requires is available at <http://www.gtk.org/>. gentoo uses the slightly outdated stable series, called 1.2.x. The latest known release in that series is GTK+ 1.2.10. Because of severe performance problems, gentoo will probably not be ported to use the current (2.0.x) series of GTK+ any time soon.
The latest version of gentoo is always available on the official gentoo home page, at <http://www.obsession.se/gentoo/>.
Manual page section numbers in this page refer to sections on (some?) Linux systems, your mileage will most likely vary. Try the apropos(1) command, it might help you out.