KDE 3 screen resolution

Networking/Security Forums -> UNIX // GNU/Linux

Author: chrisLocation: ~/security-forums PostPosted: Wed Sep 25, 2002 5:38 pm    Post subject: KDE 3 screen resolution
    ----
Ok peeps now in the position where I will be using KDE3 on a machine next to me on the latest distro of slack.

Quite happy with with most the command line stuff that its being used for but pretty much a KDE virgin.

Had a look through gnone and a few of the others but am gonna have a play with KDE3

Its only running on a 15" monitor and it *looks* like its on 1024x768

Id like to take this down to 800x600

Would like to know where to change this but not actually through KDE as ive had resolution problems before.

Ive been looking at the following:
/etc/X11/XF86Config

Quote:

Section "Monitor"
#DisplaySize 260 190 # mm
Identifier "Monitor0"
VendorName "ADI"
ModelName "ADI MS-4P"
Option "DPMS"
EndSection


Whats the best way to get into 800x600 Smile

Have tried the usual ctrl+alt then keypad +/- but its cycling through really wierd resolutions

any help appreciated

thanks

Author: ShaolinTigerLocation: Kuala Lumpur, Malaysia PostPosted: Wed Sep 25, 2002 5:46 pm    Post subject:
    ----
The CTRL+ALT +/- will cycle through the resolutions in the X86 config file.

Stick the right res in there then just cycle to it.

I got my KDE3 on 1024x768 on a 15" monitor.

Looks decent.

Author: chrisLocation: ~/security-forums PostPosted: Wed Sep 25, 2002 6:04 pm    Post subject:
    ----
Whats the right format for the screen resolutions then

cat your whole XF86Config file Smile

Author: werem00seLocation: U.S.A (west) PostPosted: Wed Sep 25, 2002 10:35 pm    Post subject:
    ----
What your looking for is at the end of the XF86Config file. Its not the:
Section "Monitor:

It is the "Screen" section and should look similar to this:

Code:
Section  "Screen"

    Identifier     "Screen1"
    Device        "<Your video device>"
     Monitor       "<Your Monitor>"

     DefaultDepth   16
     Subsection      "Display"
               Depth    32
               Modes    1024x768
     EndSubsection
     Subsection       "Display"
               Depth   16
               Modes   800x600
     EndSubsection


Then comment out (#) what you don't want
Or something like that.


Man, that did NOT fornat right.. Evil or Very Mad

Author: b4rtm4nLocation: Bi Mon Sci Fi Con PostPosted: Thu Sep 26, 2002 10:27 am    Post subject:
    ----
xf86setup (i think) will make life a bit easier for you.

It should have been installed with the packages for X.

Author: hadsLocation: New Zealand PostPosted: Thu Sep 26, 2002 10:49 am    Post subject:
    ----
I think its `xf86config` for the command line config tool.

This is the relevant section from my Slack 8.1 install (it has X on it and occasionally I export clients to my desktop but it's mostly a server) I can't remember what I used to generate it but it has good comments in it Smile

From memory X should take the first usable resolution from left to right and start with that.

Code:
# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

#   DefaultDepth 8
   DefaultDepth 16
#   DefaultDepth 24
#   DefaultDepth 32

# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection

Author: hadsLocation: New Zealand PostPosted: Thu Sep 26, 2002 10:54 am    Post subject:
    ----
I've never been able to figure out the <ctrl><alt>+/- thing myself actually. It always seems to stretch/skew the screen when I try it.

Oh well.

Author: ShaolinTigerLocation: Kuala Lumpur, Malaysia PostPosted: Thu Sep 26, 2002 11:06 am    Post subject:
    ----
Here's mine from Debian:

Code:
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
   FontPath   "unix/:7100"         # local font server
   # if the local font server has problems, we can fall back on these
   FontPath   "/usr/lib/X11/fonts/misc"
   FontPath   "/usr/lib/X11/fonts/cyrillic"
   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/100dpi"
   FontPath   "/usr/lib/X11/fonts/75dpi"
EndSection

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

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "keyboard"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xfree86"
   Option      "XkbModel"   "pc103"
   Option      "XkbLayout"   "uk"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "//[b][/b]dev[b][/b]/psaux"
   Option      "Protocol"      "PS/2"
   Option      "Emulate3Buttons"   "true"
   Option      "ZAxisMapping"      "4 5"
EndSection

Section "InputDevice"
   Identifier   "Generic Mouse"
   Driver      "mouse"
   Option      "SendCoreEvents"   "true"
   Option      "Device"      "//[b][/b]dev[b][/b]/input/mice"
   Option      "Protocol"      "ImPS/2"
   Option      "Emulate3Buttons"   "true"
   Option      "ZAxisMapping"      "4 5"
EndSection

Section "Device"
   Identifier   "Generic Video Card"
   Driver      "ati"
   Option      "UseFBDev"      "true"
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   HorizSync   28-49
   VertRefresh   43-72
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Generic Video Card"
   Monitor      "Generic Monitor"
   DefaultDepth   16
   SubSection "Display"
      Depth      1
      Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
   InputDevice   "Generic Mouse"
EndSection

Section "DRI"
   Mode   0666
EndSection



Networking/Security Forums -> UNIX // GNU/Linux


output generated using printer-friendly topic mod, All times are GMT + 2 Hours

Page 1 of 1

Powered by phpBB 2.0.x © 2001 phpBB Group