Contents->Command Line
  1. Usage
  2. Options
  3. GUI Options
  4. Environment Variables
  5. WM Class Names
  6. Widget Names
  7. Selection Target Names

Usage

The [path] specifies the path of the startup location.

The [extra] specifies the page, password, second path, or subsection based on the window that was specified at startup. If this is not specified then the default value based on the window specified at startup will be used. The [extra] argument must be specified after the [path] argument, if the [path] is not applicable then it still must be specified as an empty string ("") from the command line.

For the Archiver [extra] specifies the password.

For the Properties Dialog [extra] specifies the page. Its value can be:

For the MIME Types List [extra] specifies the type of the MIME Type to select at startup.

For the Run Dialog [extra] specifies the working directory.

For the Options Dialog [extra] specifies the page. Its value can be:

For the Customize Dialog [extra] specifies the page. Its value can be:

For the About Dialog [extra] specifies the page. Its value can be:

The [options]can be any of the following:

[options] Description
--config <file> Open the configuration from <file>.
--rcfile Same as --config.
-f Same as --config.
--no-splash Do not show the splash on startup.
--no-stdout-dialog Do not show the stdout messages in a dialog, send them to stdout.
--no-stderr-dialog Do not show the stderr messages in a dialog, send them to stderr.
--file-browser Start up with the File Browser.
--image-browser Start up with the Image Browser.
--archiver Start up with the Archiver.
--recycle-bin Start up with the Recycle Bin.
--properties Start up with the Properties Dialog (requires the [path] argument to specify an object to display properties of).
--options Start up with the Options Window (the [path] argument can be used to specify the Options Window tab).
--customize Start up with the Customize Window (the [path] argument can be used to specify the Customize Window tab).
--devices Start up with the Devices List.
--mimetypes Start up with the MIMETypes List.
--run Start up with the Run Dialog (the [path] argument can be used to specify the command and the [extra] argument can be used to specify the working directory).
--find Start up with the Find Window (the [path] argument can be used to specify the location).
--about Start up with the About Dialog (the [path] argument can be used to specify the About Dialog tab).
--help Prints the help screen and exits.
--version Prints the version and exits.

The [GUI_options] can be any of the following:

[GUI_options] Description
--geometry <WxH+X+Y> Specifies the geometry of the windows.
--fn <font> Specifies the font to be used for the lists.
--fg <color> Specifies the foreground color for the lists.
--bg <color> Specifies the background color for the lists.
--sfg <color> Specifies the selected foreground & text color for the lists.
--sbg <color> Specifies the selected background & base color for the lists.
--cfg <color> Specifies the pointer cursor's foreground color.
--cbg <color> Specifies the pointer cursor's background color.
--bg-pixmap <path> Specifies the background pixmap for the lists.
--sbg-pixmap <path> Specifies the selected background pixmap for the lists.
--name <name> Specifies the WM window name.
--class <class> Specifies the WM class name.
--title <title> Specifies the title to be displayed on the title bars.

Most customizations can be performed in the Customize Window and Options Windows, under the Settings menu.

Command line options override any options in the configuration file.


Back to the
top

Environment Variables

Environment Variable Description
DISPLAY Specifies the [HOST]:<PORT> to connect to the X server.
PATH Specifies the search path, a string containing a list of paths separated by ; characters.
USERNAME Specifies the user's name.
USER Fallback for USERNAME.
HOME Specifies the full path to the user's home directory.
EDITOR Specifies the command to execute the preferred text editor
EDIT Fallback for EDITOR.
VIEWER Specifies the command to execute the preferred file viewer.
VIEW Fallback for VIEWER.
BROWSER Specifies the command to execute the preferred web browser.
HELPBROWSER Specifies the command to execute the preferred help browser (if this is not set then it will fallback to BROWSER).
TMPDIR Specifies the full path to the tempory files directory (default value is /tmp).
EDVCFGFILE Specifies the full path to the program's configuration file (default value is $HOME/.endeavour2/endeavour2.ini).
EDVINTERPS Specifies the full path to the InterPS directory (default value is $HOME/.endeavour2/interps).
EDVINTERPSLOCK Specifies the full path to the InterPS lock link (default value is $HOME/.endeavour2/lock).

Back to the
top

WM Class Names

WM Class Names are used to identify the toplevel windows when specifying special attrbutes/behaviors to those toplevel windows in WM (Window Manager) configurations.

