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

Notices


Reply
  Search this Thread
Old 07-09-2009, 06:54 AM   #1
abd_bela
Member
 
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)


Hi,
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
bela
 
Old 07-09-2009, 08:09 AM   #2
AlucardZero
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
symon1980
Member
 
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...
hmmmmmm.
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
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

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

abd;
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
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Try
Code:
man Xorg
Xorg -configure
 
Old 07-09-2009, 09:29 AM   #6
jdkaye
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
Code:
dpkg-reconfigure xserver-xorg
do the same job? As I recall it's reasonably user friendly.
cheers,
jdk
 
Old 07-09-2009, 10:25 AM   #7
farslayer
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.

http://tuxtraining.com/2009/05/08/xo...904-and-others

Code:
X -configure
mv ~/xorg.conf.new /etc/X11/xorg.conf



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

Rep: Reputation: 17
Quote:
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
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

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

You need to do:
Code:
X -configure
mv ~/xorg.conf.new /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"
EndSection


Section "Device"
Identifier "Configured Video Device"
Driver "intel"
EndSection
 
Old 08-20-2009, 02:51 AM   #10
Telemachos
Member
 
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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

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