/usr/share/afterstep/scripts/DeskSetup is in afterstep-data 2.2.12-11.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 | WindowTitle {Desktop}
WindowSize 360 400 # Taille
WindowPosition 191 50 # Position
ForeColor {black}
BackColor {grey85}
ShadowColor {grey55}
HilightColor {grey100}
Font -adobe-helvetica-bold-r-*-*-12-*
Init
Begin
WarpPointer 1
Set $RAISE=(GetASoption {cat ~/.steprc} {FvwmAuto} 0)
If $RAISE=={KillModule Auto} Then
ChangeValue 6 0
Else
ChangeValue 6 1
Set $FOCUS=(GetASoption {cat ~/.steprc} {ChangeDefaultFocus} 0)
If $FOCUS=={ChangeDefaultFocus SloppyFocus} Then
ChangeValue 8 1
If $FOCUS=={ChangeDefaultFocus ClickToFocus} Then
ChangeValue 8 2
If $FOCUS=={ChangeDefaultFocus FocusFollowsMouse} Then
ChangeValue 8 3
Set $PAGE=(GetASoption {cat ~/.steprc} {EdgeScroll} 0)
If $PAGE == {EdgeScroll 100 100} Then
ChangeValue 12 1
If $PAGE == {EdgeScroll 0 0} Then
ChangeValue 12 2
If $PAGE == {EdgeScroll 100 0} Then
ChangeValue 12 3
If $PAGE == {EdgeScroll 0 100} Then
ChangeValue 12 4
If $PAGE == {EdgeScroll 50 50} Then
ChangeValue 12 5
If $PAGE == {EdgeScroll 100000 100000} Then
ChangeValue 12 6
Set $COLOR=(GetASoption {cat ~/.steprc} {ColormapFocus} 0)
If $COLOR=={ColormapFocus FollowsMouse} Then
ChangeValue 10 1
Else
ChangeValue 10 2
Set $NBROW=(GetASoption {cat ~/.steprc} {DeskTopSize} 3)
Set $NBCOL=(GetASoption {cat ~/.steprc} {DeskTopSize} 2)
ChangeTitle 21 $NBROW
ChangeTitle 20 $NBCOL
ChangeValue 19 $NBROW
ChangeValue 18 $NBCOL
Set $OPAQ=(GetASoption {cat ~/.steprc} {OpaqueMoveSize} 2)
ChangeValue 23 $OPAQ
ChangeTitle 25 $OPAQ
End
Widget 1
Property
Size 50 30
Position 100 340
Type PushButton
Title {OK}
Main
Case message of
SingleClic :
Begin
Do $RAISE
WriteToFile .steprc $RAISE
Do $FOCUS
WriteToFile .steprc $FOCUS
Do $PAGE
WriteToFile .steprc $PAGE
Do $COLOR
WriteToFile .steprc $COLOR
Do {OpaqueMoveSize } (GetValue 23)
WriteToFile .steprc {OpaqueMoveSize } (GetValue 23)
Do {DeskTopSize } (GetValue 18) { } (GetValue 19)
WriteToFile .steprc {DeskTopSize } (GetValue 18) { } (GetValue 19)
Quit
End
End
Widget 2
Property
Size 50 30
Position 190 340
Type PushButton
Title {Apply}
Main
Case message of
SingleClic :
Begin
Do $RAISE
Do $FOCUS
Do $PAGE
Do $COLOR
Do {DeskTopSize } (GetValue 18) { } (GetValue 19)
Do {OpaqueMoveSize } (GetValue 23)
End
End
Widget 3
Property
Size 30 30
Position 280 340
Type PushButton
Title {Cancel}
Main
Case message of
SingleClic :
Begin
Quit
End
End
Widget 4
Property
Size 340 310
Position 10 10
Type Rectangle
Main
Case message of
SingleClic :
Begin
End
End
Widget 5
Property
Position 30 40
Type ItemDraw
Title {Auto raise:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 6
Property
Position 110 40
Type CheckBox
Title {On}
Main
Case message of
SingleClic :
Begin
If (GetValue 6) == 1 Then
Set $RAISE={Module FvwmAuto 2000 Raise Nop}
Else
Set $RAISE={KillModule FvwmAuto}
End
End
Widget 7
Property
Position 30 75
Type ItemDraw
Title {Focus:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 8
Property
Position 110 70
Type PopupMenu
Title {Sloppy Focus|Click To Focus|Focus Follows Mouse}
Main
Case message of
SingleClic :
Begin
If (GetValue 8) == 1 Then
Set $FOCUS={ChangeDefaultFocus SloppyFocus}
If (GetValue 8) == 2 Then
Set $FOCUS={ChangeDefaultFocus ClickToFocus}
If (GetValue 8) == 3 Then
Set $FOCUS={ChangeDefaultFocus FocusFollowsMouse}
End
End
Widget 11
Property
Position 30 155
Type ItemDraw
Title {Paging:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 12
Property
Position 110 150
Type PopupMenu
Title {Full Paging ON|All Paging OFF|Horizontal Paging Only|Vertical Paging Only|Partial Paging|Full Paging && Edge Wrap}
Main
Case message of
SingleClic :
Begin
If (GetValue 12) == 1 Then
Set $PAGE={EdgeScroll 100 100}
If (GetValue 12) == 2 Then
Set $PAGE={EdgeScroll 0 0}
If (GetValue 12) == 3 Then
Set $PAGE={EdgeScroll 100 0}
If (GetValue 12) == 4 Then
Set $PAGE={EdgeScroll 0 100}
If (GetValue 12) == 5 Then
Set $PAGE={EdgeScroll 50 50}
If (GetValue 12) == 6 Then
Set $PAGE={EdgeScroll 100000 100000}
End
End
Widget 9
Property
Position 30 115
Type ItemDraw
Title {Colormap:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 10
Property
Position 110 110
Type PopupMenu
Title {Colormap Follows Mouse|Colormap Follows Focus}
Main
Case message of
SingleClic :
Begin
If (GetValue 10) == 1 Then
Set $COLOR={ColormapFocus FollowsMouse}
Else
Set $COLOR={ColormapFocus FollowsFocus}
End
End
Widget 13
Property
Position 30 210
Type ItemDraw
Title {Desktop size}
Main
Case message of
SingleClic :
Begin
End
End
Widget 14
Property
Position 120 195
Type ItemDraw
Title {Nb of column:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 15
Property
Position 139 228
Type ItemDraw
Title {Nb of row:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 16
Property
Size 25 25
Position 210 190
Type Rectangle
Main
Case message of
SingleClic :
Begin
End
End
Widget 17
Property
Size 25 25
Position 210 225
Type Rectangle
Main
Case message of
SingleClic :
Begin
End
End
Widget 18
Property
Size 25 25
Position 240 187
Value 1
MaxValue 9
MinValue 1
Type MiniScroll
Main
Case message of
SingleClic :
Begin
ChangeTitle 20 (GetValue 18)
End
End
Widget 19
Property
Size 25 25
Position 240 222
Type MiniScroll
Value 1
MaxValue 9
MinValue 1
Main
Case message of
SingleClic :
Begin
ChangeTitle 21 (GetValue 19)
End
End
Widget 20
Property
Position 218 195
Type ItemDraw
Title {4}
Main
Case message of
SingleClic :
Begin
End
End
Widget 21
Property
Position 218 228
Type ItemDraw
Title {2}
Main
Case message of
SingleClic :
Begin
End
End
Widget 22
Property
Size 35 25
Position 200 272
Type Rectangle
Main
Case message of
SingleClic :
Begin
End
End
Widget 23
Property
Size 25 25
Position 240 268
Value 100
MaxValue 100
MinValue 0
Type MiniScroll
Main
Case message of
SingleClic :
Begin
ChangeTitle 25 (GetValue 23)
End
End
Widget 24
Property
Size 25 25
Position 30 277
Type ItemDraw
Title {Opaque move size (%):}
Main
Case message of
SingleClic :
Begin
End
End
Widget 25
Property
Position 206 277
Type ItemDraw
Title {100}
Main
Case message of
SingleClic :
Begin
End
End
|