[clfswm-cvs] r434 - in clfswm: . doc src

Philippe Brochard pbrochard at common-lisp.net
Wed Mar 16 21:48:59 UTC 2011


Author: pbrochard
Date: Wed Mar 16 17:48:59 2011
New Revision: 434

Log:
src/clfswm-autodoc.lisp (produce-all-docs): Produce a documentation for all configurable variables in CLFSWM.

Added:
   clfswm/doc/variables.txt
Modified:
   clfswm/ChangeLog
   clfswm/doc/corner.html
   clfswm/doc/corner.txt
   clfswm/doc/keys.html
   clfswm/doc/keys.txt
   clfswm/doc/menu.html
   clfswm/doc/menu.txt
   clfswm/src/clfswm-autodoc.lisp
   clfswm/src/clfswm-info.lisp
   clfswm/src/tools.lisp

Modified: clfswm/ChangeLog
==============================================================================
--- clfswm/ChangeLog	(original)
+++ clfswm/ChangeLog	Wed Mar 16 17:48:59 2011
@@ -1,5 +1,8 @@
 2011-03-16  Philippe Brochard  <pbrochard at common-lisp.net>
 
+	* src/clfswm-autodoc.lisp (produce-all-docs): Produce a
+	documentation for all configurable variables in CLFSWM.
+
 	* src/clfswm-layout.lisp (set-gimp-layout): Display a notify
 	window with the help on the GIMP layout.
 

Modified: clfswm/doc/corner.html
==============================================================================
--- clfswm/doc/corner.html	(original)
+++ clfswm/doc/corner.html	Wed Mar 16 17:48:59 2011
@@ -120,7 +120,7 @@
           Bottom-Left:
         </td>
         <td style="color:#0000ff" nowrap>
-          ---
+          Start the file manager
         </td>
       </tr>
     </table>

Modified: clfswm/doc/corner.txt
==============================================================================
--- clfswm/doc/corner.txt	(original)
+++ clfswm/doc/corner.txt	Wed Mar 16 17:48:59 2011
@@ -16,7 +16,7 @@
   Top-Left: Hide/Unhide a terminal
   Top-Right: Close or kill the current window (ask before doing anything)
   Bottom-Right: Present all windows in all frames (An expose like)
-  Bottom-Left: ---
+  Bottom-Left: Start the file manager
 
 *Corner-Second-Mode-Left-Button*:
   Top-Left: ---

Modified: clfswm/doc/keys.html
==============================================================================
--- clfswm/doc/keys.html	(original)
+++ clfswm/doc/keys.html	Wed Mar 16 17:48:59 2011
@@ -365,7 +365,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          1
+          Ccedilla
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -376,7 +376,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          2
+          Underscore
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -387,7 +387,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          3
+          Egrave
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -398,7 +398,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          4
+          Minus
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -409,7 +409,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          5
+          Parenleft
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -420,7 +420,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          6
+          Quoteright
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -431,7 +431,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          7
+          Quotedbl
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -442,7 +442,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          8
+          Eacute
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -453,7 +453,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          9
+          Ampersand
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -464,12 +464,111 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          0
+          F2
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Open the Music Player Daemon (MPD) menu
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+           Mod-1 
+        </td>
+        <td align="center" nowrap>
+          Agrave
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
         </td>
       </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Pause
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Open the Reboot/Halt menu
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Xf86audiomute
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Toggle mute.
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Xf86audiolowervolume
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Lower volume.
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Xf86audioraisevolume
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Raise volume.
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Control_r
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Move the pointer to the lower right corner of the screen
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+           Control 
+        </td>
+        <td align="center" nowrap>
+          66
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Present all windows in the current child (An expose like)
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+           Mod-1  Control 
+        </td>
+        <td align="center" nowrap>
+          66
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Present all windows in the current frame (An expose like)
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+           Control  Shift 
+        </td>
+        <td align="center" nowrap>
+          66
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Present all windows in all frames (An expose like)
+        </td>
+      </tr>
     </table>
     <h3>
       <u>
@@ -648,7 +747,7 @@
           Less
         </td>
         <td style="color:#0000ff" nowrap>
-          Open the main menu
+          Lower 1% volume.
         </td>
       </tr>
       <tr>
@@ -1327,7 +1426,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          1
+          Ccedilla
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -1338,7 +1437,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          2
+          Underscore
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -1349,7 +1448,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          3
+          Egrave
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -1360,7 +1459,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          4
+          Minus
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -1371,7 +1470,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          5
+          Parenleft
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -1382,7 +1481,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          6
+          Quoteright
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -1393,7 +1492,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          7
+          Quotedbl
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -1404,7 +1503,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          8
+          Eacute
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -1415,7 +1514,7 @@
            Mod-1 
         </td>
         <td align="center" nowrap>
-          9
+          Ampersand
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
@@ -1423,15 +1522,148 @@
       </tr>
       <tr>
         <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Twosuperior
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Move the pointer to the lower right corner of the screen
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
            Mod-1 
         </td>
         <td align="center" nowrap>
-          0
+          Agrave
         </td>
         <td style="color:#0000ff" nowrap>
           Bind or jump to a slot (a frame or a window)
         </td>
       </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Xf86audiomute
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Toggle mute.
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Xf86audiolowervolume
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Lower volume.
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Xf86audioraisevolume
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Raise volume.
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Greater
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Raise 1% volume.
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Space
+        </td>
+        <td style="color:#0000ff" nowrap>
+          start the file manager
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Z
+        </td>
+        <td style="color:#0000ff" nowrap>
+          start the web browser
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+           Shift 
+        </td>
+        <td align="center" nowrap>
+          Z
+        </td>
+        <td style="color:#0000ff" nowrap>
+          start the Konqueror web browser
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          S
+        </td>
+        <td style="color:#0000ff" nowrap>
+          start the web browser on the search page
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+           Control 
+        </td>
+        <td align="center" nowrap>
+          S
+        </td>
+        <td style="color:#0000ff" nowrap>
+          start the web browser on the search page with google
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+           Shift 
+        </td>
+        <td align="center" nowrap>
+          S
+        </td>
+        <td style="color:#0000ff" nowrap>
+          Ask an URL to be opened in the Surf browser
+        </td>
+      </tr>
+      <tr>
+        <td align="right" style="color:#ff0000" nowrap>
+          
+        </td>
+        <td align="center" nowrap>
+          Q
+        </td>
+        <td style="color:#0000ff" nowrap>
+          <nil>
+          </nil>
+        </td>
+      </tr>
     </table>
     <h3>
       <u>

Modified: clfswm/doc/keys.txt
==============================================================================
--- clfswm/doc/keys.txt	(original)
+++ clfswm/doc/keys.txt	Wed Mar 16 17:48:59 2011
@@ -36,16 +36,25 @@
   Control              Escape          Close or kill the current window (ask before doing anything)
   Mod-1                T               Switch to editing mode (second mode)
   Control              Less            Switch to editing mode (second mode)
