Wednesday, May 15, 2024
 Popular · Latest · Hot · Upcoming
23
rated 0 times [  23] [ 0]  / answers: 1 / hits: 57470  / 2 Years ago, wed, june 22, 2022, 11:01:45

I have a 17" laptop with 1600x900 resolution, but it's not enough to open windows side by side. I'm wondering if i could zoom out (or any other solution) windows (or the whole desktop). Is there a solution on xserver or on the WM to make this happen?



By the way, compiz zoom out plugin don't let you to zoom out more than 1:1 which is not enough, I want to zoom out more the same way as spreading all windows with unity-tweak-tool.


More From » window

 Answers
7

Disclaimer: I do not know if it works for all graphic drivers. Intel driver here, in 13.04.



First of all get the normal screen you have active:



xrandr --current


My output is:



Screen 0: minimum 320 x 200, current 1024 x 600, maximum 32767 x 32767
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x 129mm
1024x600 60.0*+ 65.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)


Ok, it is LVDS1. Now for example to zoom out at half linear dimension:



xrandr --output LVDS1 --scale 2x2 


The whole screen should zoom out. Now I have:



(0)asus-romano:~/research/reviews% xrandr --current
Screen 0: minimum 320 x 200, current 2048 x 1200, maximum 32767 x 32767
LVDS1 connected 2048x1200+0+0 (normal left inverted right x axis y axis) 220mm x 129mm
1024x600 60.0*+ 65.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)


So the systems thinks it has a 2048x1200 screen. Very useful for crappy programs that thinks you have a gazillion pixel space and do not offer scrollbars in some option windows...



To go back:



xrandr --output LVDS1 --scale 1x1


(You can use 1.5x1.5, too). Look at man xrandr for a lot of fancy things.



Oops. There seem to be a bug in which the extended video zone is not reachable:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/883319 and upstream https://bugs.freedesktop.org/show_bug.cgi?id=39949



A workaround for this is to specify the desired larger area as a --panning option, e.g.:



 xrandr --output LVDS1 --scale 2x2 --panning 2048x1200


It will not cause any actual panning, since the whole large area fits on the screen due to the scaling.


[#28323] Thursday, June 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fotres

Total Points: 35
Total Questions: 124
Total Answers: 112

Location: Federated States of Micronesia
Member since Sat, Jun 4, 2022
2 Years ago
fotres questions
Sat, Feb 26, 22, 09:01, 2 Years ago
Sat, Aug 21, 21, 18:51, 3 Years ago
Sun, Oct 3, 21, 22:08, 3 Years ago
;