On Sun, Feb 27, 2011 at 06:48:49PM +0100, Julien Cristau wrote: > > > In order to do something like this, it would be necessary to make > > console-setup predepend on fbset (in order to detect the screen > > resolution). Is this OK? > > > Why pre-depends?
Well, for now I am not exactly sure what to do so I will appreciate any suggestions. Maybe it won't be necessary to pre-depend after all. For now this is what I am planning for the configuring script of console-setup: 1. Try to detect the screen resolution. 1a. If framebuffer is used and fbset is installed, then use "fbset -s". 1b. If framebuffer is used but fbset is not installed, then unknown. 1c. If framebuffer is not used and /proc/cmdline doesn't contain "vga" option, then assume standard VGA text mode resolution. 1d. If framebuffer is not used and there is an "vga" option, then unknown. 2. If the resolution is unknown, then ask the questions the same way as now. 3. If the resolution is known, then add the screen resolution to the font size to make the choice easier: 6x12 (213x85) framebuffer only 8x14 (160x64) 8x16 (160x73) 10x20 (128x51) framebuffer only 11x22 (116x46) framebuffer only 12x24 (106x42) framebuffer only 14x28 (91x36) framebuffer only 16x32 (80x32) framebuffer only 4. Propose the user to reduce the number of the columns on the screen (suggesting 80). I suppose reducing the number of rows is not that useful, so no need for a question for SCREEN_HEIGHT. Anton Zinoviev -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org