-  Mod-1                1               Bind or jump to a slot (a frame or a window)
-  Mod-1                2               Bind or jump to a slot (a frame or a window)
-  Mod-1                3               Bind or jump to a slot (a frame or a window)
-  Mod-1                4               Bind or jump to a slot (a frame or a window)
-  Mod-1                5               Bind or jump to a slot (a frame or a window)
-  Mod-1                6               Bind or jump to a slot (a frame or a window)
-  Mod-1                7               Bind or jump to a slot (a frame or a window)
-  Mod-1                8               Bind or jump to a slot (a frame or a window)
-  Mod-1                9               Bind or jump to a slot (a frame or a window)
-  Mod-1                0               Bind or jump to a slot (a frame or a window)
+  Mod-1                Ccedilla        Bind or jump to a slot (a frame or a window)
+  Mod-1                Underscore      Bind or jump to a slot (a frame or a window)
+  Mod-1                Egrave          Bind or jump to a slot (a frame or a window)
+  Mod-1                Minus           Bind or jump to a slot (a frame or a window)
+  Mod-1                Parenleft       Bind or jump to a slot (a frame or a window)
+  Mod-1                Quoteright      Bind or jump to a slot (a frame or a window)
+  Mod-1                Quotedbl        Bind or jump to a slot (a frame or a window)
+  Mod-1                Eacute          Bind or jump to a slot (a frame or a window)
+  Mod-1                Ampersand       Bind or jump to a slot (a frame or a window)
+  Mod-1                F2              Open the Music Player Daemon (MPD) menu
+  Mod-1                Agrave          Bind or jump to a slot (a frame or a window)
+                       Pause           Open the Reboot/Halt menu
+                       Xf86audiomute   Toggle mute.
+                       Xf86audiolowervolume   Lower volume.
+                       Xf86audioraisevolume   Raise volume.
+                       Control_r       Move the pointer to the lower right corner of the screen
+  Control              66              Present all windows in the current child (An expose like)
+  Mod-1 Control        66              Present all windows in the current frame (An expose like)
+  Control Shift        66              Present all windows in all frames (An expose like)
 
 
 Mouse buttons actions in main mode:
@@ -70,7 +79,7 @@
 
   Mod-1                F1              Open the help and info window
                        M               Open the main menu
-                       Less            Open the main menu
+                       Less            Lower 1% volume.
   Control              Less            Open the main menu
                        F               Open the frame menu
                        W               Open the window menu
@@ -132,16 +141,28 @@
   Control              F10             Present all windows in the current frame (An expose like)
   Shift                L2              Show all frames info windows until a key is release
   Mod-1 Shift          L2              Show all frames info windows
-  Mod-1                1               Bind or jump to a slot (a frame or a window)
-  Mod-1                2               Bind or jump to a slot (a frame or a window)
-  Mod-1                3               Bind or jump to a slot (a frame or a window)
-  Mod-1                4               Bind or jump to a slot (a frame or a window)
-  Mod-1                5               Bind or jump to a slot (a frame or a window)
-  Mod-1                6               Bind or jump to a slot (a frame or a window)
-  Mod-1                7               Bind or jump to a slot (a frame or a window)
-  Mod-1                8               Bind or jump to a slot (a frame or a window)
-  Mod-1                9               Bind or jump to a slot (a frame or a window)
-  Mod-1                0               Bind or jump to a slot (a frame or a window)
+  Mod-1                Ccedilla        Bind or jump to a slot (a frame or a window)
+  Mod-1                Underscore      Bind or jump to a slot (a frame or a window)
+  Mod-1                Egrave          Bind or jump to a slot (a frame or a window)
+  Mod-1                Minus           Bind or jump to a slot (a frame or a window)
+  Mod-1                Parenleft       Bind or jump to a slot (a frame or a window)
+  Mod-1                Quoteright      Bind or jump to a slot (a frame or a window)
+  Mod-1                Quotedbl        Bind or jump to a slot (a frame or a window)
+  Mod-1                Eacute          Bind or jump to a slot (a frame or a window)
+  Mod-1                Ampersand       Bind or jump to a slot (a frame or a window)
+                       Twosuperior     Move the pointer to the lower right corner of the screen
+  Mod-1                Agrave          Bind or jump to a slot (a frame or a window)
+                       Xf86audiomute   Toggle mute.
+                       Xf86audiolowervolume   Lower volume.
+                       Xf86audioraisevolume   Raise volume.
+                       Greater         Raise 1% volume.
+                       Space           start the file manager
+                       Z               start the web browser
+  Shift                Z               start the Konqueror web browser
+                       S               start the web browser on the search page
+  Control              S               start the web browser on the search page with google
+  Shift                S               Ask an URL to be opened in the Surf browser
+                       Q               NIL
 
 
 Mouse buttons actions in second mode:

Modified: clfswm/doc/menu.html
==============================================================================
--- clfswm/doc/menu.html	(original)
+++ clfswm/doc/menu.html	Wed Mar 16 17:48:59 2011
@@ -90,6 +90,105 @@
     <p>
       v: Show the current CLFSWM version
     </p>
+    <p>
+      F2: <a href="#MPD-MENU">< Music Player Daemon (MPD) menu ></a>
+    </p>
+    <p>
+      x: <a href="#XMMS-MENU">< XMMS menu ></a>
+    </p>
+    <p>
+      i: <a href="#CDPLAYER-MENU">< CDPLAYER menu ></a>
+    </p>
+    <hr>
+    <h3>
+      <a name="MPD-MENU"></a><a href="#HELP-MENU">Mpd-Menu</a>
+    </h3>
+    <p>
+      i: Show MPD informations
+    </p>
+    <p>
+      p: Play the previous song in the current playlist
+    </p>
+    <p>
+      n: Play the next song in the current playlist
+    </p>
+    <p>
+      t: Toggles Play/Pause, plays if stopped
+    </p>
+    <p>
+      y: Start playing
+    </p>
+    <p>
+      k: Stop the currently playing playlists
+    </p>
+    <p>
+      x: Seeks to +5%
+    </p>
+    <p>
+      w: Seeks to -5%
+    </p>
+    <p>
+      l: Show the current MPD playlist
+    </p>
+    <p>
+      s: Start sonata
+    </p>
+    <p>
+      g: Start gmpc
+    </p>
+    <hr>
+    <h3>
+      <a name="XMMS-MENU"></a><a href="#HELP-MENU">Xmms-Menu</a>
+    </h3>
+    <p>
+      r: Lanch XMMS
+    </p>
+    <p>
+      s: Show the current xmms status
+    </p>
+    <p>
+      l: Show the current xmms playlist
+    </p>
+    <p>
+      n: Play the next XMMS track
+    </p>
+    <p>
+      p: Play the previous XMMS track
+    </p>
+    <p>
+      e: open xmms "Load file(s)" dialog window.
+    </p>
+    <hr>
+    <h3>
+      <a name="CDPLAYER-MENU"></a><a href="#HELP-MENU">Cdplayer-Menu</a>
+    </h3>
+    <p>
+      y: Start playing CD
+    </p>
+    <p>
+      k: Stop playing CD
+    </p>
+    <p>
+      t: Toggle pause
+    </p>
+    <p>
+      s: Show the current CD status
+    </p>
+    <p>
+      l: Show the current CD playlist
+    </p>
+    <p>
+      n: Play the next CD track
+    </p>
+    <p>
+      p: Play the previous CD track
+    </p>
+    <p>
+      e: Eject CD
+    </p>
+    <p>
+      c: Close CD
+    </p>
     <hr>
     <h3>
       <a name="STANDARD-MENU"></a><a href="#MAIN">Standard-Menu</a>
@@ -644,34 +743,40 @@
       p: glChess
     </p>
     <p>
-      q: Hedgewars - Worms style game
+      q: GLTron - Lightcycle game with a nice 3D perspective.
     </p>
     <p>
-      r: KGoldrunner - A game of action and puzzle-solving
+      r: Hedgewars - Worms style game
     </p>
     <p>
-      s: AMOR
+      s: Hex-a-Hop - Hexagonal Tile-based Puzzle Game
     </p>
     <p>
-      t: Blinken - A memory enhancement game
+      t: KGoldrunner - A game of action and puzzle-solving
     </p>
     <p>
-      u: Bomber
+      u: AMOR
     </p>
     <p>
-      v: Bovo
+      v: Blinken - A memory enhancement game
     </p>
     <p>
-      w: Granatier
+      w: Bomber
     </p>
     <p>
-      x: Kanagram - KDE Letter Order Game
+      x: Bovo
     </p>
     <p>
-      y: Kapman - Eat pills escaping ghosts
+      y: Granatier
     </p>
     <p>
-      z: KAtomic
+      z: Kanagram - KDE Letter Order Game
+    </p>
+    <p>
+      |: Kapman - Eat pills escaping ghosts
+    </p>
+    <p>
+      |: KAtomic
     </p>
     <p>
       |: Naval Battle
@@ -815,6 +920,12 @@
       |: pouetChess - Play a game of chess, either against another player or against the AI
     </p>
     <p>
+      |: Racer - Choose your car and race
+    </p>
+    <p>
+      |: Racer - Choose your car and race
+    </p>
+    <p>
       |: SolarWolf
     </p>
     <p>
@@ -846,61 +957,61 @@
       <a name="GRAPHICS"></a><a href="#STANDARD-MENU">Graphics</a>
     </h3>
     <p>
-      a: LibreOffice Draw
+      a: Image Viewer
     </p>
     <p>
-      b: Image Viewer
+      b: Document Viewer - View multi-page documents
     </p>
     <p>
-      c: Document Viewer - View multi-page documents
+      c: Gcolor2 - Choose colours from palette or screen
     </p>
     <p>
-      d: Gcolor2 - Choose colours from palette or screen
+      d: Geeqie - View and manage images
     </p>
     <p>
-      e: Geeqie - View and manage images
+      e: PostScript Viewer - View PostScript files
     </p>
     <p>
-      f: PostScript Viewer - View PostScript files
+      f: GNU Image Manipulation Program - Create images and edit photographs
     </p>
     <p>
-      g: GNU Image Manipulation Program - Create images and edit photographs
+      g: Image Viewer
     </p>
     <p>
-      h: Image Viewer
+      h: GQview - View and manage images
     </p>
     <p>
-      i: GQview - View and manage images
+      i: gThumb - View and organize your images
     </p>
     <p>
       j: gThumb - View and organize your images
     </p>
     <p>
-      k: gThumb - View and organize your images
+      k: GV
     </p>
     <p>
-      l: GV
+      l: Inkscape - Create and edit Scalable Vector Graphics images
     </p>
     <p>
-      m: Inkscape - Create and edit Scalable Vector Graphics images
+      m: digiKam
     </p>
     <p>
-      n: digiKam
+      n: Gwenview - A simple image viewer
     </p>
     <p>
-      o: Gwenview - A simple image viewer
+      o: KColorChooser
     </p>
     <p>
-      p: KColorChooser
+      p: KolourPaint
     </p>
     <p>
-      q: KolourPaint
+      q: KRuler
     </p>
     <p>
-      r: KRuler
+      r: KSnapshot
     </p>
     <p>
-      s: KSnapshot
+      s: Okular
     </p>
     <p>
       t: Okular
@@ -948,9 +1059,6 @@
       |: Okular
     </p>
     <p>
-      |: Okular
-    </p>
-    <p>
       |: showFoto - Manage your photographs like a professional with the power of open source
     </p>
     <p>
@@ -1118,94 +1226,97 @@
       <a name="OFFICE"></a><a href="#STANDARD-MENU">Office</a>
     </h3>
     <p>
-      a: AbiWord
+      a: LibreOffice 3.3 Base
     </p>
     <p>
-      b: LibreOffice Base
+      b: LibreOffice 3.3 Calc
     </p>
     <p>
-      c: LibreOffice Calc
+      c: LibreOffice 3.3 Draw
     </p>
     <p>
-      d: ePDFViewer - Lightweight PDF document viewer
+      d: LibreOffice 3.3 Impress
     </p>
     <p>
-      e: Evolution - Manage your email, contacts and schedule
+      e: LibreOffice 3.3 Math
     </p>
     <p>
-      f: FreeMind
+      f: LibreOffice 3.3 Printer Administration
     </p>
     <p>
-      g: Orage Globaltime - Show clocks from different countries
+      g: LibreOffice 3.3 
     </p>
     <p>
-      h: Gnumeric - Calculation, Analysis, and Visualization of Information
+      h: LibreOffice 3.3 Writer
     </p>
     <p>
-      i: GV
+      i: AbiWord
     </p>
     <p>
-      j: LibreOffice Impress
+      j: ePDFViewer - Lightweight PDF document viewer
     </p>
     <p>
-      k: Kontact
+      k: Evolution - Manage your email, contacts and schedule
     </p>
     <p>
-      l: KAddressBook
+      l: FreeMind
     </p>
     <p>
-      m: KOrganizer - Calendar and Scheduling Program
+      m: Orage Globaltime - Show clocks from different countries
     </p>
     <p>
-      n: KTimeTracker
+      n: Gnumeric - Calculation, Analysis, and Visualization of Information
     </p>
     <p>
-      o: KWord - Write text documents
+      o: GV
     </p>
     <p>
-      p: Lokalize
+      p: Kontact
     </p>
     <p>
-      q: Okular
+      q: KAddressBook
     </p>
     <p>
-      r: LibreOffice 3.3 Math
+      r: KOrganizer - Calendar and Scheduling Program
     </p>
     <p>
-      s: LibreOffice 3.3 Printer Administration
+      s: KTimeTracker
     </p>
     <p>
-      t: LibreOffice 3.3 
+      t: KWord - Write text documents
     </p>
     <p>
-      u: LibreOffice 3.3 Writer
+      u: Lokalize
     </p>
     <p>
-      v: Lyx - Latex WYSIWYM Editor
+      v: Okular
+    </p>
+    <p>
+      w: Lyx - Latex WYSIWYM Editor
     </p>
     <p>
-      w: LibreOffice Extension Manager
+      x: LibreOffice Extension Manager
     </p>
     <p>
-      x: OOo4Kids 1.1 Calc
+      y: OOo4Kids 1.2 Calc
     </p>
     <p>
-      y: OOo4Kids 1.1 Draw
+      z: OOo4Kids 1.2 Draw
     </p>
     <p>
-      z: OOo4Kids 1.1 Impress
+      |: OOo4Kids 1.2 Impress
     </p>
     <p>
-      |: OOo4Kids 1.1 Math
+      |: OOo4Kids 1.2 Math
     </p>
     <p>
-      |: OOo4Kids 1.1
+      |: OOo4Kids 1.2
     </p>
     <p>
-      |: OOo4Kids 1.1 Printer Administration
+      |: OOo4Kids 1.2 Printer Administration
     </p>
     <p>
-      |: OOo4Kids 1.1 Writer
+      |: OOo4Kids 1.2 Writer
     </p>
     <p>
       |: LibreOffice Quickstarter
@@ -2679,6 +2790,12 @@
     <p>
       i: Open the window in this frame if it match absorb-nw-test
     </p>
+    <p>
+      z: Open the window in the UZBL frame if it match uzbl absorb-nw-test
+    </p>
+    <p>
+      s: Open the window in the Surf frame if it match surf absorb-nw-test
+    </p>
     <hr>
     <h3>
       <a name="FRAME-MOVEMENT-MENU"></a><a href="#FRAME-MENU">Frame-Movement-Menu</a>
@@ -3001,46 +3118,52 @@
       <a name="CONFIGURATION-MENU"></a><a href="#MAIN">Configuration-Menu</a>
     </h3>
     <p>
-      a: <a href="#CONF-NOTIFY-WINDOW">< Notify Window Group ></a>
+      a: <a href="#CONF-VOLUME-MODE">< Volume Mode Group ></a>
+    </p>
+    <p>
+      b: <a href="#CONF-GIMP-LAYOUT">< Gimp Layout Group ></a>
+    </p>
+    <p>
+      c: <a href="#CONF-NOTIFY-WINDOW">< Notify Window Group ></a>
     </p>
     <p>
-      b: <a href="#CONF-MENU">< Menu Group ></a>
+      d: <a href="#CONF-MENU">< Menu Group ></a>
     </p>
     <p>
-      c: <a href="#CONF-EXPOSE-MODE">< Expose Mode Group ></a>
+      e: <a href="#CONF-EXPOSE-MODE">< Expose Mode Group ></a>
     </p>
     <p>
-      d: <a href="#CONF-CIRCULATE-MODE">< Circulate Mode Group ></a>
+      f: <a href="#CONF-CIRCULATE-MODE">< Circulate Mode Group ></a>
     </p>
     <p>
-      e: <a href="#CONF-INFO-MODE">< Info Mode Group ></a>
+      g: <a href="#CONF-INFO-MODE">< Info Mode Group ></a>
     </p>
     <p>
-      f: <a href="#CONF-QUERY-STRING">< Query String Group ></a>
+      h: <a href="#CONF-QUERY-STRING">< Query String Group ></a>
     </p>
     <p>
-      g: <a href="#CONF-IDENTIFY-KEY">< Identify Key Group ></a>
+      i: <a href="#CONF-IDENTIFY-KEY">< Identify Key Group ></a>
     </p>
     <p>
-      h: <a href="#CONF-SECOND-MODE">< Second Mode Group ></a>
+      j: <a href="#CONF-SECOND-MODE">< Second Mode Group ></a>
     </p>
     <p>
-      i: <a href="#CONF-FRAME-COLORS">< Frame Colors Group ></a>
+      k: <a href="#CONF-FRAME-COLORS">< Frame Colors Group ></a>
     </p>
     <p>
-      j: <a href="#CONF-CORNER">< Corner Group ></a>
+      l: <a href="#CONF-CORNER">< Corner Group ></a>
     </p>
     <p>
-      k: <a href="#CONF-PLACEMENT">< Placement Group ></a>
+      m: <a href="#CONF-PLACEMENT">< Placement Group ></a>
     </p>
     <p>
-      l: <a href="#CONF-HOOK">< Hook Group ></a>
+      n: <a href="#CONF-HOOK">< Hook Group ></a>
     </p>
     <p>
-      m: <a href="#CONF-MAIN-MODE">< Main Mode Group ></a>
+      o: <a href="#CONF-MAIN-MODE">< Main Mode Group ></a>
     </p>
     <p>
-      n: <a href="#CONF-MISCELLANEOUS">< Miscellaneous Group ></a>
+      p: <a href="#CONF-MISCELLANEOUS">< Miscellaneous Group ></a>
     </p>
     <p>
       F2: Save all configuration variables in clfswmrc
@@ -3050,6 +3173,41 @@
     </p>
     <hr>
     <h3>
+      <a name="CONF-VOLUME-MODE"></a><a href="#CONFIGURATION-MENU">Conf-Volume-Mode</a>
+    </h3>
+    <p>
+      a: Configure VOLUME-EXTERNAL-MIXER-CMD
+    </p>
+    <p>
+      b: Configure VOLUME-TEXT-LIMIT
+    </p>
+    <p>
+      c: Configure VOLUME-HEIGHT
+    </p>
+    <p>
+      d: Configure VOLUME-WIDTH
+    </p>
+    <p>
+      e: Configure VOLUME-BORDER
+    </p>
+    <p>
+      f: Configure VOLUME-FOREGROUND
+    </p>
+    <p>
+      g: Configure VOLUME-BACKGROUND
+    </p>
+    <p>
+      h: Configure VOLUME-FONT-STRING
+    </p>
+    <hr>
+    <h3>
+      <a name="CONF-GIMP-LAYOUT"></a><a href="#CONFIGURATION-MENU">Conf-Gimp-Layout</a>
+    </h3>
+    <p>
+      a: Configure GIMP-LAYOUT-NOTIFY-WINDOW-DELAY
+    </p>
+    <hr>
+    <h3>
       <a name="CONF-NOTIFY-WINDOW"></a><a href="#CONFIGURATION-MENU">Conf-Notify-Window</a>
     </h3>
     <p>
@@ -3291,25 +3449,28 @@
       <a name="CONF-PLACEMENT"></a><a href="#CONFIGURATION-MENU">Conf-Placement</a>
     </h3>
     <p>
-      a: Configure NOTIFY-WINDOW-PLACEMENT
+      a: Configure VOLUME-MODE-PLACEMENT
+    </p>
+    <p>
+      b: Configure NOTIFY-WINDOW-PLACEMENT
     </p>
     <p>
-      b: Configure EXPOSE-MODE-PLACEMENT
+      c: Configure EXPOSE-MODE-PLACEMENT
     </p>
     <p>
-      c: Configure CIRCULATE-MODE-PLACEMENT
+      d: Configure CIRCULATE-MODE-PLACEMENT
     </p>
     <p>
-      d: Configure QUERY-MODE-PLACEMENT
+      e: Configure QUERY-MODE-PLACEMENT
     </p>
     <p>
-      e: Configure INFO-MODE-PLACEMENT
+      f: Configure INFO-MODE-PLACEMENT
     </p>
     <p>
-      f: Configure SECOND-MODE-PLACEMENT
+      g: Configure SECOND-MODE-PLACEMENT
     </p>
     <p>
-      g: Configure BANISH-POINTER-PLACEMENT
+      h: Configure BANISH-POINTER-PLACEMENT
     </p>
     <hr>
     <h3>
@@ -3408,6 +3569,28 @@
     <p>
       x: Exit clfswm
     </p>
+    <p>
+      Pause: <a href="#REBOOT-HALT-MENU">< Suspend/Reboot/Halt menu ></a>
+    </p>
+    <hr>
+    <h3>
+      <a name="REBOOT-HALT-MENU"></a><a href="#CLFSWM-MENU">Reboot-Halt-Menu</a>
+    </h3>
+    <p>
+      -: Do nothing
+    </p>
+    <p>
+      s: Suspend the computer to RAM
+    </p>
+    <p>
+      d: Suspend the computer to DISK
+    </p>
+    <p>
+      r: Reboot the computer
+    </p>
+    <p>
+      h: Halt the computer
+    </p>
     <hr>
     <p>
       <small>

Modified: clfswm/doc/menu.txt
==============================================================================
--- clfswm/doc/menu.txt	(original)
+++ clfswm/doc/menu.txt	Wed Mar 16 17:48:59 2011
@@ -27,6 +27,41 @@
 p: Show current processes sorted by CPU usage
 m: Show current processes sorted by memory usage
 v: Show the current CLFSWM version
+F2: < Music Player Daemon (MPD) menu >
+x: < XMMS menu >
+i: < CDPLAYER menu >
+
+Mpd-Menu
+i: Show MPD informations
+p: Play the previous song in the current playlist
+n: Play the next song in the current playlist
+t: Toggles Play/Pause, plays if stopped
+y: Start playing
+k: Stop the currently playing playlists
+x: Seeks to +5%
+w: Seeks to -5%
+l: Show the current MPD playlist
+s: Start sonata
+g: Start gmpc
+
+Xmms-Menu
+r: Lanch XMMS
+s: Show the current xmms status
+l: Show the current xmms playlist
+n: Play the next XMMS track
+p: Play the previous XMMS track
+e: open xmms "Load file(s)" dialog window.
+
+Cdplayer-Menu
+y: Start playing CD
+k: Stop playing CD
+t: Toggle pause
+s: Show the current CD status
+l: Show the current CD playlist
+n: Play the next CD track
+p: Play the previous CD track
+e: Eject CD
+c: Close CD
 
 Standard-Menu
 a: < TEXTEDITOR >
@@ -218,16 +253,18 @@
 n: gbrainy - Play games that challenge your logic, verbal, calculation and memory abilities
 o: GGoban - Play go and review game records
 p: glChess
