I am using a netbook with a 10.1 inch screen and resolution 1024x600. I am running Ubuntu 10.04 LTS and when using the neural network toolbox from Matlab a window is off the screen and I cannot access the buttons. I found this answer on SuperUser link, which describes two approaches. First to press alt while moving the window off the screen upwards so that the bottom part is visible and accessible. The next option is to add to the xorg.conf file

Virtual 1024x800

There was no such file in /etc/X11/ so I created it and there were problems at reboot so the default was used. Is there a solution along these lines for Ubuntu?

I suspect that there might be a solution using xrandr.

1 Answer 1


Ubuntu has a rather complicated set of ways of configuring X11. I would try to return the configuration to it's initial default state and then follow the advice here:

See https://wiki.ubuntu.com/X/Config/Resolution#Panning_viewport

Panning viewport

If you want to have a panning viewport, i.e., a virtual screen that’s bigger than your physical screen that moves when you move the mouse to the edge (“zoomed‐in” view), specify the desired physical resolution with --mode, the virtual screen size with --fb and the panning area (typically same as virtual screen size) with --panning.

For example:

xrandr --output VGA1 --rate 60 --mode 800x600 --fb 1280x1024 --panning 1280x1024

  • thanks for coming here to give this answer. I have been trying this and get the output from the terminal xrandr: cannot find mode 800x600. I have tried to find a solution to this error without luck and cannot understand it either.
    – Vass
    Mar 18, 2012 at 23:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.