Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

With Compiz in Unity, I could press Ctrl+Alt+6 to place a window on the right-half of the screen, Ctrl+Alt+4 to place it on the left half, Ctrl+Alt+7 to place it in the top left quarter of the screen, and so on.

Is there something similar in Xfce on Xubuntu?

share|improve this question
    
You could use wmctrl and easily keybind commands like wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz && wmctrl -r :ACTIVE: -e 0,0,0,500,500. See man wmctrl. –  user55822 Oct 28 '12 at 16:31
    
Is this a duplicate of this? askubuntu.com/questions/103456/… ... or are you using 12.10 which should have tiling built into the WM. –  fossfreedom Oct 28 '12 at 18:51
    
I use 12.04 LTS –  rubo77 Oct 28 '12 at 21:18
    
wmctrl looks great but how do i resize the active window to 50 percent? –  rubo77 Oct 28 '12 at 21:38
1  
@rubo77, If you're familiar with bash scripts, sprunge.us/VjYL. But you might as well consider installing 12.10 since fossfreedom says it's built in. –  user55822 Oct 28 '12 at 23:17

2 Answers 2

up vote 4 down vote accepted

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>)

share|improve this answer

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

share|improve this answer
    
File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 76, in require_version raise ValueError('Namespace %s not available' % namespace) –  lefterav Jun 3 at 22:30
    
I created an issue for that problem on GitHub. I will look after it in the near future. (github.com/gillesB/azulejo/issues/9) –  gillesB Jun 4 at 6:49
    
The problem occurs if the dependencies are not installed. You can find the needed packages here: github.com/gillesB/azulejo –  gillesB Jun 4 at 20:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.