Solved

Want to disable virtual window

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

708 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

20 Experts available now in Live!

Get 1:1 Help Now