Lines Matching defs:and
23 click-to-type and pointer-driven keyboard focus, and user-specified
24 key and pointer button bindings. It is actually
29 and background root pixmaps in XPM format [from Arnaud Le Hors],
31 and xwd files. ctwm can be compiled to
38 X session to be terminated, shutting down the X server and killing off
42 titlebar at the top and a special border around the window. The titlebar
44 receiving keyboard input, and function boxes known as ``titlebuttons''
45 at the left and right edges of the titlebar to which actions can be bound.
50 windows are iconified by clicking (pressing and then immediately
54 `ShowIconManager` and of the function `f.showiconmgr`).
58 moved, and releasing the pointer when the outline of the window is the desired
60 region, dragging a window outline to the new location, and then releasing
64 When new windows are created, ctwm will honor any size and location
67 Otherwise, an outline of the window's default size, its titlebar, and lines
71 will position the window at the current position and give it the default
73 and dragging the outline
93 and ctwm takes its place.
104 This option causes ctwm to only try to parse the config file, and
147 ctwm prints its detailed version and compile time options.
160 means that args can be passed via `--long=arg` and `--long arg`, as well
161 as `-l arg` and `-larg`, and short args can be bundled like `-vnk` as
166 Much of ctwm's appearance and behavior can be controlled by providing
196 Widgets` manual and `xrdb(1)`).
200 `Variables` section must come first and is used to describe the
201 fonts, colors, cursors, border widths, icon and window placement, highlighting,
203 The `Bindings` section usually comes second and is used to specify
205 invoked when keyboard and pointer buttons are pressed in
206 windows, icons, titles, and frames. The `Menus` section gives any
210 Variable names and keywords are case-insensitive. Strings must be
211 surrounded by double quote characters (e.g. ``blue'') and are
219 default), and can be selectively disabled with the `--nom4` command-line
228 you can use m4 directives and pre-defined symbols to calculate the region
236 will define the lower half, and right-hand third of the screen. The
238 symbols WIDTH and HEIGHT are among those calculated by ctwm and written
242 and understand the power of m4, this will be a _very_
243 useful and powerful tool. But, if you use any of the symbols
269 environmental variables `$USER` and `$LOGNAME`, or from the passwd
295 and `_ADDL` "-beta1". Final releases will generally have an empty
296 `CTWM_VERSION_ADDL`; it's mostly meaningful in dev and betas. For
344 definition. Returns ``Yes'' on `*Color`, and ``No'' on `StaticGray`
345 and `GrayScale`.
367 optional since 3.8 and is always compiled in. The definition will be
391 Lists are surrounded by braces and are usually separated by
419 `Cursors`, and `IconDirectory` below) will
427 resize button), and `:question` (the question mark used for non-existent
440 When `ReallyMoveInWorkspaceManager` is present and the user is moving
473 from the Occupy and OccupyAll fields in the `.ctwmrc` file.
485 priority of a window (and its associated icon) when its name changes.
517 unsqueezed when they get focus, and squeezed when they loose it. Useful for
521 Enable usage of backing store on menus and workspace map windows. See
529 ClearShadowContrast and DarkShadowContrast have no effects.
540 non-iconified windows, and may only be given within a `Color` or
542 of window and color name pairs for specifying particular border colors for
580 and may only be given within a `Color` or `Monochrome` list. The
587 if `NoHighlight` hasn't been set), and may only be given within a
606 the window text and highlight area so that they stand out. Setting this
607 and the `TitleButtonBorderWidth` variables to 0 makes titlebuttons be as
608 tall and wide as possible. The default is 1 if `UseThreeDTitles` is
612 The moving and resizing information window is centered in the middle of the
617 The value is a comprised between 0 and 100. The formula used is :
638 display is capable of displaying more than simple black and white. The
639 `colors-list` is made up of the following color variables and their values:
645 `MenuTitleForeground`, and
648 color variables may also be given a list of window and color name pairs to
659 `IconManagerBackground`, and
676 variable, allowing the same initialization file to be used on both color and
689 Note that this also affects double clicking in `f.raiseorsqueeze`, and
704 where `cursorname` is one of the cursor names listed below, and
715 The `image` and `mask` strings specify the names of files containing
716 the glyph image and mask in `bitmap(1)` form.
740 The value is a comprised between 0 and 100. The formula used is :
755 This variable specifies the background color to be used for sizing and
759 This variable specifies the foreground color to be used for sizing and
803 state when you press ctrl and the workspace manager window is in focus.
832 focus, but still need it and fail to work right without us doing so.
845 button and text) and the window frame. The default is 2 pixels if `UseThreeDTitles` is
850 than ours) when popping up menus and moving opaque windows. See also
855 This variable specifies the background color of icons, and may
857 The optional `win-list` is a list of window names and colors so that
863 This variable specifies the color of the border used for icon windows, and
865 The optional `win-list` is a list of window names and colors so that
885 and may only be specified inside of a
887 The optional `win-list` is a list of window names and colors so that
898 iconified by simply unmapping. Windows that have both this and the
913 and may only be specified inside of a
915 The optional `win-list` is a list of window names and colors so that
933 icon manager entries, and may only be specified inside of a
935 The optional `win-list` is a list of window names and colors so that
944 then broken into `columns` pieces and scaled according to the number
954 and can only be specified inside of a
956 The optional `win-list` is a list of window names and colors so that
972 window's icon, `geometry` is a standard geometry specification, and
1013 `North` or `South` and is used to control whether icons are
1015 `hgrav` argument should be either `East` or `West` and is used
1018 wide and `gridheight` pixels high. The optional win-list argument tells
1019 ctwm that if such a window is iconified, and there is enough room in this
1021 `iconregjust` and `iconregalign` can be used to give specific values
1022 of IconJustification, IconRegionJustification and IconRegionAlignement for
1029 the icon region gravity is ``north'' and ``bottom'' if the icon region gravity is ``south''.
1035 the icon region gravity is ``west'' and ``right'' if the icon region gravity is ``east''.
1038 This variable specifies a list of window names and the bitmap filenames that
1050 Windows that match ``XTerm'' and would not be iconified by unmapping, would try
1076 If present, all bindings (buttons and keys) will ignore the LockMask. Useful if you
1077 often use caps lock, and don't want to define twice all your bindings.
1080 All bindings (buttons and keys) will ignore the modifiers
1114 the foreground colors for ``entry1'' and ``entry2'' will be interpolated
1115 between black and white, and the background colors between red and green.
1116 Similarly, the foreground for ``entry4'' will be half-way between white and
1117 red, and the background will be half-way between green and white.
1121 and is used to request titles on specific windows when `NoTitle` has been
1126 workspace map window and may only be specified inside of a Color or Monochrome
1127 list. The optional `win-list` is a list of window names and colors so
1141 workspace map window and may only be specified inside of a Color or Monochrome
1142 list. The optional `win-list` is a list of window names and colors so
1151 This variable specifies a geometry in which the width and height
1157 and can only be specified inside of a
1166 and can only be specified inside of a
1171 and can only be specified inside of a
1180 menus, and
1186 menus and
1193 4.1.0), and the `RANDR` extension is available on your server, then
1194 `ctwm` will use that to determine the size and layout of your monitors.
1198 it returns, you can specify the names and layouts of your desired
1200 and would prefer to treat it as several narrower side-by-side monitors,
1207 # sections at the far left and right, with a 1k wide section in the
1239 This variable specifies the number of pixels of the movepack and movepush
1240 resistance. See `f.movepack` and `f.movepush`.
1246 go further, `DontMoveOff` gives up and lets you go as far as you wish.
1290 titlebuttons and bindings. This option should only be used if the startup
1291 file contains a completely new set of bindings and definitions.
1295 when popping up menus and moving opaque windows. As of 4.0.0 this
1305 current `BorderTileForeground` and `BorderTileBackground` colors.
1389 so that focus and key events from the titlebar and
1391 quickly and ctwm is slow to respond, input can be directed to the old
1393 used to prevent this ``input lag'' and to
1400 will not have highlight areas. This and the `SqueezeTitle` options
1438 name is `ws:abc`, it will first look for a workspace called `abc`, and
1508 The integer parameter is a percentage and indicates that only windows
1577 plane 2 when raised and plane -2 when lowered, which means that it will usually
1594 (see the `AutoRaise` variable and the `f.autoraise` function)
1599 If present a window will be raised on top of others when clicked on, and the
1616 `string1` may be ``on'', ``off'', ``all'' or ``unmapped'', and `string2`
1618 previous one. The argument ``on'' or ``all'' are equivalent, and tell
1619 ctwm to do this for all such windows, ``off'', not to do this, and
1622 displacement +30+30 (30 pixels right and down) is used.
1642 tell which windows should be iconified and which should be left
1643 visible, and the `WM_OCCUPATION` property to determine in which
1648 This variable tells ctwm to reverse the background and
1676 problem, whereby useful screen objects such as window borders and titlebars
1694 This would place on the root window 3 pixel values for borders and titlebars,
1698 A la Motif shrinking of icon titles, and expansion when mouse is inside icon.
1702 Don't show WorkSpaceManager and IconManagers in the TwmWindows and TwmAllWindows menus.
1719 and restores it automatically when you switch. In many cases, it
1746 `center`, or `right`, and `num` and `denom`
1749 the numerator is positive, and right to left if negative. A denominator
1752 the window (1/2) for `center` and the relative right side of the
1819 and may only be specified inside of a
1821 The optional `win-list` is a list of window names and colors so that
1828 much space as possible and to not have a border.
1840 This variable specifies the foreground color used in titlebars, and
1843 The optional `win-list` is a list of window names and colors so that
1849 ``center'' and ``right''. The window titles will be justified according to
1853 This variable specifies the distance between the various buttons, text, and
1862 This variable specifies that transient-for and non-group leader windows
1868 The parameter (required) is a percentage and tells ctwm to put transient
1869 (and non-group leader) windows always on top of their leader if and only
1877 clients which do not provide an icon bitmap and are not listed
1891 position, `"on"` indicating that the position should be used, and
1903 and if NoHighlight is not selected, the border of the Focus window is
1916 and `ButtonIndent` are set to 0.
1925 +:xmp:sunkresize+, and
1939 +%xpm:zoom-in+, and
1972 (Useful only with StayUpMenus) When using StayUpMenus, and a menu does
2013 `style2`, and `style3` (which are slightly different 2d looks).
2099 mouse cursor over a button and typing letters and/or backspace, you may
2110 moving and resizing. This should be set to a value that will result in a
2124 to and from its iconified state should be displayed whenever a window is
2154 will be deiconified and raised.
2159 titlebuttons and key and pointer buttons. Titlebuttons may be added
2160 from the left or right side and appear in the titlebar from left-to-right
2162 order in which they are specified. Key and pointer button
2168 the button box and the function to be invoked when a pointer button is
2220 === Key and pointer buttons
2222 Key and pointer button specifications must give the modifiers that must
2223 be pressed, over which parts of the screen the pointer must be, and what
2255 bound to key and button strokes. To do this, ctwm associates names
2256 with each of the primitives and provides user-defined functions for
2257 building higher level primitives and menus for interactively selecting
2261 === Modifiers and Contexts
2279 and `mod5` (`m5`).
2315 `iconmgr` (`m`), and
2361 calls to `f.function` and a list of other functions to execute. For
2376 the `Select` cursor and the next window to receive a button press will
2401 between 1 and 5 inclusive. The next key or button event ctwm receives will
2416 When using an alternate keymaps, only the root, window, icon and iconmgr
2457 than the title height + 1 (or 1 if the window has no title) and the width
2482 values: `"next"`, `"prev"`, and `"default"`. It should be noted
2538 f.fill ``vertical'' sets the window status to ``zoomed'' and toggles, ie
2604 This function displays a summary of the name and geometry of the
2648 or space goes down, ``Up'' goes up, ``Left'' pops down the menu, and ``Right''
2652 Control-the-second-letter activates it, and if this first letter is space,
2660 the pointer to the center of the window and
2670 `MovePackResistance` pixels), the move is resumed and the moving window
2677 `MovePackResistance` pixels), there is no push and the moving window
2684 to the specified geometry. The width and height are to be given in pixel,
2711 Move the window to the next workspace, and optionally switch view over
2716 Move the window to the previous workspace, and optionally switch view
2727 This function does nothing and is typically used with the `DefaultFunction`
2756 Toggle the window's switching ability. X-ref `PrioritySwitching` and
2762 This function causes ctwm to restore the window's borders and exit. If
2797 function will check all windows and icons on currently visible virtual
2798 screens, and those that are (nearly) out of the bounds of their virtual
2810 This function kills and restarts ctwm.
2832 Selects a window and adds it to the WarpRing, or removes it if it
2844 window and update the `WM_COMMAND` property as specified in the ICCCM. If
2850 previous and the following entry. The name selector part in the menu is not
2901 automatically. X-ref `OnTopPriority` and `PrioritySwitching`
2922 is `string` if it doesn't already belongs to it, and removes it
2933 it is mapped, it will be unmapped and vice versa.
2987 to the current workspace and warps the pointer to it. If the window is iconified,
3059 Functions may be grouped and interactively selected using pop-up
3063 foreground and background colors, the list of item names and the functions
3064 they should invoke, and optional foreground and background colors for
3081 The optional `deffg` and `defbg` arguments specify the foreground
3082 and background colors used on a color display
3086 The optional `fgN` and `bgN` arguments specify the foreground
3087 and background colors of the menu entry when the pointer is not in
3090 `MenuForeground` and `MenuBackground` variables.
3094 If an entry name begins with a ``*'' (star), this star won't be displayed and
3096 has a default entry and is used as a submenu of another menu, this default entry
3104 `TwmWindows` contains the names of all of the client and ctwm-supplied
3107 hasn't been set, the window will be deiconified and raised.
3113 `TwmAllWindows` and `TwmAllIcons` act similarly to the non-All variants
3128 The common pixmap-and-text style may be laid out by hand or automatically
3140 the `iconmgr` context when specifying button and keyboard bindings.
3146 `f.lefticonmgr`, and
3154 As a window manager, ctwm reads and sets a huge variety of properties on
3155 the windows it manages and the windows it creates. Most of that is
3163 window, etc), and the icon name (which shows up on the icon and on the
3167 setting the window and icon names. These are `WM_NAME` for the window
3168 name, and `WM_ICON_NAME` for the icon name. As of 4.0.2, ctwm also
3169 supports the EWMH versions of these, which are `_NET_WM_NAME` and
3174 `CTWM_WM_NAME` and `CTWM_WM_ICON_NAME`, which override all the others.
3191 and then click the window you want to set it on. Unfortunately,
3195 a plain 7-bit `STRING` (i.e, plain ASCII), and `8t` for
3197 use UTF-8 though. `xprop -remove CTWM_WM_ICON_NAME` and click would let
3198 you undo it and go back to the normal naming. See the `xprop(1)` manual
3218 If `RplaySounds` is given in the config file, and `.ctwm-sounds` exists,
3219 a warning will be given, and the contents of `.ctwm-sounds` will be
3261 Additionally, the following two are recognised, and represent the time
3277 If `IconifyByUnmapping` is on and windows are listed in
3279 they may be lost if they are iconified and no bindings to
3292 This variable is used as the prefix for files that begin with a tilde and
3301 copyright 1989 Hewlett-Packard Company and the Massachusetts Institute of
3302 Technology, See `X(1)` for a full statement of rights and permissions.
3318 and many other contributors.