* updated pyxdg (0.19 -> 0.28)
[t2sde.git] / package / xorg / twm / twm-defaults.patch
blobd2c3e80b97c16f024b0e90e3780d850e2bebef05
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
6 #
7 # This Copyright note is generated by scripts/Create-CopyPatch,
8 # more information can be found in the files COPYING and README.
9 #
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
20 @@ -12,6 +12,8 @@
21 # $XFree86: xc/programs/twm/system.twmrc,v 1.5 2003/08/04 10:32:30 eich Exp $
24 +NoDefaults
26 NoGrabServer
27 RestartPreviousState
28 DecorateTransients
29 @@ -21,6 +23,9 @@
30 IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
31 IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
32 #ClientBorderWidth
33 +RandomPlacement
34 +AutoRelativeResize
35 +IconifyByUnmapping
37 Color
39 @@ -47,48 +52,65 @@
40 MoveDelta 3
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
85 menu "defops"
87 -"Twm" f.title
88 -"Iconify" f.iconify
89 -"Resize" f.resize
90 -"Move" f.move
91 -"Raise" f.raise
92 -"Lower" f.lower
93 -"" f.nop
94 -"Focus" f.focus
95 -"Unfocus" f.unfocus
96 -"Show Iconmgr" f.showiconmgr
97 -"Hide Iconmgr" f.hideiconmgr
98 -"" f.nop
99 -"Xterm" f.exec "exec xterm &"
100 -"" f.nop
101 -"Kill" f.destroy
102 -"Delete" f.delete
103 -"" f.nop
104 -"Restart" f.restart
105 -"Exit" f.quit
106 + "TWM" f.title
107 + "Iconify" f.iconify
108 + "Resize" f.resize
109 + "Move" f.move
110 + "Raise" f.raise
111 + "Lower" f.lower
112 + "Zoom" f.fullzoom
113 + "" f.nop
114 + "Focus" f.focus
115 + "Unfocus" f.unfocus
116 + "Show Iconmgr" f.showiconmgr
117 + "Hide Iconmgr" f.hideiconmgr
118 + "" f.nop
119 + "Kill" f.destroy
120 + "Delete" f.delete
121 + "" f.nop
122 + "Restart" f.restart
123 + "Exit" f.quit
126 +menu "apps"
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