On 2013-02-20 22:04, Colin Watson wrote: > On 2013-02-20 21:39, Gunnar Hjalmarsson wrote: >> >> sudo dpkg-reconfigure -fnoninteractive libpaper1 >> >> (in Quantal) does not seem to change anything. > > You might need to make sure that sudo doesn't change the environment, > or else do something like sudo sh -c '. /etc/default/locale; > dpkg-reconfigure -fnoninteractive libpaper1'.
Tried that too with no success, i.e. /etc/papersize remains unchanged. What kind of magic do you use in the installer? ;-) >From libpaper1.config I learned (the undocumented?) "locale height" and "locale width", which replace the need for nl_langinfo. The attached simplistic shell script (run as sudo) works as expected for me. It should be possible to use the paperconfig command instead of writing /etc/papersize directly, but if TeX Live is installed, interactivity is automatically (and incorrectly?) triggered sometimes. Do we need other default papersize options but "a4" and "letter"? A user with special needs can add export PAPERSIZE=[whatever] to e.g. ~/.profile. ** Attachment added: "update-papersize.sh" https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1094872/+attachment/3539330/+files/update-papersize.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1094872 Title: Installation information cause letter format instead of DIN A4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/1094872/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs