You are not logged in.

#1 2014-10-21 02:50:18

dxxvi
Member
Registered: 2011-07-23
Posts: 122

Possible to have a virtual screen with sizes > physical resolution?

Hi All,

Is there anyway to have a virtual screen much larger than the physical monitor? For example, my monitor is 1080p but I'd like to have a screen size much larger than that (there'll be scroll bars ofcourse)? My purpose is to have a large browser to display the Google map and then I can make a screenshot from it (I'm going to travel and would like to have a detailed Google map on my phone).

Thanks.

Offline

#2 2014-10-21 03:12:09

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: Possible to have a virtual screen with sizes > physical resolution?

are you looking for multible monitors? or if scroll bars are ok then does not the map do that already if you zoom in on the page out side the map element.

Last edited by bleach (2014-10-21 03:20:22)

Offline

#3 2014-10-21 03:35:10

dxxvi
Member
Registered: 2011-07-23
Posts: 122

Re: Possible to have a virtual screen with sizes > physical resolution?

bleach wrote:

are you looking for multible monitors?

No, I'm not.

bleach wrote:

if you zoom in on the page out side the map element.

I don't understand what you said here. Suppose that I go to this map. If my virtual screen has a big size (like 3000x9000), then I can maximize the browser and might be able to see the whole Manhattan at that zoom level in that browser. Then I can make a screenshot of that browser and have a picture of Manhattan roads in my phone.
This is doable, I guess, because a long long time ago, when I misconfigured my desktop with Linux, I had a screen like that.

Last edited by dxxvi (2014-10-21 03:36:45)

Offline

#4 2014-10-21 04:12:05

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: Possible to have a virtual screen with sizes > physical resolution?

what does your monitor allow. I supose you could project it to somthing larger but in that projection you would have a bigger screen/wall(projector, in todays age hd projector or a very large monitor/tv(there the same).

what exactly are you trying to accomplish? having something larger does not mean it equates to visualization unless smaller and/or out of bounds of visual. am I missing something?

Offline

#5 2014-10-21 06:30:21

dxxvi
Member
Registered: 2011-07-23
Posts: 122

Re: Possible to have a virtual screen with sizes > physical resolution?

bleach wrote:

am I missing something?

Yes, you are, because I couldn't make you understand what I want. Let me try again:

I hope you used Google maps before. If not, please go here and while you're looking at the map, try to change your browser window size, the map size (not the objects, e.g. the roads, the rivers ..., on the map) will change accordingly.

So, if I can make the browser window, the Google map will be bigger and contain more objects at a seeable zoom level. Normally, the max window size is the the screen size in pixels. So if I have a 1080p monitor, the map I can have will be 1920x1080 pixels.

bleach wrote:

what exactly are you trying to accomplish?

In another way, if my monitor is 1920x1080 pixels, is there anyway to have a gnome-terminal window > 1902x1080 pixels?

Offline

#6 2014-10-21 07:41:58

cargoan
Member
Registered: 2013-07-13
Posts: 20

Re: Possible to have a virtual screen with sizes > physical resolution?

get virtual screen maximum size:

$: xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
VGA-1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 410mm x 230mm
   1366x768      59.86*+
   1280x720      59.97  
   1024x768      75.08    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32  
   640x480       75.00    72.81    60.00  
   720x400       70.08  
DVI-D-1 disconnected (normal left inverted right x axis y axis)
$: xrandr --output VGA-1 --mode 1366x768 --panning 3000x8192

Set wallpaper (default is current wallpaper tiled), open any window and move, resize, maximize, etc. (move mouse to border for scroll).
Restore screen:

$: xrandr --output VGA-1 --mode 1366x768 --panning 0x0

Last edited by cargoan (2014-10-21 12:48:48)

Offline

#7 2014-10-21 17:06:18

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Possible to have a virtual screen with sizes > physical resolution?

Just to be clear, here, @dxxvi: you do understand that you're still constrained by the physical size and pixel count of your display, right? You're either going to be scrolling in your browser window, or scrolling in the X root window. The only difference is that with the latter, a large portion of your interface will be drawn off-screen and thus obscured. Unless I'm totally wrong, setting the virtual screen resolution higher than the physical resolution will not give you a higher-fidelity image.

Offline

#8 2014-10-22 04:37:53

progandy
Member
Registered: 2012-05-17
Posts: 5,203

Re: Possible to have a virtual screen with sizes > physical resolution?

You can create a virtual x server and use it to create your image. This example requires xorg-server-xvfb, xorg-xwd, uzbl-core and imagemagick

* get embed code for map, modify width=8000 and height=6000, store to /tmp/mapframe
$ echo '<html><head><style type=text/css>* {border:0; margin:0;padding:0;overflow:hidden;}</style></head><body>' > /tmp/map.html
$ cat /tmp/mapframe >> /tmp/map.html
$ echo '</body></html>' >> /tmp/map.html
$ Xvfb :1 -screen 0 8000x6030x24 &
$ DISPLAY=:1 uzbl-core -g 8000x6030+0+0 /tmp/map.html &
* wait for map to load
$ xwd -root -screen -display :1 | convert - /tmp/map.tiff
$ kill %2 && kill %1
* maybe compress as png, split into parts, ...

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB