Voici un exemple de fichier rc.xml, très complet et commenté en français (dont vous pourrez vous inspirer pour établir le votre) :

FIXME Traduction de la fin du fichier en cours

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copier ce fichier dans $HOME/.config/openbox/ -->
<openbox_config xmlns="http://openbox.org/3.4/rc">
  <!-- ################################################## -->
  <!-- # Résistance aux bords de fenêtres/d'écrans (px) # -->
  <!-- ################################################## -->
  <resistance>
    <strength>20</strength>
    <screen_edge_strength>20</screen_edge_strength>
  </resistance>
  <!-- ################################################## -->
  <!-- # Suivi de focus                                 # -->
  <!-- ################################################## -->
  <focus>
    <focusNew>yes</focusNew>
    <!-- Donner le focus aux nouvelles fenêtres quand elles apparaissent (booléen) -->
    <followMouse>yes</followMouse>
    <!-- Donner le focus aux fenêtres lorsque le pointeur les survole (booléen) -->
    <focusDelay>800</focusDelay>
    <!-- Si followMouse='yes', délai avant de donner le focus et rehausser les fenêtres (ms) (1000 = 1 sec) -->
    <focusLast>yes</focusLast>
    <!-- Placer le focus sur la dernière fenêtre lors d'un basculement de bureau (booléen)
           (si focusLast='no', focus sous le pointeur)-->
    <underMouse>no</underMouse>
    <!-- Placer le focus en-dessous du pointeur quand celui-ci ne bouge pas -->
    <raiseOnFocus>yes</raiseOnFocus>
    <!-- Si followMouse='yes', rehausser les fenêtres lorsque le pointeur est dessus -->
  </focus>
  <!-- ################################################## -->
  <!-- # Placement                                      # -->
  <!-- ################################################## -->
  <placement>
    <policy>Smart</policy>
    <!-- Méthode de placement des fenêtres, 'Smart' (intelligent) ou 'UnderMouse' (sous le pointeur) -->
    <center>yes</center>
    <!-- Si policy='smart', centrer les nouvelles fenêtres quand elles apparaissent (booléen) -->
    <monitor>Any</monitor>
    <!-- Si policy='smart', placer les nouvelles fenêtres de préférence:
          'Any'    (sur tous les moniteurs)
          'Mouse'  (sur le moniteur ou se trouve le pointeur)
          'Active' ( sur le moniteur actif)-->
  </placement>
  <!-- ################################################## -->
  <!-- # Thème                                          # -->
  <!-- ################################################## -->
  <theme>
    <name>ubuntustudio</name>
    <titleLayout>NDLIMC</titleLayout>
    <!-- Ordre des boutons (les fenêtres doivent contenir au moins un bouton):
          'N' (icône de la fenêtre)
          'L' (titre).
          'I' (minimiser)
          'M' (maximiser)
          'C' (fermer)
          'S' (enrouler)
          'D' (épinglé sur tout les bureaux)  -->
    <keepBorder>yes</keepBorder>
    <!-- Les fenêtres sans décoration conservent une bordure (booléen) -->
    <animateIconify>yes</animateIconify>
    <!-- Animer le réductions/restaurations (booléen) -->
    <!-- ################################################## -->
    <!-- # Polices                                        # -->
    <!-- ################################################## -->
    <font place="ActiveWindow">
      <name>Sans</name>
      <size>10</size>
      <weight>Normal</weight>
      <slant>Normal</slant>
    </font>
    <!-- Titre de fenêtre active (weight='Bold' ou 'Normal'/slant='Italic' ou 'Normal') -->
    <font place="InactiveWindow">
      <name>Sans</name>
      <size>10</size>
      <weight>Normal</weight>
      <slant>Normal</slant>
    </font>
    <!-- Titre de fenêtre inactive (weight='Bold' ou 'Normal'/slant='Italic' ou 'Normal') -->
    <font place="MenuHeader">
      <name>Sans</name>
      <size>10</size>
      <weight>Normal</weight>
      <slant>Normal</slant>
    </font>
    <!-- En-tête du menu (weight='Bold' ou 'Normal'/slant='Italic' ou 'Normal') -->
    <font place="MenuItem">
      <name>Sans</name>
      <size>10</size>
      <weight>Normal</weight>
      <slant>Normal</slant>
    </font>
    <!-- Éléments du menu (weight='Bold' ou 'Normal'/slant='Italic' ou 'Normal') -->
    <font place="OnScreenDisplay">
      <name>Sans</name>
      <size>9</size>
      <weight>Normal</weight>
      <slant>Normal</slant>
    </font>
    <!-- Affichages à l'écran (weight='Bold' ou 'Normal'/slant='Italic' ou 'Normal') -->
  </theme>
  <desktops>
    <!-- ################################################## -->
    <!-- # Bureaux                                        # -->
    <!-- ################################################## -->
    <!-- Ces paramètres ne sont utilisé qu'au démarrage, vous pouvez les modifier via
          votre pager en cours de session.
          Ce sont des valeurs par défaut qui ne seront utilisées que si aucune autre
          n'est paramétrée par une application tierce, ou sauvegardée dans la session.
          Utilisez obconf si vous souhaitez modifier ces paramètres sans avoir besoin
          de se déconnecter/reconnecter. -->
    <number>3</number>
    <firstdesk>1</firstdesk>
    <names>
      <name>base</name>
      <name>prod</name>
      <name>system</name>
    </names>
    <!-- Noms des bureaux ('noms persos') -->
    <popupTime>875</popupTime>
    <!-- Durée d'affichage de la notification de changement de bureau (ms) (1000 = 1 sec)
         Si popupTime=0, pas de notification -->
  </desktops>
  <!-- ################################################## -->
  <!-- # Redimensionnement                              # -->
  <!-- ################################################## -->
  <resize>
    <drawContents>yes</drawContents>
    <!-- Afficher le contenu de la fenêtre lors du redimensionnement (booléen) -->
    <popupShow>Nonpixel</popupShow>
    <!-- Zone de notification dimension de la fenêtre:
          'Always'   (toujours)
          'Never'    (jamais)
          'Nonpixel' (pour les consoles seulement) -->
    <popupPosition>Top</popupPosition>
    <!-- Position de la notification (si popupShow='Always' ou 'Nonpixel'):
          'Center' (centrée)
          'Top'    (en haut)
          'Fixed'  (personalisé)-->
    <popupFixedPosition>
      <x>10</x>
      <y>10</y>
      <!-- Si popupPosition='Fixed', entrer une valeur (px) positive pour placer la notification
           au dessus de la fenêtre, négative pour la placer en-dessous, ou 'Center' pour la
           centrer -->
    </popupFixedPosition>
  </resize>
  <!-- ################################################## -->
  <!-- # Marges                                         # -->
  <!-- ################################################## -->
  <margins>
    <top>0</top>
    <bottom>0</bottom>
    <left>0</left>
    <right>0</right>
    <!-- Definir une marge sur un bord d'écran, que les fenêtres maximisées ne pourront pas
           recouvrir (px) -->
  </margins>
  <!-- ################################################## -->
  <!-- # Dock                                           # -->
  <!-- ################################################## -->
  <dock>
    <position>TopLeft</position>
    <!-- Position du dock (px) (ex. 'TopLeft'):
        'Top'      (haut)
        'Bottom'   (bas)
        'Left'     (gauche)
        'Right     (droite)
        'Floating' (flottante) -->
    <floatingX>0</floatingX>
    <floatingY>0</floatingY>
    <!-- Si position='Floating', indiquer la posistion (px) -->
    <direction>Vertical</direction>
    <!-- Orientation du dock ('Vertical' ou 'Horizontal') -->
    <noStrut>no</noStrut>
    <!-- ??? (booléen) -->
    <stacking>Above</stacking>
    <!-- Garder le dock au dessus des autres fenêtres 'Above', 'Normal', ou 'Below' -->
    <autoHide>no</autoHide>
    <!-- Masquer automatiquement (booléen) -->
    <hideDelay>300</hideDelay>
    <!-- Si autoHide='yes', délai de masquage (ms) (1000 = 1 second) -->
    <showDelay>300</showDelay>
    <!-- Si autoHide='yes', délai d'affichage (ms) (1000 = 1 second) -->
    <moveButton>Middle</moveButton>
    <!-- ??? 'Left', 'Middle', 'Right' -->
  </dock>
  <!-- ################################################## -->
  <!-- # Raccourcis clavier                             # -->
  <!-- ################################################## -->
  <!-- Editer/personnaliser les raccourcis clavier en utilisant la syntaxe suivante:
          'C' (ctrl), 'A' (alt), 'S' (maj), 'C' (ctrl), 'W' (win/super), 'Tab' (tab)
          'Up/Down/Left/Right' (flèches), 'Space' (espace), 'Escape' (echap), 'Print' (impécr)
          'F1-9' (touches F), 'a-z' (lettres)
           dialog = ??? (booléen)
           wrap = ??? (booléen)
          Exemple:
		    <keybind key="[touche]-[touche]">
		      <action name="[action]">
		        <dialog>[yes/no]</dialog>
		        <wrap>[yes/no]</wrap>
		      </action>
		    </keybind> -->
  <keyboard>
    <chainQuitKey>C-g</chainQuitKey>
    <!-- Raccourcis pour le changement de bureau -->
    <keybind key="C-A-Left">
      <action name="DesktopLeft">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Right">
      <action name="DesktopRight">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Up">
      <action name="DesktopUp">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="C-A-Down">
      <action name="DesktopDown">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Left">
      <action name="SendToDesktopLeft">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Right">
      <action name="SendToDesktopRight">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Up">
      <action name="SendToDesktopUp">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="S-A-Down">
      <action name="SendToDesktopDown">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
    </keybind>
    <keybind key="W-F1">
      <action name="Desktop">
        <desktop>1</desktop>
      </action>
    </keybind>
    <keybind key="W-F2">
      <action name="Desktop">
        <desktop>2</desktop>
      </action>
    </keybind>
    <keybind key="W-F3">
      <action name="Desktop">
        <desktop>3</desktop>
      </action>
    </keybind>
    <keybind key="W-F4">
      <action name="Desktop">
        <desktop>4</desktop>
      </action>
    </keybind>
    <keybind key="W-d">
      <action name="ToggleShowDesktop"/>
    </keybind>
    <!-- Raccourcis des fenêtres -->
    <keybind key="A-F4">
      <action name="Close"/>
    </keybind>
    <keybind key="A-Escape">
      <action name="Lower"/>
      <action name="FocusToBottom"/>
      <action name="Unfocus"/>
    </keybind>
    <keybind key="A-space">
      <action name="ShowMenu">
        <menu>client-menu</menu>
      </action>
    </keybind>
    <keybind key="W-S-o">
      <action name="SendToTopLayer"/>
    </keybind>
    <keybind key="W-Right">
      <action name="GrowToEdgeEast"/>
    </keybind>
    <keybind key="W-Left">
      <action name="GrowToEdgeWest"/>
    </keybind>
    <keybind key="W-Down">
      <action name="GrowToEdgeSouth"/>
    </keybind>
    <keybind key="W-Up">
      <action name="GrowToEdgeNorth"/>
    </keybind>
    <keybind key="W-S-f">
      <action name="ToggleFullscreen"/>
    </keybind>
    <keybind key="W-S-m">
      <action name="ToggleMaximizeFull"/>
    </keybind>
    <keybind key="W-S-F1">
      <action name="SendToDesktop">
        <desktop>1</desktop>
        <follow>yes</follow>
      </action>
    </keybind>
    <keybind key="W-S-F2">
      <action name="SendToDesktop">
        <desktop>2</desktop>
        <follow>yes</follow>
      </action>
    </keybind>
    <keybind key="W-S-F3">
      <action name="SendToDesktop">
        <desktop>3</desktop>
        <follow>yes</follow>
      </action>
    </keybind>
    <keybind key="W-S-F4">
      <action name="SendToDesktop">
        <desktop>4</desktop>
        <follow>yes</follow>
      </action>
    </keybind>
    <!-- Raccourcis pour le changement de fenêtre -->
    <keybind key="A-Tab">
      <action name="NextWindow"/>
    </keybind>
    <keybind key="A-S-Tab">
      <action name="PreviousWindow"/>
    </keybind>
    <keybind key="C-A-Tab">
      <action name="NextWindow">
        <panels>yes</panels>
        <desktop>yes</desktop>
      </action>
    </keybind>
    <!-- Raccourcis pour le lancement d'applications -->
    <keybind key="Print">
      <action name="Execute">
        <execute>gnome-screenshot</execute>
      </action>
    </keybind>
    <keybind key="A-Print">
      <action name="Execute">
        <execute>gnome-screenshot -w</execute>
      </action>
    </keybind>
    <keybind key="W-e">
      <action name="Execute">
        <name>Naulitus</name>
        <command>nautilus --no-desktop</command>
      </action>
    </keybind>
    <keybind key="W-f">
      <action name="Execute">
        <name>Lance Firefox</name>
        <command>firefox</command>
      </action>
    </keybind>
    <keybind key="A-F2">
      <action name="Execute">
        <name>Lance une application</name>
        <command>gmrun</command>
      </action>
    </keybind>
    <keybind key="A-t">
      <action name="Execute">
        <name>Terminal</name>
        <command>gnome-terminal</command>
      </action>
    </keybind>
    <keybind key="W-m">
      <action name="Execute">
        <name>Audacious</name>
        <command>audacious2</command>
      </action>
    </keybind>
  </keyboard>
  <mouse>
    <!-- ################################################## -->
    <!-- # Souris                                         # -->
    <!-- ################################################## -->
    <dragThreshold>8</dragThreshold>
    <!-- Distance de seuil pour le drag (px) -->
    <doubleClickTime>200</doubleClickTime>
    <!-- Durée du double-clic (ms) (1000 = 1 second) -->
    <screenEdgeWarpTime>400</screenEdgeWarpTime>
    <!-- Changer de bureau quand une fenêtre passe un bord de l'écran (ms) (1000 = 1 second).
         Mettre à 0 pour désactiver le changement de bureau -->
    <context name="Frame">
      <mousebind button="A-Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="A-Left" action="Click">
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="A-Left" action="Drag">
        <action name="Move"/>
      </mousebind>
      <mousebind button="A-Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="A-Right" action="Drag">
        <action name="Resize"/>
      </mousebind>
      <mousebind button="A-Middle" action="Press">
        <action name="Lower"/>
        <action name="FocusToBottom"/>
        <action name="Unfocus"/>
      </mousebind>
      <mousebind button="A-Up" action="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="A-Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="C-A-Up" action="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="C-A-Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="A-S-Up" action="Click">
        <action name="SendToDesktopPrevious"/>
      </mousebind>
      <mousebind button="A-S-Down" action="Click">
        <action name="SendToDesktopNext"/>
      </mousebind>
    </context>
    <context name="Titlebar">
      <mousebind button="W-Left" action="Click">
        <action name="Execute">
          <execute>transset-df -p 1</execute>
        </action>
      </mousebind>
      <mousebind button="W-Up" action="Click">
        <action name="Execute">
          <execute>transset-df -p --inc 0.2</execute>
        </action>
      </mousebind>
      <mousebind button="W-Down" action="Click">
        <action name="Execute">
          <execute>transset-df -p --min 0.2 --dec 0.2</execute>
        </action>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Move"/>
      </mousebind>
      <mousebind button="Left" action="DoubleClick">
        <action name="ToggleMaximizeFull"/>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Lower"/>
        <action name="FocusToBottom"/>
        <action name="Unfocus"/>
      </mousebind>
      <mousebind button="Up" action="Click">
        <action name="Shade"/>
        <action name="FocusToBottom"/>
        <action name="Unfocus"/>
        <action name="Lower"/>
      </mousebind>
      <mousebind button="Down" action="Click">
        <action name="Unshade"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="Top">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize">
          <edge>top</edge>
        </action>
      </mousebind>
    </context>
    <context name="Left">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize">
          <edge>left</edge>
        </action>
      </mousebind>
    </context>
    <context name="Right">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize">
          <edge>right</edge>
        </action>
      </mousebind>
    </context>
    <context name="Bottom">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize">
          <edge>bottom</edge>
        </action>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Lower"/>
        <action name="FocusToBottom"/>
        <action name="Unfocus"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="BLCorner">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
    </context>
    <context name="BRCorner">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
    </context>
    <context name="TLCorner">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
    </context>
    <context name="TRCorner">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Drag">
        <action name="Resize"/>
      </mousebind>
    </context>
    <context name="Client">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
    </context>
    <context name="Icon">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="ShowMenu">
          <menu>client-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="AllDesktops">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="ToggleOmnipresent"/>
      </mousebind>
    </context>
    <context name="Shade">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="ToggleShade"/>
      </mousebind>
    </context>
    <context name="Iconify">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="Iconify"/>
      </mousebind>
    </context>
    <context name="Maximize">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Middle" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="ToggleMaximizeFull"/>
      </mousebind>
      <mousebind button="Middle" action="Click">
        <action name="ToggleMaximizeVert"/>
      </mousebind>
      <mousebind button="Right" action="Click">
        <action name="ToggleMaximizeHorz"/>
      </mousebind>
    </context>
    <context name="Close">
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="Left" action="Click">
        <action name="Close"/>
      </mousebind>
    </context>
    <context name="Desktop">
      <mousebind button="Up" action="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="A-Up" action="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="A-Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="C-A-Up" action="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="C-A-Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
    </context>
    <context name="Root">
      <!-- Menus -->
      <mousebind button="Middle" action="Press">
        <action name="ShowMenu">
          <menu>client-list-combined-menu</menu>
        </action>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="ShowMenu">
          <menu>root-menu</menu>
        </action>
      </mousebind>
    </context>
    <context name="MoveResize">
      <mousebind button="Up" action="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
      <mousebind button="A-Up" action="Click">
        <action name="DesktopPrevious"/>
      </mousebind>
      <mousebind button="A-Down" action="Click">
        <action name="DesktopNext"/>
      </mousebind>
    </context>
  </mouse>
  <menu>
    <!-- You can specify more than one menu file in here and they are all loaded,
           just don't make menu ids clash or, well, it'll be kind of pointless -->
    <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
    <!-- system menu files on Debian systems -->
    <file>/var/lib/openbox/debian-menu.xml</file>
    <file>debian-menu.xml</file>
    <file>menu.xml</file>
    <hideDelay>200</hideDelay>
    <!-- if a press-release lasts longer than this setting (in milliseconds), the
       menu is hidden again -->
    <middle>no</middle>
    <!-- center submenus vertically about the parent entry -->
    <submenuShowDelay>200</submenuShowDelay>
    <!-- time to delay before showing a submenu after hovering over the parent
           entry.
           if this is a negative value, then the delay is infinite and the
           submenu will not be shown until it is clicked on -->
    <submenuHideDelay>400</submenuHideDelay>
    <!-- time to delay before hiding a submenu when selecting another
           entry in parent menu -->
    <!-- if this is a negative value, then the delay is infinite and the
       submenu will not be hidden until a different submenu is opened -->
    <applicationIcons>yes</applicationIcons>
    <!-- controls if icons appear in the client-list-(combined-)menu -->
    <manageDesktops>yes</manageDesktops>
    <!-- show the manage desktops section in the client-list-(combined-)menu -->
  </menu>
  <applications>
    <!--
  # this is an example with comments through out. use these to make your
  # own rules, but without the comments of course.
 
  <application name="the window's _OB_NAME property (see obxprop)"
              class="the window's _OB_CLASS property (see obxprop)"
               role="the window's _OB_ROLE property (see obxprop)"
               type="the window's _NET_WM_WINDOW_TYPE (see obxprob)..
                      (if unspecified, then it is 'dialog' for child windows)">
  # the name or the class can be set, or both. this is used to match
  # windows when they appear. role can optionally be set as well, to
  # further restrict your matches.
 
  # the name, class, and role use simple wildcard matching such as those
  # used by a shell. you can use * to match any characters and ? to match
  # any single character.
 
  # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
  #    or desktop
 
  # when multiple rules match a window, they will all be applied, in the
  # order that they appear in this list
 
 
    # each element can be left out or set to 'default' to specify to not 
    # change that attribute of the window
 
    <decor>yes</decor>
    # enable or disable window decorations
 
    <shade>no</shade>
    # make the window shaded when it appears, or not
 
    <position force="no">
      # the position is only used if both an x and y coordinate are provided
      # (and not set to 'default')
      # when force is "yes", then the window will be placed here even if it
      # says you want it placed elsewhere.  this is to override buggy
      # applications who refuse to behave
      <x>center</x>
      # a number like 50, or 'center' to center on screen. use a negative number
      # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
      # right edge (or bottom).
      <y>200</y>
      <monitor>1</monitor>
      # specifies the monitor in a xinerama setup.
      # 1 is the first head, or 'mouse' for wherever the mouse is
    </position>
 
    <focus>yes</focus>
    # if the window should try be given focus when it appears. if this is set
    # to yes it doesn't guarantee the window will be given focus. some
    # restrictions may apply, but Openbox will try to
 
    <desktop>1</desktop>
    # 1 is the first desktop, 'all' for all desktops
 
    <layer>normal</layer>
    # 'above', 'normal', or 'below'
 
    <iconic>no</iconic>
    # make the window iconified when it appears, or not
 
    <skip_pager>no</skip_pager>
    # asks to not be shown in pagers
 
    <skip_taskbar>no</skip_taskbar>
    # asks to not be shown in taskbars. window cycling actions will also
    # skip past such windows
 
    <fullscreen>yes</fullscreen>
    # make the window in fullscreen mode when it appears
 
    <maximized>true</maximized>
    # 'Horizontal', 'Vertical' or boolean (yes/no)
  </application>
 
  # end of the example
-->
  </applications>
</openbox_config>
  • exemple_rc.xml.txt
  • Dernière modification: Le 28/04/2018, 11:14
  • (modification externe)