2 # --- T2-COPYRIGHT-NOTE-BEGIN ---
3 # T2 SDE: package/*/twm/twm-defaults.patch
4 # Copyright (C) 2004 - 2022 The T2 SDE Project
5 # Copyright (C) 1998 - 2004 ROCK Linux Project
7 # This Copyright note is generated by scripts/Create-CopyPatch,
8 # more information can be found in the files COPYING and README.
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License version 2 as used by the T2 SDE.
14 # --- T2-COPYRIGHT-NOTE-END ---
16 Some default twm config.
18 --- twm/src/system.twmrc.orig 2003-08-28 02:06:28.000000000 +0200
19 +++ twm/src/system.twmrc 2003-08-28 02:36:46.000000000 +0200
21 # $XFree86: xc/programs/twm/system.twmrc,v 1.5 2003/08/04 10:32:30 eich Exp $
30 IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
31 IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
41 Function "move-or-lower" { f.move f.deltastop f.lower }
42 Function "move-or-raise" { f.move f.deltastop f.raise }
43 -Function "move-or-iconify" { f.move f.deltastop f.iconify }
44 +Function "xiconify" { f.iconify f.showiconmgr }
47 # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
49 -Button1 = : root : f.menu "defops"
51 -Button1 = m : window|icon : f.function "move-or-lower"
52 -Button2 = m : window|icon : f.iconify
53 -Button3 = m : window|icon : f.function "move-or-raise"
54 +LeftTitleButton "opendotMask" = f.function "xiconify"
55 +RightTitleButton "star" = f.delete
57 +Button1 = : root : f.menu "defops"
58 +Button2 = : root : f.menu "apps"
59 +Button3 = : root : f.exec "xterm &"
61 Button1 = : title : f.function "move-or-raise"
62 -Button2 = : title : f.raiselower
63 +Button2 = : title : f.fullzoom
64 +Button3 = : title : f.function "move-or-lower"
66 -Button1 = : icon : f.function "move-or-iconify"
67 -Button2 = : icon : f.iconify
68 +Button1 = : icon : f.function "xiconify"
69 +Button3 = : icon : f.identify
71 +Button1 = : iconmgr : f.function "xiconify"
72 +Button2 = : iconmgr : f.raise
73 +Button3 = : iconmgr : f.identify
75 +Button1 = : frame : f.resize
76 +Button2 = : frame : f.raiselower
77 +Button3 = : frame : f.function "move-or-raise"
79 -Button1 = : iconmgr : f.iconify
80 -Button2 = : iconmgr : f.iconify
83 # And a menus with the usual things
96 -"Show Iconmgr" f.showiconmgr
97 -"Hide Iconmgr" f.hideiconmgr
99 -"Xterm" f.exec "exec xterm &"
107 + "Iconify" f.iconify
115 + "Unfocus" f.unfocus
116 + "Show Iconmgr" f.showiconmgr
117 + "Hide Iconmgr" f.hideiconmgr
122 + "Restart" f.restart
128 + "Applications" f.title
129 + "Xterm" f.exec "xterm &"
130 + "Xterm (black)" f.exec "xterm -fg white -bg black &"
131 + "Firefox" f.exec "firefox &"
132 + "Icon Manager" f.showiconmgr