# -*- shell-script -*- # Joerg Arndt's .ctwmrc # ... online at http://www.jjj.de/ # your feedback is welcome mailto: arndt (AT) jjj.de # version: 2024-January-14 (07:09) # see also /etc/X11/ctwm/system.ctwmrc # and check 'man ctwm' ################ GENERAL SETTINGS: ################# #PixmapDirectory "/usr/lib/X11/twm/images/:/usr/X11R6/include/X11/pixmaps/:/usr/X11R6/lib/X11/twm/images/:/usr/X11R6/include/X11/3dpixmaps/normal/:/usr/X11R6/include/X11/3dpixmaps/small/" #PixmapDirectory "/usr/X11R6/include/X11/pixmaps/:/usr/X11R6/include/X11/3dpixmaps/normal/:/usr/X11R6/include/X11/3dpixmaps/small/" #PixmapDirectory "/usr/X11R6/include/X11/pixmaps/:/usr/X11R6/lib/X11/ctwm/images/" #PixmapDirectory "~/.jjicons/:/usr/include/X11/bitmaps/:/usr/lib/X11/twm/images/" #PixmapDirectory "~/.jjicons/:/usr/X11R6/lib/X11/ctwm/images/:/usr/include/X11/bitmaps/:/usr/lib/X11/twm/images/" PixmapDirectory "~/.jjicons/" UseThreeDMenus UseThreeDBorders BorderWidth 7 ThreeDBorderWidth 7 #UseThreeDWMap NoBorder { "xosview" "xclock" "xload" "TWM Icon Manager" "WorkSpaceManager" } ## for version >= 4.0: RandomPlacement "off" #RandomPlacement "unmapped" "-30-100" ## on: #RandomPlacement #AutoOccupy OpaqueMove OpaqueMoveThreshold 90 OpaqueResize # not recommended for slow servers OpaqueResizeThreshold 30 ConstrainedMoveTime 0 #DecorateTransients TransientOnTop 99 #NoRaiseOnMove #NoRaiseOnResize #XorValue 177 AutoRelativeResize StartInMapState #InterpolateMenuColors DontMoveOff MoveOffResistance 15 MovePackResistance 15 CenterFeedbackWindow WindowGeometries { # "grfxt*" "+0+0" } AutoRaise RaiseDelay 0 # milliseconds #RaiseDelay 150 # milliseconds #RaiseOnClick #RaiseOnClickButton 1 #SloppyFocus RestartPreviousState BorderResizeCursors ## see /usr/include/X11/cursorfont.h #Cursors #{ # Frame "top_left_arrow" # Title "top_left_arrow" # Icon "top_left_arrow" # IconMgr "top_left_arrow" # Move "fleur" # Resize "hand2" # Menu "sb_left_arrow" # Button "hand2" # Wait "watch" # Select "dot" # Destroy "pirate" #} ShortAllWindowsMenus ################ TITLES: ################# #SqueezeTitle UseThreeDTitles TitleJustification "left" #SunkFocusWindowTitle NoTitleHighlight NoTitle { "xosview" "xsysinfo" "TWM*" # "WorkSpaceManager" "xclock" "xmem" "xload" "swissclock" "xbiff" "oclock" "xeyes" } #NoTitle ################ WORKSPACES & WS-MANAGER: ################# ShowWorkSpaceManager #AutoSqueeze { "WorkSpaceManager" } #StartSqueezed { "WorkSpaceManager" } WarpCursor WarpUnmapped NoShowOccupyAll NoImagesInWorkSpaceManager ReallyMoveInWorkspaceManager AlwaysShowWindowWhenMovingFromWorkspaceManager WorkSpaceManagerGeometry "768x140+0+0" 4 # 4 workspaces 4x1 #WorkSpaceManagerGeometry "384x280+0+0" 2 # 4 workspaces 2x2 (8/5==1900/1200) #WorkSpaceManagerGeometry "384x140+250+0" 2 # 2 workspaces (8/5==1900/1200) #WorkSpaceManagerGeometry "400x80+250+0" 4 # 4 rect. workspaces #WorkSpaceManagerGeometry "320x80+0+0" 4 # 4 quadratic workspaces #WorkSpaceManagerGeometry "240x80+0+0" 3 # 3 quadratic workspaces #WorkSpaceManagerGeometry "240x160+0+0" 3 # 6 quadratic workspaces #WorkSpaceManagerGeometry "150x270+0+500" 2 # 6 quadratic workspaces #ReverseCurrentWorkspace WorkSpaces { ## name [{bg-button [fg-button] [bg-root] [fg-root] [pixmap-root]}] "111" {"#619AAE" "white" "grey" "white" } # "xpm:bg5blue01.xpm" } "222" {"#619AAE" "white" "grey" "white" } # "xpm:bg5blue01.xpm" } "333" {"#619AAE" "white" "grey" "white" } # "xpm:bg5blue01.xpm" } "444" {"#619AAE" "white" "grey" "white" } # "xpm:bg5blue01.xpm" } # "555" {"#619AAE" "white" "grey" "white" } # "xpm:bg5blue01.xpm" } # "666" {"#619AAE" "white" "grey" "white" } # "xpm:bg5blue01.xpm" } # "777" {"#619AAE" "white" "grey" "white" } # "xpm:bg5blue01.xpm" } # "888" {"#619AAE" "white" "grey" "white" } # "xpm:bg5blue01.xpm" } } OccupyAll { "xosview" "xload" "xclock" # "oclock" # "xconsole" # "xbiff" # "mailtool" # "mixmh" # "xsysinfo" # "xbiff" } #Occupy #{ # "one" {"111"} # "two" {"333"} # "three" {"555"} # "xmailtool" {"all"} # "xrn" {"all"} # "xgopher" {"all"} # "Mail" {"all"} #} ################ ICON & ICON MANAGER: ################# #ShowIconManager #IconManagerGeometry "250x120+0+350" IconManagerGeometry "400x120+0+350" NoCaseSensitive #Zoom 8 IconManagerDontShow { "xload" "xosview" # "xsysinfo" # "xbiff" "xclock" # "oclock" # "xeyes" } #UnknownIcon "xpm:NoName.xpm" ForceIcons Icons { # "Mozilla" "xpm:xrn.xpm" ## both Thunderbird and Firefox "Firefox" "xpm:xrn.xpm" ## new icon is idiotically big and ignores placement, seems fixed now ## new Thunderbird icon is idiotically big and ignores placement: # "Thunderbird" "xpm:nothing.xpm" "Thunderbird" "xpm:xmail.xpm" "Search Messages" "xpm:xmail.xpm" "emacs" "xpm:emacs.xpm" # Emacs: title at startup "^E: " "xpm:emacs.xpm" # Emacs: title after startup # "root" "xpm:m-bsd.xpm" "root@" "xpm:m-bsd.xpm" # "xterm" "xpm:m-x11.xpm" # "xterm" "xpm:term.xpm" "xterm" "xpm:xterm_32x32.xpm" "console" "xpm:term.xpm" "xconsole" "xpm:term.xpm" "xosview" "xpm:small.sysinfo_3d.xpm" # "ddd" "xpm:bug.xpm" # "xxgdb" "xpm:bug.xpm" # "xfractint" "xpm:Fractal.xpm" "pari" "xpm:calc.xpm" "ghostview" "xpm:ghostview.xpm" # "xv" "xpm:xv.xpm" "gwenview" "xpm:gwenview.xpm" # "unread" "xpm:xrn.xpm" "nothing" "xpm:xrn.xpm" # "Xman" "xpm:xman.xpm" # "HPterm" "xpm:hpterm.xpm" # "xcal" "xpm:datebook.xpm" # "xarchie" "xpm:xarchie.xpm" # "xgopher" "xpm:xgopher.xpm" # "Xcalc" "xpm:xcalc2.xpm" } #IconBorderWidth 5 #IconRegion geomstring vgrav hgrav gridwidth gridheight # [iconjust] [iconregjust] [iconregalign] [{ win-list }] #IconRegion "200x1000+0+110" North West 50 40 #IconRegion "200x1200+0+120" North West 50 40 IconRegion "300x1200+0+320" North West 50 40 # A la Motif shrinking of icon titles, # and expansion when mouse is inside icon: SchrinkIconTitles ## IconJustification "left" IconRegionAlignement "border" AutoRaiseIcons #MaxIconTitleWidth 350 MaxIconTitleWidth 450 StartIconified { # "Default Plugin" # "xosview" # "xload" # "console" } ################ FONTS: ################# ## see ## /usr/share/fonts/X11/misc/fonts.dir ## /usr/share/fonts/X11/75dpi/fonts.dir #TitleFont "6x10" #TitleFont "6x10" TitleFont "-*-helvetica-bold-r-normal-*-*-120-*" #TitleFont "variable" #TitleFont "fixed" # #ResizeFont "10x20" #ResizeFont "12x24" #ResizeFont "-bitstream-charter-bold-r-normal--25-240-75-75-p-157-iso8859-1" ResizeFont "-bitstream-charter-bold-i-normal--33-240-100-100-p-203-iso8859-1" # #IconManagerFont "6x10bold" # #WorkSpaceFont "6x10" WorkSpaceFont "8x10" #WorkSpaceFont "10x20" #WorkSpaceFont "-*-helvetica-bold-r-normal-*-*-120-*" #WorkSpaceFont "-adobe-times-*-r-*--10-*-*-*-*-*-*-*" # #MenuFont "-adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1" # #IconFont "-adobe-courier-*-*-*--10-*-*-*-*-*-*-*" #IconFont "-bitstream-courier-medium-r-normal--14-140-72-75-m-90-iso8859-1" #IconFont "6x10bold" #IconFont "6x10" #ButtonIndent 0 #TitleButtonBorderWidth 0 ## no iconify-button top left, no resize-button top right: #NoDefaults #DefaultFunction f.nop ################ COLOR SETTINGS: ################# ## MapWindowCurrentWorkSpace { border_color [background] [fore ground] [bitmap] } MapWindowCurrentWorkSpace { "#00e080" "#00e080" } #SaveColor #{ # BorderColor # TitleBackground # TitleForeground # "wheat" # "gray2" # "gray70" # "gray85" # "blue" # "MistyRose1" # "LightYellow" # "#d8d8ff" # light blue # "#00e080" # border of active window #} Color { DefaultBackground "white" DefaultForeground "black" BorderTileForeground "black" # BorderTileBackground "blue" ## border of inactive windows BorderTileBackground "grey" ## border of inactive windows # border of active window: # BorderColor "blue" # BorderColor "cyan" BorderColor "red" # better for high resolution # BorderColor "#00e080" ## green # BorderColor "#f000f0" ## violet # BorderColor "#e0ff00" ## yellow TitleBackground "wheat" { "emacs" "#d8d8ff" # "sage" "LightCyan" # "*ROOT*" "MistyRose1" "WorkSpaceManager" "grey" } TitleForeground "black" MenuBackground "wheat" MenuForeground "black" MenuTitleBackground "wheat" MenuTitleForeground "black" IconBackground "wheat" IconForeground "black" # IconBorderColor "black" IconManagerBackground "wheat" IconManagerForeground "Black" # IconManagerHighlight "cyan" IconManagerHighlight "red" # better for high resolution MapWindowForeground "Black" MapWindowBackground "grey95" # MapWindowBackground "Lavender" { # "@" "LightYellow" # remote host # "remote" "LightYellow" # remote host "emacs" "Tan" # Emacs: title at startup "E: " "Tan" # Emacs: title after startup # "root" "MistyRose1" "root@" "MistyRose1" "3frac" "LightGoldenRod" "onqueror" "lightblue" "Firefox" "lightblue" "Thunderbird" "lightblue" # "Xpdf" "white" "xdvi" "white" "kdvi:" "white" "ghostview" "white" "gv:" "white" "xpdf" "white" # "sage" "Azure1" "pari" "Azure1" "FXT" "LightYellow" "BOOK" "Gold" # "grfxt" "PaleGoldenrod" "grfxt" "Lavender" # "hfloat" "Grey" # "play" "PapayaWhip" "www" "DarkSeaGreen1" } } ########### KEY BINDINGS: ############ # cf. /usr/include/X11/keysymdef.h IgnoreModifier { lock m2 } Function "jjj-refresh" { f.hideworkspacemgr f.refresh f.showworkspacemgr } #"space" = : root : f.function "jjj-refresh" #"space" = : root : f.exec "xrefresh" "space" = : root : f.refresh #"Return" = : Root : f.refresh #"Return" = c s : all : f.function "jjj-refresh" #"c" = s c m : all : f.circleup "Tab" = c s : all : f.menu "TwmAllWindows" "r" = m : root : f.restart "c" = c s : all : f.circleup #"c" = s : root : f.circledown #"c" = : root : f.circledown #"z" = : root : f.backmapiconmgr "x" = c s : root : f.exec "xterm -g 80x35 &" "y" = c s : root : f.exec "cd xfer; XTITLE=xfer xterm -bg gray95 -g 120x45 &" "h" = c s : root : f.exec "XTITLE=horiz xterm -g 165x45 &" #"m" = c s : root : f.exec "XTITLE=vert xterm -g 120x75 &" "v" = c s : root : f.exec "XTITLE=vert xterm -g 100x70 &" "e" = c s : root : f.exec "emacs -g 100x35 -no-site-file &" #"h" = : root : f.exec "xterm -g 165x45+0+200 -fn lucidasanstypewriter-12 &" #"v" = : root : f.exec "xterm -g 100x75+20+0 -fn lucidasanstypewriter-12 &" #"h" = c s : root : f.exec "XTITLE=horiz xterm -g 165x45 -fn '-B&H-LucidaTypewriter-Medium-R-Normal-Sans-12-120-75-75-M-70-iso10646-1' &" #"v" = : root : f.exec "XTITLE=vert xterm -g 100x75 -fn '-B&H-LucidaTypewriter-Medium-R-Normal-Sans-12-120-75-75-M-70-iso10646-1' &" # the following font fully supports UTF-8: #"v" = : root : f.exec "XTITLE=vert xterm -g 100x80 -fn '-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1' &" #"o" = : root : f.exec "konsole &" "s" = c s : root : f.exec "cd ~/work/seq/; XTITLE=seq xterm -g 110x40 &" "3" = c s : root : f.exec "cd ~/work/3frac/; XTITLE=3frac xterm -title 3frac -bg LightGoldenRod -g 190x45 &" #"r" = : root : f.exec "xterm -bg MistyRose1 -T root -n root -e su -l &" #"r" = : root : f.exec "xterm -g 100x70 -fn '-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1' -bg MistyRose1 -T root -n root -e su -l &" "r" = c s : root : f.exec "xterm -g 100x66 -bg MistyRose1 -T root -n root -e su -l &" #"t" = : root : f.exec "xterm -bg white -e pstree &" #"t" = : root : f.exec "xmessage $(date) &" #"t" = : root : f.exec "xmessage -fn '-urw-*-*-r-*--0-400-0-0-p-*-*-*' $(date) &" #"t" = : root : f.exec "xmessage -fn 'terminus-iso8859-1-bold-32' $(date) &" "t" = c s : root : f.exec "xmessage $(date) &" # use font from .Xresources #"u" = : root : f.exec "export LC_CTYPE=en_US.UTF-8; xterm -g 100x45 -fn '-*-lucidatypewriter-*-r-*-*-14-*-*-*-m-*-iso10646-1' &" #"u" = : root : f.exec "~/bin/keterm &" #"u" = c s : root : f.exec " export LANG=en_US LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=C LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_ALL= ; exec xterm &" # xlsfonts | grep -- "-misc-fixed-.*-c-.*-iso10646-1" #"p" = : root : f.exec "cd work/pari; XTITLE=pari xterm -bg Azure1 -g 100x45 &" #"p" = s : root : f.exec "cd .pari; XTITLE=pari-incl xterm -bg Azure1 -g 100x45 &" #"F" = s : root : f.exec "cd ~/work/fxt/; XTITLE=' FXT' xterm -title ' FXT' -bg LightYellow -g 100x45 &" #"b" = s : root : f.exec "cd ~/work/fxtbook/; XTITLE=' BOOK' xterm -title ' BOOK' -bg Gold -g 100x45 &" #"o" = s : root : f.exec "cd ~/comb-lists/; XTITLE='comb-lists' xterm -title 'comb-lists' -g 100x45 &" "w" = c s : root : f.exec "cd ~/www/; XTITLE=www xterm -title www -bg DarkSeaGreen1 -g 120x45 &" "i" = c s : root : f.showiconmgr "j" = c s : root : f.hideiconmgr #"w" = : root : f.showworkspacemgr #"w" = s : root : f.hideworkspacemgr #"w" = c : root : f.exec "~/bin/jjxwatchload &" "k" = c s : all : f.exec "xkill &" "Left" = c s : all : f.leftworkspace "Right" = c s : all : f.rightworkspace "Up" = c s : all : f.upworkspace "Down" = c s : all : f.downworkspace "F9" = c s : all : f.gotoworkspace "111" "F10" = c s : all : f.gotoworkspace "222" "F11" = c s : all : f.gotoworkspace "333" "F12" = c s : all : f.gotoworkspace "444" #"F1" = m : root : f.menu "Left" #"F2" = m : root : f.refresh #"F3" = m : root : f.menu "Right" #"F4" = m : root : f.menu "Window" #"F5" = m : root : f.menu "XSettings" #"F6" = m : root : f.menu "XLockShow" "o" = c s : window : f.occupy "v" = c s : window : f.zoom "h" = c s : window : f.horizoom #"f" = c s : window : f.fullzoom # collides with keystroke for thunderbird search window "x" = c s : window : f.fullzoom ########### MOUSE BUTTON BINDINGS: ############ MoveDelta 5 #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 } Button1 = : root : f.menu "jjMenu" #Button2 = : root : f.menu "Apps" Button2 = : root : f.menu "XSettings" Button3 = : root : f.menu "colorxterm" Button1 = m : root : f.menu "XSettings" Button2 = m : root : f.menu "Window" #Button3 = m : root : f.menu "XLockShow" Button1 = c : root : f.menu "TwmAllWindows" Button2 = c : root : f.menu "TwmWorkspaces" Button3 = c : root : f.menu "TwmWindows" #Button1 = s : root : f.menu "jjMenu" Button1 = m : window|icon : f.move Button2 = m : window|icon : f.iconify Button3 = m : window|icon : f.resize #Button1 = m : window|icon : f.move #Button2 = m : window|icon : f.iconify #Button3 = m : window|icon : f.resize Button1 = : frame : f.resize Button2 = : frame : f.resize Button3 = : frame : f.menu "Window" Button1 = : title : f.function "move-or-raise" Button2 = : title : f.raiselower Button2 = c m : window : f.lower Button3 = : title : f.menu "Window" Button1 = c : title : f.squeeze Button2 = c : title : f.squeeze Button3 = c : title : f.squeeze Button1 = m : title : f.move Button2 = m : title : f.iconify Button3 = m : title : f.resize Button1 = : icon : f.function "move-or-iconify" Button2 = : icon : f.iconify Button3 = : icon : f.iconify Button1 = : iconmgr : f.iconify Button2 = : iconmgr : f.iconify Button3 = : iconmgr : f.iconify ################ MENUS: ################# menu "jjMenu" { " === jj === " f.refresh "" f.nop " xterm" ("black" : "grey95") f.exec "xterm -title aux -bg grey95 -g 110x45 &" " FXT" ("black" : "LightYellow") # f.exec "cd ~/work/fxt/; XTITLE=FXT xterm -title FXT -bg LightYellow -g 100x45 -fn 8x13bold &" f.exec "cd ~/work/fxt/; XTITLE=FXT xterm -title FXT -bg LightYellow -g 100x45 &" " BOOK" ("black" : "Gold") f.exec "cd ~/work/fxtbook/; XTITLE=BOOK xterm -title BOOK -bg Gold -g 100x45 &" " xfer" ("black" : "gray95") f.exec "cd; mkdir -p xfer; cd xfer; XTITLE=xfer xterm -title xfer -bg gray95 -g 120x45 &" " www" ("black" : "DarkSeaGreen1") f.exec "cd ~/www/; XTITLE=www xterm -title www -bg DarkSeaGreen1 -g 120x45 &" " 3frac" ("black" : "LightGoldenRod") f.exec "cd ~/work/3frac/; XTITLE=3frac xterm -title 3frac -bg LightGoldenRod -g 140x45 &" # " grfxt" ("black" : "PaleGoldenrod") # f.exec "cd ~/work/grfxt/; XTITLE=grfxt xterm -title grfxt -bg PaleGoldenrod -g 100x45 &" " grfxt" ("black" : "Lavender") f.exec "cd ~/work/grfxt/; XTITLE=grfxt xterm -title grfxt -bg Lavender -g 100x45 &" " play" ("black" : "PapayaWhip") f.exec "cd ~/work/playfxt/; XTITLE=play xterm -title play -bg PapayaWhip -g 140x45 &" # " pari/gp" ("black" : "Azure1") # f.exec "cd ~/work/pari/; XTITLE=pari/gp xterm -title pari/gp -bg Azure1 -g 100x45 &" # " hfloat" ("black" : "grey") # f.exec "cd ~/work/hfloat/; XTITLE=hfloat xterm -title hfloat -bg Grey -g 100x45 &" # " sage" ("black" : "Azure1") # f.exec "cd ~/work/sage/; XTITLE=sage xterm -title sage -bg Azure1 -g 110x45 &" " Root " ("black" : "MistyRose1") f.exec "xterm -bg MistyRose1 -T root -n root -e su -l &" # f.exec "xterm -g 100x70 -bg MistyRose1 -T root -n root -fn '-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1' -e su -l &" # f.exec "xterm -g 100x70 -bg MistyRose1 -T root -n root -e su -l &" "" f.nop # " seamonkey " f.exec "cd ~/xfer/; seamonkey &" # " iceweasel " f.exec "cd ~/xfer/; iceweasel &" # " firefox " f.exec "cd ~/xfer/; firefox &" " Web " f.exec "cd ~/xfer/; firefox &" # " thunderbird " f.exec "cd ~/xfer/; thunderbird &" " Email " f.exec "cd ~/xfer/; thunderbird &" # " konqueror " f.exec "cd ~/xfer/; konqueror &>/dev/null &" # " opera " f.exec "cd ~/xfer/; opera &" # " chromium " f.exec "cd ~/xfer/; chromium https://startpage.com/ &" # spyware "" f.nop " --- pin --- " f.pin } #menu "Apps" { ### middle mouse button # " ===== MISC ===== " f.refresh # "" f.nop ## " Netscape " f.exec "netscape &" ## " Mozilla " f.exec "mozilla &" # " SeaMonkey " f.exec "seamonkey &" ## " konqueror " f.exec "cd ~/xfer/; konqueror /dev/shm &>/dev/null &" # " konqueror " f.exec "cd ~/xfer/; konqueror &>/dev/null &" # " Firefox " f.exec "firefox &" ## " Epiphany " f.exec "epiphany /dev/shm &>/dev/null &" # " thunderbird (news)" f.exec "thunderbird &" # " kopete (jabber)" f.exec "kopete &" # "" f.nop # " Emacs " f.exec "emacs -no-site-file &" ## " mupad-term " f.exec "mupad-term &" # "" f.nop # " Blank screen " f.exec "xlock -nolock -mode blank &" # " Save screen " f.exec "xlock -nolock -mode ifs &" # " Lock screen " f.exec "xlock -mode blank &" # "" f.nop # " Xterm " f.exec "xterm -bg white &" # " Color Xterm >>>>" f.menu "colorxterm" # " Root " f.exec "xterm -bg MistyRose1 -T root -n root -e su -l &" # "" f.nop # " Delete " f.delete # " Kill " f.destroy ## " xZap " f.exec " xzap &" # "" f.nop # " Restart ctwm " f.restart # "" f.nop # " X11 Settings >>>>" f.menu "XSettings" # "" f.nop # " EXIT ctwm " f.quit # "" f.nop # " --- pin --- " f.pin #} menu "colorxterm" { " === Xterm === " f.refresh "" f.nop "LightYellow" ("black" : "LightYellow") f.exec "xterm -bg LightYellow &" "Azure1" ("black" : "Azure1") f.exec "xterm -bg Azure1 &" "Grey87" ("black" : "Grey87") f.exec "xterm -bg Grey87 &" "PapayaWhip" ("black" : "PapayaWhip") f.exec "xterm -bg PapayaWhip &" "DarkSeaGreen1" ("black" : "DarkSeaGreen1") f.exec "xterm -bg DarkSeaGreen1 &" # "DarkSeaGreen2" ("black" : "DarkSeaGreen2") f.exec "xterm -bg DarkSeaGreen2 &" "HoneyDew" ("black" : "HoneyDew") f.exec "xterm -bg HoneyDew &" "MistyRose" ("black" : "MistyRose") f.exec "xterm -bg MistyRose &" "linen" ("black" : "linen") f.exec "xterm -bg linen &" "White" ("black" : "White") f.exec "xterm -bg White &" "Wheat" ("black" : "Wheat") f.exec "xterm -bg Wheat &" "PaleGoldenrod" ("black" : "PaleGoldenrod") f.exec "xterm -bg PaleGoldenrod &" "LightCyan" ("black" : "LightCyan") f.exec "xterm -bg LightCyan &" "AntiqueWhite" ("black" : "AntiqueWhite") f.exec "xterm -bg AntiqueWhite &" "Bisque" ("black" : "Bisque") f.exec "xterm -bg Bisque &" "NavajoWhite" ("black" : "NavajoWhite") f.exec "xterm -bg NavajoWhite &" "Lavender" ("black" : "Lavender") f.exec "xterm -bg Lavender &" "PeachPuff2" ("black" : "PeachPuff2") f.exec "xterm -bg PeachPuff2 &" ## slightly more intense colors: # "grey" ("black" : "grey") f.exec "xterm -bg grey &" # "CornflowerBlue" ("black" : "CornflowerBlue") f.exec "xterm -bg CornflowerBlue &" # "DodgerBlue" ("black" : "DodgerBlue") f.exec "xterm -bg DodgerBlue &" "LightBlue" ("black" : "LightBlue") f.exec "xterm -bg LightBlue &" # "turquoise" ("black" : "turquoise") f.exec "xterm -bg turquoise &" "Aquamarine" ("black" : "Aquamarine") f.exec "xterm -bg Aquamarine &" # "LightSeaGreen" ("black" : "LightSeaGreen") f.exec "xterm -bg LightSeaGreen &" "PaleGreen" ("black" : "PaleGreen") f.exec "xterm -bg PaleGreen &" "Khaki" ("black" : "Khaki") f.exec "xterm -bg Khaki &" "Gold" ("black" : "Gold") f.exec "xterm -bg Gold &" "LightGoldenrod" ("black" : "LightGoldenrod") f.exec "xterm -bg LightGoldenrod &" # "Peru" ("black" : "Peru") f.exec "xterm -bg Peru &" "burlywood" ("black" : "burlywood") f.exec "xterm -bg burlywood &" "SandyBrown" ("black" : "SandyBrown") f.exec "xterm -bg SandyBrown &" "Tan" ("black" : "Tan") f.exec "xterm -bg Tan &" "DarkSalmon" ("black" : "DarkSalmon") f.exec "xterm -bg DarkSalmon &" "orange" ("black" : "orange") f.exec "xterm -bg orange &" "Pink" ("black" : "Pink") f.exec "xterm -bg Pink &" "Plum" ("black" : "Plum") f.exec "xterm -bg Plum &" ## cp color-list xterm-d ## replace '(.+)' ' "$1" ("black" : "$1") f.exec "xterm -bg $1 &"' xterm-d "Yuck!" ( "Green" : "Magenta1" ) f.exec "xterm -bg Magenta1 -fg Green &" "" f.nop " --- pin --- " f.pin } #menu "Right" { ### right mouse button # " === TOOLS === " f.refresh # "" f.nop # " xfontsel " f.exec "xfontsel &" # " xkeycaps " f.exec "xkeycaps &" # " xkbprint " f.exec "xkbprint 0: &" # " xwininfo " f.exec "xwininfo | xless &" # " xcnf " f.exec "xcnf &" # " xprop " f.exec "xprop | xless &" # " xdyinfo " f.exec "xdpyinfo | xless &" # " xmag " f.exec "xmag &" # " xclipboard" f.exec "xclipboard &" # "" f.nop # " xfilemanager " f.exec "xfilemanager &" # " xfm " f.exec "xfm &" # "" f.nop # " xmgr " f.exec "xmgr &" # " xv " f.exec "xv &" # " xpaint " f.exec "xpaint &" # " xfig " f.exec "xfig &" # "" f.nop # " xpdf " f.exec "xpdf &" ## " ghostview " f.exec "ghostview -a4 &" # " gv " f.exec "gv &" # " xdvi " f.exec "xdvi &" ## " xli " f.exec "xli &" # "" f.nop # " xmix " f.exec "xmix &" # " xplay " f.exec "xplay &" # " xrplay " f.exec "xrplay &" # "" f.nop # " xosview " f.exec "xosview &" # " xload " f.exec "xload &" # "" f.nop # " xminicom " f.exec "xminicom &" # " xfractint " f.exec "xterm -g 80x25 -e xfractint &" # "" f.nop # " tkman " f.exec "tkman &" # " --- pin --- " f.pin #} menu "XSettings" { " === X11 SETTINGS === " f.refresh "" f.nop " Mouse slow " f.exec "xset m 1 1 &" # " Mouse normal " f.exec "xset m 2 5 &" " Mouse normal " f.exec "xset m 8/5 10 &" " Mouse fast " f.exec "xset m 4 2 &" # "" f.nop # " show Icon mgr " f.showiconmgr # " hide Icon mgr " f.hideiconmgr # "" f.nop # " Tone loud " f.exec "xset b 7 &" # " Tone normal " f.exec "xset b 3 &" # " Tone off " f.exec "xset b off &" # " test Tone " f.beep # "" f.nop # " click hard" f.exec "xset c 8 &" # " click soft" f.exec "xset c on &" # " click off" f.exec "xset c off &" "" f.nop " Keybord fast" f.exec "xset r rate 250 30 &" # "" f.nop # " Bell high" f.exec "xset b 100 9500 20 &" # "" f.nop # " XLock on " f.exec "xset l on &" # " XLock off " f.exec "xset l off &" "" f.nop " Keyboard US " f.exec "setxkbmap -layout us &" " Keyboard DE " f.exec "setxkbmap -layout de &" # "" f.nop # " show Workspacemgr " f.showWorkspaceMgr # " hide Workspacemgr " f.hideWorkspaceMgr "" f.nop " EXIT ctwm " f.quit " --- pin --- " f.pin } menu "Window" { " === WINDOW === " f.refresh "" f.nop " Delete " f.delete # " delete or kill " f.deleteordestroy " ! KILL ! " f.destroy "" f.nop " Vert - Zoom " f.zoom " Horiz - Zoom " f.horizoom " Full - Zoom " f.fullzoom " Left - Zoom " f.leftzoom " Top - Zoom " f.topzoom " Right - Zoom " f.rightzoom " Bottom - Zoom " f.bottomzoom # " squeeze " f.squeeze "" f.nop # " refresh " f.winrefresh # " iconify " f.iconify # " resize " f.resize # " move " f.move # " movepack " f.movepack # " movepush " f.movepush # " raise " f.raise # " lower " f.lower # " identify " f.identify " Occupy " f.occupy " Vanish " f.vanish " OccupyAll " f.occupyall # " focus " f.focus # " unfocus " f.unfocus # " save yourself " f.saveyourself # "" f.nop # " adopt window " f.adoptwindow # " animate " f.startanimation # " don't animate " f.stopanimation " --- pin --- " f.pin } #menu "XLockShow" { # " === XLOCK SHOW === " f.refresh # "" f.nop # " flag" f.exec "xlock -nolock -mode flag &" # " thornbird" f.exec "xlock -nolock -mode thornbird &" # " kumppa" f.exec "xlock -nolock -mode kumppa &" # " strange" f.exec "xlock -nolock -mode strange &" # " ifs" f.exec "xlock -nolock -mode ifs &" # " galaxy" f.exec "xlock -nolock -mode galaxy &" # " flow" f.exec "xlock -nolock -mode flow &" # " slip" f.exec "xlock -nolock -mode slip &" # " hop" f.exec "xlock -nolock -mode hop &" # " julia" f.exec "xlock -nolock -mode julia &" # "" f.nop # " laser" f.exec "xlock -nolock -mode laser &" # " lightning" f.exec "xlock -nolock -mode lightning &" # " pyro" f.exec "xlock -nolock -mode pyro &" # " rock" f.exec "xlock -nolock -mode rock &" # " rotor" f.exec "xlock -nolock -mode rotor &" # " bouboule" f.exec "xlock -nolock -mode bouboule &" # " braid" f.exec "xlock -nolock -mode braid &" # " penrose" f.exec "xlock -nolock -mode penrose &" # "" f.nop # " life" f.exec "xlock -nolock -mode life &" # " life1d" f.exec "xlock -nolock -mode life1d &" # " life3d" f.exec "xlock -nolock -mode life3d &" # " wire" f.exec "xlock -nolock -mode wire &" # " wator" f.exec "xlock -nolock -mode wator &" # " swarm" f.exec "xlock -nolock -mode swarm &" # " hyper" f.exec "xlock -nolock -mode hyper &" # " grav" f.exec "xlock -nolock -mode grav &" # "" f.nop # " atlantis" f.exec "xlock -nolock -mode atlantis &" # " pipes" f.exec "xlock -nolock -mode pipes &" # " gears" f.exec "xlock -nolock -mode gears &" # " sproingies" f.exec "xlock -nolock -mode sproingies &" # " lament" f.exec "xlock -nolock -mode lament &" # " cage" f.exec "xlock -nolock -mode cage &" # " stairs" f.exec "xlock -nolock -mode stairs &" # " moebius" f.exec "xlock -nolock -mode moebius &" ## " image" f.exec "xlock -nolock -mode image &" ## " spline" f.exec "xlock -nolock -mode spline &" # "" f.nop # " --- pin --- " f.pin # #}