Hi,

after some time I finally got around to try again to change my X settings, so 
that I can have a resolution of 1024x768 on my thinkpad.

I want to make a presentation with Staroffice. But the beamer only allows a 
1024x768 resolution.

This is what I tried so far:

-Alt+Ctrl+-/+ only changes to 1280x1050 (and has a virtual Desktop which is 
useless for a presentation, since starting the presentation in full screen 
mode only shows part of the presentation)

-Xdrakres/Xfdrake: I come as far as setting the resolution to 1024x768. I 
restart X ... then it just shows me 1600x1200 again.

-with "startx myXFree86Config-4" or "startx -- -xf86config myXFree86Config-4":
I get  ... 1600x1200. In myXFree86Config-4 in Section "Screen", subsection 
"Display" I deleted all other subsections and only left this:
Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
EndSubsection

Now I have come to an end with what else I could try. I don't understand how 
the Xserver is loaded and where it always gets the resolution of 1600x1200 
from. Why are there two Config Files (XFree86Config-4 and XFree86Config)?

Does anybody know how to change the resolution to 1024x768 _without_ a 
virtual Desktop? Is there a good explanation for X and the Config Files?

Thank you,
Patrik



I have Mandrake 8.2 which runs XFree86 Version 4.2.0.

My Xfree86Config-4 File (1600x1200 resolution, working fine):

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

Section "Files"

    RgbPath     "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.

    FontPath   "unix/:-1"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    #NoTrapSignals

    # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    #DontZap

    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
    # sequences.  This allows clients to receive these key events.
    #DontZoom

    # This  allows  the  server  to start up even if the
    # mouse device can't be opened/initialised.
    AllowMouseOpenFail

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Keyboard section
# **********************************************************************

Section "InputDevice"

    Identifier "Keyboard1"
    Driver      "Keyboard"
    Option "AutoRepeat"  "250 30"

    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "de_CH"

EndSection

# **********************************************************************
# Pointer section
# **********************************************************************


# I added this for the additional usb wheel mouse
Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/usbmouse"
    Option "ZAxisMapping" "4 5"
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


Section "InputDevice"

    Identifier  "Mouse2"
    Driver      "mouse"
    Option "Protocol"    "ps/2"
    Option "Device"      "/dev/psaux"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection



Section "Module"

# This loads the DBE extension module.
    Load        "dbe"
    Load        "glx"
    Load        "dri"


# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.

    SubSection  "extmod"
        #Option "omit xfree86-dga"
    EndSubSection

# This loads the Type1 and FreeType font modules

    Load        "type1"
    Load        "freetype"
EndSection


Section "DRI"
    Mode        0666
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier "Generic|Monitor that can do 1600x1200 at 76 Hz"
    VendorName "Unknown"
    ModelName  "Unknown"


# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
    HorizSync  31.5-94.0


# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
    VertRefresh 50-160


# This is a set of extended mode timings typically used for laptop,
# TV fullscreen mode or DVD fullscreen output.
# These are available along with standard mode timings.

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync 
-vsync

# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616


EndSection



# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier "Generic VGA"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "ATI Rage 128 Mobility"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "r128"
#    VideoRam    16384
    # Clock lines


    # Uncomment following option if you see a big white block        
    # instead of the cursor!                                          
    #    Option      "sw_cursor"

    Option      "UseCCEFor2D"  "false"
    Option      "AGPMode"  "1"
    Option      "DPMS"  "on"
EndSection



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


Section "Screen"
    Identifier "screen1"
    Device      "ATI Rage 128 Mobility"
    Monitor     "Generic|Monitor that can do 1600x1200 at 76 Hz"
    DefaultColorDepth 16
    Subsection "Display"
        Depth       8
        Modes       "1600x1200" "1280x1024" "1024x768" "800x600" "640x400"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       15
        Modes       "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier "layout1"
    Screen     "screen1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to