I started using xmonad on an Ubuntu box with two monitors attached. When I start xmonad the same layout is duplicated on both monitors. For example: if I have a layout where Chrome and emacs are tiled side-by-side, then I see chrome on the left side of both monitors, and emacs on the right side of both monitors.
Is there a way to say "chrome, go to the left monitor, emacs, go to the right monitor"?
Best Answer
To me it sounds like the view is cloned. There are two steps to fixing your problem:
To unclone, use xrandr to set different views for each monitor.
Open a console and type:
It should display something along the lines:
In my case LVDS1 is the laptop and VGA1 is a connected projector.
To set the projector left of the monitor use:
This will use the default resolution for the projector (in this case 1024x768) and place the view left of the laptop screen.
To set a custom resolution use
In your case it will be something along the lines:
The shortcuts for moving apps between desktops and switching desktops are
Mod Key + 1,2,3, - 9 for bringing the desktop to the monitor the mouse is on
Mod Key + SHIFT + 1,2,3, - 9 for sending the currently focused application to the particular desktop
The default Mod Key for xmonad is Alt but you can set it to the Windows key in order to free Alt for use in applications.