miércoles, octubre 10, 2012

Cuadrar Ventanas Mosaico en Openbox

Editar el archivo rc.xml

(text Editor) ~/.config/openbox/rc.xml

Y pegar el siguiente texto en la sección de KeyBindings:


<!-- Keybindings for window tiling -->
    <keybind key="W-Left">        # HalfLeftScreen
      <action name="UnmaximizeFull">
      <action name="MoveResizeTo">
        <x>0</x>
        <y>0</y>
        <height>100%</height>
        <width>50%</width>
      </action>
    </action></keybind>
    <keybind key="W-Right">        # HalfRightScreen
      <action name="UnmaximizeFull">
      <action name="MoveResizeTo">
        <x>-0</x>
        <y>0</y>
        <height>100%</height>
        <width>50%</width>
      </action>
    </action></keybind>
    <keybind key="W-Up">        # HalfUpperScreen
      <action name="UnmaximizeFull">
      <action name="MoveResizeTo">
        <x>0</x>
        <y>0</y>
        <width>100%</width>
        <height>50%</height>
      </action>
    </action></keybind>
    <keybind key="W-Down">        # HalfLowerScreen
      <action name="UnmaximizeFull">
      <action name="MoveResizeTo">
        <x>0</x>
        <y>-0</y>
        <width>100%</width>
        <height>50%</height>
      </action>
    </action></keybind>
    <keybind key="C-Left">        # QuartLowerLeftScreen
      <action name="UnmaximizeFull">
      <action name="MoveResizeTo">
        <x>0</x>
        <y>-0</y>
        <width>50%</width>
        <height>50%</height>
      </action>
    </action></keybind>
    <keybind key="C-Right">        # QuartUpperRightScreen
      <action name="UnmaximizeFull">
      <action name="MoveResizeTo">
        <x>-0</x>
        <y>0</y>
        <width>50%</width>
        <height>50%</height>
      </action>
    </action></keybind>
    <keybind key="C-Up">        # QuartUpperLeftScreen
      <action name="UnmaximizeFull">
      <action name="MoveResizeTo">
        <x>0</x>
        <y>0</y>
        <width>50%</width>
        <height>50%</height>
      </action>
    </action></keybind>
    <keybind key="C-Down">        # QuartLowerRightScreen
      <action name="UnmaximizeFull">
      <action name="MoveResizeTo">
        <x>-0</x>
        <y>-0</y>
        <width>50%</width>
        <height>50%</height>
      </action>
    </action></keybind>
    <keybind key="A-Right">        # FullScreen
      <action name="UnmaximizeFull">
      <action name="MoveResizeTo">
        <x>0</x>
        <y>0</y>
        <width>100%</width>
        <height>100%</height>
      </action>
    </action></keybind>
    <keybind key="A-Left">        # MiddleScreen
      <action name="UnmaximizeFull">
      <action name="MoveResizeTo">
        <x>center</x>
        <y>center</y>
        <width>50%</width>
        <height>50%</height>
      </action>
    </action></keybind>

No hay comentarios.:

Publicar un comentario