Solved

Want to disable virtual window

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

862 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now