Is it possible to place windows with keyboard shortcuts in Xfce?

i prefer using Alt+d to move the window into the left half of the screen and Shift+Alt+d the right half.

  • store this script as /usr/local/sbin/window-left and /usr/local/sbin/window-right
  • in your Settings Manager you can add a new entry in xfce4-keyboard-shortcuts: /commands/custom/<Alt>d, String and /usr/local/sbin/window-left
  • in your Settings Manager you can add a new entry in xfce4-keyboard-shortcuts: /commands/custom/<Shift><Alt>d, String and /usr/local/sbin/window-right

new entry for shortcut to move window into left half of the screen

(You can choose the best shortcut Keys, that fit for you using <Alt>, <Shift>, <Control> and <Super>)


These actions already exist for the Window Manager of XFCE/Xubuntu, it's a matter of binding them to proper keys!

You can do this through the GUI. Just go to Settings, Window Manager, and click the Shortcuts tab. The actions you are looking for are named Tile window to the left, Tile window to the top-right, etc.


I had the same problem after switching away from Compiz, as I have not found a real solution and I did not want to use single scripts, I forked a project, which nearly had the features which I needed.

You can find it under: https://github.com/gillesB/azulejo

It is not perfect yet, multiple screen support is missing, but I use it everyday. It should also be usable in other desktop environments as it is based on EWMH (1). For example I used it for a while with Mate and I tested it shortly with Cinnamon.

1) http://en.wikipedia.org/wiki/EWMH