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 running vim in gnome-terminal, and ideally I would like to have fullscreen mode stretch across both monitors, not just one. Is there any way to do this? If I disable CCSM > Grid then I can stretch the terminal, but the results are less than ideal, observe:

enter image description here

Is there a way to fix the --I don't know what to call it exactly-- Z buffer problem at the top? If not, could someone point me in the direction of the source code so I could try to reverse engineer it to allow for dual monitor full screen mode?

share|improve this question
    
+1, I'd love to be able to do this easily. Currently I just stretch the terminal. –  jrg Feb 27 '12 at 1:14
    
@jrg it's doubly important for programs which are meant to only have one running instance, like vim. –  puk Feb 27 '12 at 1:16
    
Although, I do have to ask the question - why do you need so much text displayed? On my netbook I could display the quasi-standard 80 characters of text no problem with my little 10" display. –  jrg Feb 27 '12 at 1:31
    
@jrg I split my vim session into 4-6 windows, and if I need more, I open different sessions, then I start opening the same file multiple times in different sessions, and all hell breaks loose ;-P –  puk Feb 27 '12 at 5:06
    
I take it you're using Unity? I can't really see anything on your screenshot, but using Gnome classic, I can stretch it with no problems, while using Compiz Grid. I can even set the terminal session to automatically open this way, if I want. –  Marty Fried Feb 27 '12 at 5:29
show 8 more comments

3 Answers

up vote 1 down vote accepted

This sounds like a bug and you should report the bug.

At first glance it looks like a design bug, something somewhere should allow you to make a window go over multiple monitors. Like F11 does for a single one.

But the second point is the corruption. Which looks very much like an error which should be fixed.

share|improve this answer
add comment

If both screens are the same size then you shouldn't have a problem but I can't really think of another way and I also have the same problem I just use Jupiter for only my big monitor.

sudo apt-get install jupiter
share|improve this answer
add comment

How is your math and your knowledge of XServer's xorg.conf?

You have to have both displays set at the same screen resolution, set up 2 separate distinct monitor sections. Then you create a virtual console screen that is the size of the two added together, then place the position of each monitor within that virtual console... Several ways to do that in xorg.conf, with one Device's GPU (having multiple outputs) or with multiple GPU's (seperate cards).

One example is, you have two monitors siting side-by-side. Each is set to 1024x768. You create a virtual console screen of 2048x768. You place the first monitor at 0,0. You place the other Monitor at 0,1025 or just "RightOf"

Section "Monitor"
  Identifier     "Monitor0"
  Option         "Primary"      "False"
EndSection

Section "Monitor"
  Identifier     "Monitor1"
  Option         "RightOf"      "Monitor0" 
  Option         "Primary"      "False"
  Option         "PreferedMode" "1024x768"
EndSection

Section "Device"
  Identifier     "Card"
  Driver         "vesa"
  Option         "Monitor-DVI-I-0"  "Monitor0" 
  Option         "Monitor-DVI-I-1"  "Monitor1" 
EndSectionEndSection

Section "Screen"
  Identifier          "Screen0"
  Device              "Card"
  Monitor             "Monitor0"
  DefaultDepth        24
  SubSection "Display"
    Modes            "1024x768"
    Virtual          2048 768 
  EndSubSection
EndSection

There is more detail than that and many alternate ways to separate it out to specific points/positons and devices, that also vary depending on your hardware... Some cards require that you split out the screen section and put it back together in a server layout section. But this is "close" as a summarized answer without knowing what you specifically are working with.

share|improve this answer
    
I'm hesitant to use this as I have had serious problems when editing xorg.conf. If I get a new computer I might try this, but as is, I am too worried of destroying my current settings –  puk Apr 15 '13 at 16:19
add comment

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.