Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 07-09-2009, 06:54 AM   #1
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 623

Rep: Reputation: 31
no xorg.conf on latest release (lenny 5.02)

I was suprised by the xorg on debian 5.02 (the latest release). There is no file xorg.conf in /etc/X11.
I want to change the resolution for the screen to 1280x1024 , 1024x768 and the default Keyboard , where to do ii.
In another word from where the xorg takes the parameter for the X ( keyboard, mouse, display, resolution .....)

thanks for help
best regards
Old 07-09-2009, 08:09 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
So, create one.

X is mostly autoconfigured these days, no need for a file if the defaults work.
Old 07-09-2009, 08:41 AM   #3
Registered: Nov 2007
Posts: 57

Rep: Reputation: 16
lol. that doesn't help the guy much.... If you want to change your resolution to something else then you should be free to do so...
Im not using a distro that doesn't have xorg.conf in it at the moment so i guess i can't really help you, and i can't remember debian having anything that enables you to do it any other way like you can in other distro's such as ubuntu, opensuse, and just about every other distro...
i'll have a look into it and see if I can find the answer for you.

anybody else know the answer???
Old 07-09-2009, 08:57 AM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
lol. that doesn't help the guy much....
Gosh, symon.......Alucard gave more of an answer than you did!!

First, what options are there in the Debian menus? (look for settings--->screen resolution or something similar)

You can generate an xorg.conf file using "X -configure" in a terminal.
Old 07-09-2009, 09:00 AM   #5
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
man Xorg
Xorg -configure
Old 07-09-2009, 09:29 AM   #6
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Just out of curiosity, would
dpkg-reconfigure xserver-xorg
do the same job? As I recall it's reasonably user friendly.
Old 07-09-2009, 10:25 AM   #7
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,247
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Tto create the xorg.conf file if it's not present.

X -configure
mv ~/ /etc/X11/xorg.conf

another option that has worked for a few other people..
Old 08-19-2009, 09:54 PM   #8
Registered: May 2009
Location: Detroit, MI
Distribution: Debian (LXDE), Fedora (Sugar), PuppyLinux (JWM)
Posts: 69

Rep: Reputation: 17
X is mostly autoconfigured these days, no need for a file if the defaults work.
but why not still generate one, weither or not the default works, isn't it kind of not open to not show that stuff?

There is an option to change the resolution in the debian menu, but next time you log in the default is working again. So what is the solution to change the resolution.
Old 08-20-2009, 01:37 AM   #9
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Originally Posted by jdkaye View Post
Just out of curiosity, would
dpkg-reconfigure xserver-xorg
do the same job? As I recall it's reasonably user friendly.
No all that does these days is set your kb.

You need to do:
X -configure
mv ~/ /etc/X11/xorg.conf
To get a xorg.conf that you can then tweak to your hearts content.

Btw all my xorg.conf has is:

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
Option "DontZap" "off"

Section "Device"
Identifier "Configured Video Device"
Driver "intel"
Old 08-20-2009, 02:51 AM   #10
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
Just a quick side-note: this change has nothing to do with Debian per se. Note the title of the blog post that Farslayer linked to: "xorg.conf fix in Fedora 10, Ubuntu 9.04 and others." The problem has to do with xorg itself, as far as I know. The xorg developers made a choice to do things differently. Many users are confused, and many are upset, but it is what it is. I would expect that all distros will run into this issue at some point or another as they pick up the xorg changes.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
working xorg.conf for dual-head radeon x1300 xt on debian lenny badeagle01 Linux - Hardware 2 07-02-2009 09:28 AM
LXer: How-To: Install the Latest Wine Release in Debian Lenny LXer Syndicated Linux News 0 03-24-2009 10:30 AM
Lenny on latest iBook trouble UltimateDom Debian 5 01-23-2009 01:53 PM
virtual resolution issue - xorg.conf - eeepc 1000ha - debian 5.0 (lenny) checkmate3001 Linux - Laptop and Netbook 0 01-18-2009 04:57 AM
nvidia xorg.conf OR X windows xorg.conf? machines Slackware 3 04-06-2008 02:10 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration