FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-20-2012, 04:41 PM
Michael Fothergill
 
Default modifying template xorg.conf file to change monitor resolution

Dear Folks,

I am trying to fix my monitor screen resolution.

I made a template xorg.conf file by running the gdm3 stop command and
then did something
like crtl alt f1 and got a terminal prompt and logged in as root and
did /usr/bin/Xorg -configure
and a new xorg.conf file was created in /root.

Here it is:

root@Vigor15:~# more xorg.conf.new
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection

Section "Module"
Load "dri"
Load "dbe"
Load "record"
Load "dri2"
Load "extmod"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "VideoKey" # <i>
Identifier "Card0"
Driver "nouveau"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

It's quite a while since I edited an xorg.conf file. The resolution
is too low at present - I think I am running at 800 x 600

I ran xrandr (which is a bit magical and mystical to me at present)

mikef@Vigor15:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 800 x 600, maximum 800 x 600
default connected 800x600+0+0 0mm x 0mm
800x600 61.0*
640x480 60.0

Trying to use it to increase the maximum resolution to 1440 x 900 is
more intricate than I realised so I think that editing my template
xorg.conf file and putting the 1440 x 900 parameter value in there
would be a better idea.......

In the X11 folder where I assume I am supposed to put the shiny new
xorg.conf file are three files it will sit next to.:
root@Vigor15:/usr/share/X11/xorg.conf.d
# ls
10-evdev.conf 20-wacom.conf 50-synaptics.conf

I have two dumb questions:

1. Where do I enter the 1440 x900 resolution into the xorg.conf file?

2. Since I made the new one as root and not a user will the
permissions on the xorg.conf file need to be reset to make sure Xorg
reads it in?

Thanks for tolerating my ineptitude here.

Michael Fothergill


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CANc=Sd2KL6o=xKAWqPRFoxVeru_xC3ae4ieHnOksu9FS+YzcA A@mail.gmail.com
 
Old 07-20-2012, 05:46 PM
Andrei POPESCU
 
Default modifying template xorg.conf file to change monitor resolution

On Vi, 20 iul 12, 17:41:59, Michael Fothergill wrote:
>
> It's quite a while since I edited an xorg.conf file. The resolution
> is too low at present - I think I am running at 800 x 600
>
> I ran xrandr (which is a bit magical and mystical to me at present)
>
> mikef@Vigor15:~$ xrandr
> xrandr: Failed to get size of gamma for output default
> Screen 0: minimum 640 x 480, current 800 x 600, maximum 800 x 600
> default connected 800x600+0+0 0mm x 0mm
> 800x600 61.0*
> 640x480 60.0
>
> Trying to use it to increase the maximum resolution to 1440 x 900 is
> more intricate than I realised so I think that editing my template
> xorg.conf file and putting the 1440 x 900 parameter value in there
> would be a better idea.......

I don't think this is a configuration issue, please attach your
Xorg.0.log.

Kind regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 
Old 07-20-2012, 05:49 PM
Brian
 
Default modifying template xorg.conf file to change monitor resolution

On Fri 20 Jul 2012 at 17:41:59 +0100, Michael Fothergill wrote:

> I have two dumb questions:
>
> 1. Where do I enter the 1440 x900 resolution into the xorg.conf file?

By and large there should be no need for an xorg.conf file as the card
should autodetected and everything configured from what is discovered.
Do we assume the monitor is connected directly to the adapater's output?
Was the xrandr command ran with or without xorg.conf in place?

Please post the line from the lspci command which gives the card you
have. Also attach /var/log/Xorg.0.log when X is started without the
xorg.conf file.

> 2. Since I made the new one as root and not a user will the
> permissions on the xorg.conf file need to be reset to make sure Xorg
> reads it in?

They shouldn't have to be. Here they are

-rw-r--r-- 1 root root


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120720174911.GY7631@desktop
 

Thread Tools




All times are GMT. The time now is 01:22 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org