Results 1 to 6 of 6

Thread: Window Tile Snapping

  1. #1
    Join Date
    Mar 2011
    Beans
    144
    Distro
    Ubuntu 12.04 Precise Pangolin

    Window Tile Snapping

    I do not have the *tile* options in my Window Manager Settings menus.

    I would like to use SUPER+L/R to do Windows type things where the window is halfed and tiled to the left/right.

    Why I have no *tile* options in Window Manager.

    Thanks.

    xfwm4 --version
    This is xfwm4 version 4.8.3 (revision 360ccf2) for Xfce 4.8
    Released under the terms of the GNU General Public License.
    Compiled against GTK+-2.24.10, using GTK+-2.24.10.

    Build configuration and supported features:
    - Startup notification support: Yes
    - XSync support: Yes
    - Render support: Yes
    - Xrandr support: Yes
    - Embedded compositor: Yes
    - KDE systray proxy (deprecated): No

  2. #2
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Window Tile Snapping

    If you update to the latest, you'll get snapping. In older versions, I don't remember which, you needed to install a ppa. Now (4.11), snapping is there by default.

    Edit: http://askubuntu.com/questions/10345...-like-in-gnome

    Oops ... just noted that you want to use the keyboard for snapping. I don't know whether that is provided by xfwm4 or not.
    Last edited by vasa1; October 24th, 2014 at 02:40 AM.

  3. #3
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: Window Tile Snapping

    Xubuntu 14.10 allows window snapping from the keyboard. These actions are left undefined by default. As a test, I defined Alt+Rt-Arrow to snap to the right edge and it works.

  4. #4
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: Window Tile Snapping

    I do not have the *tile* options in my Window Manager Settings menus.
    You probably need a newer version of xfwm4 than the 4.8.3 version you have. Xubuntu 14.04 comes with version 4.11.1

    Xubuntu 14.04 (and of course 14.10) can tile windows from the keyboard. How to this up:

    Go tho Settings > Window Manager > Keyboard Tab

    Scroll down in the menu at the left to the four selections beginning "Tile window to ..."

    None of these are defined - to define an action, select an item and double click in the 'shortcut' column. A small dialog will let you press the keys you want to produce that action and they will be set for you.

  5. #5
    Join Date
    May 2009
    Location
    Fareham, UK
    Beans
    1,524
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Window Tile Snapping

    Without wanting to hijack a thread can windows be snapped to corners? I use cinnamon which support keyboard window snapping but cant do instant snap to corners.
    Catch me on Freenode - imark

  6. #6
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Window Tile Snapping

    Quote Originally Posted by CaptainMark View Post
    Without wanting to hijack a thread can windows be snapped to corners? I use cinnamon which support keyboard window snapping but cant do instant snap to corners.
    I think that depends on the window manager. Openbox can do so. There's a text file in ~/.config/openbox called rc.xml or lubuntu-rc.xml or whatever a distro decides to call it. I have this code in the <keyboard></keyboard> section:
    Code:
        <keybind key="W-w">        # Center on screen
          <action name="MoveResizeTo"><x>center</x><y>center</y></action>
        </keybind>
    
        <keybind key="W-7">        # Top left corner
          <action name="MoveResizeTo"><x>0</x><y>0</y></action>
        </keybind>
    
        <keybind key="W-8">        # Top right corner
          <action name="MoveResizeTo"><x>-0</x><y>0</y></action>
        </keybind>
    
        <keybind key="W-9">        # Bottom right corner
          <action name="MoveResizeTo"><x>-0</x><y>-0</y></action>
        </keybind>
    
        <keybind key="W-0">        # Bottom left corner
          <action name="MoveResizeTo"><x>0</x><y>-0</y></action>
        </keybind>
    that addresses your issue. There are more "actions" listed here.

    I don't know what xfwm4 provides in this regard.

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
  •