man jwm Command

Man page for apt-get jwm Command

Man Page for jwm in Linux

Ubuntu Man Command : man jwm

Man Jwm  Command

This tutorial shows the man page for man jwm in linux.

Open terminal with 'su' access and type the command as shown below:
man jwm

Result of the Command Execution shown below:

jwm(1)                                                                                                                                                        jwm(1)



NAME
JWM Joe's Window Manager


SYNOPSIS
jwm [options]

DESCRIPTION
JWM is a window manager for the X11 Window System.


OPTIONS
display display
This option specifies the display to use; see X(1).

exit
Exit JWM by sending _JWM_EXIT to the root window.

h
Display a help message and exit.

p
Parse the configuration file and exit. It is a good idea to use this after making modifications to the configuration file to ensure there are no
errors.

restart
Restart JWM by sending _JWM_RESTART to the root window.

v
Display version information and exit.


FILES
/etc/jwm/jwmrc
The default JWM configuration file.

~/.jwmrc
Local configuration file. Copy the default configuration file to this location to make user specific changes.


CONFIGURATION
OVERVIEW
Configuration of JWM is done by editing ".jwmrc". This file is XML making it easy to edit, either by hand or programmatically. The example.jwmrc
gives an example configuration file. Before restarting JWM, it is a good idea to run "jwm p" to make sure the configuration file is free of errors.
Otherwise you may end up without a root menu.

ROOT MENU
The root menu in JWM is the primary way of starting programs. It also provides a way to restart or exit the window manager. The outer most tag is
RootMenu. The following attributes are supported:

onroot list
Determine which buttons on the root window activate the menu. This is a list of integers specifying buttons. The default is "123". Note that
multiple root menus may be specified by using different buttons for different menus. The range of possible button values is 0 to 9 inclusive.

height int
Height of each menu item in pixels. 0 indicates the largest menu item will determine the height. The default is 0.

labeled bool
Determines if a label appears at the top of the menu. Default is false.

label string
The label to display at the top of the menu. Default is "JWM".

Within the RootMenu tag, the following tags are supported:

Menu
This tag creates a submenu item. Any of the tags allowed within the RootMenu tag, including the Menu tag are allowed within this element. The
following attributes are supported:

height int
Height of each menu item in pixels. 0 indicates the largest menu item will determine the height. The default is inherited from the par Äê
ent menu.

label string
The label to use. No default.

icon string
The icon to use for this menu. No default.

labeled bool
Determines if a label appears at the top of the menu. Default is false.

Include
Include the contents of a file into the menu structure. The file must start with a "JWM" tag. The file is specified by the text of the tag. If
the text starts with "exec:" then the output of a program is used.

Program
The Program tag provides a way to start an external program. The text in this tag is the command used to start he program. The following
attributes are supported:

label string
The label to display. Default is the text of the tag.

icon string
The icon to use. No default.

Separator
This tag simply puts a line in the menu allowing menu divisions. No text or attributes are used.

Desktops
Add a desktop menu. This will add a submenu with a list of desktops that can be used to change the current desktop. The following attributes
are supported:

label string
The label to use for the menu. The default is "Desktops".

icon string
The icon to use for this item. No default.

SendTo
Add a "send to" menu to the menu. After selecting an item from this menu, a window may be selected to send that window to the selected desktop.
The following attributes are supported

label string
The label to use. The default is "SendTo".

icon string
The icon to use for this item. No default.

Stick
Add a stick/unstick window operation to the menu. After selecting this item a window may be selected to toggle the sticky state of that window.
The following attributes are supported

label string
The label to use. The default is "Stick".

icon string
The icon to use for this item. No default.

Maximize
Add a maximize window operation to the menu. After selecting this item a window may be selected to toggle the maximized state of that window.
The following attributes are supported

label string
The label to use. The default is "Maximize".

icon string
The icon to use for this item. No default.

Minimize
Add a minimize window operation to the menu. After selecting this item a window may be selected to minimize that window. The following
attributes are supported

label string
The label to use. The default is "Minimize".

icon string
The icon to use for this item. No default.

Shade
Add a shade/unshade window operation to the menu. After selecting this item a window may be selected to toggle the shaded status of that win Äê
dow. The following attributes are supported

label string
The label to use. The default is "Shade".

icon string
The icon to use for this item. No default.

Move
Add a move window operation to the menu. After selecting this item a window may be selected to move that window. The following attributes are
supported

label string
The label to use. The default is "Move".

icon string
The icon to use for this item. No default.

Resize
Add a resize window operation to the menu. After selecting this item a window may be selected to resize that window. The following attributes
are supported

label string
The label to use. The default is "Resize".

icon string
The icon to use for this item. No default.

