Re: Fwd: Forcing monitor resolutions

2009-01-29 Thread Daniel Baumann
Kai Hendry wrote: > Thank for the comments and new version of the patch is attached. thanks for providing the updated patch; i've applied it with 'correct' formating (see coding style in manual). this will be live-initramfs 1.154.8-1 and the last upload of live-initramfs that will make it into len

Re: Fwd: Forcing monitor resolutions

2009-01-29 Thread Kai Hendry
On Wed, Jan 28, 2009 at 11:05 PM, Chris Lamb wrote: > Are you sure you really mean "+" here? We've been avoiding them elsewhere in > live-* and replacing them with explicit versions because they're so easy to > mix up. Ok I removed that as XVIDEOMODE has to be set at that stage anyway. Thank for

Re: Fwd: Forcing monitor resolutions

2009-01-28 Thread Chris Lamb
Kai Hendry wrote: > +if test -x $(which xrandr 2>/dev/null) This is broken: "test -x" without any arguments returns with an exit code of zero which will happen if the subshell returns no output (ie. xrandr doesn't exist). Use Daniel's "["-based version from a few posts back? > + then xrandr

Re: Fwd: Forcing monitor resolutions

2009-01-28 Thread Kai Hendry
Here is my attempt of making it etch compatible. :) From bc14b7827ab82d361b78b6811ba3209c5798803a Mon Sep 17 00:00:00 2001 From: Kai Hendry Date: Wed, 28 Jan 2009 22:21:00 +0100 Subject: [PATCH] Add basic xrandr support for lenny and newer --- scripts/live-bottom/21xvidemode | 14 +

Re: Fwd: Forcing monitor resolutions

2009-01-28 Thread Daniel Baumann
Jordi Pujol wrote: > I don't understand that in the same manner, see: > > http://lists.debian.org/debian-live/2008/06/msg00025.html > > also, sometimes, I have sent my own version with feature descriptions, as > here > is shown: > > http://lists.debian.org/debian-live/2008/06/msg00034.html th

Re: Fwd: Forcing monitor resolutions

2009-01-27 Thread Jordi Pujol
El Tuesday 27 January 2009 18:08:44 Daniel Baumann va escriure: > Kai Hendry wrote: > > Wondering why it hasn't been applied yet on live-initramfs? > > http://git.debian.net/?p=debian-live/live-initramfs.git > > While Jordi does good work, he makes it nearly impossible to apply his > stuff (no indi

Re: Fwd: Forcing monitor resolutions

2009-01-27 Thread Daniel Baumann
Daniel Baumann wrote: > So either you need to come up with a check > that makes it only being executed on lenny you do already with which xrandr i just saw, however, it would need to be silenced: ---snip-- if [ -x "$(which xrandr 2>/dev/null)" ] then [...] ---snap--- would be the correct way. -

Re: Fwd: Forcing monitor resolutions

2009-01-27 Thread Daniel Baumann
Kai Hendry wrote: > Wondering why it hasn't been applied yet on live-initramfs? > http://git.debian.net/?p=debian-live/live-initramfs.git While Jordi does good work, he makes it nearly impossible to apply his stuff (no individual broken out patches but overlapping ones, most of the time without ex

Re: Fwd: Forcing monitor resolutions

2009-01-27 Thread Jordi Pujol
Hello all, El Monday 26 January 2009 20:12:08 Kai Hendry va escriure: > And Jordi, I didn't think that XDPI was neccessary, so I removed it. Thie parameter XDPI adjusts the zoom in the graphics screen. Therefore it is very useful to be able to adjust the size of the letters according to the ne

Re: Fwd: Forcing monitor resolutions

2009-01-26 Thread Kai Hendry
Finally applied Jordi's patch in live-initramfs and it works. Wondering why it hasn't been applied yet on live-initramfs? http://git.debian.net/?p=debian-live/live-initramfs.git Don't see the point of scripts/live-bottom/21xdriver, set xserver-xorg/config/display/modes is deprecated, no? And Jordi