-q: Hedgewars - Worms style game
-r: KGoldrunner - A game of action and puzzle-solving
-s: AMOR
-t: Blinken - A memory enhancement game
-u: Bomber
-v: Bovo
-w: Granatier
-x: Kanagram - KDE Letter Order Game
-y: Kapman - Eat pills escaping ghosts
-z: KAtomic
+q: GLTron - Lightcycle game with a nice 3D perspective.
+r: Hedgewars - Worms style game
+s: Hex-a-Hop - Hexagonal Tile-based Puzzle Game
+t: KGoldrunner - A game of action and puzzle-solving
+u: AMOR
+v: Blinken - A memory enhancement game
+w: Bomber
+x: Bovo
+y: Granatier
+z: Kanagram - KDE Letter Order Game
+|: Kapman - Eat pills escaping ghosts
+|: KAtomic
 |: Naval Battle
 |: KBlackBox
 |: KBlocks
@@ -275,6 +312,8 @@
 |: OpenTTD
 |: Pacdefence - Tower defence game.
 |: pouetChess - Play a game of chess, either against another player or against the AI
+|: Racer - Choose your car and race
+|: Racer - Choose your car and race
 |: SolarWolf
 |: Spring - An open source RTS with similar gameplay to TA
 |: SuperTux 2 - Play a classic 2D platform game
@@ -286,25 +325,25 @@
 |: XSpaceWarp - Live long and prosper!
 
 Graphics
-a: LibreOffice Draw
-b: Image Viewer
-c: Document Viewer - View multi-page documents
-d: Gcolor2 - Choose colours from palette or screen
-e: Geeqie - View and manage images
-f: PostScript Viewer - View PostScript files
-g: GNU Image Manipulation Program - Create images and edit photographs
-h: Image Viewer
-i: GQview - View and manage images
+a: Image Viewer
+b: Document Viewer - View multi-page documents
+c: Gcolor2 - Choose colours from palette or screen
+d: Geeqie - View and manage images
+e: PostScript Viewer - View PostScript files
+f: GNU Image Manipulation Program - Create images and edit photographs
+g: Image Viewer
+h: GQview - View and manage images
+i: gThumb - View and organize your images
 j: gThumb - View and organize your images
-k: gThumb - View and organize your images
-l: GV
-m: Inkscape - Create and edit Scalable Vector Graphics images
-n: digiKam
-o: Gwenview - A simple image viewer
-p: KColorChooser
-q: KolourPaint
-r: KRuler
-s: KSnapshot
+k: GV
+l: Inkscape - Create and edit Scalable Vector Graphics images
+m: digiKam
+n: Gwenview - A simple image viewer
+o: KColorChooser
+p: KolourPaint
+q: KRuler
+r: KSnapshot
+s: Okular
 t: Okular
 u: Okular
 v: Okular
@@ -320,7 +359,6 @@
 |: Okular
 |: Okular
 |: Okular
-|: Okular
 |: showFoto - Manage your photographs like a professional with the power of open source
 |: MuPDF - PDF file viewer
 |: Xfig
@@ -378,36 +416,37 @@
 |: Zenmap
 
 Office
-a: AbiWord
-b: LibreOffice Base
-c: LibreOffice Calc
-d: ePDFViewer - Lightweight PDF document viewer
-e: Evolution - Manage your email, contacts and schedule
-f: FreeMind
-g: Orage Globaltime - Show clocks from different countries
-h: Gnumeric - Calculation, Analysis, and Visualization of Information
-i: GV
-j: LibreOffice Impress
-k: Kontact
-l: KAddressBook
-m: KOrganizer - Calendar and Scheduling Program
-n: KTimeTracker
-o: KWord - Write text documents
-p: Lokalize
-q: Okular
-r: LibreOffice 3.3 Math
-s: LibreOffice 3.3 Printer Administration
-t: LibreOffice 3.3 
-u: LibreOffice 3.3 Writer
-v: Lyx - Latex WYSIWYM Editor
-w: LibreOffice Extension Manager
-x: OOo4Kids 1.1 Calc
-y: OOo4Kids 1.1 Draw
-z: OOo4Kids 1.1 Impress
-|: OOo4Kids 1.1 Math
-|: OOo4Kids 1.1
-|: OOo4Kids 1.1 Printer Administration
-|: OOo4Kids 1.1 Writer
+a: LibreOffice 3.3 Base
+b: LibreOffice 3.3 Calc
+c: LibreOffice 3.3 Draw
+d: LibreOffice 3.3 Impress
+e: LibreOffice 3.3 Math
+f: LibreOffice 3.3 Printer Administration
+g: LibreOffice 3.3 
+h: LibreOffice 3.3 Writer
+i: AbiWord
+j: ePDFViewer - Lightweight PDF document viewer
+k: Evolution - Manage your email, contacts and schedule
+l: FreeMind
+m: Orage Globaltime - Show clocks from different countries
+n: Gnumeric - Calculation, Analysis, and Visualization of Information
+o: GV
+p: Kontact
+q: KAddressBook
+r: KOrganizer - Calendar and Scheduling Program
+s: KTimeTracker
+t: KWord - Write text documents
+u: Lokalize
+v: Okular
+w: Lyx - Latex WYSIWYM Editor
+x: LibreOffice Extension Manager
+y: OOo4Kids 1.2 Calc
+z: OOo4Kids 1.2 Draw
+|: OOo4Kids 1.2 Impress
+|: OOo4Kids 1.2 Math
+|: OOo4Kids 1.2
+|: OOo4Kids 1.2 Printer Administration
+|: OOo4Kids 1.2 Writer
 |: LibreOffice Quickstarter
 |: LibreOffice
 |: Orage Calendar - Desktop calendar
@@ -910,6 +949,8 @@
 g: Open the next window in a named frame
 h: Open the next window in a numbered frame
 i: Open the window in this frame if it match absorb-nw-test
+z: Open the window in the UZBL frame if it match uzbl absorb-nw-test
+s: Open the window in the Surf frame if it match surf absorb-nw-test
 
 Frame-Movement-Menu
 p: < Frame pack menu >
@@ -1027,23 +1068,38 @@
 p: Prompt for an other window manager
 
 Configuration-Menu
-a: < Notify Window Group >
-b: < Menu Group >
-c: < Expose Mode Group >
-d: < Circulate Mode Group >
-e: < Info Mode Group >
-f: < Query String Group >
-g: < Identify Key Group >
-h: < Second Mode Group >
-i: < Frame Colors Group >
-j: < Corner Group >
-k: < Placement Group >
-l: < Hook Group >
-m: < Main Mode Group >
-n: < Miscellaneous Group >
+a: < Volume Mode Group >
+b: < Gimp Layout Group >
+c: < Notify Window Group >
+d: < Menu Group >
+e: < Expose Mode Group >
+f: < Circulate Mode Group >
+g: < Info Mode Group >
+h: < Query String Group >
+i: < Identify Key Group >
+j: < Second Mode Group >
+k: < Frame Colors Group >
+l: < Corner Group >
+m: < Placement Group >
+n: < Hook Group >
+o: < Main Mode Group >
+p: < Miscellaneous Group >
 F2: Save all configuration variables in clfswmrc
 F3: Reset all configuration variables to there default values
 
+Conf-Volume-Mode
+a: Configure VOLUME-EXTERNAL-MIXER-CMD
+b: Configure VOLUME-TEXT-LIMIT
+c: Configure VOLUME-HEIGHT
+d: Configure VOLUME-WIDTH
+e: Configure VOLUME-BORDER
+f: Configure VOLUME-FOREGROUND
+g: Configure VOLUME-BACKGROUND
+h: Configure VOLUME-FONT-STRING
+
+Conf-Gimp-Layout
+a: Configure GIMP-LAYOUT-NOTIFY-WINDOW-DELAY
+
 Conf-Notify-Window
 a: Configure NOTIFY-WINDOW-DELAY
 b: Configure NOTIFY-WINDOW-BORDER
@@ -1131,13 +1187,14 @@
 j: Configure CORNER-SIZE
 
 Conf-Placement