Kill
Add a kill window operation to the menu. After selecting this item a window may be selected to kill that window. The following attributes are
supported

label string
The label to use. The default is "Kill".

icon string
The icon to use for this item. No default.

Close
Add a close window operation to the menu. After selecting this item a window may be selected to close that window. The following attributes
are supported

label string
The label to use. The default is "Close".

icon string
The icon to use for this item. No default.

Restart
This tag adds a menu item to restart the window manager. The following attributes are supported:

label string
The label to use. The default is "Restart".

icon string
The icon to use. No default.

Exit
This tag adds a menu item to exit the window manager. If text is present within this tag, it is interpreted as a command to run when JWM exits.
This can be used to start another window manager. The following attributes are supported:

label string
The label to use. The default is "Exit".

icon string
The icon to use. No default.

confirm bool
Determine if a confirm dialog appears before exiting. Default is true.

Note that confirm dialogs can be disabled completely at the compile time.

TRAYS
One or more trays may be created via the Tray tag. This tag supports the following attributes:

autohide bool
Allows this tray to hide itself when not activated. Default is false.

x int
The x coordinate of the tray. This may be negative to indicate an offset from the right of the screen.

y int
The y coordinate of the tray. This may be negative to indicate an offset from the bottom of the screen.

width int
The width of the tray. 0 indicates that the tray should compute an optimal width depending on what it contains and the layout. 0 is the
default.

height int
The height of the tray. 0 indicates that the tray should compute an optimal height depending on what it contains and the layout. 0 is the
default.

border int
The width of the border. The default is 1. Valid values are between 0 and 32 inclusive.

layer int
The layer of the tray. The default is 8. Valid values are between 0 and 12 inclusive.

layout { vertical | horizontal }
The layout of the tray. The default is horizontal.

valign { fixed | top | center | bottom }
The vertical alignment of the tray. The default is fixed.

halign { fixed | left | center | right }
The horizontal alignment of the tray. The default is fixed.

Within this tag the following tags are supported:

Clock
Add a clock to the tray. The text of this tag is a command to run when the clock is clicked. This tag supports the following attributes:

format string
The format of the clock. See strftime(3).

width int
The width of the clock. 0 indicates that the width should be determined from the length of the text to be displayed.

height int
The height of the clock. 0 indicates that the height should be determined from the font used.

Dock
Add a dock for system notifications. This can be used by those programs that use the _NET_SYSTEM_TRAY_Sn selection. The size of the Dock is
dynamic based on the size of the tray and the number of items contained. Only one Dock is allowed per instance of JWM.

Pager
Add a pager to the tray. This tag supports the following attributes:

width int
The width of the pager. 0 indicates that the width should be determined from the tray. 0 is the default.

height int
The height of the pager. 0 indicates that the height should be determined from the tray. 0 is the default.

Swallow
Swallow a program into the tray. The text of this tag gives the command to run. This tag supports the following attributes:

name string
The name of the program to swallow. This attribute is required.

width int
The width of the swallowed program. 0 indicates that the width should be determined from the tray and size requested from the program. 0
is the default.

height int
The height of the swallowed program. 0 indicates that the height should be determined from the tray and the size requested from the pro Äê
gram. 0 is the default.

TaskList
Add a task list to the tray. This tag supports the following attribute:

maxwidth int
The maximum width of an item in the task list. 0 indicates no maximum. The default is 0.

TrayButton
Add a button to the tray. The text of this tag determines what action to take when the button is clicked. The following actions are supported:

root:n
Show root menu n. Note that the default TrayButton action is root:1.

exec: string
Execute a command.

showdesktop
Minimize all windows on the current desktop.

This tag supports the following attributes:

label string
A label to display. No default.

popup string
A string to be displayed for a popup. This will default to the value specified for label, if provided. If neither popup nor label are
specified no popup will be shown.

icon string
An icon to display. No default.

INCLUDES
Other configuration files may be included under the JWM tag via the Include tag. The text of this tag specifies the location of an additional config Äê
uration file. The path may be relative to the loacation JWM was started, an absolute path, or a path referencing an environment variable (using '$').
The format of the configuration file is the same as the main configuration file.

GROUP SETTINGS
Program groups allow one to specify options which apply to a group of programs by name and/or class. A program group is created with the Group tag. As
many program groups can be created as desired. Within the Group tag the following tags are supported:

Name
The title of a program to match to be in this group. This field is case sensitive. a wild card, *, may be used.
Class
The window class for a program to match to be in this group. This field is case sensitive. A wild card, *, may be used.
Option
An option for this group. Possible options are given below:

border
Causes windows in this group to have a border.

desktop:


Related Topics

Apt Get Commands