View Full Version : [all variants] 1024x768 to 1280x768 problem
darkcoffee
February 23rd, 2011, 07:52 PM
Recently got a widescreen monitor. Now everything just stretches out. How do I make X widescreen?
I did some searching, and I need to edit the xorg.conf file. But it does not even exist. So I tried the command 'sudo dpkg-reconfigure xserver-xorg', but it failed to generate an xorg.conf file. Copy-and-pasting a random xorg.conf would not work properly since it is hardward specific.
Please help.
An Sanct
February 23rd, 2011, 08:16 PM
X is now made so, that it doesn't explicitly need xorg.conf to run.
The location is:
/etc/X11/xorg.conf
I also have a widescreen and nothing mentioning resolutions in xorg.conf, it is as it should be, plug'n'play.
realzippy
February 23rd, 2011, 08:25 PM
xrandr -q
shows available resolutions.
Btw,more infos,more replies...
graphics card/chip,graphics driver ?
lshw -C display
darkcoffee
February 24th, 2011, 08:03 PM
*-display UNCLAIMED
description: VGA compatible controller
product: 65x/M650/740 PCI/AGP VGA Display Adapter
vendor: Silicon Integrated Systems [SiS]
Krytarik
February 24th, 2011, 11:55 PM
Just add a "xrandr" command to the kdm/gdm startup script to set the resolution at startup:
https://wiki.ubuntu.com/X/Config/Resolution
No need to set up a xorg.conf then, simple new world! ;-)
Greetings.
celldweller1591
March 3rd, 2011, 02:04 PM
simply install 'resolution switcher' from Synaptic and use it to switch into supported resolutions!
realzippy
March 4th, 2011, 10:45 AM
Test this:
open a terminal,type:
gksudo gedit /etc/X11/xorg.conf
paste into empty file:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "USB Mouse" "CorePointer"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/CID"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection
Section "Module"
Load "ddc"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "bitmap"
Load "speedo"
Load "type1"
Load "freetype"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "true"
HorizSync 11.0 - 96.0
VertRefresh 50.0 - 76.0
EndSection
Section "Device"
Identifier "Card0"
Driver "sis"
VendorName "SiS"
BoardName "SiS 650 AGP"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"
Depth 16
Modes "300x200" "1024x768" "800x600" "640x480" "600x400" "300x240" "320x240" "300x400"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Reboot.
If problems,boot in recovery mode and delete formerly created xorg.conf:
sudo rm /etc/X11/xorg.conf
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.