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.

I am looking for the keyboard shortcut of "Move to workspace Right/Left"

Like this:

Right

I'm using compiz cube, with 4 horizontal workspaces

(I'm not looking for "Move to another Workspace" shortcut)

share|improve this question
    
Is thee a way to do this without keyboard shortcut when window is maximized? –  umpirsky Apr 5 '12 at 10:46

4 Answers 4

up vote 6 down vote accepted

I assume you are running Unity. You need to:

  1. Install compizconfig-settings-manager
  2. Open it (it can be found by typing ccsm into the dash)
  3. Scroll down and in the "Window Management" section activate the "Put" plug-in by ticking the box next to "Put" (*)
  4. Press the "Put" button to configure the shortcut
  5. The settings you are looking for are Bindings > Put to adjacent viewport > Viewport left/right/top/bottom
  6. To avoid having the desktop chase every window you move (effectively reducing the effect of this option to "Switch workspace with window"), tick Misc. Bindings > Unfocus window

(*): Due to problems in compiz, at this step your screen is likely to freeze for anywhere between 5 and 30 seconds... just wait for your desktop to become responsive again. If you end up at a broken desktop, press Ctrl+Alt+F1, log in using your username and password and type DISPLAY=:0 unity --replace &, then press Ctrl+Alt+F7 and everything should come back.

share|improve this answer
    
This one work fine, it just have 1 problem, when I move the windows to another workspace, the cube rotates following the window. Is there anyway to make it just move the window without moving into workspaces? –  iLQ Jan 27 '12 at 1:29
1  
Yup. CCSM > Put plugin > Misc Options > Unfocus window –  pablomme Jan 27 '12 at 1:33
    
You're awesome. Thanks a lot –  iLQ Jan 27 '12 at 1:37
    
You no longer need compizconfig-settings-manager to do this. Ubuntu has default shortcuts and they can be edited in Ubuntu's "keyboard" settings panel. See my answer below. –  simonp Jun 17 at 8:04

I am using a probably an old styled shortcut, which is indeed simple.

I am using Desktop Wall instead of the Cube, which is awesome but I got tired of the cube, then I switched to Desktop Wall. Which features key bindings for "Move within wall", "Move with window within wall" and a few other. I have the default setup which includes Shift+Control+Alt+[Key] (left, right, etc.) in order to "move" the window to the desired wall. As shown here:

enter image description here

The Cube features the same binding options in the appropriate tab inside of the "Rotate desktop cube", which may be useful for you as you can define several combinations for your desired key bindings in order to move your windows to a specific Face (n) (of the cube).

enter image description here

If you are using more than a single horizontal workspace, then you probably have a 4 faces cube with dual workspaces, which means: only one cube, with selective workspace. This way, you can combine both the Desktop wall key bindings with the Rotate Cube key bindings in order to obtain the effect that you expect to.

But you should first check if the normal Shift+Control+Alt+[Key] (left, right, etc.) are doing the trick. Otherwise this workaround may be tricky for you. (not tested by me, I am not using the cube anymore).

WARNING: The "Move to another Workspace" option in the context menu is simply dropping the window to the chosen workspace leaving you in the current workspace. The "Move with window [...]" will make you "fly" to the given workspace with the window.

Good luck!

share|improve this answer
    
Thanks Geppettvs, but I'll stay with pablomme solution (: –  iLQ Jan 27 '12 at 1:40
    
I think that this shortcut, Shift+Control+Alt+Arrow-Key has always worked from install. Up, down, left or right. –  lqlarry Jan 27 '12 at 1:40
    
yes it does but I can't say for sure if it does on plain ubuntu installs with compiz. I am using a different distro. But thank you for the information @lqlarry –  Geppettvs D'Constanzo Jan 27 '12 at 16:55

On Ubuntu 12 and above you do this in Settings->Keyboard->Short cuts->Navigation

share|improve this answer

In Ubuntu 14.04 (and probably earlier versions), there is a default key-binding of Shift-Ctrl-Alt-[arrow]. E.g. to move the current window one workspace to the right, use Shift-Ctrl-Alt-Right.

The key-binding can be edited in Settings->Keyboard->Shortcuts->Navigation.

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.