#191 help to quickly tile windows

open
nobody
None
5
3 days ago
2012-04-12
Jerome
No

Like Microsoft Windows, like KDE, like XFCE (latest version), it would help to have a feature which allows to easily tille the windows.

I would like to quickly tile the windows vertically, horizontally, make a windows fit a quarter of the space (top-left, top-right, bottom-left, bottom-right), etc.

I think it wouldn't be resources consuming. This feature could be performed by an separated program : just caculate new dimensions and positions of a window and apply it (as a user would do it by hand).

Discussion

  • Ikem
    Ikem
    2012-08-15

     
  • Jerome
    Jerome
    2012-08-15

    The problem is that x-tile :
    - isn't into the Debian packages repository
    - seems not to interact with the mouse pointer like under KDE (for example, the mouse on top left of the desktop makes the window resize to the top left quarter of the screen)

     

  • Anonymous
    2012-10-09

    For manual tiling, the easiest way is to read the openbox documentation and add keybinds for it to ~/.config/openbox/lxde-rc.xml
    For autotiling (like in XMonad) there is a great app called Pytyle

     

  • Anonymous
    2012-12-24

    I think openbox is so power for that.
    This is my try in lubuntu 12.04
    <keybind key="W-Left">
    <action name="if">
    <maximizedhorizontal>no</maximizedhorizontal>
    <maximizedvertical>yes</maximizedvertical>
    <then>
    <action name="Maximize"/>
    </then>
    <else>
    <action name="Unmaximize"/>
    <action name="MoveResizeTo">
    <x>0</x>
    <y>0</y>
    <width>50%</width>
    <height>100%></height>
    </action>
    <action name="Maximize">
    <direction>vertical</direction>
    </action>
    </else>
    </action>
    </keybind>
    <keybind key="W-Right">
    <action name="if">
    <maximizedhorizontal>no</maximizedhorizontal>
    <maximizedvertical>yes</maximizedvertical>
    <then>
    <action name="Maximize"/>
    </then>
    <else>
    <action name="Unmaximize"/>
    <action name="MoveResizeTo">
    <x>50%</x>
    <y>0</y>
    <width>50%</width>
    <height>100%></height>
    </action>
    <action name="Maximize">
    <direction>vertical</direction>
    </action>
    </else>
    </action>
    </keybind>
    <keybind key="W-Up">
    <action name="if">
    <maximizedhorizontal>yes</maximizedhorizontal>
    <maximizedvertical>no</maximizedvertical>
    <then>
    <action name="Maximize"/>
    </then>
    <else>
    <action name="Unmaximize"/>
    <action name="MoveResizeTo">
    <x>0</x>
    <y>0</y>
    <width>100%</width>
    <height>345</height>
    </action>
    <action name="Maximize">
    <direction>horizontal</direction>
    </action>
    </else>
    </action>
    </keybind>
    <keybind key="W-Down">
    <action name="if">
    <maximizedhorizontal>yes</maximizedhorizontal>
    <maximizedvertical>no</maximizedvertical>
    <then>
    <action name="Maximize"/>
    </then>
    <else>
    <action name="Unmaximize"/>
    <action name="MoveResizeTo">
    <x>0</x>
    <y>50%</y>
    <width>100%</width>
    <height>345</height>
    </action>
    <action name="Maximize">
    <direction>horizontal</direction>
    </action>
    </else>
    </action>
    </keybind>

     
  • Jerome
    Jerome
    2012-12-29

    Those "keybind" are usefull for advanced users who want to use the keyboard.

    It would be easier for a beginner to get "window drag" bindings :
    - on to left, right, top, bottom side of the screen : window resized respectively to the left, right, top and bottom half screen.
    - on the top left corner : window resized to the top left quarter of the screen
    - on the top right corner : window resized to the top right quarter of the screen
    - on the bottom left corner : window resized to the bottom left quarter of the screen
    - on the bottom right corner : window resized to the bottom right quarter of the screen

     
  • Alex Henrie
    Alex Henrie
    3 days ago

    Lubuntu has had keybindings for window tiling for over a year (since Lubuntu 13.04, see attached file). They are just as useful or more as the Shift+Alt+Left and Shift+Alt+Right keybindings for moving windows between workspaces. Could we please upstream the window tiling keybindings, and make this part of LXDE by default?