-a: Configure NOTIFY-WINDOW-PLACEMENT
-b: Configure EXPOSE-MODE-PLACEMENT
-c: Configure CIRCULATE-MODE-PLACEMENT
-d: Configure QUERY-MODE-PLACEMENT
-e: Configure INFO-MODE-PLACEMENT
-f: Configure SECOND-MODE-PLACEMENT
-g: Configure BANISH-POINTER-PLACEMENT
+a: Configure VOLUME-MODE-PLACEMENT
+b: Configure NOTIFY-WINDOW-PLACEMENT
+c: Configure EXPOSE-MODE-PLACEMENT
+d: Configure CIRCULATE-MODE-PLACEMENT
+e: Configure QUERY-MODE-PLACEMENT
+f: Configure INFO-MODE-PLACEMENT
+g: Configure SECOND-MODE-PLACEMENT
+h: Configure BANISH-POINTER-PLACEMENT
 
 Conf-Hook
 a: Configure DEFAULT-NW-HOOK
@@ -1173,6 +1230,14 @@
 r: Reset clfswm
 l: Reload clfswm
 x: Exit clfswm
+Pause: < Suspend/Reboot/Halt menu >
+
+Reboot-Halt-Menu
+-: Do nothing
+s: Suspend the computer to RAM
+d: Suspend the computer to DISK
+r: Reboot the computer
+h: Halt the computer
 
 
 This documentation was produced with the CLFSWM auto-doc functions. To reproduce it, use the produce-menu-doc-in-file or

