The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

how to move workspace to monitor?

asked 2014-09-08 10:16:56 +0000

marcos gravatar image

Hi everyone,

I'm trying out i3 (deciding whether to leave Xmonad). I'm on ubuntu 12.04, and I'm using i3-wm 4.1.2-2.

This is probably a silly question, but I can't figure out what I am doing wrong. I just want to move workspaces to different screens.

I've read the documentation about "Moving containers/workspaces to RandR outputs" and also an old question on this topic (can't post link because "my karma is insufficient to publish links". I've tried what is suggested, but it doesn't work for me. By the way, what is the difference between "moving a container" and "moving a workspace"

I put the following

bindsym $mod+x move workspace to output right

in my .i3/config

Now assume I have workspace 1 on the laptop monitor (LVDS1) with a terminal, and workspace 2 on the external monitor (VGA1) with firefox. If firefox is focused, and I press $mod+x, what happens is that firefox disappears (don't know where), and besides workspace 2, I get an new workspace names "to output right" on VGA1 ... not exactly what I was expecting, i.e. firefox moving to workspace 1 on LVDS1, and the terminal becoming focused on workspace 2 on VGA1 ... :(

What am I doing wrong?

Thanks, Marco

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-09-08 13:03:59 +0000

lasers gravatar image

updated 2014-09-08 13:05:04 +0000

I don't see anything wrong with your bindsym. However, i3 v4.1~ is too old and it is possible that it does not have this option. Upgrade to i3 v4.8~ first and see if that work. For Debian or Ubuntu, see http://i3wm.org/docs/repositories.html

A container can host a window (meaning an X11 window, one that you can actually see and use, like a browser or a terminal emulator). It can contain one or more containers by invoking focus parent ($mod+a).

By moving containers instead of workspaces, you can keep your named/numbered workspace in the same place/output. Some people prefer having this. I keep 1,2,3,4,5 on the left monitor and 6,7,8,9,10 on the right monitor.

bindsym $mod+Shift+greater move container to output right
bindsym $mod+Shift+less move container to output left
edit flag offensive delete link more

Comments

Thank you! updating to i3 version 4.8-1precise1 made the difference!

marcos gravatar imagemarcos ( 2014-09-08 16:06:14 +0000 )edit

Question Tools

Stats

Asked: 2014-09-08 10:16:56 +0000

Seen: 1,905 times

Last updated: Sep 08 '14