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 Gnome-Shell?

share|improve this question
    
note: Numbers mentioned are on the NumPad. –  int_ua Nov 30 '11 at 17:31

2 Answers 2

up vote 4 down vote accepted

Install gconf-editor.

sudo apt-get install gconf-editor

Now, run gconf-editor ( Alt+F2 gconf-editor)

Go to apps/metacity/window_keybindings and edit the move_to_center / move_to_corner entries to your liking. (see screenshot:)

enter image description here

share|improve this answer
    
How do you denote NumPad keys when entering in key combinations in the "Value" column? –  Thucydides411 Nov 30 '11 at 20:28
    
Never mind, I see that KP means keypad, and that you have the obvious layout above. –  Thucydides411 Nov 30 '11 at 20:34
1  
How do you denote Keypad's 5 key? –  drozzy Apr 20 '12 at 20:02
1  
@drozzy to denote Keypad's 5 key use KP_5. –  severin Apr 24 '12 at 9:50
1  
In Gnome 3.6, use dconf-editor. The relevant options are in org.gnome.desktop.wm.keybindings. –  jakar Dec 9 '12 at 6:57

In Ubuntu you can still use Compiz Config (or, alternatively, gconf-editor) to set up the keys the same way you do in Unity.

But, unfortunately, it does not work as expected. It does move the window where you asked it to, but then (at least, for some windows) they will jump back to the original position.

For example, in gconf-editor open apps/metacity/window_keybindings and add some shortcut for move_to_side_e, e.g. < Ctrl >< Alt >KP_6. Now open Files (Nautilus) and press this key combination. The window will move to the right side. Now double click any folder to enter it: the window will jump back to the position it was...

I am not sure whether it is a bug or the fact that Gnome-Shell does not support Compiz anymore, but hope that the feature will be supported sooner or later. This Compiz plugin and Place Windows (the one that opens new windows such that they occupy open space on the desktop) are, probably, the only, or at least the most important, plugins I still miss from the Gnome 2 and Compiz...

share|improve this answer
    
Except that gconf-editor always crashes after you set about 5 keys.... –  drozzy Apr 20 '12 at 20:11
    
Not in my case, though. Unity crashes all the time when you modify something in ccsm, that is the fact. gconf-editor works fine here, even when I modify may keys at once (and I do modify many when reinstall the system). –  Vadim Apr 20 '12 at 20:16
    
Cool.. i'm just giving Bluetile a try... but alas, it is failing to compile on my system. –  drozzy Apr 20 '12 at 20:20

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.