Menu Editor - Command Line

Contents->Command Line

1. Usage
2. Options
3. GUI Options
4. Environment Variables
5. Examples

### Usage

- `menueditor [path] [options] [GUI_options]`

`[path]` specifies an alternate menu configuration file location, otherwise the standard location for the menu configuration file specified by `--format` will be used.

`[options]`can be any of the following:

`[options]` | Description
`--format <format>` | Specifies the menu configuration format, valid values are `IceWM`
`-f` | Same as `--format`
`--help` | Prints the help screen and exits
`--version` | Prints the version and exits

`[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 and Options windows, see Settings menu.

Command line options override any options in the configuration file.

`[GUI_options]` can be any options standard to your GUI, consult your GUI's manual for available options.

###### Back to the top.

### Environment Variables

Environment Variable | Description
`DISPLAY` | Specifies the host address, display number, and screen number 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 absolute path to the user's home directory
`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`)

###### Back to the top.

### Examples

To run Menu Editor to edit the IceWM start menu type:

- `menueditor -f IceWM &`

To run Menu Editor to edit the IceWM start menu and specify an alternate location for the configuration file type:

- `menueditor -f IceWM /home/me/.icewm2/start_menu &`

###### Back to the top.

######

Back to the top

Menu Editor Copyright © 2004-2007 WolfPack Entertainment