Added: clfswm/doc/variables.txt
==============================================================================
--- (empty file)
+++ clfswm/doc/variables.txt	Wed Mar 16 17:48:59 2011
@@ -0,0 +1,349 @@
+    * CLFSWM Configuration variables *
+      ------------------------------
+
+  <= Volume Mode Group =>
+
+*VOLUME-FONT-STRING* = "fixed"
+  Volume string window font string
+*VOLUME-BACKGROUND* = "black"
+  Volume string window background color
+*VOLUME-FOREGROUND* = "green"
+  Volume string window foreground color
+*VOLUME-BORDER* = "red"
+  Volume string window border color
+*VOLUME-WIDTH* = 400
+  Volume mode window width
+*VOLUME-HEIGHT* = 15
+  Volume mode window height
+*VOLUME-TEXT-LIMIT* = 30
+  Maximum text limit in the volume window
+*VOLUME-EXTERNAL-MIXER-CMD* = "/usr/bin/gnome-alsamixer"
+  Command to start an external mixer program
+
+
+  <= Gimp Layout Group =>
+
+*GIMP-LAYOUT-NOTIFY-WINDOW-DELAY* = 30
+  Time to display the GIMP layout notify window help
+
+
+  <= Notify Window Group =>
+
+*NOTIFY-WINDOW-FONT-STRING* = "fixed"
+  Notify window font string
+*NOTIFY-WINDOW-BACKGROUND* = "black"
+  Notify Window background color
+*NOTIFY-WINDOW-FOREGROUND* = "green"
+  Notify Window foreground color
+*NOTIFY-WINDOW-BORDER* = "red"
+  Notify Window border color
+*NOTIFY-WINDOW-DELAY* = 10
+  Notify Window display delay
+
+
+  <= Menu Group =>
+
+*MENU-COLOR-SUBMENU* = "Cyan"
+  Submenu color in menu
+*MENU-COLOR-COMMENT* = "Yellow"
+  Comment color in menu
+*MENU-COLOR-KEY* = "Magenta"
+  Key color in menu
+*MENU-COLOR-MENU-KEY* = #<XLIB:COLOR 0.99609375 0.6015625 0.99609375>
+  Menu key color in menu
+*XDG-SECTION-LIST* = (TEXTEDITOR FILEMANAGER WEBBROWSER AUDIOVIDEO AUDIO VIDEO
+                      DEVELOPMENT EDUCATION GAME GRAPHICS NETWORK OFFICE
+                      SETTINGS SYSTEM UTILITY TERMINALEMULATOR ARCHLINUX
+                      SCREENSAVER)
+  Standard menu sections
+
+
+  <= Expose Mode Group =>
+
+*EXPOSE-FONT-STRING* = "fixed"
+  Expose string window font string
+*EXPOSE-BACKGROUND* = "black"
+  Expose string window background color
+*EXPOSE-FOREGROUND* = "green"
+  Expose string window foreground color
+*EXPOSE-BORDER* = "red"
+  Expose string window border color
+*EXPOSE-VALID-ON-KEY* = T
+  Valid expose mode when an accel key is pressed
+*EXPOSE-SHOW-WINDOW-TITLE* = T
+  Show the window title on accel window
+
+
+  <= Circulate Mode Group =>
+
+*CIRCULATE-FONT-STRING* = "fixed"
+  Circulate string window font string
+*CIRCULATE-BACKGROUND* = "black"
+  Circulate string window background color
+*CIRCULATE-FOREGROUND* = "green"
+  Circulate string window foreground color
+*CIRCULATE-BORDER* = "red"
+  Circulate string window border color
+*CIRCULATE-WIDTH* = 400
+  Circulate mode window width
+*CIRCULATE-HEIGHT* = 15
+  Circulate mode window height
+*CIRCULATE-TEXT-LIMITE* = 30
+  Maximum text limite in the circulate window
+
+
+  <= Info Mode Group =>
+
+*INFO-BACKGROUND* = "black"
+  Info window background color
+*INFO-FOREGROUND* = "green"
+  Info window foreground color
+*INFO-BORDER* = "red"
+  Info window border color
+*INFO-LINE-CURSOR* = "white"
+  Info window line cursor color color
+*INFO-SELECTED-BACKGROUND* = "blue"
+  Info selected item background color
+*INFO-FONT-STRING* = "fixed"
+  Info window font string
+*INFO-CLICK-TO-SELECT* = T
+  If true, click on info window select item. Otherwise, click to drag the menu
+*INFO-COLOR-TITLE* = "Magenta"
+  Colored info title color
+*INFO-COLOR-UNDERLINE* = "Yellow"
+  Colored info underline color
+*INFO-COLOR-FIRST* = "Cyan"
+  Colored info first color
+*INFO-COLOR-SECOND* = "lightblue"
+  Colored info second color
+
+
+  <= Query String Group =>
+
+*QUERY-FONT-STRING* = "fixed"
+  Query string window font string
+*QUERY-BACKGROUND* = "black"
+  Query string window background color
+*QUERY-MESSAGE-COLOR* = "yellow"
+  Query string window message color
+*QUERY-FOREGROUND* = "green"
+  Query string window foreground color
+*QUERY-CURSOR-COLOR* = "white"
+  Query string window foreground cursor color
+*QUERY-PARENT-COLOR* = "blue"
+  Query string window parenthesis color
+*QUERY-PARENT-ERROR-COLOR* = "red"
+  Query string window parenthesis color when no match
+*QUERY-BORDER* = "red"
+  Query string window border color
+
+
+  <= Identify Key Group =>
+
+*IDENTIFY-FONT-STRING* = "fixed"
+  Identify window font string
+*IDENTIFY-BACKGROUND* = "black"
+  Identify window background color
+*IDENTIFY-FOREGROUND* = "green"
+  Identify window foreground color
+*IDENTIFY-BORDER* = "red"
+  Identify window border color
+
+
+  <= Second Mode Group =>
+
+*SM-BORDER-COLOR* = "Green"
+  Second mode window border color
+*SM-BACKGROUND-COLOR* = "Black"
+  Second mode window background color
+*SM-FOREGROUND-COLOR* = "Red"
+  Second mode window foreground color
+*SM-FONT-STRING* = "fixed"
+  Second mode window font string
+*SM-WIDTH* = 300
+  Second mode window width
+*SM-HEIGHT* = 25
+  Second mode window height
+
+
+  <= Frame Colors Group =>
+
+*FRAME-BACKGROUND* = "Black"
+  Frame background
+*FRAME-FOREGROUND* = "Green"
+  Frame foreground
+*FRAME-FOREGROUND-ROOT* = "Red"
+  Frame foreground when the frame is the root frame
+*FRAME-FOREGROUND-HIDDEN* = "Darkgreen"
+  Frame foreground for hidden windows
+
+
+  <= Corner Group =>
+
+*CORNER-SIZE* = 3
+  The size of the corner square
+*CORNER-MAIN-MODE-LEFT-BUTTON* = ((:TOP-LEFT OPEN-MENU)
+                                  (:TOP-RIGHT PRESENT-VIRTUAL-KEYBOARD)
+                                  (:BOTTOM-RIGHT EXPOSE-WINDOWS-MODE)
+                                  (:BOTTOM-LEFT NIL))
+  Actions on corners in the main mode with the left mouse button
+*CORNER-MAIN-MODE-MIDDLE-BUTTON* = ((:TOP-LEFT HELP-ON-CLFSWM)
+                                    (:TOP-RIGHT ASK-CLOSE/KILL-CURRENT-WINDOW)
+                                    (:BOTTOM-RIGHT NIL) (:BOTTOM-LEFT NIL))
+  Actions on corners in the main mode with the middle mouse button
+*CORNER-MAIN-MODE-RIGHT-BUTTON* = ((:TOP-LEFT PRESENT-CLFSWM-TERMINAL)
+                                   (:TOP-RIGHT ASK-CLOSE/KILL-CURRENT-WINDOW)
+                                   (:BOTTOM-RIGHT EXPOSE-ALL-WINDOWS-MODE)
+                                   (:BOTTOM-LEFT START-FILE-MANAGER))
+  Config(Corner group): Actions on corners in the main mode with the right mouse button
+*CORNER-SECOND-MODE-LEFT-BUTTON* = ((:TOP-LEFT NIL) (:TOP-RIGHT NIL)
+                                    (:BOTTOM-RIGHT EXPOSE-WINDOWS-MODE)
+                                    (:BOTTOM-LEFT NIL))
+  Actions on corners in the second mode with the left mouse button
+*CORNER-SECOND-MODE-MIDDLE-BUTTON* = ((:TOP-LEFT HELP-ON-CLFSWM)
+                                      (:TOP-RIGHT NIL) (:BOTTOM-RIGHT NIL)
+                                      (:BOTTOM-LEFT NIL))
+  Actions on corners in the second mode with the middle mouse button
+*CORNER-SECOND-MODE-RIGHT-BUTTON* = ((:TOP-LEFT NIL) (:TOP-RIGHT NIL)
+                                     (:BOTTOM-RIGHT EXPOSE-ALL-WINDOWS-MODE)
+                                     (:BOTTOM-LEFT NIL))
+  Actions on corners in the second mode with the right mouse button
+*VIRTUAL-KEYBOARD-CMD* = "xvkbd"
+  The command to display the virtual keybaord
+  Here is an ~/.Xresources example for xvkbd:
+    xvkbd.windowGeometry: 300x100-0-0
+    xvkbd*Font: 6x12
+    xvkbd.modalKeytop: true
+    xvkbd.customization: -french
+    xvkbd.keypad: false
+  And make it always on top
+*CLFSWM-TERMINAL-NAME* = "clfswm-terminal"
+  The clfswm terminal name
+*CLFSWM-TERMINAL-CMD* = "xterm -T clfswm-terminal"
+  The clfswm terminal command.
+This command must set the window title to *clfswm-terminal-name*
+
+
+  <= Placement Group =>
+
+*BANISH-POINTER-PLACEMENT* = MIDDLE-RIGHT-CHILD-PLACEMENT
+  Pointer banishment placement
+*SECOND-MODE-PLACEMENT* = TOP-MIDDLE-PLACEMENT
+  Second mode window placement
+*INFO-MODE-PLACEMENT* = TOP-LEFT-PLACEMENT
+  Info mode window placement
+*QUERY-MODE-PLACEMENT* = TOP-LEFT-PLACEMENT
+  Query mode window placement
+*CIRCULATE-MODE-PLACEMENT* = BOTTOM-MIDDLE-PLACEMENT
+  Circulate mode window placement
+*EXPOSE-MODE-PLACEMENT* = TOP-LEFT-CHILD-PLACEMENT
+  Expose mode window placement (Selection keys position)
+*NOTIFY-WINDOW-PLACEMENT* = BOTTOM-RIGHT-PLACEMENT
+  Notify window placement
+*VOLUME-MODE-PLACEMENT* = BOTTOM-MIDDLE-PLACEMENT
+  Volume mode window placement
+
+
+  <= Hook Group =>
+
+*BINDING-HOOK* = (SET-DEFAULT-EXPOSE-KEYS SET-DEFAULT-CIRCULATE-KEYS
+                                          INIT-*INFO-KEYS* INIT-*INFO-MOUSE*
+                                          SET-DEFAULT-INFO-KEYS
+                                          SET-DEFAULT-INFO-MOUSE
+                                          INIT-*QUERY-KEYS*
+                                          SET-DEFAULT-QUERY-KEYS
+                                          INIT-*MAIN-KEYS* INIT-*MAIN-MOUSE*
+                                          SET-DEFAULT-MAIN-KEYS
+                                          SET-DEFAULT-MAIN-MOUSE
+                                          INIT-*SECOND-KEYS*
+                                          INIT-*SECOND-MOUSE*
+                                          SET-DEFAULT-SECOND-KEYS
+                                          SET-DEFAULT-SECOND-MOUSE MPD-BINDING
+                                          FR-BINDING REBOOT-HALT-BINDING
+                                          INIT-*VOLUME-KEYS*
+                                          SET-DEFAULT-VOLUME-KEYS
+                                          AMIXER-VOLUME-BIND LOCAL-BINDING)
+  Hook executed when keys/buttons are bounds
+*LOOP-HOOK* = NIL
+  Hook executed on each event loop
+*MAIN-ENTRANCE-HOOK* = NIL
+  Hook executed on the main function entrance after
+loading configuration file and before opening the display.
+*INIT-HOOK* = (DEFAULT-INIT-HOOK DISPLAY-HELLO-WINDOW MY-INIT-HOOK
+                                 INIT-SURF-FRAME)
+  Init hook. This hook is run just after the first root frame is created
+*CLOSE-HOOK* = (CLOSE-NOTIFY-WINDOW CLOSE-CLFSWM-TERMINAL
+                                    CLOSE-VIRTUAL-KEYBOARD)
+  Close hook. This hook is run just before closing the display
+*DEFAULT-NW-HOOK* = DEFAULT-FRAME-NW-HOOK
+  Default action to do on newly created windows
+
+
+  <= Main Mode Group =>
+
+*COLOR-MOVE-WINDOW* = "DeepPink"
+  Color when moving or resizing a windows
+*COLOR-SELECTED* = "Red"
+  Color of selected window
+*COLOR-UNSELECTED* = "Blue"
+  Color of unselected color
+*COLOR-MAYBE-SELECTED* = "Yellow"
+  Color of maybe selected windows
+
+
+  <= Miscellaneous Group =>
+
+*HAVE-TO-COMPRESS-NOTIFY* = T
+  Compress event notify?
+This variable may be useful to speed up some slow version of CLX.
+It is particulary useful with CLISP/MIT-CLX.
+*SHOW-ROOT-FRAME-P* = NIL
+  Show the root frame information or not
+*BORDER-SIZE* = 1
+  Windows and frames border size
+*LOOP-TIMEOUT* = 0.1
+  Maximum time (in seconds) to wait before calling *loop-hook*
+*DEFAULT-FONT-STRING* = "fixed"
+  The default font used in clfswm
+*DEFAULT-FRAME-DATA* = ((:TILE-SIZE 0.8) (:TILE-SPACE-SIZE 0.1)
+                        (:MAIN-LAYOUT-WINDOWS NIL)
+                        (:FAST-LAYOUT (TILE-SPACE-LAYOUT NO-LAYOUT)))
+  Default slots set in frame date
+*DEFAULT-MANAGED-TYPE* = (:NORMAL)
+  Default managed window types
+*DEFAULT-FOCUS-POLICY* = :CLICK
+  Default mouse focus policy. One of :click, :sloppy, :sloppy-strict or :sloppy-select.
+*DEFAULT-MODIFIERS* = NIL
+  Default modifiers list to append to explicit modifiers
+Example: :mod-2 for num_lock, :lock for Caps_lock...
+*NEVER-MANAGED-WINDOW-LIST* = ((EQUAL-WM-CLASS-ROX-PINBOARD NIL)
+                               (EQUAL-WM-CLASS-XVKBD RAISE-WINDOW)
+                               (EQUAL-CLFSWM-TERMINAL RAISE-AND-FOCUS-WINDOW))
+  CLFSWM will never manage windows of this type.
+A list of (list match-function handle-function)
+*HIDE-UNMANAGED-WINDOW* = T
+  Hide or not unmanaged windows when a child is deselected.
+*CREATE-FRAME-ON-ROOT* = NIL
+  Create frame on root.
+Set this variable to true if you want to allow to create a new frame
+on the root window in the main mode with the mouse
+*DEFAULT-WINDOW-WIDTH* = 400
+  Default window width
+*DEFAULT-WINDOW-HEIGHT* = 300
+  Default window height
+
+ Those variables can be changed in clfswm.
+Maybe you'll need to restart clfswm to take care of new values
+
+This documentation was produced with the CLFSWM auto-doc functions.
+To reproduce it, use the produce-configuration-variables-doc-in-file or
+the produce-all-docs function from the Lisp REPL.
+
+Something like this:
+LISP> (in-package :clfswm)
+CLFSWM> (produce-configuration-variables-doc-in-file "my-variables.txt")
+or
+CLFSWM> (produce-all-docs)
+
+
+

