Nachdem ich openbox schon eine ganze Weile verwende (hauptsächlich um meine Anwendungen zu
verwalten), habe ich mich etwas mehr mit beschäftigt und ein paar sehr interessante Möglichkeiten
entdeckt. Wir können hier also durchaus Tips und Tricks rund um Openbox austauschen.

Diese sollten wenn möglich auch in den Wiki-Artikel zu Openbox einfließen!

Fange ich mal an... 😉

Bei Openbox kann der Desktop/Workspaces-Wechsel konfiguriert werden
Bei jedem WM kann man einstellen welche Tasten zum Wechseln der Desktops genutzt werden sollen.
Openbox hat nun die Besonderheit, das diese Wechsel mit eigenen Befehlen ergänzt werden können.
So kann zur Action DesktopLeft z.B. mit einer eigenen Aktion verbunden werden.

Ich nutze nun gerne den rox filemanager. Dieser bietet aber auch einen Desktop und Panels. Schön
ist dabei, daß man verschiedene Desktops und Panels haben kann, die über die Parameter
-p=Bezeichner und -b=Bezeichner beliebig gewechselt werden können.
Ich habe mir nun verschiedene Rox-Desktops auf bestimmte Tasten gelegt, die ich nach Bedarf
starte. Diese Desktops haben z.B. eigene Hintergründe, Start- und Ordner Icons auf dem Desktop und
teils eigene Panels. Die Desktops "überlagern" den openbox-Desktop dann komplett, deshalb auch eine Tastenkombination zum Abschalten des momentanen rox-Desktops.

Gleichzeitig habe ich noch eine Kombination um das xfce4-Panel zu starten/beenden, da man mit
diesem Panel auch sehr gut arbeiten kann. Und das halt je nach Bedarf.

So sieht der Teil in der ~/.config/openbox/rc.xml aus:
<!--Keybindings for rox desktops and panels-->
    <keybind key="W-F8">
      <action name="XFCE4Panel">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
      <action name="Execute">
        <command>xfce4-panel</command>
      </action>
    </keybind>
    <keybind key="C-W-F8">
      <action name="XFCE4PanelClose">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
      <action name="Execute">
        <command>xfce4-panel -x</command>
      </action>
    </keybind>
    <keybind key="W-F9">
      <action name="RoxDesktopVideo">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
      <action name="Execute">
        <command>rox -p=Multimedia</command>
      </action>
    </keybind>
    <keybind key="W-F10">
      <action name="RoxDesktopDevel">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
      <action name="Execute">
        <command>rox -p=Devel -t=Devel</command >
      </action>
    </keybind>
    <keybind key="W-F11">
      <action name="RoxDesktopNetwork">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
      <action name="Execute">
        <command>rox -p=Netzwerk</command>
      </action>
    </keybind>
    <keybind key="W-F12">
      <action name="RoxDesktopGames">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
      <action name="Execute">
        <command>rox -p=Spiele</command>
      </action>
    </keybind>
    <keybind key="W-Down">
      <action name="RoxDesktopStop">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
      <action name="Execute">
        <command>rox -p=</command>
      </action>
    </keybind>
Ich starte so z.B. mittels WinKey+F8 das xfce4-panel, mit STRG+WinKey+F8 wird es beendet.
Mittels WinKey+F10 starte ich z.B. den rox-Devel-Desktop und das Devel-Panel. Den aktiven
Rox-Desktop beende ich mit WinKey+CursorDown.

Mittels Actions und Execute sind noch mehr Möglichkeiten denkbar, z.B. kann man Workspace 1
"normal" lassen, aber den Wechseln auf Workspace 2-4 jeweils gleich mit dem Rox-Desktop
kombinieren. Sodaß es also quasi beim normalen Wechseln schon aussieht als hätte man
verschiedene Desktops. Ein Wechsel auf Workspace 1 beendet dann den aktuellen Rox und man
würde seinen Openbox-Desktop/Hintergrund/Conky wieder sehen.
Hier noch zwei Links für openbox Key-Einstellungen und den Actions die nutzbar sind:
http://icculus.org/openbox/index.php/Help:Bindings
http://icculus.org/openbox/index.php/Help:Actions

//Edit: Für die Rox-Desktops sogar noch ein besseres Verhalten gefunden:
<keybind key="W-F10">
      <action name="AddDesktopCurrent">
        <dialog>no</dialog>
        <wrap>no</wrap>
      </action>
      <action name="Execute">
        <command>rox -p=Devel -t=Devel</command >
      </action>
    </keybind>