To refer to a particular toplevel window, use the format:

For example, to have your WM (Window Manager) make all of this program's dialogs stay on top:

WM Class Name Description
Endeavour Class name
FileBrowser File Browser Window name.
ImageBrowser Image Browser Window name.
PresentationMode Image Browser Fullscreen Presentation Mode Window name.
RecycleBin Recycle Bin Window name.
Archiver Archiver Window name.
MIMETypesList MIME Types List Window name.
DevicesList Devices List Window name.
PropertiesDialog Properties Dialog name.
Options Options & Customize Window name.
Find Find Window name.
History History Window name.
dialog All Dialogs name.
fileselection File Selection Dialog name.

Back to the
top

Widget Names

Widget Names are used to identify particular GtkWidgets in Gtk RC Files so that user-specified GtkStyle values can be applied to them.

Widget Name Description
edv-file-browser
File Browser toplevel GtkWindow.
	menu-bar
GtkMenuBar.
	tool-bar
Tool Bar.
	location-bar
Location Bar.
	find-bar
Find Bar.
	mount-bar
Mount Bar.
	directory-tree
Directory GtKCTree.
	contents-list
Contents GtkCList.
	status-bar
Status Bar.
edv-image-browser
Image Browser toplevel GtkWindow.
	menu-bar
GtkMenuBar.
	tool-bar
Tool Bar.
	location-bar
Location Bar.
	find-bar
Find Bar.
	mount-bar
Mount Bar.
	thumbs-list
Thumbs List.
	image-view
Image View.
	status-bar
Status Bar.
edv-archiver
Archiver toplevel GtkWindow.
	menu-bar
GtkMenuBar.
	tool-bar
Tool Bar.
	location-bar
Location Bar.
	find-bar
Find Bar.
	contents-list
Contents GtkCList
	status-bar
Status Bar.
edv-recycle-bin
Recycle Bin toplevel GtkWindow.
	menu-bar
GtkMenuBar.
	tool-bar
Tool Bar.
	find-bar
Find Bar.
	contents-list
Contents GtkCList.
	status-bar
Status Bar.
con-msg-stdout
Standard Output (stdout) Console Message Dialog toplevel GtkWindow.
	messages-text
Messages GtkText.
con-msg-stderr
Standard Error (stderr) Console Message Dialog toplevel GtkWindow.
	messages-text
Messages GtkText.
file-selection
File Selection Dialog toplevel GtkWindow.
	list-headings
List Headings.
	contents-list
Contents List.

For example, add to your $HOME/.gtkrc:


# Modify the Endeavour Mark II File Browser Contents GtkCList's
# GTK_STATE_NORMAL colors to green text and white foreground on
# black background and black base:
#
style "file-browser-contents-list-style" {
        fg[NORMAL]              = "#FFFFFF"
        bg[NORMAL]              = "#000000"
        text[NORMAL]            = "#00FF00"
        base[NORMAL]            = "#000000"
}
widget "edv-file-browser.*.contents-list" style "file-browser-contents-list-style"

For more information on writing your own Gtk RC Files, see:


Back to the top

Selection Target Names

Note: The information contained in this section is intended for programers.

Selection Target Names are names for data being used in selections (such as copy & paste and drag & drop). Data being exchanged between programs using selections have target names in order to allow programs to recognize and handle the data appropriately.

Unless otherwise noted, the data is typically in the format of a series of null-terminated strings (be sure to check the data's length in order to handle all of the strings).

Target Type Description
text/plain STRING VFS Object path in URL format (example: file:///directory/file.ext).
text/uri-list STRING Same as text/plain.
STRING STRING Same as text/plain.
Endeavour2/MimeType STRING MIME Type type name (example: text/plain).
Endeavour2/MimeType/Command STRING MIME Type command, set of 4 null terminated strings in the format of: <name> <command> <shell_command> <flags>.
Endeavour2/Device STRING Device (not implemented yet).
Endeavour2/RecycledObject STRING Recycled Object index in URL format (example: file://#12345?name.ext).
Endeavour2/ArchiveObject STRING Archive Object path in URL format, the first URL refers to the archive itself, subsequent URLs refer to the archive objects in the archive. URLs specifying relatve paths in the archive will have the format: file://#relative_path/file.ext.

Back to the
top
Endeavour Mark II is Copyright © 1997-2009 WolfPack Entertainment