LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   X resolutions for KDE 3.1 not working correctly (https://www.linuxquestions.org/questions/linux-newbie-8/x-resolutions-for-kde-3-1-not-working-correctly-171944/)

raptor9k 04-19-2004 03:32 AM

X resolutions for KDE 3.1 not working correctly
 
I've recently installed KDE 3.1 on a new install of debian (sarge) and can't seem to get the resolutions to work correctly. In XF86Config-4 my default depth is 24 and the modes for it are "1280x1024" "1024x768" "800x600" but all i get in KDE is a HUGE desktop. On an 18" LCD I have to scroll to the left/right/up/down to reach the actual edge of the desktop. Ctrl + Alt + + doesn't work at all. I can't find this problem on any other boards so I decided to post here. Any help is greatly appreciated.

Running KDE 3.1 on XFree86 4.3

sharkee 04-19-2004 04:16 AM

raptor9k

What you have is a virtual screen. In the Xf86-4 config file under screen section you will most likely have your resolution listed as virtual.
I have same problem with mandrake 10.After some investigation i have lernt that it is some thing to do with not having correct modelines. I have not yet solved this but i am still working on it .In the interiim i have configured my ati 7000 card to use FBDEV driver .this solves the virtual problem but fps is to slow for gaming. I sujjest you post a bit more info IE graphic card and also post a copy of your XF86config-4 file .
Good Luck
Regards Sharkee

raptor9k 04-19-2004 12:57 PM

Ok, I've got it working correctly now. Here's my XF86Config-4 file.
I too am running an ati radeon 7000/VE. Maybe this will help you too.
Also by looking at this file can anyone help me get the scrollwheel working on my mouse? It's a GE micro optical mouse with scroll wheel plugged into the PS/2 port via a USB to PS/2 adapter. Thanks for the help.

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was 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.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

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/CID"
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 "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/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" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon VE [QY]"
Driver "ati"
EndSection

Section "Monitor"
Identifier "DELL 1800FP"
HorizSync 50-80
VertRefresh 43-75
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon VE [QY]"
Monitor "DELL 1800FP"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
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

Section "ServerFlags"
Option "RandR"
EndSection

urka58 04-19-2004 04:36 PM

Back up your XF86config(4) file first
then try editing like this

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2" edit to "IMPS/2"
Option "Emulate3Buttons" "true" edit to "false" or comment out this line
Option "ZAxisMapping" "4 5"
EndSection

the following section should be commented unless you have a touchpad or similar
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection


All times are GMT -5. The time now is 06:35 PM.