MJWM(1)

NAME
mjwm - create menu for JWM

SYNOPSIS
mjwm [-o OUTPUT FILE] [-i INPUT DIRECTORY] [-c CATEGORY FILE] [--iconize]

DESCRIPTION
mjwm creates JWM menu from FreeDesktop files inside XDG application directories Include the generated file in the rootmenu section of your ~/.jwmrc. For more information visit http://github.com/chiku/mjwm. The following options are available.

-o, --output-file=FILE
    Menu output file name. Default is ./automenu.

-i, --input-directory=DIRECTORY
    Directory to scan for .desktop files. Multiple directories, if provided, must be separated by colons. Default is $XDG_DATA_DIRS/applications:$XDG_DATA_HOME/applications. /usr/local/share:/usr/share is used in place of an undefined $XDG_DATA_DIRS. $HOME/.local/share is used in place of an undefined $XDG_DATA_HOME.

-c, --category-file=FILE
    Use an external category file. This overrides built in categories. Please look at default.mjwm to write your own category files.

--iconize
    Search for icon files by name in $HOME, $XDG_DATA_DIRS/icons and /usr/share/pixmaps. Icon file names would be absolute paths to icons in the specified directories.

--help
    Show help.

--version
    Show version information.

Exit Status:
    0 if OK, 1 if files could not be accesses (e.g., cannot write output file), 2 if command-line arguments are incorrect.

EXAMPLES

Generate menu entries for files inside /usr/local/share/applications
    mjwm -i /usr/local/share/applications

Generate menu entries for files inside multiple directories /usr/local/share/applications, /usr/share/applications and ~/.local/share/applications
    mjwm -i /usr/local/share/applications:/usr/share/applications:~/.local/share/applications

Use categories from as an external file
    mjwm -c data/default.mjwm

Create menu entries with absolute path names to icons files
    mjwm --iconize