Solved

Want to disable virtual window

Posted on 2000-03-05
1
185 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HOw To Install Docker on VMware Workstation 19 669
The better OS Architecture 13 111
Linux: using  awk and print inside cURL 4 51
Bitcoin mining - Is it possible? 6 107
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

710 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