ajTreece wrote:

I've just completed an install on my Fujitsu laptop and was just wondering...

There will be times when I will use an external monitor with the laptop. How do I change Gnome / X11 config to go from 800x600 to 1280x1024?



Assuming you have multiple resolutions specified in your /etc/X11/XF86Config-4 file, you can switch between them by holding down control and alt and pressing the +/- keys on the number pad. I've never actually seen a laptap with the number pad part of the keyboard, usually you have to use the Fn/Function key and some other key.

This doesn't actually work for me, though. The driver for my graphics chip won't let me set the resolution any higher than that of the LCD if the LCD is activated. Maybe it will work for you, though.

I usually manually start X when I log in. To use an external monitor or both a monitor and the LCD, I exit X and restart it with a different command line option. The command is
  startx -- -layout <layoutname>
where <layoutname> is the name you assigned to Layout section in your XF86Config-4 file. I'll append my XF86Config-4 file as an example. If anyone knows of an easier way to do this, please let me know also.

-- jason



Section "Files"
# FontPath "unix/:7100" # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/local/share/fonts/tt"
        FontPath        "/usr/lib/X11/fonts/misc:unscaled"
        FontPath        "/usr/lib/X11/fonts/100dpi:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "ServerFlags"
        # Disable ctrl-alt-{+|-}
# Option "DontZoom"
EndSection

Section "Module"
        Load    "ddc"
        Load    "GLcore"
        Load    "dbe"
        Load    "dri"
        Load    "extmod"
        Load    "glx"
        Load    "pex5"
        Load    "record"
        Load    "xie"
        Load    "bitmap"
        Load    "freetype"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
        Load    "int10"
EndSection

# internal keyboard
Section "InputDevice"
        Identifier      "Main Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"    "xfree86"
        Option          "XkbModel"    "pc101"
        Option          "XkbLayout"   "us"
EndSection

# internal touchpad
#Section "InputDevice"
# Identifier "TouchPad" # Driver "mouse" # Option "CorePointer" # Option "Device" "/dev/psaux" # Option "Protocol" "PS/2" # Option "Emulate3Buttons" "true" # Option "ZAxisMapping" "4 5"
#EndSection

# usb mouse
Section "InputDevice"
       Identifier      "USB Mouse"
       Driver          "mouse"
       Option          "SendCoreEvents"               "true"
       Option          "Device"              "/dev/input/mice"
       Option          "Protocol"            "IMPS/2"
       Option          "Emulate3Buttons"       "false"
       Option          "ZAxisMapping"        "4 5"
EndSection

# internal touchpad via GPM
Section "InputDevice"
        Identifier      "GPM Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"              "/dev/gpmdata"
        Option          "Protocol"            "IntelliMouse"
        Option          "Emulate3Buttons"     "true"
# Option "ZAxisMapping" "4 5"
EndSection

# internal LCD screen
Section "Device"
        Identifier      "Radeon Mobility DVI"
        Driver          "radeon"
        BusID           "PCI:1:0:0"
        Screen          0
EndSection

# external CRT for dual-head
Section "Device"
        Identifier      "Radeon Mobility CRT Dual"
        Driver          "radeon"
        BusID           "PCI:1:0:0"
        Screen          1
# Option "crt_screen"
EndSection

# external CRT for use without internal LCD
Section "Device"
        Identifier      "Radeon Mobility CRT Only"
        Driver          "radeon"
        BusID           "PCI:1:0:0"
        Option          "crt_screen"
EndSection

# internal LCD
Section "Monitor"
        Identifier      "LCD"
        HorizSync       28-49
        VertRefresh     60
        Option          "DPMS"
EndSection

# external CRT
Section "Monitor"
        Identifier      "CRT"
        HorizSync       30-95
        VertRefresh     50-180
EndSection

# LCD only
Section "Screen"
        Identifier      "LCD Screen"
        Device          "Radeon Mobility DVI"
        Monitor         "LCD"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480" "320x240"
        EndSubSection
EndSection

# CRT for use in dual-head config
Section "Screen"
        Identifier      "CRT Screen Dual"
        Device          "Radeon Mobility CRT Dual"
        Monitor         "CRT"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480" "320x240"
        EndSubSection
EndSection

# CRT for use without LCD
Section "Screen"
        Identifier      "CRT 1280x1024"
        Device          "Radeon Mobility CRT Only"
        Monitor         "CRT"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "800x600" "640x480" 
"320x240"
        EndSubSection
EndSection

# CRT for use without LCD
Section "Screen"
        Identifier      "CRT 1024x768"
        Device          "Radeon Mobility CRT Only"
        Monitor         "CRT"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480" "320x240"
        EndSubSection
EndSection

# LCD only (Default)
Section "ServerLayout"
        Identifier      "LCD"
        Screen          "LCD Screen"
        InputDevice     "Main Keyboard"
        InputDevice     "GPM Mouse"
        InputDevice     "USB Mouse"
EndSection

# Dual-head with xinerama (Left)
Section "ServerLayout"
        Identifier      "Dual1Left"
        Screen          "LCD Screen"
        Screen          "CRT Screen Dual" LeftOf "LCD Screen"
        InputDevice     "Main Keyboard"       "CoreKeyboard"
        InputDevice     "GPM Mouse"   "CorePointer"
        InputDevice     "USB Mouse"
# Option "BlankTime" "5"
        Option          "Xinerama"    "on"
EndSection

# Dual-head without xinerama (Left)
Section "ServerLayout"
        Identifier      "Dual2Left"
        Screen          "LCD Screen"
        Screen          "CRT Screen Dual" LeftOf "LCD Screen"
        InputDevice     "Main Keyboard"       "CoreKeyboard"
        InputDevice     "GPM Mouse"   "CorePointer"
        InputDevice     "USB Mouse"
# Option "BlankTime" "5"
        Option          "Xinerama"    "off"
EndSection

# Dual-head with xinerama (Right)
Section "ServerLayout"
        Identifier      "Dual1Right"
        Screen          "LCD Screen"
        Screen          "CRT Screen Dual" RightOf "LCD Screen"
        InputDevice     "Main Keyboard"       "CoreKeyboard"
        InputDevice     "GPM Mouse"   "CorePointer"
        InputDevice     "USB Mouse"
# Option "BlankTime" "5"
        Option          "Xinerama"    "on"
EndSection

# Dual-head without xinerama
Section "ServerLayout"
        Identifier      "Dual2Right"
        Screen          "LCD Screen"
        Screen          "CRT Screen Dual" RightOf "LCD Screen"
        InputDevice     "Main Keyboard"       "CoreKeyboard"
        InputDevice     "GPM Mouse"   "CorePointer"
        InputDevice     "USB Mouse"
# Option "BlankTime" "5"
        Option          "Xinerama"    "off"
EndSection

# CRT only
Section "ServerLayout"
        Identifier      "CRT21"
        Screen          "CRT 1280x1024"
        InputDevice     "Main Keyboard"       "CoreKeyboard"
        InputDevice     "GPM Mouse"   "CorePointer"
        InputDevice     "USB Mouse"
# Option "BlankTime" "5"
EndSection

# CRT only
Section "ServerLayout"
        Identifier      "CRT17"
        Screen          "CRT 1024x768"
        InputDevice     "Main Keyboard"       "CoreKeyboard"
        InputDevice     "GPM Mouse"   "CorePointer"
        InputDevice     "USB Mouse"
# Option "BlankTime" "5"
EndSection

Section "DRI"
        Mode    0666
EndSection

# end of XF86Config




Reply via email to