See also; Common Operations
Q: How do I set up MIME Types, object icons, and the Open With list?
A: See MIME Types - Setting up MIME Types for associating objects
Q: Drag & Drop does not work with some other applications?
A: There are two probable causes;
text/plain
, text/uri-list
,
or STRING
target types
If you believe that the problem is the second case, then the cause is most likely that the address portion of the url string is assumed to be an empty string (which it is not always the case but most applications assume that). To properly parse the url string received from Endeavour (or any other program that sends a url string as part of Drag & Drop), use the following code:
/* Returns a pointer to the start of the path found in the
* given url_string or NULL on error.
*/
char *get_path_from_url_string(char *url_string)
{
char *strptr;
if(url_string == NULL)
return(NULL);
/* Incorrect protocol? */
if(strncmp(url_string, "file://", 7))
return(NULL);
/* Seek to first '/' character after the protocol
* portion of url_string.
*/
return((char *)strchr(url_string + 7, '/'));
}
Q: Keyboard keys are difficult to use in navigating the lists?
A: Most of the keyboard keys used to control list item selecting and scrolling are based upon the default GTK+ behavor. Any key operations that are above the GTK+ level of behavor are listed at Keys List.
Q: Are French and other languages supported?
A: Yes, however some languages are incomplete (and thus not supported). As of version 2.1.16, the languages that are supported are as follows:
If you wish to use a language other than English (the default)
you will need to modify config.h
and recompile Endeavour.
Near the top of endeavour2/config.h
(found in the toplevel
directory of the Endeavour source package) there
are compile time options for various languages, you will need to
uncomment the #define
for the language you want and
comment out the #define
s for all the other languages.
Then run make clean;make all
to recompile Endeavour.
Afterwards you may want to rename the binary to
endeavour2-spanish
(if you decided to pick Spanish) and
manually install it in /usr/bin
. From then on type
endeavour2-spanish
to run the Spanish version of Endeavour.
Note that help documents and other text found outside of the program may not be fully supported in other languages, you will need to convert them manually.
Q: Why do progress dialogs stay visible after the operation has completed?
A: This is definately a bug, and it has been extensively researched and traced to the Window Manager level. The Window Managers Sawfish and Enlightenment have been demostrated to exhibit this behavor. There is nothing that can be done at the Endeavour or GTK level, bug reports have already been filed (July 2002).
Q: How do I drag an object across a long (obscured) list?
A: Use the pointer in the following procedure:
This behavor has been known to work with GTK+ 1.2.10. You can also select multiple objects in step 1, subsequent steps work in the same way.
Q: How do I obtain multiple (file browser) panes?
A: Although each file browser window only contains one directory tree list and one contents list, you can still obtain multiple file browser windows by going to Window->New File Browser to create additional windows and use the Window Manager to tile them next to each other.
You may also want to hide some of the bars (ie find bar, mount bar) to simplify the arrangement (look under the View menu).
Q: Is there a way to print files using Endeavour?
A: There is an informal way,
create a MIME Type of class
Application
and have it call your print spooler
(usually
/usr/bin/lpr
or /usr/bin/lpq
).
Then you can simply select the file you want to print and right click, select Open With... and then select the application you just added. This works for text files only, image files will require a different print program.
Q: How do I change the list colors & fonts?
A: As of version 2.1.19 you can change the colors and fonts used in the various lists of the main windows. To do this you must first close all of Endeavour's windows and then run Endeavour again specifying the colors and fonts from the command line. The available options are:
--fg <color>
Specifies the foreground and text colors
--bg <color>
Specifies the background and base colors
--sfg <color>
Specifies the selected foreground color
--sbg <color>
Specifies the selected background color
--fn <font>
Specifies the font
Where <color>
is a standard X color spec such
as #ff0000
(which is red) and
<font>
is a standard X font name such as
-adobe-courier-medium-r-*-*-12-*-*-*-*-*-iso8859-1
.
For example, if you want a green foreground
and dark blue background, then use the
command:
endeavour2 -fg "#00ff00" -bg "#000080"
Back to the top
Endeavour Mark II is Copyright © 1997-2002 WolfPack Entertainment