CTWM(1) CTWM(1) (NAME) ctwm - (X11) (SYNOPSIS) ctwm [(--display | -d) dpy] [--replace] [--single] [(--file | -f) initfile] [--cfgchk] [--dumpcfg] [--nom4 | -n] [(--keep-defs | -k)] [(--keep | -K) m4file] [--verbose | -v] [--quiet | -q] [--mono] [--xrm resource] [--version] [--info] [--nowelcome | -W] [--clientId clid] [--restore resfname] [--help | -h] (DESCRIPTION) ctwm (X Window System) . ( ) . twm(1) ( ) X11 MIT ( ) . vuewm Hewlett-Packard . ctwm (pixmap) XPM [ Arnaud Le Hors] JPEG libjpeg xwd . ctwm / . . xdm(1) xinit(1) ctwm . ctwm X X . <<>> . << >> . ( xmodmap ) . ( ) ( ) . ( ShowIconManager f.showiconmgr ). ( ) . . (raise). ctwm ( -geometry ) . . . ( ) . ( ) . (OPTIONS) ctwm : --help, -h . --display=dpy, -d dpy X . --replace . ctwm . ctwm USE_EWMH . 4.0.0 . --single ( --display DISPLAY ) . ctwm . --cfgchk ctwm . --dumpcfg ctwm . 4.0.0 . --file=filename, -f filename . ctwm filename.num num . filename . ctwm .ctwmrc.num .ctwmrc .twmrc.num .twmrc ( num ). --verbose, -v X ctwm . . --quiet, -q --verbose ( ). --nom4, -n ctwm m4 . ctwm USE_M4 . --keep-defs, -k ctwm m4 /tmp . ctwm USE_M4 . --keep=m4file, -K m4file ctwm m4 . ctwm USE_M4 . --mono ( ). --version ctwm . --info ctwm . --nowelcome, -W ctwm . --clientId=clid, --restore=resfname . --xrm=resource . ctwm getopt_long() . --long=arg --long arg -l arg -larg -vnk -v -n -k . (CUSTOMIZATION) ctwm ( ctwm ): $HOME/.ctwmrc.screennumber screennumber ( ) ( DISPLAY host:displaynum.screennum) . . $HOME/.ctwmrc . $HOME/.twmrc.screennumber, $HOME/.twmrc twm . /usr/etc/system.ctwmrc ctwm . . ctwm . ctwm bitmapFilePath ( Athena Widgets xrdb(1) ). ctwm : (Variables) (Bindings) (Menus). Variables . Bindings . Menus ( ). . ( <>) . (#) . M4 (M4 PREPROCESSING) ctwm m4(1) . m4 USE_M4 ( ) --nom4 . ctwm . m4 . m4 . . IconRegion ( IconRegion ) m4 . : define(IRegion, translit(eval(WIDTH/3)*eval(HEIGHT/2)+eval(WIDTH-WIDTH/3)-0, *, x)) IconRegion "IRegion" SOUTH EAST 75 25 . ctwm m4 . WIDTH HEIGHT ctwm m4 . m4(1) m4 . m4 ! m4 shift .ctwmrc . ctwm : (Hostnames) SERVERHOST X . CLIENTHOST ( ctwm). HOSTNAME 4.0.2 CLIENTHOST . gethostbyname() (FQDN) . (User Info) USER . $USER $LOGNAME (UID) passwd . <> . HOME . $HOME . ctwm (ctwm info) TWM_TYPE twm . <> . .twmrc twm ( WorkSpaces) twm . TWM_VERSION ctwm . CTWM_VERSION_MAJOR, CTWM_VERSION_MINOR, CTWM_VERSION_PATCH, CTWM_VERSION_ADDL ctwm . "3.8.2-beta1" _MAJOR "3" _MINOR "8" _PATCH "2" _ADDL "-beta1" . CTWM_VERSION_ADDL . TWM_VERSION "3.8.2" . CTWM_VERSION_* 4.0.0 . (X server info) VERSION X. ProtocolVersion(3) . REVISION X. ProtocolRevision(3) . VENDOR X . : MIT X Consortium. RELEASE X . MIT X11R5 5 . (Display info) WIDTH . HEIGHT . X_RESOLUTION (X) . Y_RESOLUTION (Y) . PLANES . BITS_PER_RGB RGB ( . ). CLASS . StaticGray GrayScale StaticColor PseudoColor TrueColor DirectColor NonStandard . COLOR <> <> . . *Color <> StaticGray GrayScale <> . ctwm (ctwm compile-time options) XPM ctwm XPM . PIXMAP_DIRECTORY ctwm. JPEG ctwm JPEG . SOUNDS ctwm (SOUND) . EWMH ctwm EWMH . 4.0.0 . I18N ctwm (I18N) . 3.8 . . (Obsolete options) GNOME ctwm GNOME1 . 3.8.2 . TWM_CAPTIVE <> <> . ctwm ( -w) <> <>. 4.1.0 . TWM_CAPTIVE_NAME TWM_CAPTIVE . ctwm ( --name). 4.1.0 . (VARIABLES) ctwm . . . . : AutoRaise { "emacs" "XTerm" "Xmh" } AutoRaise { "emacs" "XTerm" "Xmh" } ( ) ( WM_NAME ) ( WM_CLASS ) . "emacs" xterm ( "XTerm" ) xmh ( "Xmh" ) . ( Pixmaps Cursors IconDirectory ) (~) ( HOME) . (:) : :xlogo :iconify ( X ) :resize ( ) :question ( ). ctwm . win-list . : AlwaysOnTop { win-list } ( ) ctwm . . AlwaysShowWindowWhenMovingFromWorkspaceManager ReallyMoveInWorkspaceManager WorkSpaceMap ctwm . AlwaysShowWindowWhenMovingFromWorkspaceManager . Shift . AlwaysSqueezeToGravity [{ win-list }] ctwm (gravity) . ctwm () . win-list . AnimationSpeed speed speed . ( ) . speed 0 () . 0 . AutoFocusToTransients . . AutoLower [{ win-list }] ( ) . f.autolower . AutoOccupy . Occupy OccupyAll .ctwmrc . AutoPopup [{ win-list }] . xconsole "*" . 4.0.0 . AutoPriority ctwm ( ) . OnTopPriority . 4.0.0 . AutoRaise [{ win-list }] ( ) RaiseDelay . f.autoraise . AutoRaiseIcons . ShrinkIconTitles . AutoRelativeResize ( Button2 ) . . . ctwm ( ). -- (press-drag-release) . AutoSqueeze { win-list } / (f.squeeze ) . . . BackingStore (backing store) . NoBackingStore . 4.0.0 . BeNiceToColormap BeNiceToColormap ctwm (stippling) . ClearShadowContrast DarkShadowContrast . BorderBottom pixels . ( f.movepack f.move DontMoveOff ) . 0 . BorderColor string [{ wincolorlist }] Color Monochrome . wincolorlist . : BorderColor "gray50" { "XTerm" "red" "xmh" "green" } "black" . BorderLeft pixels . ( f.movepack f.move DontMoveOff ) . 0 . BorderResizeCursors ctwm . f.resize (frame context) . BorderRight pixels . ( f.movepack f.move DontMoveOff ) . 0 . BorderShadowDepth pixels ctwm UseThreeDBorders . BorderTileBackground string [{ wincolorlist }] ( NoHighlight ) Color Monochrome . wincolorlist . "white" . BorderTileForeground string [{ wincolorlist }] ( NoHighlight ) Color Monochrome . wincolorlist . "black" . BorderTop pixels . ( f.movepack f.move DontMoveOff ) . 0 . BorderWidth pixels ClientBorderWidth . ctwm ( ) . 2 . ButtonIndent pixels . . TitleButtonBorderWidth 0 . UseThreeDTitles 1 0 . CenterFeedbackWindow . ClearShadowContrast contrast ctwm (clear shadow) . 0 100 . : clear.{RGB} = (65535 - color.{RGB}) * (contrast / 100). BeNiceToColormap . ClickToFocus . ClientBorderWidth BorderWidth. Use3DBorders . Color { colors-list } . colors-list : DefaultBackground DefaultForeground MenuBackground MenuForeground MenuTitleBackground MenuTitleForeground MenuShadowColor. ( BorderColor ): BorderColor IconManagerHighlight BorderTileBackground BorderTileForeground TitleBackground TitleForeground IconBackground IconForeground IconBorderColor IconManagerBackground IconManagerForeground. : Color { MenuBackground "gray50" MenuForeground "blue" BorderColor "red" { "XTerm" "yellow" } TitleForeground "yellow" TitleBackground "blue" } Monochrome . ConstrainedMoveTime milliseconds (constrained move) . f.move . 0 . 400 . f.raiseorsqueeze . . Cursors { cursor-list } () ctwm . cursor . cursor : cursorname "string" cursorname string ( "XC_") . (syntax) : cursorname "image" "mask" image mask bitmap(1) . . : Cursors { Frame "top_left_arrow" Title "top_left_arrow" Icon "top_left_arrow" IconMgr "top_left_arrow" Move "fleur" Resize "fleur" Menu "sb_left_arrow" Button "hand2" Wait "watch" Select "dot" Destroy "pirate" } DarkShadowContrast contrast ctwm (dark shadow) . 0 100 . : dark.{RGB} = color.{RGB} * ((100 - contrast) / 100), BeNiceToColormap . DecorateTransients ( WM_TRANSIENT_FOR ) . 4.0.0 . DefaultBackground string . "white" () . DefaultForeground string . "black" () . DontIconifyByUnmapping { win-list } ( IconifyByUnmapping ). . DontMoveOff . f.forcemove . DontNameDecorations WM_NAME ctwm . ( xwit ). 4.0.2 . DontPaintRootWindow ctwm Workspaces (root window) . (Workspace Map) . DontSave { win-list } (session manager) . DontSetInactive { win-list } InactiveState . (Frame5) . DontShowWelcomeWindow -W : . DontSqueezeTitle [{ win-list }] SqueezeTitle . . DontToggleWorkSpaceManagerState / / ctrl . DontWarpCursorInWMap ctwm (warp) . EWMHIgnore { message-types } EWMH ctwm . USE_EWMH ( ). : EWMHIgnore { # Window states "STATE_MAXIMIZED_VERT" "STATE_MAXIMIZED_HORZ" "STATE_FULLSCREEN" "STATE_SHADED" "STATE_ABOVE" "STATE_BELOW" } 4.0.0 . ForceFocus [{ win-list }] . . . 4.0.0 . . ForceIcons (pixmaps) Icons . FramePadding pixels ( ) . UseThreeDTitles 2 0 . GrabServer ctwm (opaque) X ( ). NoGrabServer . 4.0.0 . IconBackground string [{ win-list }] Color Monochrome . win-list . win-list BorderColor . "white" () . IconBorderColor string [{ win-list }] Color Monochrome . win-list . win-list BorderColor . "black" () . IconBorderWidth pixels . 2 . IconDirectory string bitmapFilePath . IconFont string () . "variable" . IconForeground string [{ win-list }] Color Monochrome . win-list . win-list BorderColor . "black" () . IconifyByUnmapping [{ win-list }] (unmap ) . f.warpto TwmWindows . win-list . IconManagerDontShow TwmWindows . IconifyStyle string string "normal" "mosaic" "zoomin" "zoomout" "sweep" . ctwm . IconJustification string string "left" "center" "right" . ctwm ( ) . IconManagerBackground string [{ win-list }] Color Monochrome . win-list . win-list BorderColor . "white" () . IconManagerDontShow [{ win-list }] . win-list . ( xclock xload) . IconManagerFont string () . "variable" . IconManagerForeground string [{ win-list }] Color Monochrome . win-list . win-list BorderColor . "black" () . IconManagerGeometry string [ columns ] . string . columns . . 1 . XrandR ( xrandr(1)) : . XrandR . IconManagerHighlight string [{ win-list }] Color Monochrome . win-list . win-list BorderColor . "black" () . IconManagers { iconmgr-list } . iconmgr-list : "winname" ["iconname"] "geometry" columns winname iconname geometry columns IconManagerGeometry . XrandR ( xrandr(1)) : . XrandR . : IconManagers { "XTerm" "=300x5+800+5" 5 "myhost" "HDMI2:400x5+100+5" 2 } "XTerm" "XTerm" . "myhost" "myhost" . IconManagerShadowDepth pixels ctwm UseThreeDIconManagers . IconManagerShow { win-list } . IconManagerDontShow . IconMenuDontShow { win-list } TwmIcons . IconRegion geomstring vgrav hgrav gridwidth gridheight [iconjust] [iconregjust] [iconregalign] [{ win-list }] . geomstring . XrandR ( xrandr(1)) : . XrandR . IconRegion . vgrav North South . hgrav East West . gridwidth gridheight . win-list ctwm . iconjust iconregjust iconregalign IconJustification IconRegionJustification IconRegionAlignement IconRegion . IconRegionAlignement string string "top" "center" "bottom" "border" . ctwm IconRegion . "border" "north" "top" "south" "bottom" . IconRegionJustification string string "left" "center" "right" "border" . ctwm IconRegion . "border" "west" "left" "east" "right" . Icons { win-list } . : Icons { "XTerm" "xterm.icon" "xfd" "xfd_icon" } "XTerm" "xterm.icon" . ForceIcons . IconSize string ( USE_EWMH) "x" "size" . EWMH _NET_WM_ICON . ( ) . 4.0.0 . IgnoreCaseInMenuSelection . . IgnoreCaseInMenuSelection . IgnoreLockModifier ( ) LockMask . caps lock . IgnoreModifier ( ) (modifiers) . caps lock num lock . IgnoreLockModifier . IgnoreModifier { lock m2 } IgnoreTransient (transients) . IgnoreTransient { "Wine" } InterpolateMenuColors . : Menu "mymenu" { "Title" ("black":"red") f.title "entry1" f.nop "entry2" f.nop "entry3" ("white":"green") f.nop "entry4" f.nop "entry5" ("red":"white") f.nop } "entry1" "entry2" . "entry4" . MakeTitle { win-list } NoTitle . MapWindowBackground color [{ win-list }] Color Monochrome . win-list . MapWindowBackground MapWindowForeground . MapWindowCurrentWorkSpace { border_color [background] [foreground] [bitmap] } . MapWindowDefaultWorkSpace { border_color [background] [foreground] [bitmap] } WorkSpace ctwm . . MapWindowForeground color [{ win-list }] Color Monochrome . win-list . MapWindowBackground MapWindowForeground . MaxIconTitleWidth width ctwm . width () . MaxWindowSize string . . "30000x30000" . MenuBackground string Color Monochrome . "white" . MenuFont string . "variable" . MenuForeground string Color Monochrome . "black" . MenuShadowColor string (pull-down) Color Monochrome . "black" . MenuShadowDepth pixels ctwm UseThreeDMenus . MenuTitleBackground string f.title Color Monochrome . "white" . MenuTitleForeground string f.title Color Monochrome . "black" . MonitorLayout { monitor-list } ctwm . XRANDR ( 4.1.0 ) RANDR ctwm . "" . ctwm . MonitorLayout { # Imagine a 5000x1000 monitor, that we want to split into two 2k wide # sections at the far left and right, with a 1k wide section in the # middle. "Left:2000x1000+0+0" "1000x1000+2000+0" # Middle section unnamed "Right:2000x1000+3000+0" } m4 "" : define(LeftWidth, eval(WIDTH / 2))dnl define(RightWidth, eval(WIDTH - LeftWidth))dnl MonitorLayout { "`AutoL:'LeftWidth`x'HEIGHT`+0+0'" "`AutoR:'RightWidth`x'HEIGHT`+'LeftWidth`+0'" } Monochrome { colors } . Color . MoveDelta pixels f.move . f.deltastop . . MovePackResistance pixels movepack movepush . f.movepack f.movepush . MoveOffResistance pixels moveoff ( ) . pixels DontMoveOff n . DontMoveOff . f.forcemove DontMoveOff . " " ( ). MWMIgnore (hints) Motif ctwm . : MWMIgnore { # en/disable window borders "DECOR_BORDER" # en/disable titlebars "DECOR_TITLE" } 4.0.0 . NoBackingStore ctwm backing store . backing store . BackingStore . 4.0.0 . NoBorder { win-list } () . BorderWidth . NoCaseSensitive . . NoDecorateTransients ( WM_TRANSIENT_FOR ) ctwm ( ). DecorateTransients . 4.0.0 . NoDefaults ctwm . . NoGrabServer ctwm (opaque) (grab) . 4.0.0 . NoHighlight [{ win-list }] (highlight) . win-list . BorderColor . BorderTileForeground BorderTileBackground (stippled) . NoIconTitle [{ win-list }] . win-list . NoIconManagerFocus IconManager ctwm . NoIconManagers . NoImagesInWorkSpaceManager WorkSpaceMap . WorkSpaces WorkSpaceMap . NoMenuShadows . . NoOpaqueMove [{ window-list }] OpaqueMove . OpaqueMove . NoOpaqueResize [{ window-list }] OpaqueResize . OpaqueResize . NoRaiseOnDeiconify (deiconified) . NoRaiseOnMove . . NoRaiseOnResize . . NoRaiseOnWarp f.warpto (warped) . ( f.warpring ). NoRestartPreviousState . RestartPreviousState . 4.0.0 . NoSaveUnders save-unders . save-unders . NoShowOccupyAll OccupyAll ( ) WorkSpaceMap . NoSortIconManager . SortIconManager . 4.0.0 . NoStackMode [{ win-list }] (stacking order) . win-list . . NoTitle [{ win-list }] . win-list . MakeTitle . NoTitleFocus ctwm . ctwm . ctwm . " " (input lag) . NoTitleHighlight [{ win-list }] (highlight) . win-list . SqueezeTitle . NoWarpToMenuTitle (warp) . . occupy-list : [Window] win-name { wspc1 wspc2 ... } or Workspace wspc-name { win1 win2 ... } : Occupy { "xload" {"all"} Window "xterm" {"here" "there" "elsewhere"} "xv" {"images"} WorkSpace "images" {"xloadimage"} } all ( ) OccupyAll . ws: ws:abc abc ws:abc . : Occupy WorkSpaces . OccupyAll { window-list } . window-list . : OccupyAll { "xload" "xbiff" "xconsole" } : OccupyAll WorkSpaces . OnTopPriority [Icons] priority [ { win-list } ] ctwm -8 +8 . win-list priority . priority ( 0 ). Icons . : OnTopPriority Icons -1 # place icons a little in the background OnTopPriority Icons 1 # place mail icons on top of normal windows { "Exmh" "xbiff" } OnTopPriority 8 # keep these always on top of other windows { "Emacs Icon Manager" "WorkSpaceManager" "TWM Icon Manager" "XDaliClock" } 4.0.0 . OpaqueMove [{ window-list }] f.move (outline) . ( NoGrabServer ). . NoOpaqueMove . 4.0.0 . OpaqueMoveThreshold threshold ( ) . 200 . 4.0.0 200 OpaqueMove . OpaqueResize [{ window-list }] (Opaque). // . OpaqueMove . NoOpaqueResize . 4.0.0 . OpaqueResizeThreshold threshold OpaqueMoveThreshold. 1000 . 3.8.1 1000 OpaqueResize . OpenWindowTimeout seconds seconds . (unattended) ( ) . PackNewWindows f.movepack f.move . Pixmaps { pixmaps } (pixmap) . . : Pixmaps { TitleHighlight "gray1" # TitleHighlight "supman%.xbm" } TitleHighlight (stipple) . PixmapDirectory path ctwm X11 . X11 : xpm:filename xpm xwd:filename xwd jpeg:file jpeg |command xwd ( ) . % () . path (:) . : PixmapDirectory "/usr/lib/X11/twm" Icons { "Axe" "xpm:edit.xpm" "xterm" "xpm:ball%.xpm" } : ctwm (XPM JPEG) . PrioritySwitching [Icons] { win-list } win-list . priority -priority . priority -2 . Icons . / f.priorityswitching . 4.0.0 . PriorityNotSwitching [Icons] { win-list } win-list . 4.0.0 . RaiseDelay milliseconds ( AutoRaise f.autoraise ) . 0 . RaiseOnClick ButtonPress ( ) . RaiseOnClickButton . RaiseOnClickButton button_number button_number ( ). RaiseOnClick . RaiseWhenAutoUnSqueeze (Auto- Unsqueeze) ( AutoSqueeze ). RandomPlacement [ string1 [ string2 ]] (geometry) . RandomPlacement "on" . string1 "on" "off" "all" "unmapped" string2 . "on" "all" ctwm "off" "unmapped" . +30+30 ( ) . 4.0.0 RandomPlacement "on" . "off" . ReallyMoveInWorkspaceManager ctwm WorkSpaceMap . WorkSpaceMap . shift . ResizeFont string . "fixed" . RestartPreviousState . WM_STATE WM_OCCUPATION . 4.0.0 . ReverseCurrentWorkspace ctwm (Workspace Map) . RplaySoundHost string . ctwm USE_SOUND . SOUNDS . 4.0.0 SoundHost . RplaySounds { sounds-list } rplayd . : "EventName" "/file/to/play.wav" ctwm USE_SOUND . SOUNDS . ctwmrc ~/.ctwm-sounds . 4.0.0 . SaveColor { colors-list } _MIT_PRIORITY_COLORS . (colormap) . <<>> ("technicolor") . : SaveColor { BorderColor TitleBackground TitleForeground "red" "green" "blue" } . ShrinkIconTitles (Motif) . SchrinkIconTitles . ShortAllWindowsMenus WorkSpaceManager IconManagers TwmWindows TwmAllWindows. ShowIconManager ctwm . f.showiconmgr . ShowWorkSpaceManager WorkSpaceManager . SloppyFocus (Sloppy Focus). SaveWorkspaceFocus . . . SortIconManager . 4.0.0 . SoundHost string RplaySoundHost 4.0.0 . RplaySoundHost . . SqueezeTitle [{ squeeze-list }] ctwm SHAPE . squeeze-list . : "name" justification num denom name justification left center right num denom . . 0 . 0/0 (1/2) center (2/2) right . "right 2 2" "right -1 0" ( f.movetitlebar ). : SqueezeTitle { "XTerm" left 0 0 "xterm1" left 1 3 "xterm2" left 2 3 "oclock" center 1 2 "emacs" right 2 2 } (left-justified) 0 . DontSqueezeTitle . StartIconified { win-list } . win-list . -iconic . StartInButtonState (WorkSpaceManager) . StartInMapState . 4.0.0 . StartInMapState WorkSpaceManager . StartInButtonState . 4.0.0 . StartSqueezed { win-list } ( f.squeeze ). StayUpMenus ctwm (StayUp) . (ButtonUp) f.title . StrictWinNameEncoding . 4.0.2 . WM_NAME . ICCCM WM_NAME STRING COMPOUND_TEXT . (Chrome) UTF8_STRING . ctwm 4.0.2 . SunkFocusWindowTitle ( ) . UseThreeDTitles . ThreeDBorderWidth pixels . TitleBackground string [{ win-list }] Color Monochrome . win-list . "white" . TitleButtonBorderWidth pixels . 0 . UseThreeDTitles 1 0 . TitleButtonShadowDepth pixels ctwm UseThreeDTitles . TitleFont string () . "variable" . TitleForeground string [{ win-list }] Color Monochrome . win-list . "black" . TitleJustification string . : "left" () "center" () "right" (). . TitlePadding pixels . UseThreeDTitles 8 0 . TitleShadowDepth pixels ctwm UseThreeDTitles . TransientHasOccupation (transient-for) (occupation) . . TransientOnTop percentage () ctwm ( ) . . 30% . 3.0 . UnknownIcon string (bitmap) . Icons . UnmapByMovingFarAway { win-list } (unmapped) . ( Frame5) . UsePPosition string ctwm ( PPosition WM_NORMAL_HINTS) . string : "off" () ctwm "on" "non-zero" (0,0) . (Toolkits) . UseSunkTitlePixmap (pixmap) . SunkFocusWindowTitle xbm XPM ( ) . UseThreeDBorders ctwm . ThreeDBorderWidth . BorderTileBackground NoHighlight BorderColor . ClientBorderWidth . UseThreeDIconManagers ctwm (IconManagers) . UseThreeDMenus ctwm . UseThreeDTitles ctwm . TitleButtonBorderWidth FramePadding TitlePadding ButtonIndent 0 . (pixmap) : :xpm:menu :xpm:dot :xpm:cross :xpm:bar :xpm:vbar :xpm:iconify :xpm:resize :xmp:sunkresize :xpm:box. () : %xpm:resize %xpm:menu-up %xpm:menu-down %xpm:resize-out-top %xpm:resize-in-top %xpm:resize-out-bot %xpm:resize-in-bot %xpm:maze-out %xpm:maze-in %xpm:zoom-out %xpm:zoom-in %xpm:zoom-inout. . UseThreeDWMap ctwm . WarpCursor [{ win-list }] (Warp) . win-list . WarpOnDeIconify { win-list } ctwm win-list . : WarpOnDeIconify { "Emacs" } emacs ( Help ). 4.0.0 . WarpRingOnScreen ctwm f.warpring . WarpToDefaultMenuEntry ( StayUpMenus ) StayUpMenus . WarpUnmapped f.warpto . ( xmh) . f.warpto . WindowGeometries { win-list } (geometry) . XrandR ( xrandr(1)) :. XrandR : WindowGeometries { "Mozilla*" "1000x800+10+10" "jpilot*" "HDMI1:800x600-0-0" } WindowRegion geomstring vgrav hgrav { win-list } IconRegion . win-list . WindowRing [{ win-list }] f.warpring . . WindowRingExclude [{ win-list }] WarpRing . WMgrButtonShadowDepth depth . WMgrButtonStyle string ( ) Occupy . normal ( ) style1 style2 style3 ( ). WMgrHorizButtonIndent nb_pixels ( ) . WMgrVertButtonIndent nb_pixels ( ) . WorkSpaceFont string () (-adobe-times-*-r-*--10-*-*-*-*-*-*-* ). WorkSpaceManagerGeometry string [ columns ] (geometry) . string . XrandR ( xrandr(1)) :. XrandR . columns . WorkSpaceManagerGeometry "360x60+60-0" 8 WorkSpaceManagerGeometry "HDMI1:600x30+1235+0" 12 WorkSpaces { workspace-list } workspace-list : name [{bg-button [fg-button] [bg-root] [fg-root] [pixmap-root]}] : bg-button . fg-button . bg-root . fg-root . pixmap-root (pixmap) xpm:xpmfile xwd:xwdfile jpeg:jpgfile |command_that generates_xwd. : WorkSpaces { "One" {"#686B9F" "white" "DeepSkyBlue3" "white" "jpeg:shark.jpg"} "Two" {"#619AAE" "white" "firebrick"} "Three" {"#727786" "white" "MidnightBlue" "white" "xpm:ball%.xpm"} "Four" {"#727786" "white" "white" "white" "|(giftoppm | pnmtoxwd) < 2010.gif"} "Five" {"#727786" "white" "DeepSkyBlue3" "white" "plaid"} "Six" {"#619AAE" "white" "DeepSkyBlue3" "white" "xpm:background1"} "Seven" {"#8C5b7A" "white" "chartreuse4"} "Eight" {"#686B9F" "white" "MidnightBlue"} } WorkSpaces Occupy OccupyAll . . (label) WorkSpaceManager . / (backspace) . . . XMoveGrid number . x . 1 . f.forcemove . XorValue number . XOR ( ) . 1 (colormap) . ctwm . YMoveGrid number . y . 1 . f.forcemove . Zoom [ count ] / . count . 8 . (bindings) : ChangeWorkspaceFunction function (zap) . DefaultFunction function (binding) . f.nop f.beep . DeIconifyFunction function . IconifyFunction function . WindowFunction function TwmWindows . (raised). (BINDINGS) (titlebuttons) . . . (Title buttons) : LeftTitleButton "bitmapname" = function LeftTitleButton "bitmapname" { Buttoni = modlist : function ... Buttonj = function } RightTitleButton "bitmapname" = function RightTitleButton "bitmapname" { Buttoni = modlist : function ... Buttonj = function } bitmapname ( TitleFont ) . : (modifier) . . : Buttoni = function Buttoni = : function (Key and pointer buttons) . keysym Button1-Button11 : "FP1" = modlist : context : function Button1 = modlist : context : function : "F1" = : all : f.iconify "F2" = : all : f.raiselower "F3" = : all : f.warpring "next" "F4" = : all : f.warpto "xmh" "F5" = : all : f.warpto "emacs" "F6" = : all : f.colormap "next" "F7" = : all : f.colormap "default" "F20" = : all : f.warptoscreen "next" "Left" = m : all : f.backiconmgr "Right" = m | s : all : f.forwiconmgr "Up" = m : all : f.upiconmgr "Down" = m | s : all : f.downiconmgr ctwm . ( NoDefaults ) . ctwm . (Modifiers and Contexts) modlist . ( ) : shift (s) control (c) lock (l) alter1 (a1) alter2 (a2) alter3 (a3) alter4 (a4) alter5 (a5) meta (m) mod1 (m1) mod2 (m2) mod3 (m3) mod4 (m4) mod5 (m5). (|) . : # Open the "top" menu with a Button1 (usually left mouse button) click in # the root window Button1 = : root : f.menu "top" # Open the "top2" menu with shift-click Button1 = s : root : f.menu "top2" # And "top3" when control-shift-click Button1 = c | s : root : f.menu "top3" lock CapsLock . meta Alt . mod1 meta . mod2..5 xmodmap -pm X ( xkeycaps ). alter1..5 ctwm f.altkeymap . m4 shift . m4 : `shift'. context . : window (w) title (t) icon (i) root (r) frame (f) workspace ( ) iconmgr (m) alter (a). . all . ( alter ). alter f.altcontext . context ( "MyXterm") ( ) . : # Pressing "F1" anywhere on the screen will cause all windows with name # "xterm" to raise themselves. "F1" = : "xterm" : f.raise ( "xterm" ). (Functions) function f. . : Button1 = : root : f.menu "TwmWindows" Button1 = m : window | icon : f.function "move-or-lower" Button2 = m : window | icon : f.iconify Button3 = m : window | icon : f.function "move-or-raise" Button1 = : title : f.function "move-or-raise" Button2 = : title : f.raiselower Button1 = : icon : f.function "move-or-iconify" Button2 = : icon : f.iconify Button1 = : iconmgr : f.iconify Button2 = : iconmgr : f.iconify f.function . : Function "move-or-lower" { f.move f.deltastop f.lower } Function "move-or-raise" { f.move f.deltastop f.raise } Function "move-or-iconify" { f.move f.deltastop f.iconify } Function "restore-colormap" { f.colormap "default" f.lower } f.function . (root menu) Select : ! string f.exec string . f.addtoworkspace string string . f.altcontext . ctwm . alter . : "Return" = m : all : f.altcontext "n" = : alter : f.nextworkspace "p" = : alter : f.prevworkspace f.altkeymap number number number ( ) . ctwm . a number . : "Return" = c : all : f.altkeymap "1" "i" = a1 : window|icon|iconmgr : f.iconify "z" = a1 : window : f.zoom "d" = a1 : window|icon : f.delete "o" = a1 : window|icon : f.occupy "r" = a1 : window|icon : f.refresh root window icon iconmgr . f.autolower (/). AutoLower . f.autoraise (/). AutoRaise . f.backiconmgr (warp) . f.backmapiconmgr f.backiconmgr (mapped) . f.beep . f.bottomzoom bottomzoom . f.changepriority rel-value rel-value ( ) . f.changepriority "-1" . OnTopPriority . 4.0.0 . f.changesize string . " <+|->" ( top bottom left right ) "x" ( ) . + ( ) / / . "Right" = c|s : all : f.changesize "right +10" "Left" = c|s : all : f.changesize "right -10" "Down" = c|s : all : f.changesize "bottom +10" "Up" = c|s : all : f.changesize "bottom -10" "F1" = c|s : all : f.changesize "640x480" "F2" = c|s : all : f.changesize "800x600" "F3" = c|s : all : f.changesize "1024x768" f.circledown . f.circleup . f.colormap string ( WM_COLORMAP_WINDOWS ) ctwm . string : "next" "prev" "default". . . (click to type) . f.deiconify . . f.delete WM_PROTOCOLS WM_DELETE_WINDOW . . WM_DELETE_WINDOW . f.destroy . f.deleteordestroy ( WM_DELETE_WINDOW ) (kill ). f.deltastop MoveDelta . Function "move-or-raise" . f.destroy X . . f.delete . f.downiconmgr . f.downworkspace . . . f.exec string string /bin/sh . string X display . "$currentworkspace" . f.fill string string : "right" "left" "top" "bottom" "vertical" . ( ) . f.fill "vertical" "zoomed" . f.focus . f.unfocus . f.forcemove f.move DontMoveOff . f.forwiconmgr . f.forwmapiconmgr f.forwiconmgr (mapped) . f.fullscreenzoom f.fullzoom ( ) . . fullscreenzoom . f.fullzoom fullzoom . f.function string string . f.gotoworkspace workspace_name workspace_name (warp) . f.hbzoom f.bottomzoom . f.hideiconmgr (unmap) . f.hideworkspacemgr (unmap) . f.horizoom horizoom . f.htzoom f.topzoom . f.hzoom f.horizoom . f.iconify . f.identify . . f.initsize WM_NORMAL_HINTS . f.jumpdown step (step * {X,Y}MoveGrid) ( f.pack). f.jumpleft step f.jumpdown. f.jumpright step f.jumpdown. f.jumpup step f.jumpdown. f.lefticonmgr f.backiconmgr (wrapping) . f.leftworkspace . . . f.leftzoom leftzoom . f.lower . f.menu string string . f.menu . <> <> <> <> . ( ). ~ ^ . f.move ( OpaqueMove) (drag ). ConstrainedMoveTime . . f.movepack f.move . . ( MovePackResistance ) . . f.movepush f.move . . ( MovePackResistance ) . OpaqueMove . f.moveresize geometry X ( 200x300+150-0). . . XrandR ( xrandr(1) ) : ( HDMI1:200x300+150-0). XrandR . f.movetitlebar (squeezed SqueezeTitle ) ( BeOS ). ( ) . . . Button1 = m1 : title : f.movetitlebar (f.squeeze ) (SqueezeTitle ) f.movetitlebar . f.movetonextworkspace, f.movetonextworkspaceandfollow . f.movetoprevworkspace, f.movetoprevworkspaceandfollow . f.nexticonmgr . f.nextworkspace .ctwmrc . f.nop DefaultFunction WindowFunction . f.occupy . f.occupyall . f.pack string string : "right" "left" "top" "bottom". ( ). . f.pin . . (toggle) . f.previconmgr . f.prevworkspace .ctwmrc . f.priorityswitching (toggle ). PrioritySwitching OnTopPriority. 4.0.0 . f.quit ctwm . ctwm xdm . f.raise . f.raiseicons . f.raiselower . f.raiseorsqueeze (squeeze) . ConstrainedMoveTime . 4.0.0 . f.refresh . f.removefromworkspace string string . f.rereadsounds .ctwm-sounds . RplaySounds . .ctwm-sounds . SOUNDS . f.rescuewindows () ( ). 4.0.0 . f.resize . ( AutoRelativeResize) (rubber band) . . f.restart ctwm . f.restoregeometry f.savegeometry . f.righticonmgr f.nexticonmgr . f.rightworkspace . . . f.rightzoom rightzoom . f.ring WarpRing . f.warpring . f.savegeometry . f.restoregeometry . f.saveyourself WM_PROTOCOLS WM_SAVEYOURSELF . WM_COMMAND ICCCM . . f.separator . . ( ). f.setbuttonsstate . f.setmapstate . f.setpriority "value" value ( ) . value < b . OnTopPriority . 4.0.0 . f.showbackground ( ). ( ). . f.showiconmgr ( ). f.showworkspacemgr () . f.slowdownanimation AnimationSpeed . f.sorticonmgr . SortIconManager . f.speedupanimation AnimationSpeed . f.squeeze f.squeeze () . ( ). (unsqueeze) . f.startanimation ( ). f.stopanimation ( ). f.switchpriority . OnTopPriority PrioritySwitching. 4.0.0 . f.tinylower, f.tinyraise << >> / . f.tinyraise . (priority-switching) . 4.0.0 . f.title . . f.toggleoccupation string string . f.togglesound (/). SOUNDS . f.togglestate . f.toggleworkspacemgr (WorkSpaceManager). . f.topzoom topzoom . f.trace string (debug) . string string "stderr" stderr . f.trace . ctwm . f.twmrc f.restart. f.unfocus () . . f.unsqueeze f.squeeze f.deiconify f.iconify . 4.0.0 . f.upiconmgr . f.upworkspace . . . f.vanish . . f.version ctwm . . f.vlzoom f.leftzoom . f.vrzoom f.rightzoom . f.warphere win_name . WarpUnmapped . f.warpring string ( string "next" "prev" ) WindowRing . f.warpto string string . WarpUnmapped . f.warptoiconmgr string string . string ( "") . f.warptoscreen string string . ( "0" "1") "next" ( ) "back" ( ) "prev" ( ) . f.winrefresh f.refresh . f.xbottomzoom f.bottomzoom . f.xfullscreenzoom f.fullscreenzoom . f.xfullzoom f.fullzoom . f.xhorizoom f.horizoom . f.xleftzoom f.leftzoom . f.xrightzoom f.rightzoom . f.xtopzoom f.topzoom . f.xzoom f.zoom . f.zoom zoom . f.horizoom f.vertzoom ... (MENUS) (pop-up ) (pull-down ) . f.menu : Menu "menuname" [ ("deffg":"defbg") ] { string1 [ ("fg1":"bg1") ] function1 string2 [ ("fg2":"bg2") ] function2 . . . stringN [ ("fgN":"bgN") ] functionN } menuname . deffg defbg . string . fgN bgN . . MenuForeground MenuBackground . function . "*" () . . . (Special Menus) . TwmWindows ctwm . WindowFunction . WindowFunction . TwmVisible ( 3.7 ). TwmIcons . TwmAllWindows TwmAllIcons All . TwmWorkspaces . f.warpto . TwmKeys (root context) f.exec . 3.7 . (ICONS) ctwm . -- (pixmap-and-text) IconRegion . (icon manager) . . . f.iconify . iconmgr . ( NoTitleFocus ). f.upiconmgr f.downiconmgr f.lefticonmgr f.righticonmgr . (X WINDOW PROPERTIES) ctwm . . . (Window Naming) X . ( f.identify ) ( ). 4.0.2 ctwm ICCCM . WM_NAME WM_ICON_NAME . 4.0.2 ctwm EWMH _NET_WM_NAME _NET_WM_ICON_NAME . EWMH ICCCM . 4.0.2 ctwm : CTWM_WM_NAME CTWM_WM_ICON_NAME . . . . xprop(1) . ( ) ( ) : xprop -f CTWM_WM_ICON_NAME 8u -set CTWM_WM_ICON_NAME "I hate this window" . xprop(1) . 8u UTF-8 . 8s STRING ( ASCII ) 8t COMPOUND_TEXT "" ICCCM. UTF-8 . xprop -remove CTWM_WM_ICON_NAME . xprop(1) . (SOUNDS) USE_SOUND ctwm X . . 4.0.0 ctwmrc RplaySounds . . ctwm .ctwm-sounds X . .ctwm-sounds : {X event}: {sound file} RplaySounds .ctwm-sounds .ctwm-sounds . .ctwm-sounds ctwmrc . X : KeyPress KeyRelease ButtonPress ButtonRelease MotionNotify EnterNotify LeaveNotify FocusIn FocusOut KeymapNotify Expose GraphicsExpose NoExpose VisibilityNotify CreateNotify DestroyNotify UnmapNotify MapNotify MapRequest ReparentNotify ConfigureNotify ConfigureRequest GravityNotify ResizeRequest CirculateNotify CirculateRequest PropertyNotify SelectionClear SelectionRequest SelectionNotify ColormapNotify ClientMessage MappingNotify ctwm : Startup Shutdown (BUGS) (resource manager) . (constrained move) . IconifyByUnmapping IconManagerDontShow DontIconifyByUnmapping f.menu "TwmWindows" f.warpto . (FILES) . (ENVIRONMENT VARIABLES) DISPLAY X . f.exec . HOME (~) ctwm . (SEE ALSO) X(1), Xserver(1), xdm(1), xrdb(1) (COPYRIGHT) Evans & Sutherland Computer Corporation Hewlett-Packard Company Massachusetts Institute of Technology . X(1) . COPYRIGHT . (AUTHORS) TWM Tom LaStrange, Solbourne Computer; Jim Fulton, MIT X Consortium; Steve Pitschke, Stardent Computer; Keith Packard, MIT X Consortium; Dave Sternlicht, MIT X Consortium; Dave Payne, Apple Computer. CTWM Claude Lecommandeur, Swiss Polytechnical Institute of Lausanne ( ); Richard Levitte ( ); Matthew Fuller ( ); . (VERSION) ctwm 4.1.0 . 2023-03-26 CTWM(1)