Die Action geändert. Das fügt an der Stelle des aktuellen Workspaces einen neuen ein, man sieht
also nur den Rox-Desktop und nicht die gerade offenen Anwendungen.
Beim Schließen der Rox-Desktops mittels WinKey-Down dann nehmen:
action name="RemoveDesktopCurrent"
2 Jahre später
warum ist dieses thema eigendlich nicht fixiert und so wenig beachtet? ist doch ein interessantes thema... ich kram den jetzt mal wieder raus 😃

hier meine keybindsection in der rc.xml ^^
  <keyboard>
    <chainQuitKey>C-g</chainQuitKey>
    <!-- Keybindings for menu -->
    <keybind key="C-Escape">
      <action name="ShowMenu">
        <menu>root-menu</menu>
      </action>
    </keybind>
    <keybind key="S-Escape">
      <action name="ShowMenu">
        <menu>client-list-combined-menu</menu>
      </action>
    </keybind>
    <keybind key="W-X">
      <action name="Execute">
        <command>dmenu_run -b -fn '-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*' \-nb '#000000' -nf '#FFFFFF' -sb '#ff0000'</command>
      </action>
    </keybind>
    <keybind key="A-F2">
      <action name="Execute">
        <command>roxterm</command>
      </action>
    </keybind>
    <keybind key="C-S-BackSpace">
      <action name="Execute">
        <command>killall X</command>
      </action>
    </keybind>
    <!-- Keybindings for Window Management -->
    <keybind key="A-F10">
      <action name="ToggleShade">
      </action>
    </keybind>
    <keybind key="A-F11">
      <action name="ToggleMaximizeFull">
      </action>
    </keybind>
    <keybind key="A-F12">
      <action name="Iconify">
      </action>
    </keybind>
    <keybind key="C-F9">
      <action name="Resize">
      </action>
    </keybind>
    <keybind key="A-F9">
      <action name="Move"/>
    </keybind>
    <!--Movement Layer-->
    <keybind key="W-C-Left">
      <action name="MoveToEdgeWest"/>
    </keybind>
    <keybind key="W-C-Up">
      <action name="MoveToEdgeNorth"/>
    </keybind>
    <keybind key="W-C-Down">
      <action name="MoveToEdgeSouth"/>
    </keybind>
    <keybind key="W-C-Right">
      <action name="MoveToEdgeEast"/>
    </keybind>
    <keybind key="W-C-1">
      <action name="MoveResizeTo">
        <monitor>1</monitor>
      </action>
    </keybind>
    <keybind key="W-C-2">
      <action name="MoveResizeTo">
        <monitor>2</monitor>
      </action>
    </keybind>
    <!--END of Movement Layer-->
    <!--Size Layer-->
    <keybind key="W-A-Up">
      <action name="GrowToEdgeNorth"/>
    </keybind>
    <keybind key="W-A-Left">
      <action name="GrowToEdgeWest"/>
    </keybind>
    <keybind key="W-A-Right">
      <action name="GrowToEdgeEast"/>
    </keybind>
    <keybind key="W-A-Down">
      <action name="GrowToEdgeSouth"/>
    </keybind>
    <keybind key="W-v">
      <action name="ToggleMaximizeVert"/>
    </keybind>
    <keybind key="W-h">
      <action name="ToggleMaximizeHorz"/>
    </keybind>
    <!--END of Size Layer-->
    <!--Focus Layer-->
    <keybind key="W-Up">
      <action name="DirectionalFocusNorth"/>
    </keybind>
    <keybind key="W-Left">
      <action name="DirectionalFocusWest"/>
    </keybind>
    <keybind key="W-Right">
      <action name="DirectionalFocusEast"/>
    </keybind>
    <keybind key="W-Down">
      <action name="DirectionalFocusSouth"/>
    </keybind>
    <!--END Focus Layer-->
    <!-- Keybindings for desktop switching -->
    <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>
    <!-- Keybindings for windows -->
    <keybind key="C-q">
      <action name="Close"/>
    </keybind>
    <keybind key="A-S-d">
      <action name="ToggleDecorations"/>
    </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>
    <!-- Keybindings for window switching -->
    <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>
    <!-- Keybindings for running applications -->
    <keybind key="W-e">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>Konqueror</name>
        </startupnotify>
        <command>kfmclient openProfile filemanagement</command>
      </action>
    </keybind>
  </keyboard>
  <mouse>
    <dragThreshold>8</dragThreshold>
    <!-- number of pixels the mouse must move before a drag begins -->
    <doubleClickTime>200</doubleClickTime>
    <!-- in milliseconds (1000 = 1 second) -->
    <screenEdgeWarpTime>400</screenEdgeWarpTime>
    <!-- Time before changing desktops when the pointer touches the edge of the
       screen while moving a window, in milliseconds (1000 = 1 second).
       Set this to 0 to disable warping -->
    <context name="Frame">
      <mousebind button="A-Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="C-S-Up" action="Click">
        <action name="Shade"/>
      </mousebind>
      <mousebind button="C-S-Down" action="Click">
        <action name="ToggleDecorations"/>
      </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="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>
