[Solution] panning using xrandr
On Tue, 01 Feb 2011 14:31:55 +, T o n g wrote: Now the question that I really want, How can I reduce the size of my display to a smaller size, while keep the virtual size of my display to my current size, using panning to view all virtual display. whole tread is documented at http://sfxpt.wordpress.com/2011/02/02/panning-using-xrandr/ excerpt: I had always been wondering, how can I reduce the size of my display to a smaller size, while keep the virtual size of my display to my current size, using a command. Wait, why would you need that? You may ask. Well, that's a secret trick that I've been playing for years -- [ . . . ] Quick answer: To reduce to a smaller display size, xrandr --output VGA-1 --mode 640x480 --panning 1920x1080 This will reduce the size of my display to a smaller size (640x480), while keep the virtual size of my display to my current size. To view the other virtual display area, just panning with the mouse. To get a list of display size can be used, use 'xrandr'. Here is output of mine: $ xrandr Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 4096 x 4096 VGA-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm panning 1920x1080+0+0 1920x1080 60.0*+ 1280x1024 75.0 60.0 1440x900 59.9 1280x800 59.8 1152x864 75.0 1024x768 70.1 60.0 800x60060.3 56.2 640x48066.7 60.0 720x40070.1 It shows that the smaller sizes that I can use are, 1280x1024, 1440x900, 1280x800, , 800x600, 720x400 and 640x480. BTW, There is also an old X11 trick to change the screen resolution, Ctrl-Alt plus + or - from the number pad. That's the trick that I've been playing for years. However, as you can tell, it'd be tiresome to do it now, because previously there's about 3 modes that I can switch in between, and now it is tiresome to cycle through all the display mode above. To restore, xrandr -s 1920x1080 For details, read on. http://sfxpt.wordpress.com/2011/02/02/panning-using-xrandr/ -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/iic3q1$7k8$1...@dough.gmane.org
Re: panning using xrandr
On Mon, 31 Jan 2011 12:20:49 +, Camaleón wrote: How to do panning using xrandr? . . . Don't guess; ask your device: xrandr -q will tell you the name of Perfect, thanks a lot. Now the question that I really want, How can I reduce the size of my display to a smaller size, while keep the virtual size of my display to my current size, using panning to view all virtual display. I tried below, but it didn't work as I expected: xrandr -s 640x480 --output VGA-1 --panning 1920x1080 Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ii95gr$mvt$1...@dough.gmane.org
Re: panning using xrandr
On Tue, 01 Feb 2011 14:31:55 +, T o n g wrote: Now the question that I really want, How can I reduce the size of my display to a smaller size, while keep the virtual size of my display to my current size, using panning to view all virtual display. I tried below, but it didn't work as I expected: xrandr -s 640x480 --output VGA-1 --panning 1920x1080 Hum... if I understood correctly the xrandr man page, you should run something like: xrandr --output VGA-1 --mode 640x480 --fb 1920x1080 --panning 1920x1080 Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.02.01.20.38...@gmail.com
Re: panning using xrandr
On Mon, 31 Jan 2011 02:30:34 +, T o n g wrote: How to do panning using xrandr? Wouldn't xrandr --panning widthxheight be the same as xrandr -s widthxheight No, at least so it says man xrandr page (panning is a per output option) :-) But it won't work -- I need to put --output output before --panning. Sure. The problem is, I've searched everywhere, but every possible string I tried didn't work. Don't guess; ask your device: xrandr -q will tell you the name of detected devices. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.01.31.12.20...@gmail.com
panning using xrandr
Hi, How to do panning using xrandr? Wouldn't xrandr --panning widthxheight be the same as xrandr -s widthxheight But it won't work -- I need to put --output output before --panning. The problem is, I've searched everywhere, but every possible string I tried didn't work. warning: output LVDS1 not found; ignoring warning: output LVDS not found; ignoring warning: output --auto not found; ignoring warning: output VGA-0 not found; ignoring warning: output VGA not found; ignoring . . . on and on. Anyone can help me out here? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ii56sa$p5h$1...@dough.gmane.org