Debian Bug report logs -
#376350
Use LC_PAPER
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, he@debian.org, Giuseppe Sacco <eppesuig@debian.org>:
Bug#376350; Package libpaper1.
(full text, mbox, link).
Message #3 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: libpaper1
Version: 1.1.19
Severity: wishlist
[0] cb@planck:~ $locale width
210
[0] cb@planck:~ $locale height
297
[0] cb@planck:~ $locale | grep PAPER
LC_PAPER="de_DE.UTF-8"
Wouldn't it make sense to use $LC_PAPER to override /etc/papersize on
a per-user base? The upside is that $PAPERSIZE is more or less a
debianism vs $LC_PAPER being POSIX. The downside is that the locale
doesn't know the paper name, but that could be guessed based on the
dimensions.
Christoph
--
cb@df7cb.de | http://www.df7cb.de/
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#376350; Package libpaper1.
(full text, mbox, link).
Acknowledgement sent to Giuseppe Sacco <eppesuig@debian.org>:
Extra info received and forwarded to list.
(full text, mbox, link).
Message #8 received at 376350@bugs.debian.org (full text, mbox, reply):
Christoph Berg wrote:
[...]
> Wouldn't it make sense to use $LC_PAPER to override /etc/papersize on
> a per-user base? The upside is that $PAPERSIZE is more or less a
> debianism vs $LC_PAPER being POSIX. The downside is that the locale
> doesn't know the paper name, but that could be guessed based on the
> dimensions.
You are suggesting to have a Debian tool (paperconf) to use a "standard"
setting instead of its default; but I think that if you use a Debian
tool you already adopted a "Debian way," otherwise you would have used a
"standard" way, i.e., LC_PAPER.
Bye,
Giuseppe
Information forwarded to debian-bugs-dist@lists.debian.org, Giuseppe Sacco <eppesuig@debian.org>:
Bug#376350; Package libpaper1.
(full text, mbox, link).
Message #11 received at 376350@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Re: Giuseppe Sacco 2006-07-05 <44AAECD9.90504@debian.org>
> You are suggesting to have a Debian tool (paperconf) to use a "standard"
> setting instead of its default; but I think that if you use a Debian
> tool you already adopted a "Debian way," otherwise you would have used a
> "standard" way, i.e., LC_PAPER.
Well, I'm using the Debian way there because the standard way is not
supported by the programs that look at `paperconf`. Otoh, I don't have
strong feelings about it, so feel free to close the bug, or think of
an alternative way to glue PAPERSIZE and LC_PAPER together.
Christoph
--
cb@df7cb.de | http://www.df7cb.de/
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Giuseppe Sacco <eppesuig@debian.org>:
Bug#376350; Package libpaper1.
(Sat, 10 Oct 2009 12:12:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Pascal De Vuyst <pascal.devuyst@gmail.com>:
Extra info received and forwarded to list. Copy sent to Giuseppe Sacco <eppesuig@debian.org>.
(Sat, 10 Oct 2009 12:12:07 GMT) (full text, mbox, link).
Message #16 received at 376350@bugs.debian.org (full text, mbox, reply):
Severity: important
Having two places (LC_PAPER and /etc/papersize) to set the default
paper size is confusing.
This is proven by several bug reports in Ubuntu over years, users
expect the paper size to change according to LC_PAPER and usually are
not aware of /etc/papersize.
Since applications developers can use both LC_PAPER and /etc/papersize
to determine the paper size it would be nice if we could let libpaper
take its default from the locale, so that if /etc/papersize does not
exist or contains "auto" or "locale" that then the paper size is taken
from LC_PAPER.
In this way we have one logical location to set the paper size
(LC_PAPER) and all applications on the system make use of it.
Severity set to 'important' from 'wishlist'
Request was from Pascal De Vuyst <pascal.devuyst@gmail.com>
to control@bugs.debian.org.
(Sat, 10 Oct 2009 15:36:03 GMT) (full text, mbox, link).
Changed Bug title to 'Use LC_PAPER' from 'Suggestion: use LC_PAPER?'
Request was from Pascal De Vuyst <pascal.devuyst@gmail.com>
to control@bugs.debian.org.
(Sat, 10 Oct 2009 15:36:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Giuseppe Sacco <eppesuig@debian.org>:
Bug#376350; Package libpaper1.
(Tue, 19 Apr 2011 10:42:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Boris Hollas <boris.hollas@gmx.de>:
Extra info received and forwarded to list. Copy sent to Giuseppe Sacco <eppesuig@debian.org>.
(Tue, 19 Apr 2011 10:42:05 GMT) (full text, mbox, link).
Message #25 received at 376350@bugs.debian.org (full text, mbox, reply):
Package: libpaper1
Version: 1.1.24
Severity: normal
The problem persists in Squeeze. I noted that Gnome applications ignore
/etc/papersize. I set this to a4, still applications use letter by default.
LC_PAPER, which is not mentioned in man papersize, is set to en_US.utf8 on my
system. If I set LC_PAPER to de_DE.utf8, error messages on my locale settings
appear. It is confusing to have several different places to set the papersize.
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libpaper1 depends on:
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii ucf 3.0025+nmu1 Update Configuration File: preserv
Versions of packages libpaper1 recommends:
ii libpaper-utils 1.1.24 library for handling paper charact
libpaper1 suggests no packages.
-- debconf information:
libpaper/defaultpaper: letter
Information forwarded
to debian-bugs-dist@lists.debian.org, Giuseppe Sacco <eppesuig@debian.org>:
Bug#376350; Package libpaper1.
(Mon, 04 Mar 2013 17:18:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Gunnar Hjalmarsson <gunnarhj@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Giuseppe Sacco <eppesuig@debian.org>.
(Mon, 04 Mar 2013 17:18:03 GMT) (full text, mbox, link).
Message #30 received at 376350@bugs.debian.org (full text, mbox, reply):
Solutions to https://launchpad.net/bugs/1130690 were recently uploaded
to the current development version of Ubuntu. With that I think that the
issue in this bug report (and https://launchpad.net/bugs/393818) was
addressed in such an alternative way as Christoph asked for.
What's new? We simply set both. When a user sets LC_PAPER from an UI,
PAPERSIZE is set as well. When LC_PAPER is set in /etc/default/locale,
/etc/papersize is updated accordingly.
--
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj
Bug reassigned from package 'libpaper1' to 'libpaper'.
Request was from Reuben Thomas <rrt@sc3d.org>
to control@bugs.debian.org.
(Fri, 25 Oct 2013 00:03:04 GMT) (full text, mbox, link).
No longer marked as found in versions libpaper/1.1.19 and libpaper/1.1.24.
Request was from Reuben Thomas <rrt@sc3d.org>
to control@bugs.debian.org.
(Fri, 25 Oct 2013 00:03:05 GMT) (full text, mbox, link).
Marked as found in versions 1.1.23.
Request was from Reuben Thomas <rrt@sc3d.org>
to control@bugs.debian.org.
(Fri, 25 Oct 2013 00:06:14 GMT) (full text, mbox, link).
Merged 376350 481213
Request was from Reuben Thomas <rrt@sc3d.org>
to control@bugs.debian.org.
(Fri, 25 Oct 2013 00:06:15 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jul 3 12:05:36 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.