Moin,
Ich benutz die Super Taste ziemlich oft. So wird bei mir so gut wie jedes regelmäßig genutze Programm mit W-x gestartet. Wobei x entweder für den Urxvtc steht oder auch für einen beliebig anderen Buchstaben (o für Opera, r für Rox-Filer, c für Claws-Mail etc).
Weiterhin werden bei mir alle Fenster per default dekoriert und nicht maximiert gestartet. Mit W-m werden sie maximiert und die dekoration entfernt, so dass ich wirklich die maximale Größe hab 😃 Außerdem stehen in meiner Config noch ein paar ausnahmen, der per default immer maximiert und undekoriert gestartet werden.
    <keybind key="W-a">
      <action name="Execute">
        <execute>pragha</execute>
      </action>
    </keybind>
    <keybind key="W-b">
      <action name="ToggleDecorations"/>
    </keybind>
    <keybind key="W-c">
      <action name="Execute">
        <execute>claws-mail --receive-all</execute>
      </action>
    </keybind>
    <keybind key="W-f">
      <action name="Execute">
        <execute>firefox</execute>
      </action>
    </keybind>
    <keybind key="W-g">
      <action name="Execute">
        <execute>geany</execute>
      </action>
    </keybind>
    <keybind key="W-i">
      <action name="Execute">
        <execute>/home/jonas/.iron/iron --enable-plugins</execute>
      </action>
    </keybind>
    <keybind key="W-n">
      <action name="Execute">
        <execute>claws-mail --compose</execute>
      </action>
    </keybind>
    <keybind key="W-m">
      <action name="ToggleMaximizeFull"/>
      <action name="ToggleDecorations"/>
    </keybind>
    <keybind key="W-o">
      <action name="Execute">
        <execute>opera -pd /home/jonas/.config/opera</execute>
      </action>
    </keybind>
    <keybind key="W-p">
      <action name="Execute">
        <execute>urxvtc -geometry 120x30 -hold -e centerim</execute>
      </action>
    </keybind>
    <keybind key="W-q">
      <action name="Exit"/>
    </keybind>
    <keybind key="W-s">
      <action name="Execute">
        <execute/>
      </action>
    </keybind>
    <keybind key="W-r">
      <action name="Execute">
        <execute>rox</execute>
      </action>
    </keybind>
    <keybind key="W-t">
      <action name="Execute">
        <execute>thunar</execute>
      </action>
    </keybind>
    <keybind key="W-x">
      <action name="Execute">
        <execute>urxvtc -bd "#cfcfcf"</execute>
      </action>
    </keybind>
    <keybind key="W-y">
      <action name="Execute">
        <execute/>
      </action>
    </keybind>
    <keybind key="W-z">
      <action name="Execute">
        <execute/>
      </action>
    </keybind>
    <!--Focus Layer-->
    <keybind key="W-Up">
      <action name="DirectionalFocusNorth"/>
    </keybind>
    <keybind key="W-Left">
      <action name="DirectionalFocusWest"/>
    </keybind>
    <keybind key="W-Right">
      <action name="DirectionalFocusEast"/>
    </keybind>
    <keybind key="W-Down">
      <action name="DirectionalFocusSouth"/>
    </keybind>
    <keybind key="W-A-Left">
      <action name="Execute">
        <execute>stiler horizontal</execute>
      </action>
    </keybind>
    <keybind key="W-A-Right">
      <action name="Execute">
        <execute>stiler horizontal</execute>
      </action>
    </keybind>
    <keybind key="W-A-Up">
      <action name="Execute">
        <execute>stiler vertical</execute>
      </action>
    </keybind>
    <keybind key="W-A-Down">
      <action name="Execute">
        <execute>stiler vertical</execute>
      </action>
    </keybind>
    <keybind key="W-A-space">
      <action name="Execute">
        <execute>stiler max_all</execute>
      </action>
    </keybind>
    <keybind key="W-A-s">
      <action name="Execute">
        <execute>stiler simple</execute>
      </action>
    </keybind>
    <keybind key="W-A-m">
      <action name="Execute">
        <execute>stiler swap</execute>
      </action>
    </keybind>
    <keybind key="W-A-c">
      <action name="Execute">
        <execute>stiler cycle</execute>
      </action>
    </keybind>
    [...]
  <applications>
    <application name="*">
      <decor>yes</decor>
      <maximized>false</maximized>
    </application>
    <application name="urxvt">
      <decor>yes</decor>
    </application>
    <application name="opera">
      <decor>no</decor>
      <maximized>true</maximized>
    </application>
    <application name="pragha" type="_NET_WM_WINDOW_TYPE_NORMAL">
      <decor>no</decor>
      <maximized>true</maximized>
    </application>
    <application name="claws-mail" role="mainwindow">
      <decor>no</decor>
      <maximized>true</maximized>
    </application>
    <application name="epdfview">
      <decor>no</decor>
      <maximized>true</maximized>
    </application>
   </applications>
