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.

The "Put" functionality of CompizConfig Settings Manager is great. I'd like to be able to move windows to the desktop corners by using Super+Down/Up+Left/Right for this; is that possible? Whenever I try to set something like that it is just reset to "Disabled".

A workaround is of course to use the numeric pad, but I'd like to be able to do this on my EEE laptop as well without enabling and disabling NumLock all the time.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

By design, it is not possible to create a keyboard shortcut that uses multiple non-modifier keys.

Imagine you've created shortcuts for both Super+Up and Super+Up+Left. When you press Super+Up, how will the computer know whether to execute the shortcut or keep waiting for more keys?

share|improve this answer

I have not tried to set these to use the arrow keys in the Put plugin before, but I do not believe it is possible if compiz resets the keys. You may have to resort to using your normal number keys at the top of the keyboard.

The arrow keys work otherwise though.

share|improve this answer
    
There is no problem with using arrow keys in the Put plugin. l0b0 is asking about creating keyboard shortcuts with two arrow keys, e.g. Super+Up+Left. –  ændrük Feb 17 '11 at 20:19
    
sorry I missed that minor detail at first. –  RolandiXor Feb 17 '11 at 21:20

Using xchainkeys, you could define key sequences.

For an example, we use the same keys as in the answer of @ændrük;
Super+Up and Super+Up Left.
(That is pressing two keys at the same time, and then one alone - not all three at once in his example: Super+Up+Left.)

You can define key sequences in xchainkeys in some variants, one way would be to define a group of key sequences starting with the same prefix - Super+Up in this case.

Then pressing Super+Up only goes into a mode waiting for the next key (or timing out if you like).

Now, we could define:
Super+Up Up
Super+Up Left
Super+Up Right
Pressing the same keys again would insert the keys as pressed one time by default.

With other options, we can use:
Super+Up Right Up Up
without repeating the prefix key.

share|improve this answer

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.