«

»

Sep 22 2009

How to change screen resolution on a EEE PC to pan-n-scan size on the fly.

I use this command to change the resolution of my EEE 1000HE from 1024×600 to 1024×1024 which allows me to work well with large web pages, though I must pan-n-scan the desktop (which runs past the borders of the monitor), it’s worth it.

Not every EEE PC is built the same, nor do they use the same video drivers. Therefore first, you have to find what the minimum and maximum resolutions are available for your unit. To see this, simply type this in command line:

xrandr

As an aside, the commands below work with any Linux system, EEE or otherwise. This command will tell you the minimum and maximum resolution of your screen plus the available “standard” resolutions.. mine were:

Screen 0 (the local screen): min 320×200 ………. current 1024×600 ……… max 1024.×1024

Available standard modes were: 1024×600, 800×600 and 640×480.

To max out my screen resolution I chose to work with 1024×1024, that would give me the most pixels (+ the most panning) but it would show me more of an application in a glance. Normally working in 1024×600 (native resolution of the EEE PC 1000HE) I’d have to hit F11 to go to full-screen mode in Firefox. Now, running in 1024×1024, I can run without full screen mode and can see a nice portion of my browser window. The panning isn’t much of a bother, and I feel less constrained on the desktop.

To change the resolution to the max specified by running xrandr above, type this:

xrandr --output LVDS --panning 1024x1024

. . . and voila !  Instant pan/scan screen. To change it back to the original resolution …

xrandr --output LVDS --panning 1024x600

Place these two commands in separate scripts with execute rights, then attach to a launcher and place on your taskbar and/or desktop and you can do this in one click.

###

UPDATE: On Ubuntu 9.10, this command WORKS, however, the local display is now LVDS1, not LVDS.