Solved

Want to disable virtual window

Posted on 2000-03-05
1
186 Views
Last Modified: 2013-12-15
I need to disable the virtual window in my XF86 Display workaround, because it´s so big I am not able to scroll, I need to now how to get to the XF86 file in the workaround console, so I can make the adjustements in the screen section.
Thanx
0
Comment
Question by:maiko
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
freesource earned 30 total points
ID: 2586408
This should help you, this is from a similiar question I answered, tell me if it helps?


First let's take a look at your XF86Config file.  This is the file which XF86Setup (or a similiar program like Xconfigurator which comes with RedHat) edits. Usually, the program gives you an opportunity to set-up more than one resolution. If you have already done this when using one of these programs you can look at the XF86Config file to verify that this is true.  Usually you can find the XF86Config file in the /etc/X11 directory, alternatively you can do a "locate XF86Config" or "find / -name XF86Config" to find it.  

Look through XF86Config with some sort of editor or the pager "less XF86Config" until you find lines which start with the word Modeline, these lines are found under the 'Section "Monitor"'.  If you have more than one modeline .. great!  Do you have a Modeline which looks like this: 'Modeline  "800x600"'.  If you don't, you will have to use one of those programs I just talked about and make one*.  Now if everything is o.k. go down to 'Section "Screen"' and you should see the driver choosen for your card on a line called Driver.  It should look something like this:

Driver          "SVGA"

Next look at 'Subsection "Display"' and under which you should have a line called Modes:

  SubSection "Display"                                                        
      Depth        16                                                          
      Modes        "800x600" "640x480"                              
   EndSubSection

What this all means is that the Modelines 800x600 and Modeline 640x480 are providing these two different resolutions.  In fact, you will be able to cycle through the resolutions by using Ctrl-Alt-+ and Ctrl-Alt-- from the keyboard.  I use the - and the + from the numpad on my system, that may be different for your keyboard.  Depth is the bpp that XFree86 will be running at.  You can specify this with:

startx -- -bpp 16

Now lets suppose things look like this for the modes:

   SubSection "Display"                                                        
      Depth        16                                                          
      Modes        "1024x768" "800x600" "640x480"                              
   EndSubSection

startx -- -bpp 16 would start out in the 1024x768 resolution, and would fit correctly in the screen, but if we do the "Ctr-Alt-+ or -" thing we will have what is called a virtual window because by default the virtual  screen  resolution  will  be  set  to accommodate all the valid video modes given in the  Modes entry.  If we don't want this behavior  we can edit XF86Config like this:

  SubSection "Display"                                                        
      Depth        16                                                          
      Modes        "800x600"                              
   EndSubSection

This will cause X to start out in the 800x600 resoltion, and X will fit the screen.  You can also use the optional Virtual entry in the 'SubSection "Display"' to modify the virtual behavior.  Look at "man XF86Config."
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question