Solved

Want to disable virtual window

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is linux 4.8.22? Is it the same as ubuntu 16.10 ?? 2 54
SMB share across internet 15 64
RHEL 6.7 Gnome Desktop on VMware 6 VM 9 63
SSL/TLS - openssl troubleshooting 3 39
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 …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

792 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