78

I connected my laptop to my LCD. Using the laptop display hotkey I can switch between different modes - only laptop monitor on, only LCD monitor on, both on and display the same view, both on and the desktop is stretched (divided).

But, I'm looking for something else - I would like to have two workspaces, one visible on the laptop monitor and the other on the LCD.

Is that possible?

Isaiah
  • 59,344
David B
  • 11,072
  • This question is a duplicate of: http://askubuntu.com/q/5082/275 – Marcel Stimberg Jan 15 '11 at 18:45
  • It is possible with compiz, but a bit tricky to set up. What graphics card do you have? That could be useful. Are you using metacity? – RolandiXor Jan 15 '11 at 19:04
  • I use Asus eee PC 1015PEM. Don't know what metacity is... – David B Jan 15 '11 at 19:11
  • 5
    @Marcel Stimberg: the question you referred to was not actually answered IMHO. I don't want "one big screen" where I can drag windows and maximize them so it's "like two separate displays". I want a screen per workspace. No windows dragging and other tricks. – David B Jan 15 '11 at 19:13
  • http://en.wikipedia.org/wiki/X_window_manager and http://en.wikipedia.org/wiki/Window_manager – RolandiXor Jan 15 '11 at 20:55
  • http://en.wikipedia.org/wiki/Metacity and http://en.wikipedia.org/wiki/Compiz – RolandiXor Jan 15 '11 at 20:56
  • What graphics card/chip is it?
    lspci | grep VGA
    
    – wojox Jan 16 '11 at 01:47
  • It is a duplicate...but idk what bonus you plan to achieve by having more than one instance of X running...I would think connecting one to 0:0 and one to 0:1 would do it, but why the complication? – RobotHumans Jan 16 '11 at 03:52
  • The only possible advantage I can think of is trying to ask this question: http://askubuntu.com/questions/21198/tutorial-or-livedisk-for-multiseat-setup-with-dual-head-display-supporting-open a different way... – RobotHumans Jan 16 '11 at 03:54
  • @David: I agree that the question I linked to has not been answered sufficiently -- still, the question is the same... – Marcel Stimberg Jan 19 '11 at 13:28
  • Two different screen can be displayed on LCD and laptop/PC screen by disabling "Mirror displays" in display setting. No need install any additional application. –  Jan 26 '16 at 13:02

5 Answers5

37

If I understand the question correctly, you would like to be able to switch workspaces independently for each screen, so that for example the left screen could be on workspace 1 and the right screen on workspace 3. This is supported by some window managers, most notably XMonad, and I personally find it extremely convenient in a dual-head setup. Moreover, it's perfectly possible to integrate XMonad with GNOME without sacrificing usability.

On my home machine I currently have a much simpler setup, with the default window manager. I like to have a music player visible on one of the screens at all times, so I just pinned the player to the visible workplace in order to emulate a “separate workspace”. This doesn't really solve a problem, but might be helpful anyway.

Adam Byrtek
  • 9,811
  • I'm not sure if the original question asked this exactly, but another question that exactly matches your answer is http://askubuntu.com/q/126100/7808 - the answer is the same as yours, though. – Robie Basak Aug 14 '14 at 08:19
  • I can testify that i3 supports it, and I believe awesome does as well. – Gordon Gustafson Sep 04 '14 at 01:16
  • 4
    +1 because this contains the most relevant answer of today. But it is still really frustrating that none of the standard desktops (KDE, Gnome, etc) supports this really simple feature. – kalj Oct 24 '16 at 14:58
4

In Gnome

sudo apt install gnome-tweak-tool
sudo gnome-tweaks

in the workspaces tab under "display handling" select "workspaces span displays" which means all the screens to act together. (when you switch on one, others will switch to that workspace as well)

you can select whether all the screens act together or individually to switch between workspaces press ALT + CTRL +UP_ARROW/DOWN_ARROW.

NIMISHAN
  • 1,575
  • 4
  • 19
  • 28
Ali Alp
  • 141
4

It is possible to archive something similar using nVidia (prop) driver (Ge-Force graphics cards). It is called "TwinView". I only tried it once. You may want to read more here: http://ubuntuforums.org/showthread.php?t=221174

I was not able to achieve the same result using an ATI graphics card.

RolandiXor
  • 51,541
gsedej
  • 4,914
  • 1
    When I use twin view on my Asus eee pc 1201n I get one screen with the desktop and another with the desktop background ONLY. and if you look at the workspaces so are they only stretched out! They have put together the resolutions for both screens. I have a similar question. NOT a duplicate. http://askubuntu.com/questions/27527/why-doesnt-my-graphic-card-software-support-12801024 – Alvar Mar 07 '11 at 22:13
2

I guess what we (or at least I) really want is to get the top & bottom panels on both monitors and have the bottom panel's application tabs only on the corresponding monitor.

Looks like it's not there yet but we can vote for it on ubuntu brainstorm.

zuba
  • 21
1

This guy has a working xorg.conf for multiple cards multiple desktops using a displaylink usb adapter: http://mulchman.org/blog/?tag=displaylink

RobotHumans
  • 29,530