Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to make emacs span two screens but the size is automatically resized to a single screen. I'm running a NVidia card in TwinView, with Ubuntu 10.04. I'm having this problem with other programs also.

share|improve this question
Multimonitor setups on Ubuntu with nVidia cards, ohh the pain :( – badp Oct 10 '10 at 22:43
up vote 2 down vote accepted

I have the same setup. I have found three ways, none of which are ideal.

  1. Disable compiz and use metacity instead.

  2. You can add the following lines to the "Screen" section of your xorg.conf file to treat both monitors as one big display:

    Option "Xinerama" "1"
    Option "NoTwinViewXineramaInfo" "True"

    After you log out and log back in, your monitors will act as one screen. Note that you will get some unexpected behavior such as your gnome-panels spanning both monitors and you will also lose the ability to maximize on just one monitor.

  3. This one seems like a bug. Drag the window all the way to the left (or right depending on your setup) with the majority of the window off the screen. Grab the visible edge of the window and stretch it out across both monitors. Leave as much empty space as you dragged off screen. Now drag it back so it's fully on both screens. It seems like at least half the window must be off the screen for this trick to work.

share|improve this answer
Thanks I'll give this a shot after I achieve stability on my new machine. – Jonathan Fischoff Oct 11 '10 at 19:30

This may be a simplistic suggestion (and you've probably thought of it), but can you just drag the emacs window so that it overlaps both screens and then drag-resize the window to the outside edges of your screens? You would have to keep it in windowed mode, of course (i.e., not maximized).

share|improve this answer
If it I make the window to big it snaps to the edge of one of the screens. At least for emacs. – Jonathan Fischoff Oct 10 '10 at 17:04

Your Answer


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.