Na, da mache ich doch mal mit 🙂
    <keyboard>
        <chainQuitKey>C-g</chainQuitKey>
        <keybind key="C-A-Left">
            <action name="DesktopLeft">
                <dialog>no</dialog>
            </action>
        </keybind>
        <keybind key="C-A-Right">
            <action name="DesktopRight">
                <dialog>no</dialog>
            </action>
        </keybind>
        <keybind key="S-A-Left">
            <action name="SendToDesktopLeft">
                <dialog>no</dialog>
                <wrap>no</wrap>
                <follow>no</follow>
            </action>
        </keybind>
        <keybind key="S-A-Right">
            <action name="SendToDesktopRight">
                <dialog>no</dialog>
                <wrap>no</wrap>
                <follow>no</follow>
            </action>
        </keybind>
        <keybind key="A-1">
            <action name="Desktop">
                <desktop>1</desktop>
            </action>
        </keybind>
        <keybind key="A-2">
            <action name="Desktop">
                <desktop>2</desktop>
            </action>
        </keybind>
        <keybind key="A-3">
            <action name="Desktop">
                <desktop>3</desktop>
            </action>
        </keybind>
        <keybind key="A-4">
            <action name="Desktop">
                <desktop>4</desktop>
            </action>
        </keybind>
        <!-- Keybindings for windows -->
        <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>
        <!-- Keybindings for window switching -->
        <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"/>
        </keybind>
        <!-- Keybindings for running applications -->
        <keybind key="A-F1">
            <action name="Execute">
                <command>bashrun</command>
            </action>
        </keybind>
        <keybind key="A-F2">
            <action name="Execute">
                <command>urxvt</command>
            </action>
        </keybind>
        <keybind key="Print">
            <action name="Execute">
                <command>scrot</command>
            </action>
        </keybind>
        <keybind key="C-Print">
            <action name="Execute">
                <command>scrot -sb</command>
            </action>
        </keybind>
        <keybind key="F14">
            <action name="ShowMenu">
                <menu>root-menu</menu>
            </action>
        </keybind>
        <keybind key="F15">
            <action name="ShowMenu">
                <menu>client-list-combined-menu</menu>
            </action>
        </keybind>
    </keyboard>
Hallo zusammen,

ich suche noch ein gutes Tutorial für "Pipe-Menüs".
Edward d'Eath schriebich suche noch ein gutes Tutorial für "Pipe-Menüs".
Nun, das ist recht simpel …
  1. Habe eine Idee für ein Pipemenü
  2. Code ien Programm, dessen Ausgabe eine Openbox-Menüstruktur auf STDOUT ist
  3. Benutze „<menu id="einmalige-id" label="Beliebige Beschriftung" execute="pfad zum programm" />" um das Programm einzubinden
  4. Benutze „openbox --reconfigure" üb Openbox neu zu laden
Die Openbox-Menüsyntax ist recht simpel:
<item label="Beschriftung">
    <action name="Execute">
        <command>programm</command>
    </action>
</item>
Weitere Syntax bietet die gut dokumentierte menu.xml von Openbox, oder das Openbox-Wiki.
Die Tips zum "Rechner runterfahren mit Openbox" von Army aus https://forum.archlinux.de/viewtopic.php?id=15635 finde ich gut...
Army schriebWenn du dein Programm mal anpassen willst, wenn die Ära von hal vorbei ist, dann kannst du folgende Kommandos benutzen

Runterfahren:
dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
Neustarten:
dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
Suspend:
dbus-send --system --print-reply --dest="org.freedesktop.DeviceKit.Power" /org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.Suspend
Hibernate:
dbus-send --system --print-reply --dest="org.freedesktop.DeviceKit.Power" /org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.Hibernate
Natürlich gehen die Kommandos auch jetzt schon, vorausgesetzt es ist eine ConsoleKit-Session am laufen (in der .xinitrc brauchst dann ein exec ck-launch-session $WindowManager)