Modified: clfswm/src/clfswm-autodoc.lisp
==============================================================================
--- clfswm/src/clfswm-autodoc.lisp	(original)
+++ clfswm/src/clfswm-autodoc.lisp	Wed Mar 16 17:48:59 2011
@@ -243,7 +243,7 @@
 		      *corner-second-mode-left-button* *corner-second-mode-middle-button* *corner-second-mode-right-button*))
       (print-doc corner))
     (format stream "~2%This documentation was produced with the CLFSWM auto-doc functions.
-To reproduce it, use the produce-menu-doc-in-file or
+To reproduce it, use the produce-corner-doc-in-file or
 the produce-all-docs function from the Lisp REPL.
 
 Something like this:
@@ -304,19 +304,46 @@
   (format t " done~%"))
 
 
-(defun produce-configuration-variables (stream &optional (group t))
-  (format stream "    * CLFSWM Configuration variables *~%")
-  (format stream "      ------------------------------~2%")
+
+;;; Configuration variables autodoc functions
+(defun produce-configuration-variables-doc (stream &optional (group t) (title t) (footnote t))
+  (when title
+    (format stream "    * CLFSWM Configuration variables *~%")
+    (format stream "      ------------------------------~2%"))
   (format stream "  <= ~A =>~2%" (if (equal group t) ""
                                      (config-group->string group)))
   (maphash (lambda (key val)
              (when (or (equal group t)
                        (equal group (configvar-group val)))
-               (format stream "~A = ~S~%~A~%" key (symbol-value key)
+               (format stream "~A = ~S~%  ~A~%" key (symbol-value key)
                        (documentation key 'variable))))
            *config-var-table*)
-  (format stream "~2& Those variables can be changed in clfswm.
-Maybe you'll need to restart clfswm to take care of new values~2%"))
+  (when footnote
+    (format stream "~2& Those variables can be changed in clfswm.
+Maybe you'll need to restart clfswm to take care of new values")
+    (format stream "~2%This documentation was produced with the CLFSWM auto-doc functions.
+To reproduce it, use the produce-configuration-variables-doc-in-file or
+the produce-all-docs function from the Lisp REPL.
+
+Something like this:
+LISP> (in-package :clfswm)
+CLFSWM> (produce-configuration-variables-doc-in-file \"my-variables.txt\")
+or
+CLFSWM> (produce-all-docs)~2%"))
+  (format stream "~2%"))
+
+(defun produce-configuration-variables-doc-in-file (filename)
+  (format t "Producing text config variables documentation in ~S " filename)
+  (with-open-file (stream filename :direction :output
+			  :if-exists :supersede :if-does-not-exist :create)
+    (let* ((title t)
+           (all-groups (config-all-groups))
+           (last-group (first (last all-groups))))
+      (dolist (group all-groups)
+        (produce-configuration-variables-doc stream group title
+                                             (equal group last-group))
+        (setf title nil))))
+  (format t " done~%"))
 
 
 
@@ -331,7 +358,8 @@
   (produce-menu-doc-in-file "doc/menu.txt")
   (produce-menu-doc-html-in-file "doc/menu.html")
   (produce-corner-doc-in-file "doc/corner.txt")
-  (produce-corner-doc-html-in-file "doc/corner.html"))
+  (produce-corner-doc-html-in-file "doc/corner.html")
+  (produce-configuration-variables-doc-in-file "doc/variables.txt"))
 
 
 

Modified: clfswm/src/clfswm-info.lisp
==============================================================================
--- clfswm/src/clfswm-info.lisp	(original)
+++ clfswm/src/clfswm-info.lisp	Wed Mar 16 17:48:59 2011
@@ -535,15 +535,10 @@
 
 (defun show-config-variable ()
   "Show all configurable variables"
-  (let ((all-groups nil)
-	(result nil))
-    (maphash (lambda (key val)
-               (declare (ignore key))
-               (pushnew (configvar-group val) all-groups :test #'equal))
-             *config-var-table*)
+  (let ((result nil))
     (labels ((rec ()
 	       (setf result nil)
-	       (info-mode-menu (loop :for group :in all-groups
+	       (info-mode-menu (loop :for group :in (config-all-groups)
 				  :for i :from 0
 				  :collect (list (number->char i)
 						 (let ((group group))
@@ -554,7 +549,7 @@
 		 (info-mode (configuration-variable-colorize-line
 			     (split-string (append-newline-space
 					    (with-output-to-string (stream)
-					      (produce-configuration-variables stream result)))
+					      (produce-configuration-variables-doc stream result t nil)))
 					   #\Newline)))
 		 (rec))))
       (rec))))

Modified: clfswm/src/tools.lisp
==============================================================================
--- clfswm/src/tools.lisp	(original)
+++ clfswm/src/tools.lisp	Wed Mar 16 17:48:59 2011
@@ -32,6 +32,7 @@
 	   :awhen
 	   :aif
            :defconfig :*config-var-table* :configvar-value :configvar-group :config-default-value
+           :config-all-groups
            :config-group->string
 	   :find-in-hash
 	   :nfuncall
@@ -148,6 +149,17 @@
   (format nil "~:(~A group~)" (substitute #\Space #\- (string group))))
 
 
+;;; Configuration variables
+(defun config-all-groups ()
+  (let (all-groups)
+    (maphash (lambda (key val)
+               (declare (ignore key))
+               (pushnew (configvar-group val) all-groups :test #'equal))
+             *config-var-table*)
+    all-groups))
+
+
+
 
 (defun find-in-hash (val hashtable &optional (test #'equal))
   "Return the key associated to val in the hashtable"




More information about the clfswm-cvs mailing list