Results 1 to 5 of 5

Thread: Tiling in LXDE (with or without xmonad)

  1. #1
    Join Date
    Apr 2012
    Beans
    6

    Tiling in LXDE (with or without xmonad)

    I'm new to Lubuntu/LXDE/openbox and I've just installed Lubuntu 12.10. I'm so far unable to find a way to tile windows with the keyboard.

    Is there a way to have a keyboard shortcut that will make a window fill the left or right half of the screen (like in unity and Windows 7)?

    Alternatively, I'm trying to get XMonad to work with Lubuntu. I've tried the instructions from
    http://www.haskell.org/haskellwiki/X...xmonad_in_LXDE to no avail. I get compiler errors from the xmonad.hs file when logging in to an "Xmonad" session and if I try the windowmanager=xmonad suggestion then my "Lubuntu" session is broken (It shows my desktop background but no Lubuntu or Xmonad commands work so I have to reboot via the tty).

    Does anyone know a way to get XMonad to work as the window manager within the "Lubuntu" session?


    Thanks,
    Oscar

  2. #2
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,448
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Tiling in LXDE (with or without xmonad)

    Quote Originally Posted by oscarbenjamin View Post
    I'm new to Lubuntu/LXDE/openbox and I've just installed Lubuntu 12.10. I'm so far unable to find a way to tile windows with the keyboard.

    Is there a way to have a keyboard shortcut that will make a window fill the left or right half of the screen (like in unity and Windows 7)?
    ...
    http://ubuntuforums.org/showthread.php?t=2068644
    http://crunchbanglinux.org/forums/to...ap-in-openbox/
    https://bbs.archlinux.org/viewtopic.php?id=93126
    de gustibus et coloribus non est disputandum -- Wiktionary

  3. #3
    Join Date
    Apr 2012
    Beans
    6

    Re: Tiling in LXDE (with or without xmonad)

    Thanks vasa1. Following the second link you posted (crunchbanglinux) I found the exact solution for what I wanted. Here it is:

    Code:
        <!-- Fill left half of desktop -->
        <keybind key="C-W-Left">
          <action name="Unmaximize"/>
          <action name="MoveResizeTo">
            <x>0</x>
            <y>0</y>
            <height>99%</height>
            <width>50%</width>
          </action>
        </keybind>
        <!-- Fill right half of desktop -->
        <keybind key="C-W-Right">
          <action name="Unmaximize"/>
          <action name="MoveResizeTo">
            <x>-0</x>
            <y>0</y>
            <height>99%</height>
            <width>50%</width>
          </action>
        </keybind>
    With the above in ~/.config/openbox/lubuntu-rc.xml I can position main windows to the left/right half of the screens with Control-Super-Left/Right as in unity.

    Thanks again.

  4. #4
    Join Date
    Jan 2011
    Beans
    81
    Distro
    Xubuntu

    Re: Tiling in LXDE (with or without xmonad)

    Since your question has been answered, you should mark this thread as solved.

  5. #5
    Join Date
    Apr 2012
    Beans
    6

    Re: Tiling in LXDE (with or without xmonad)

    Quote Originally Posted by Pirate Zoro View Post
    Since your question has been answered, you should mark this thread as solved.
    Sorry, I'll work out how to do that now.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •