SuSE 6.3
X- Windows-System


Bemerkungen:
Standardmäßig wird ein bestimmter Windowsmanager bei startxgeladen
(bei SuSE-Linux 6.3 der KDM).
Soll standardmäßig ein anderer Windowsmanager geladen werden, so ist dieser
in /etc/profile mit der Zeile export WINDOWMANAGER=fvwm2 (oder ein anderer)
einzutragen. Man kann aber auch mauell durch startx fvwm2 den fvwm2 straten.
Für den 16-Bit - Farbmodus startet man den Windowsmanager durch Aufruf mit Parametern:
startx fvwm2 -- -bpp 16
Die Konfiguration geschieht über den Aufruf von xf86config oder durch das Programm sax.


AutoRaising:
AutoRaising bedeutet, dass ein Fenster automatisch den Fokus erhält und in den 
Vordergrund tritt,  wenn man die Maus in dieses Fenster hineinbewegt.

Windowsmanager fvwm2:
Um das AutoRaising einzuschalten, muss man in der systemweiten Konfigurations-
datei des fvwm2 die Datei /usr/X11R6/lib/X11/fvwm2/.fvwm2rc folgende Einträge
von Hand vornehmen:

AddToFunc InitFunction
 +      "I"     Module FvwmAuto 200
 +      "I"     Module FvwmBanner
 +      "I"     Exec susewmif xmessages

AddToFunc RestartFunction
 +      "I"     Module FvwmAuto 200
 +      "I"     Module FvwmBanner
 +      "I"     Module FvwmButtons

Windowsmanager fvwm95:
Hier liegt die systemweite Konfigurationsdatei in /usr/X11R6/lib/X11/fvwm95/.fvwm95rc.
Um das AutoRaising einzuschalten, müssen folgende Änderungen vorgenommen werden.
AddToFunc InitFunction
 +      "I"     Module FvwmAuto 200
# +      "I"     Module FvwmBanner
 +      "I"      Exec xsetroot -solid turquoise4 -cursor_name top_left_arrow &
 +      "I"     Module FvwmTaskBar
# +      "I"     Exec susewmif xmessages
 +      "I"     Exec xterm -ls -geometry +1+85
 +      "I"     Exec xterm -ls -geometry +1+385
# +      "I"     Exec xosview -geometry 175x135-10-10
 +      "I"     Module FvwmButtons
AddToFunc RestartFunction
 +      "I"     Module FvwmAuto 200
 +      "I"      Exec xsetroot -solid turquoise4 -cursor_name top_left_arrow &
 +      "I"     Module FvwmButtons
 +      "I"     Module FvwmTaskBar
# +      "I"     Exec susewmif xmessages
# +      "I"     Exec xosview -geometry 175x135-10-10

Style   "Fvwm*" NoTitle, Sticky, WindowListSkip
Style   "*"     FocusFollowsMouse
Style   "*"     DecorateTransient


Windowsmanager kdm:
Beim KDE erhält normalerweise jeder Benutzer eine eigene Konfigurationsdatei. Diese
liegt in ~/.kde/share/config/kwmrc.
Dort sind für das AutoRaising folgende Einstellungen vorzunehmen:

AutoRaiseInterval=0
AltTabMode=KDE
TitlebarDoubleClickCommand=winShade
FocusPolicy=FocusFollowMouse
ElectricBorderPointerWarp=NoWarp
WindowSnapZone=10
PixmapUnderTitleText=yes
ControlTab=on
RstartProtocol=rstart -v
WindowResizeType=Opaque
Button3Grab=on
ClickRaise=off
AutoRaise=on

# /etc/XF86Config

#XF86Config fuer S3 TRIO64V2/DX - Graphik-Karte mit 1024*768 Aufloesung
#                 ClockChip 86C775
# ======================================================================
Section "Files"

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

    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

Section "ServerFlags"

#    NoTrapSignals
#    DontZap
#    DontZoom
#       AllowNonLocalXvidtune
#       DisableModInDev
#       AllowNonLocalModInDev

EndSection

Section "Keyboard"

    Protocol    "Standard"

#    Protocol   "Xqueue"

    AutoRepeat  500 5
#    Xleds      1 2 3

#    LeftAlt     Meta
    RightAlt    ModeShift
#    RightCtl    Compose
#    ScrollLock  ModeLock

# To disable the XKEYBOARD extension, uncomment XkbDisable.

    XkbDisable

#    XkbOptions  ""

    XkbKeymap   "xfree86(us)"
 

EndSection

Section "Pointer"
    Protocol    "Microsoft"
    Device      "/dev/mouse"
#    Protocol   "Xqueue"
#    BaudRate   9600
#    SampleRate 150
    Emulate3Buttons
    Emulate3Timeout    50

#    ChordMiddle

EndSection
Section "Monitor"

    Identifier  "My Monitor"
    VendorName  "Unknown"
    ModelName   "Unknown"
 

#    HorizSync   31.5, 35.15, 35.5

    HorizSync   30-85         # multisync
#    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies

    VertRefresh 40-90

# 640x480 @ 75 Hz, 37.50 kHz hsync
ModeLine  "640x480a"    31.5   640  656  720  840   480  481  484  500 -HSync -VSync
# 800x600 @ 85 Hz, 55.84 kHz hsync
Modeline  "800x600a"    60.75  800  864  928 1088   600  616  621  657 -HSync -VSync
# 1024x768 @ 76 Hz, 62.5 kHz hsync
Modeline "1024x768a"    85    1024 1032 1152 1360   768  784  787  823
Modeline "1152x864a"   110   1152 1240 1324 1552   864  864  876  908
# 1152x864 @ 84 Hz, 76.0 kHz hsync

EndSection
 
 

Section "Device"
    Identifier  "S3 86C775 (generic)"
    VendorName  "Unknown"
    BoardName   "Unknown"
    #VideoRam    2048
# Refer to /usr/X11R6/lib/doc/README.S3, and the XF86_S3 man page.
    Ramdac      "s3gendac"
    Clockchip   "s3gendac"
EndSection
# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32, Mach64)
Section "Screen"
    Driver      "accel"
    Device      "S3 86C775 (generic)"
    Monitor     "My Monitor"
    Subsection "Display"
        Depth       8
        Modes       "1024x768a" "800x600a" "640x480a" "1152x864a"
        ViewPort    0 0
        Virtual     1280 1024
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "640x480" "800x600" "1024x768"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "640x480" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "640x480" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection



Hier eine weitere XF86Config, die bei mir mit einer S3Trio64DX/V2-Grapfikkarte
mit 16-Bit - Farbtiefe sehr gute Ergebnisse bringt.
 
# File generated by xf86config.
# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

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

    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

Section "ServerFlags"

EndSection

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

Section "Keyboard"

    Protocol    "Standard"

# when using XQUEUE, comment out the above line, and uncomment the
# following line

#    Protocol   "Xqueue"

    AutoRepeat  500 5
# Let the server do the NumLock processing.  This should only be required
# when using pre-R6 clients
#    ServerNumLock

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Xleds      1 2 3

# To set the LeftAlt to Meta, RightAlt key to ModeShift,
# RightCtl key to Compose, and ScrollLock key to ModeLock:

    LeftAlt     Meta
    RightAlt    ModeShift
#    RightCtl    Compose
#    ScrollLock  ModeLock

# To disable the XKEYBOARD extension, uncomment XkbDisable.

    XkbDisable

    XkbKeymap   "xfree86(us)"

EndSection
 

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

Section "Pointer"
    Protocol    "Microsoft"
    Device      "/dev/cua0"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Protocol   "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice

#    BaudRate   9600
#    SampleRate 150

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    Emulate3Buttons
    Emulate3Timeout    50

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

#    ChordMiddle

EndSection

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

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My Monitor"
    VendorName  "Unknown"
    ModelName   "Unknown"
 

#    HorizSync   31.5 - 57.0

    HorizSync   30-85         # multisync
#    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies

    VertRefresh 40-150

ModeLine  "640x480a"    31.5   640  656  720  840   480  481  484  500 -HSync -
# 800x600 @ 85 Hz, 55.84 kHz hsync
Modeline  "800x600a"    60.75  800  864  928 1088   600  616  621  657 -HSync -
# 1024x768 @ 76 Hz, 62.5 kHz hsync
Modeline "1024x768a"    85    1024 1032 1152 1360   768  784  787  823
# 1152x864 @ 78 Hz, 70.8 kHz hsync
Modeline "1152x864a"   110   1152 1240 1324 1552   864  864  876  908

EndSection

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

Section "Device"
    Identifier  "ELSA WINNER 1000/T2D"
    VendorName  "Unknown"
    BoardName   "Unknown"
    VideoRam    2048
# Use Option "nolinear" if the server doesn't start up correctly
# (this avoids the linear framebuffer probe). If that fails try
#    option "nomemaccess"
#    option "nolinear"
# Refer to /usr/X11R6/lib/doc/README.S3, and the XF86_S3 man page.
    # Insert Clocks lines here if appropriate
EndSection

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

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

Section "Screen"
    Driver      "accel"
    Device      "ELSA WINNER 1000/T2D"
    Monitor     "My Monitor"
    Subsection "Display"
        Depth       8
        Modes       "1024x768a" "800x600a" "640x480a" "1152x864a"
        ViewPort    0 0
        Virtual     1280 1024
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768a" "800x600a" "640x480a" "1152x864a"
        ViewPort    0 0
        Virtual     1152 864
    EndSubsection
EndSection



Roland Bernert, Dezember 1999