Re: how to get all options from dpkg-reconfigure

2006-09-23 Thread Helge Hafting

Gabor Gombas wrote:

On Wed, Sep 20, 2006 at 10:21:48AM -0400, Lennart Sorensen wrote:

  

Try dpkg-reconfigure -p low xserver-xorg

Perhaps some of the questions are at a different priority than they used
to be.  Not sure.



Looking at the postinst script, those questions are only asked when the
package is installed for the first time or when upgrading from a really
old version. Otherwise it's up to the admin to edit xorg.conf.

An "apt-get install --reinstall xserver-xorg" _may_ work, I did not
test.
  

You can always make it "the first time" like this:
1. backup xorg.conf just to be safe
2. dpkg --purge xserver-xorg --force-depends
3. apt-get install xserver-xorg

The force-depends is so you won't have to remove every package
that depends on  xserver-xorg.  That just takes a lot of extra time.

Helge Hafting


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to get all options from dpkg-reconfigure

2006-09-21 Thread tomek . fizyk
Użytkownik Eduardo M Kalinowski <[EMAIL PROTECTED]> napisał:
>> Uzytkownik Gabor Gombas <[EMAIL PROTECTED]> napisal:
>> >If you have a moderately sane monitor (if it's not older than a couple
>> >of years, it usually is - modulo firmware bugs), and a moderately sane
>> >video card, then you could try to simply remove any monitor-specific
>> >settings and let X.Org detect the monitor using EDID data.
>> >
>> >Gabor
>> >
>> 
>> I can confirm that - my new monitor was detected well by the xorg after
>> removing all the monitor settings (I left the "Identifier" field of course, 
>> and one
>> option, but don't know if this option is necessary). The monitor section 
>> looks
>> like this:
>> 
>> Section "Monitor"
>> Identifier "Monitor 0"
>> Option "DPMS"
>> EndSection
>> 
>> But for the old monitor the other settings were needed.
>
>In this case, how does one specify the desired resolution? Using xrandr only?
>

The screen resolution is not specified in the "Monitor" section, but in the
"Screen" section (in the "Monitor" section you only specify refresh rates for
the resolutions given in the "Screen" section, not the resolutions themselves).

For example:

Section "Screen"
Identifier "Default Screen"
Device "Device 0"
Monitor"Monitor 0"
DefaultDepth24
SubSection "Display"
Depth   1
Modes  "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   4
Modes  "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   8
Modes  "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   15
Modes  "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   16
Modes  "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   24
Modes  "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   32
Modes  "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

The Device your graphics card. In each SubSection you specify desired
screen resolutions for a given color depth.
The resolutions and the depths should be available in your monitor and
graphics card (check the manual).

Tomek


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to get all options from dpkg-reconfigure

2006-09-21 Thread Santiago R. Lunar M.

Eduardo M KALINOWSKI wrote:

Dimitris Lampridis wrote:
  

On Wednesday 20 September 2006 16:21, Lennart Sorensen wrote:
  


On Tue, Sep 19, 2006 at 03:15:40PM +0200, Wolfgang Mader wrote:

  

I want to update my refreching rate for my monitor, because I had to
switch from a TFT to a normal screen.
So I tried to type
dpkg-reconfigure xserver-xorg
but I am not asked the questions I know from first set up of the xserver:
which resolution and which refreching rate do you want?

I do not think that I need to work on another package, xserver-xorg
should be the right. But why am I not asked this questions.

The same with exim4. At the first time you can choose if exim should
handel all mails or just the lokal ones etc. I am also not able to select
this behavior by using dpkg.

What am I missing?
  


Try dpkg-reconfigure -p low xserver-xorg

Perhaps some of the questions are at a different priority than they used
to be.  Not sure.

  
That's what I thought as well when I first saw the posting, but before 
suggesting to drop the priority, I tried it myself. Even in low priority, the 
package configuration never asks for screen resolution, color depth etc.


  


I can confirm that xserver-xorg is not asking for resolutions and stuff
like that. I've tried it myself some time ago, and I had to manually
edit the xorg.conf file to suit my new monitor.

ii  xserver-xorg 7.0.22  the X.Org X
server



  
I do to. The first time i installed it, it asked me the desire 
resolution but not anymore... the desired resolution didn't work as i 
spected, and my monitor is from 2002, i don't think it's quite old. I 
selected 1152x864 @75Hz and it's not working, i have 1024x768 @90, and i 
just don't get it... maybe it's about the driver thing? I have an Nvidia 
Gforce FX5500 and of course i haven't installed the original driver, but 
the one that Xorg has.


--
[EMAIL PROTECTED]
linux user #397015
Etch - kernel 2.6.15-23-amd64-k8
"...in a world without fences and walls
who need windows and gates?"


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to get all options from dpkg-reconfigure

2006-09-21 Thread Eduardo M Kalinowski
> Uzytkownik Gabor Gombas <[EMAIL PROTECTED]> napisal:
> >If you have a moderately sane monitor (if it's not older than a couple
> >of years, it usually is - modulo firmware bugs), and a moderately sane
> >video card, then you could try to simply remove any monitor-specific
> >settings and let X.Org detect the monitor using EDID data.
> >
> >Gabor
> >
>
> I can confirm that - my new monitor was detected well by the xorg after
> removing all the monitor settings (I left the "Identifier" field of course, 
> and one
> option, but don't know if this option is necessary). The monitor section looks
> like this:
>
> Section "Monitor"
> Identifier "Monitor 0"
> Option "DPMS"
> EndSection
>
> But for the old monitor the other settings were needed.

In this case, how does one specify the desired resolution? Using xrandr only?

--
Eduardo M Kalinowski
[EMAIL PROTECTED]
http://move.to/hpkb




Re: how to get all options from dpkg-reconfigure

2006-09-21 Thread tomek . fizyk
Użytkownik Gabor Gombas <[EMAIL PROTECTED]> napisał:
>If you have a moderately sane monitor (if it's not older than a couple
>of years, it usually is - modulo firmware bugs), and a moderately sane
>video card, then you could try to simply remove any monitor-specific
>settings and let X.Org detect the monitor using EDID data.
>
>Gabor
>

I can confirm that - my new monitor was detected well by the xorg after
removing all the monitor settings (I left the "Identifier" field of course, and 
one
option, but don't know if this option is necessary). The monitor section looks
like this:

Section "Monitor"
Identifier "Monitor 0"
Option "DPMS"
EndSection

But for the old monitor the other settings were needed.

Tomek


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to get all options from dpkg-reconfigure

2006-09-21 Thread Gabor Gombas
On Thu, Sep 21, 2006 at 07:59:08AM -0300, Eduardo M KALINOWSKI wrote:

> I can confirm that xserver-xorg is not asking for resolutions and stuff
> like that. I've tried it myself some time ago, and I had to manually
> edit the xorg.conf file to suit my new monitor.

If you have a moderately sane monitor (if it's not older than a couple
of years, it usually is - modulo firmware bugs), and a moderately sane
video card, then you could try to simply remove any monitor-specific
settings and let X.Org detect the monitor using EDID data.

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
 -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to get all options from dpkg-reconfigure

2006-09-21 Thread Gabor Gombas
On Wed, Sep 20, 2006 at 10:21:48AM -0400, Lennart Sorensen wrote:

> Try dpkg-reconfigure -p low xserver-xorg
> 
> Perhaps some of the questions are at a different priority than they used
> to be.  Not sure.

Looking at the postinst script, those questions are only asked when the
package is installed for the first time or when upgrading from a really
old version. Otherwise it's up to the admin to edit xorg.conf.

An "apt-get install --reinstall xserver-xorg" _may_ work, I did not
test.

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
 -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to get all options from dpkg-reconfigure

2006-09-21 Thread Eduardo M KALINOWSKI
Dimitris Lampridis wrote:
> On Wednesday 20 September 2006 16:21, Lennart Sorensen wrote:
>   
>> On Tue, Sep 19, 2006 at 03:15:40PM +0200, Wolfgang Mader wrote:
>> 
>>> I want to update my refreching rate for my monitor, because I had to
>>> switch from a TFT to a normal screen.
>>> So I tried to type
>>> dpkg-reconfigure xserver-xorg
>>> but I am not asked the questions I know from first set up of the xserver:
>>> which resolution and which refreching rate do you want?
>>>
>>> I do not think that I need to work on another package, xserver-xorg
>>> should be the right. But why am I not asked this questions.
>>>
>>> The same with exim4. At the first time you can choose if exim should
>>> handel all mails or just the lokal ones etc. I am also not able to select
>>> this behavior by using dpkg.
>>>
>>> What am I missing?
>>>   
>> Try dpkg-reconfigure -p low xserver-xorg
>>
>> Perhaps some of the questions are at a different priority than they used
>> to be.  Not sure.
>> 
>
> That's what I thought as well when I first saw the posting, but before 
> suggesting to drop the priority, I tried it myself. Even in low priority, the 
> package configuration never asks for screen resolution, color depth etc.
>
>   
I can confirm that xserver-xorg is not asking for resolutions and stuff
like that. I've tried it myself some time ago, and I had to manually
edit the xorg.conf file to suit my new monitor.

ii  xserver-xorg 7.0.22  the X.Org X
server



-- 
The alarm clock that is louder than God's own belongs to the roommate with
the earliest class.

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to get all options from dpkg-reconfigure

2006-09-20 Thread Dimitris Lampridis
On Wednesday 20 September 2006 16:21, Lennart Sorensen wrote:
> On Tue, Sep 19, 2006 at 03:15:40PM +0200, Wolfgang Mader wrote:
> > I want to update my refreching rate for my monitor, because I had to
> > switch from a TFT to a normal screen.
> > So I tried to type
> > dpkg-reconfigure xserver-xorg
> > but I am not asked the questions I know from first set up of the xserver:
> > which resolution and which refreching rate do you want?
> >
> > I do not think that I need to work on another package, xserver-xorg
> > should be the right. But why am I not asked this questions.
> >
> > The same with exim4. At the first time you can choose if exim should
> > handel all mails or just the lokal ones etc. I am also not able to select
> > this behavior by using dpkg.
> >
> > What am I missing?
>
> Try dpkg-reconfigure -p low xserver-xorg
>
> Perhaps some of the questions are at a different priority than they used
> to be.  Not sure.

That's what I thought as well when I first saw the posting, but before 
suggesting to drop the priority, I tried it myself. Even in low priority, the 
package configuration never asks for screen resolution, color depth etc.

With low priority, here's the list of settings I get:
 - video driver
 - video card name
 - bus name
 - video memory
 - use fb [y/N]
 - autodetect kbd layout [y/N]
 - kbd layout
 - XKB rule
 - kbd model
 - kbd variant
 - kbd options
 - mouse protocol
 - emulate 3rd button [y/N]
 - list of modules to load
 - write Files section [Y/n]

and that's it... Normally the screen settings were after mouse and before 
module loading if i'm not mistaken. Unfortunately I don't have any 
suggestions as to what might be wrong. 

Dimitris



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to get all options from dpkg-reconfigure

2006-09-20 Thread Lennart Sorensen
On Tue, Sep 19, 2006 at 03:15:40PM +0200, Wolfgang Mader wrote:
> I want to update my refreching rate for my monitor, because I had to switch 
> from a TFT to a normal screen.
> So I tried to type
> dpkg-reconfigure xserver-xorg
> but I am not asked the questions I know from first set up of the xserver: 
> which resolution and which refreching rate do you want?
> 
> I do not think that I need to work on another package, xserver-xorg should be 
> the right. But why am I not asked this questions.
> 
> The same with exim4. At the first time you can choose if exim should handel 
> all mails or just the lokal ones etc. I am also not able to select this 
> behavior by using dpkg.
> 
> What am I missing?

Try dpkg-reconfigure -p low xserver-xorg

Perhaps some of the questions are at a different priority than they used
to be.  Not sure.

--
Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to get all options from dpkg-reconfigure

2006-09-19 Thread Espen Talberg
An easy solution would be to run these two as root:
f86config
base-config

Remember to backup your /etc/X11/xorg.conf first

--
Espen Talberg
Norway


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]