Click to See Complete Forum and Search --> : Adjusting Screen Size?


sbussom
07-30-2004, 12:47 PM
How do I adjust the screen size on iceWM. Currently it is bigger than the monitor and the resolution is crappy.

Thanks Scott

serz
07-30-2004, 12:57 PM
You have to re-configure X, not IceWM.

As root, try use xf86config or xorgconfig.

sbussom
07-30-2004, 01:06 PM
What do I change when I reconfigure. I am currently video card 194 and choice number 6 of monitor settings Non-interlaced 256K in xf86config

Icarus
07-30-2004, 01:26 PM
Look for a section like this in the xf86config

Section "Screen"
Driver "accel"
Device "ATI|Rage XL AGP"
Monitor "ViewSonic G773"
Subsection "Display"
Depth 16
Modes "1024x768"
Virtual 1340 840
ViewPort 0 0
EndSubsection
EndSection

Note the "Virtual 1340 840" line, this determines the overall size of the desktop. In your case it is larger then your resolution.
Comment this out and restart X and you should be OK
Ctrl+Alt+Backspace will restart X without rebooting (it closes the current session though)

sbussom
07-30-2004, 02:59 PM
I tried to modify the files. I am a rookie with no experience in programming.
Here is what the files look like to me unmodified. What do you mean by comment out?

# Use Device "Generic VGA" for Standard VGA 320x200x256
#Device "Generic VGA"
Device "Chips & Technologies CT65550"
Monitor "My Monitor"
Subsection "Display"
Depth 8
# Omit the Modes line for the "Generic VGA" device
Modes "800x600"
#Modes "640x480" "800x600" "1024x768"
ViewPort 0 0
# Use Virtual 320 200 for Generic VGA
#Virtual 1152 900
EndSubsection
Subsection "Display"
Depth 16
Modes "640x480" "800x600"
ViewPort 0 0
Virtual 800 600
EndSubsection
Subsection "Display"
Depth 32
Modes "640x400"
ViewPort 0 0
Virtual 640 400
EndSubsection
EndSection

# The 16-color VGA server

Section "Screen"
Driver "vga16"
Device "Generic VGA"
Monitor "My Monitor"
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
Virtual 800 600
EndSubsection
EndSection

# The Mono server

Section "Screen"
Driver "vga2"
Device "Generic VGA"
Monitor "My Monitor"
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
Virtual 800 600
EndSubsection
EndSection

# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32, Mach64)

Section "Screen"
Driver "accel"
Device "Chips & Technologies CT65550"
Monitor "My Monitor"
Subsection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768"
ViewPort 0 0
Virtual 1152 900
EndSubsection
Subsection "Display"
Depth 16
Modes "640x480" "800x600"
ViewPort 0 0
Virtual 800 600
EndSubsection
Subsection "Display"
Depth 32
Modes "640x400"
ViewPort 0 0
Virtual 640 400
EndSubsection
EndSection

Thanks
S

Icarus
07-30-2004, 03:14 PM
Sorry, "comment out" is what those hash (#) marks are. They tell the programs to not read the line as they are usually comments about that section

So put a # in front of all the lines that say Virtual

sbussom
07-30-2004, 04:04 PM
Here is what I did and after rerunnng xf86config it comes up the same. Ugg.


WHAT NEXT?

# ************************************************** ********************
# Screen sections
# ************************************************** ********************

# The Colour SVGA server

Section "Screen"
Driver "svga"
# Use Device "Generic VGA" for Standard VGA 320x200x256
#Device "Generic VGA"
Device "Chips & Technologies CT65550"
Monitor "My Monitor"
Subsection "Display"
Depth 8
# Omit the Modes line for the "Generic VGA" device
Modes "800x600"
#Modes "640x480" "800x600" "1024x768"
ViewPort 0 0
# Use Virtual 320 200 for Generic VGA
# Virtual 1152 900
EndSubsection
Subsection "Display"
Depth 16
Modes "640x480" "800x600"
ViewPort 0 0
# Virtual 800 600
EndSubsection
Subsection "Display"
Depth 32
Modes "640x400"
ViewPort 0 0
# Virtual 640 400
EndSubsection
EndSection

# The 16-color VGA server

Section "Screen"
Driver "vga16"
Device "Generic VGA"
Monitor "My Monitor"
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
# Virtual 800 600
EndSubsection
EndSection

# The Mono server

Section "Screen"
Driver "vga2"
Device "Generic VGA"
Monitor "My Monitor"
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
# Virtual 800 600
EndSubsection
EndSection

# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32, Mach64)

Section "Screen"
Driver "accel"
Device "Chips & Technologies CT65550"
Monitor "My Monitor"
Subsection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768"
ViewPort 0 0
# Virtual 1152 900
EndSubsection
Subsection "Display"
Depth 16
Modes "640x480" "800x600"
ViewPort 0 0
# Virtual 800 600
EndSubsection
Subsection "Display"
Depth 32
Modes "640x400"
ViewPort 0 0
# Virtual 640 400
EndSubsection
EndSection

Icarus
07-30-2004, 05:09 PM
Is this a laptop? I haven't seen any C&T cards used except on older laptops...if so, what's the make and model?
Look it up on http://linux-on-laptops.com and see if anyone else has a good config setup