Re: "dpkg-reconfigure" dash no longer works

2023-06-13 Thread Linux-Fan

Darac Marjal writes:



On 10/06/2023 16:08, S M wrote:

On Sat, Jun 10, 2023 at 02:12:14PM +0100, Darac Marjal wrote:


Is command-line editing part of POSIX, then? Are you suggesting that dash is
missing some bit of POSIX compliance? That's possible.
Command-line editing in vi-mode is defined by POSIX, but it's not mandatory  
as

far as I know.

OK, this looks like Bug #561663. If I read that bug correctly, the intention  
IS that dash should support command-line editing (in your case, you'd invoke  
it with -V for vi-style editing. The maintainer claimed the block was  
closed, but then they re-opened it two days later.


Interesting. I am also one of the niche users interested in running dash as  
a primary shell with vi-style line editing.


Last time I tried it (must be several years ago already), the vi-style  
editing did indeed work when enabled with `set -o vi`. On my current Debian  
oldstable (bullseye) workstation it does not work anymore.


Back when the vi-style editing worked it was _almost_ ready for "productive"  
use. Unfortunately, POSIX shells do not support bash's `\[` and `\]` in  
prompts that can be used to hide color code sequences from being counted  
towards the prompt length. This caused there to be a discrepancy between the  
observed and computed lengths leading to erratic line editing whenever the  
line exteeded the width of the window (happens often for me).


Hence I concluded that while it sounds nice to switch to `sh` as the primary  
shell in theory, this does not quite work in practice (for me anyways).


YMMV
Linux-Fan

öö


pgpHxp9oW5HUx.pgp
Description: PGP signature


Re: "dpkg-reconfigure" dash no longer works

2023-06-11 Thread Darac Marjal


On 10/06/2023 16:08, S M wrote:

On Sat, Jun 10, 2023 at 02:12:14PM +0100, Darac Marjal wrote:


Is command-line editing part of POSIX, then? Are you suggesting that dash is
missing some bit of POSIX compliance? That's possible.

Command-line editing in vi-mode is defined by POSIX, but it's not mandatory as
far as I know.

OK, this looks like Bug #561663. If I read that bug correctly, the 
intention IS that dash should support command-line editing (in your 
case, you'd invoke it with -V for vi-style editing. The maintainer 
claimed the block was closed, but then they re-opened it two days later.




OpenPGP_signature
Description: OpenPGP digital signature


Re: "dpkg-reconfigure" dash no longer works

2023-06-10 Thread Greg Wooledge
On Sat, Jun 10, 2023 at 09:21:19PM +0200, Sven Joachim wrote:
> Unfortunately neither the Debian changelog of dash nor the commit
> message for this change[2] give an explanation.  Removing the debconf
> handling certainly simplifies the package, and there are not too many
> scripts around that start with "#!/bin/sh" and fail to work with dash -
> these are the reasons I can think of.

I have serious doubts about that.  I'm sure that *in Debian*, virtually
all scripts have been fixed to use the correct syntax for their shebang.
But outside of Debian?  The world's a mess.  There's no way to even know
how many broken scripts are out there.

An admin's choice to use /bin/sh -> bash on their system is usually done
to work around broken third-party scripts.  (This is what's so confusing
about S M's part of the thread -- their motivation is entirely different.)

At the bare minimum, this change needs to be documented in the official
release notes and the dash NEWS file, which is currently giving incorrect
information to users.

It would also be *nice* to have an explanation, and perhaps some risk
analysis about what may happen if an admin decides to change the symlink
despite the unsupported nature of that change.

I suspect we'll only get the latter from users who are brave enough to
try it, and dedicated enough to document their discoveries.



Re: "dpkg-reconfigure" dash no longer works

2023-06-10 Thread Sven Joachim
On 2023-06-09 12:06 -0400, The Wanderer wrote:

> On 2023-06-09 at 12:00, Charles Curley wrote:
>
>> On Fri, 9 Jun 2023 13:38:25 +
>> S M  wrote:
>>
>>> I noticed on a newly installed system with Debian 12 that
>>> dpkg-reconfigure no longer allows to switch the /bin/sh symlink from
>>> dash to bash.
>>
>> You can still change it manually (rm ; ln -s).
>
> Or just 'ln -sf', to do it in something closer to an atomic fashion.
>
> Except that, since (at least from what I can see on a quick check) the
> /bin/sh symlink appears to be shipped explicitly in the dash package,
> next time that package gets upgraded the symlink will probably be
> overwritten with one pointing back to dash again.
>
> If the system is smart enough to not replace a sysadmin-edited symlink
> during package upgrade, then that wouldn't happen - but I'd honestly
> expect that it would, since otherwise if a symlink got messed up and
> broke things, reinstalling the package it came from wouldn't be
> guaranteed to fix those things.

That is true.  However, you can avoid that by diverting the /bin/sh
symlink which tells dpkg to unpack it under a different name.  To do so,
you have to first remove the diversion that dash itself sets up.  The
following six commands change the /bin/sh symlink permanently to bash
and also take care of the manpage:

# dpkg-divert --remove --no-rename /usr/share/man/man1/sh.1.gz
# dpkg-divert --remove --no-rename /bin/sh
# ln -sf bash.1.gz /usr/share/man/man1/sh.1.gz
# ln -sf bash /bin/sh
# dpkg-divert --add --local --no-rename /usr/share/man/man1/sh.1.gz
# dpkg-divert --add --local --no-rename /bin/sh

The version of dash in experimental no longer diverts the /bin/sh
symlink itself, so in the future the first two steps will not be
necessary.  The dash maintainer wanted to include this change in
bookworm, but was turned down by the release team[1].

> Of course, there's still the question of the *reason* why this change
> was made and why using anything but dash for /bin/sh is now considered
> no longer supported. I don't have any explanation for that, and until
> the maintainers actually give one, neither do the rest of us - but in
> the absence of one, it's hard to be sure that pointing the symlink to
> /bin/bash won't break something.

Unfortunately neither the Debian changelog of dash nor the commit
message for this change[2] give an explanation.  Removing the debconf
handling certainly simplifies the package, and there are not too many
scripts around that start with "#!/bin/sh" and fail to work with dash -
these are the reasons I can think of.

There is also an open bug against the release notes[3] filed by the dash
maintainer.

Cheers,
   Sven

1. https://bugs.debian.org/1035745
2. 
https://salsa.debian.org/debian/dash/-/commit/c322a1c9fc6be11d7eb4439407c0a398aba8bbb7
3. https://bugs.debian.org/1036907



Re: "dpkg-reconfigure" dash no longer works

2023-06-10 Thread S M
On Sat, Jun 10, 2023 at 09:49:14AM -0400, Greg Wooledge wrote:

> There's no point debating any further.  S M has a unique desire, which
> is not shared by any other person I've ever heard of, and they're going
> to do what they want.

I didn't mean this to be a discussion about my particular wants or needs (As I
said, I have that sorted out already). I was just raising a question about the
reasons for this change as it removes a theoretically harmless option that was
there before.



Re: "dpkg-reconfigure" dash no longer works

2023-06-10 Thread gene heskett

On 6/9/23 20:33, S M wrote:

On Fri, Jun 09, 2023 at 08:00:51PM -0400, Greg Wooledge wrote:

On Fri, Jun 09, 2023 at 05:45:04PM -0500, S M wrote:

Regarding a workaround, I ended up creating a symlink /usr/local/bin/sh
pointing to bash and chsh to that.


Why?  Why not simply chsh to /bin/bash if that's what you want as your
interactive shell?

Are you somehow relying on bash's disabling of certain features when
invoked as "sh", in interactive mode?  I don't understand that at all.



Yes. POSIX-compliance is a feature to me. I'd actually be fine with
using dash itself but the lack of command line editing and filename
completion is a deal-breaker to me.

.

+10 (or more)

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: "dpkg-reconfigure" dash no longer works

2023-06-10 Thread S M
On Sat, Jun 10, 2023 at 02:12:14PM +0100, Darac Marjal wrote:

> Is command-line editing part of POSIX, then? Are you suggesting that dash is
> missing some bit of POSIX compliance? That's possible.

Command-line editing in vi-mode is defined by POSIX, but it's not mandatory as
far as I know.



Re: "dpkg-reconfigure" dash no longer works

2023-06-10 Thread Greg Wooledge
On Sat, Jun 10, 2023 at 02:12:14PM +0100, Darac Marjal wrote:
> On 10/06/2023 01:32, S M wrote:
> > Yes. POSIX-compliance is a feature to me. I'd actually be fine with
> > using dash itself but the lack of command line editing and filename
> > completion is a deal-breaker to me.

> Is command-line editing part of POSIX, then? Are you suggesting that dash is
> missing some bit of POSIX compliance? That's possible.

There's no point debating any further.  S M has a unique desire, which
is not shared by any other person I've ever heard of, and they're going
to do what they want.



Re: "dpkg-reconfigure" dash no longer works

2023-06-10 Thread Darac Marjal


On 10/06/2023 01:32, S M wrote:

On Fri, Jun 09, 2023 at 08:00:51PM -0400, Greg Wooledge wrote:

On Fri, Jun 09, 2023 at 05:45:04PM -0500, S M wrote:

Regarding a workaround, I ended up creating a symlink /usr/local/bin/sh
pointing to bash and chsh to that.

Why?  Why not simply chsh to /bin/bash if that's what you want as your
interactive shell?

Are you somehow relying on bash's disabling of certain features when
invoked as "sh", in interactive mode?  I don't understand that at all.


Yes. POSIX-compliance is a feature to me. I'd actually be fine with
using dash itself but the lack of command line editing and filename
completion is a deal-breaker to me.
Is command-line editing part of POSIX, then? Are you suggesting that 
dash is missing some bit of POSIX compliance? That's possible.


OpenPGP_signature
Description: OpenPGP digital signature


Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread S M
On Fri, Jun 09, 2023 at 08:00:51PM -0400, Greg Wooledge wrote:
> On Fri, Jun 09, 2023 at 05:45:04PM -0500, S M wrote:
> > Regarding a workaround, I ended up creating a symlink /usr/local/bin/sh
> > pointing to bash and chsh to that.
> 
> Why?  Why not simply chsh to /bin/bash if that's what you want as your
> interactive shell?
> 
> Are you somehow relying on bash's disabling of certain features when
> invoked as "sh", in interactive mode?  I don't understand that at all.
> 

Yes. POSIX-compliance is a feature to me. I'd actually be fine with
using dash itself but the lack of command line editing and filename
completion is a deal-breaker to me.



Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 05:45:04PM -0500, S M wrote:
> Regarding a workaround, I ended up creating a symlink /usr/local/bin/sh
> pointing to bash and chsh to that.

Why?  Why not simply chsh to /bin/bash if that's what you want as your
interactive shell?

Are you somehow relying on bash's disabling of certain features when
invoked as "sh", in interactive mode?  I don't understand that at all.



Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread S M
On Fri, Jun 09, 2023 at 04:07:03PM -0400, Greg Wooledge wrote:

> Nothing you wrote here is incorrect, but none of it explains the policy
> change that has occurred.  I won't even say it's a bad policy change.
> It makes at least a little bit of sense...

Yeah, I'd also like to know what was the reason to change this.
Regarding a workaround, I ended up creating a symlink /usr/local/bin/sh
pointing to bash and chsh to that.

But, the way I see it, any portable POSIX-compliant script should be
able to run in both dash and bash. If a script runs with dash but not
bash, it means one of three things:

   1 The script is not portable to begin with. (the script has a bug or
   the wrong shebang)

   2 The script is interpreted incorrectly by bash but not dash. (bash
   has a bug)

   3 The script is portable but it's interpreted incorrectly by dash,
   and this wrong behavior is what the scriptwriter wants. (dash has a
   bug)

So it seems to me that this change will only end up sweeping bugs under
the rug. Which I guess is not that bad of a thing as long as the system
works, but I digress. In any case, all three can be fixed by changing
the shebang to #!/bin/dash without much additional work. So I'm just
curious about what was the reason behind taking away this choice from
the user.



Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread songbird
Greg Wooledge wrote:
...
> Huh.  Well, that's rather important, isn't it?
>
> The package maintainers seem to have forgotten to TELL us this, at least
> in the NEWS.Debian.gz file, which still says only:
>
> unicorn:/usr/share/doc/dash$ zless NEWS.Debian.gz 
> dash (0.5.5.1-2.1) unstable; urgency=low
>
>   * The default system shell (/bin/sh) has been changed to dash for
> new installations.  When upgrading existing installations, the
> system shell will not be changed automatically.
>   * One can see what the current default system shell on this machine
> is by running 'readlink /bin/sh'.
>   * Change it by running 'dpkg-reconfigure dash'. 
>
>  -- Luk Claes   Wed, 22 Jul 2009 17:23:20 +0200

  did you notice the date?  that's some time ago...  which
might be why it wasn't thought of as a change for now.

  i vaguely recall this.


> I've updated the wiki, so at least we have that much warning for users,
> not that many people will read it.


  songbird



Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 08:20:52PM +0200, didier gaumet wrote:
> Le 09/06/2023 à 15:38, S M a écrit :
> > I noticed on a newly installed system with Debian 12 that dpkg-reconfigure 
> > no longer allows to switch the /bin/sh symlink from dash to bash. This is 
> > apparently intentional as per the following:

> This is explained in the wiki:
> - dash is the Debian default non-interactive shell for speed and compliance
> to standard (setup of /bin/sh)
> - bash is the Debian default interactive shell for ease of use (setup of
> /etc/adduser.conf)

Nothing you wrote here is incorrect, but none of it explains the policy
change that has occurred.  I won't even say it's a bad policy change.
It makes at least a little bit of sense...

... but it should not have come as a *surprise* 2 days before the release.

... and it should not be missing from the dash package's NEWS file.

> https://wiki.debian.org/Shell

Another wiki page that I'll need to look at and possibly edit.  Thanks.



Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread didier gaumet

Le 09/06/2023 à 15:38, S M a écrit :

Good day.

I noticed on a newly installed system with Debian 12 that dpkg-reconfigure no 
longer allows to switch the /bin/sh symlink from dash to bash. This is 
apparently intentional as per the following:

https://launchpad.net/debian/+source/dash/0.5.11+git20210903+057cd650a4ed-4

I couldn't find any additional context or rationale. I would like to know if 
this is going to be a permanent change. Debian currently disables command line 
editing in dash builds, so that makes it unusable as an interactive shell.

Thank you very much for everything.



Hello,

This is explained in the wiki:
- dash is the Debian default non-interactive shell for speed and 
compliance to standard (setup of /bin/sh)
- bash is the Debian default interactive shell for ease of use (setup of 
/etc/adduser.conf)


https://wiki.debian.org/Shell



Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread The Wanderer
On 2023-06-09 at 12:00, Charles Curley wrote:

> On Fri, 9 Jun 2023 13:38:25 +
> S M  wrote:
> 
>> I noticed on a newly installed system with Debian 12 that
>> dpkg-reconfigure no longer allows to switch the /bin/sh symlink from
>> dash to bash.
> 
> You can still change it manually (rm ; ln -s).

Or just 'ln -sf', to do it in something closer to an atomic fashion.

Except that, since (at least from what I can see on a quick check) the
/bin/sh symlink appears to be shipped explicitly in the dash package,
next time that package gets upgraded the symlink will probably be
overwritten with one pointing back to dash again.

If the system is smart enough to not replace a sysadmin-edited symlink
during package upgrade, then that wouldn't happen - but I'd honestly
expect that it would, since otherwise if a symlink got messed up and
broke things, reinstalling the package it came from wouldn't be
guaranteed to fix those things.

Of course, there's still the question of the *reason* why this change
was made and why using anything but dash for /bin/sh is now considered
no longer supported. I don't have any explanation for that, and until
the maintainers actually give one, neither do the rest of us - but in
the absence of one, it's hard to be sure that pointing the symlink to
/bin/bash won't break something.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread Charles Curley
On Fri, 9 Jun 2023 13:38:25 +
S M  wrote:

> I noticed on a newly installed system with Debian 12 that
> dpkg-reconfigure no longer allows to switch the /bin/sh symlink from
> dash to bash.

You can still change it manually (rm ; ln -s).

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 07:20:29AM -0700, Kushal Kumaran wrote:
> >From the comments on
> https://salsa.debian.org/debian/dash/-/commit/c322a1c9fc6be11d7eb4439407c0a398aba8bbb7,
> this is intentional and permanent.  /bin/sh pointing to bash is no
> longer supported.

Huh.  Well, that's rather important, isn't it?

The package maintainers seem to have forgotten to TELL us this, at least
in the NEWS.Debian.gz file, which still says only:

unicorn:/usr/share/doc/dash$ zless NEWS.Debian.gz 
dash (0.5.5.1-2.1) unstable; urgency=low

  * The default system shell (/bin/sh) has been changed to dash for
new installations.  When upgrading existing installations, the
system shell will not be changed automatically.
  * One can see what the current default system shell on this machine
is by running 'readlink /bin/sh'.
  * Change it by running 'dpkg-reconfigure dash'. 

 -- Luk Claes   Wed, 22 Jul 2009 17:23:20 +0200


I've updated the wiki, so at least we have that much warning for users,
not that many people will read it.



Re: "dpkg-reconfigure" dash no longer works

2023-06-09 Thread Kushal Kumaran
On Fri, Jun 09 2023 at 01:38:25 PM, S M  wrote:
> Good day.
>
> I noticed on a newly installed system with Debian 12 that
> dpkg-reconfigure no longer allows to switch the /bin/sh symlink from
> dash to bash. This is apparently intentional as per the following:
>
> https://launchpad.net/debian/+source/dash/0.5.11+git20210903+057cd650a4ed-4
>
> I couldn't find any additional context or rationale. I would like to
> know if this is going to be a permanent change. Debian currently
> disables command line editing in dash builds, so that makes it
> unusable as an interactive shell.
>
> Thank you very much for everything.

>From the comments on
https://salsa.debian.org/debian/dash/-/commit/c322a1c9fc6be11d7eb4439407c0a398aba8bbb7,
this is intentional and permanent.  /bin/sh pointing to bash is no
longer supported.  Change your login shell to bash, if that's what you
want, using chsh.

-- 
regards,
kushal



Re: dpkg-reconfigure n'écoute pas debconf-set-selections (pour tzdata)

2020-12-03 Thread Charles Plessy
Le Thu, Dec 03, 2020 at 05:00:00PM +0200, Daniel Caillibaud a écrit :
> 
> Plus généralement, où peut-on trouver l'info des choix que ferait un
>   dpkg-reconfigure -f noninteractive xxx
> 
> Faut aller fouiner dans /var/lib/dpkg/info/xxx.config ?
> 
> Pour /var/lib/dpkg/info/tzdata.config on comprend comment c'est sensé
> fonctionner (même sans connaître le shell car les commentaires sont clairs),
> mais je sais pas si y'a un moyen plus rapide et générique pour avoir
> l'info.

Je ne connais pas de meilleure méthode...

Bonne journée,

-- 
Charles



Re: dpkg-reconfigure n'écoute pas debconf-set-selections (pour tzdata)

2020-12-03 Thread Daniel Caillibaud
Le 03/12/20 à  7h46, Charles Plessy  a écrit :
> je pense que ce n'est pas un bug, parce que « debconf n'est pas conçu
> pour être un système d'enregistrement et ne peut pas être utilisé comme
> tel », dixit man debconf-devel(7).
> https://manpages.debian.org/debconf-devel
> 
> Les paquets ne vont chercher des informations dans debconf que lorsque
> /etc n'en a pas encore.

Merci, je comprends mieux… debconf doit être vu les paramètres
d'installation par défaut lorsque rien n'est précisé dans /etc.

Paramètres qu'on peut préciser à l'installation ou plus tard (avec
debconf-set-selections), mais qui ne doivent surtout pas prendre le pas sur
une modification qu'aurait fait l'admin.

Et effectivement ça semble mieux comme ça.

On m'a soufflé un exemple où ce serait fâcheux s'il en était autrement :
- choix d'une zone à l'install (mettons Seoul parce que c'est un pc
  préinstallé en corée, ou une install faite avec en preseed coréen)
- l'admin fixe sa zone Europe/Paris via /etc/localtime et /etc/timezone
- lors de l'upgrade suivant du paquet tzdata, si debconf était la source
  d'autorité on se retrouverait avec Asie/Seoul

Plus généralement, où peut-on trouver l'info des choix que ferait un
  dpkg-reconfigure -f noninteractive xxx

Faut aller fouiner dans /var/lib/dpkg/info/xxx.config ?

Pour /var/lib/dpkg/info/tzdata.config on comprend comment c'est sensé
fonctionner (même sans connaître le shell car les commentaires sont clairs),
mais je sais pas si y'a un moyen plus rapide et générique pour avoir
l'info.

-- 
Daniel

Une maxime de charcutier chinois : la rondelle ne fait pas le printemps.
Coluche



Re: dpkg-reconfigure n'écoute pas debconf-set-selections (pour tzdata)

2020-12-02 Thread Charles Plessy
Le Wed, Dec 02, 2020 at 06:19:11PM +0100, Daniel Caillibaud a écrit :
> 
> Visiblement, si /etc/localtime pointe sur une timezone le 
>   dpkg-reconfigure tzdata -f noninteractive
> utilise cette timezone et ignore debconf.
> 
> C'est pas un bug ?

Bonjour Daniel,

je pense que ce n'est pas un bug, parce que « debconf n'est pas conçu
pour être un système d'enregistrement et ne peut pas être utilisé comme
tel », dixit man debconf-devel(7).  https://manpages.debian.org/debconf-devel

Les paquets ne vont chercher des informations dans debconf que lorsque
/etc n'en a pas encore.

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813226#20

Bon, effectivement, corriger un bug, c'est parfois assez brutal pour
ceux qui avaient appris empiriquement que c'était la manière normale
de fonctionner :(

Bonne journée,

Charles

-- 
Charles Plessy Nagahama, Yomitan, Okinawa, Japan



Re: dpkg-reconfigure n'écoute pas debconf-set-selections (pour tzdata)

2020-12-02 Thread Daniel Caillibaud
Le 30/11/20 à 16h56, Daniel Caillibaud  a écrit :
> Bonjour,
> 
> J'essaie d'imposer une timezone en mode non interactif avec
> debconf-set-selections et y'a un truc qui m'échappe…
> 
> # je veux avoir Europe/Paris sans avoir à répondre à une question, je me
> mets d'abord sur une autre timezone # par ex en répondant Europe/Riga
> dpkg-reconfigure tzdata
> Current default time zone: 'Europe/Riga'
> 
> # on vérifie debconf
> debconf-show tzdata|grep ^*
> * tzdata/Zones/Europe: Riga
> * tzdata/Areas: Europe
> * tzdata/Zones/Etc: UTC
> 
> # je select Europe/Paris
> printf 'tzdata tzdata/Areas select Europe\ntzdata tzdata/Zones/Europe
> select Paris\n'|debconf-set-selections
> 
> # je vérifie qu'il a compris ce que je voulais
> debconf-show tzdata|grep ^*
> * tzdata/Areas: Europe
> * tzdata/Zones/Etc: UTC
> * tzdata/Zones/Europe: Paris
> 
> # ok, j'applique la sélection
> dpkg-reconfigure tzdata -fnoninteractive
> 
> Current default time zone: 'Europe/Riga'
> 
> WTF 

Visiblement, si /etc/localtime pointe sur une timezone le 
  dpkg-reconfigure tzdata -f noninteractive
utilise cette timezone et ignore debconf.

C'est pas un bug ?

J'hésite à ouvrir un bug, pour tzdata ou debconf ?
(à priori plutôt tzdata vu les bugs déjà ouverts, notamment [1])

En tout cas, visiblement il faut, au choix

1) ne pas utiliser debconf et manuellement changer le symlink avant
reconfigure
  ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
  dpkg-reconfigure tzdata -f noninteractive

2) virer /etc/localtime (et /etc/timezone, plus sûr car les anciennes
versions de tzdata utilisaient ce fichier, ça semble plus le cas mais
y'a encore un bug ouvert là-dessus[1])
  rm -f /etc/localtime /etc/timezone 
  printf 'tzdata tzdata/Areas select Europe\ntzdata tzdata/Zones/Europe select 
Paris\n'|debconf-set-selections 1132
  dpkg-reconfigure tzdata -fnoninteractive

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813226#20
et aussi https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848143

-- 
Daniel

J'ai souvent regretté mes discours, jamais mes silences.
Publilius Syrus



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-07-24 Thread Jonas Smedegaard
Quoting David Wright (2019-07-16 19:41:17)
> On Sat 11 May 2019 at 01:22:09 (+0200), Jonas Smedegaard wrote:
> > > Den 2019-05-10 kl. 18:21, skrev David Wright:
> > > > For example, I append lines to /etc/console-setup/remap.inc to 
> > > > do things like enhancing the navigation keys, and preventing 
> > > > Alt-space from producing NO-BREAK SPACE (because it's too easy 
> > > > to catch the Alt by mistake). Little things like that. And in 
> > > > fvwm I have keys for audio control, taking screen shots, 
> > > > capturing the screen as a movie, rotating the monitor with 
> > > > xrandr, etc.
> > 
> > @David, if you care to share your personal tweaks then I am 
> > interested in having a closer look, for inspiration and possibly for 
> > more general use.
> 
> Sorry for the delay replying, but in view of my managing to get 
> stretch installed on the last of my machines, and with buster coming 
> up, I'd thought I'd do a bit of tidying.

Thanks a lot!

I am currently deeply engaged at Debconf in Curitiba, Brazil - but I 
will sure have a closer look at your many details later, and see if I 
can make some of them more reusable.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-07-17 Thread David Wright
On Wed 17 Jul 2019 at 05:53:30 (+0200), Erik Josefsson wrote:
> On 17 July 2019 01:22:52 CEST, David Wright  wrote:
> >On Sat 11 May 2019 at 10:10:42 (+0200), Erik Josefsson wrote:
> >> […]
> >> That encourages me to ask another stupid question: I'd like to know
> >> why the "Keyboard model" has to be set before "Keyboard layout" when
> >> walking through the dpkg-reconfigure menues?
> >> 
> >> If it was the other way around, the first choice, "Keyboard layout",
> >> could perhaps make an informed selection from the list of "Keyboard
> >> models" that could be relevant at all.
> >
> >I wasn't aware that dpkg-reconfigure keyboard-configuration had
> >any decision-making abilities like that. I think it just turns
> >multiword descriptive lists into the pithy descriptions, so that
> >you don't have to know that a "Generic 105-key (Intl) PC" keyboard
> >becomes "pc105" and a Right Alt key for AltGr becomes
> >"lv3:ralt_switch".
> >
> >> In any case, what you care about as a user is "Keyboard layout", and
> >> in most cases when you have to make a series of choices, you start
> >> with your known knowns, not your known unknowns.
> >
> >My experience is that Keyboard Models is critical. Without getting
> >that correct, defining CapsLock as my Compose key is futile because
> >the driver doesn't seem to have a clue where the CapsLock is.
> >(That's for an "Acer laptop" PC.)
> 
> Hi David, which "driver doesn't seem to have a clue"?

I have few ideas there. I would imagine that it's something in
/lib/modules/4.9.0-9-amd64/kernel/drivers/input, likely generated
from something in linux-source-4.9/drivers/input. I don't know
whether the kernel operates at that level, or whether it's just
handing scancodes over to, say, kbd_mode for it to sort out.
Sorry, I'm just dealing in symptoms rather than causes, and only
to the depth required to get my configuration definitions working.

At the moment, I've only installed buster onto one machine (of six).
I've noticed that one or two .xsession-1-$HOSTNAME files (hooked
into .xsession) have a couple of xmodmap commands which I want
to eliminate (and check that it doesn't interfere with anything).
Each Debian distribution brings a few necessary tweaks with it, and
I try to leverage the Debian Way, removing workarounds and obsolete
methods that accumulated in the past.

So, for example, I noticed that the buster laptop was sitting with
the backlight on all morning, only to discover:

$ cat /sys/module/kernel/parameters/consoleblank
600
$ 

and no trace of /etc/kbd/config to set it in. (Where is it set in
stretch?) So now I've put
\e[9;11]\S \n \l \d  \t
into /etc/issue, and I might put kbdrate back into root's crontab
(which I tried a while back, helping Cindy log in)
https://lists.debian.org/debian-user/2016/04/msg00953.html
while I figure out what's been moved where.

Cheers,
David.



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-07-16 Thread Erik Josefsson
Hi David, which "driver doesn't seem to have a clue"?

//Erik

sorry for top posting

On 17 July 2019 01:22:52 CEST, David Wright  wrote:
>On Sat 11 May 2019 at 10:10:42 (+0200), Erik Josefsson wrote:
>> […]
>> That encourages me to ask another stupid question: I'd like to know
>> why the "Keyboard model" has to be set before "Keyboard layout" when
>> walking through the dpkg-reconfigure menues?
>> 
>> If it was the other way around, the first choice, "Keyboard layout",
>> could perhaps make an informed selection from the list of "Keyboard
>> models" that could be relevant at all.
>
>I wasn't aware that dpkg-reconfigure keyboard-configuration had
>any decision-making abilities like that. I think it just turns
>multiword descriptive lists into the pithy descriptions, so that
>you don't have to know that a "Generic 105-key (Intl) PC" keyboard
>becomes "pc105" and a Right Alt key for AltGr becomes
>"lv3:ralt_switch".
>
>> In any case, what you care about as a user is "Keyboard layout", and
>> in most cases when you have to make a series of choices, you start
>> with your known knowns, not your known unknowns.
>
>My experience is that Keyboard Models is critical. Without getting
>that correct, defining CapsLock as my Compose key is futile because
>the driver doesn't seem to have a clue where the CapsLock is.
>(That's for an "Acer laptop" PC.)
>
>Cheers,
>David.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-07-16 Thread David Wright
On Sat 11 May 2019 at 10:10:42 (+0200), Erik Josefsson wrote:
> […]
> That encourages me to ask another stupid question: I'd like to know
> why the "Keyboard model" has to be set before "Keyboard layout" when
> walking through the dpkg-reconfigure menues?
> 
> If it was the other way around, the first choice, "Keyboard layout",
> could perhaps make an informed selection from the list of "Keyboard
> models" that could be relevant at all.

I wasn't aware that dpkg-reconfigure keyboard-configuration had
any decision-making abilities like that. I think it just turns
multiword descriptive lists into the pithy descriptions, so that
you don't have to know that a "Generic 105-key (Intl) PC" keyboard
becomes "pc105" and a Right Alt key for AltGr becomes "lv3:ralt_switch".

> In any case, what you care about as a user is "Keyboard layout", and
> in most cases when you have to make a series of choices, you start
> with your known knowns, not your known unknowns.

My experience is that Keyboard Models is critical. Without getting
that correct, defining CapsLock as my Compose key is futile because
the driver doesn't seem to have a clue where the CapsLock is.
(That's for an "Acer laptop" PC.)

Cheers,
David.



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-07-16 Thread David Wright
On Sat 11 May 2019 at 01:22:09 (+0200), Jonas Smedegaard wrote:
> > Den 2019-05-10 kl. 18:21, skrev David Wright:
> > > For example, I append lines to /etc/console-setup/remap.inc to do 
> > > things like enhancing the navigation keys, and preventing Alt-space 
> > > from producing NO-BREAK SPACE (because it's too easy to catch the 
> > > Alt by mistake). Little things like that.
> > > And in fvwm I have keys for audio control, taking screen shots, 
> > > capturing the screen as a movie, rotating the monitor with xrandr, 
> > > etc.
> 
> @David, if you care to share your personal tweaks then I am interested 
> in having a closer look, for inspiration and possibly for more general 
> use.

Sorry for the delay replying, but in view of my managing to get
stretch installed on the last of my machines, and with buster
coming up, I'd thought I'd do a bit of tidying.

The starting point for what I do is the composed characters that are
provided in X from /usr/share/X11/locale/en_US.UTF-8/Compose. So I
attempt to provide the same sequences to get the same characters on
the VC, just for ones that I personally use a lot.

The definitions go into /etc/console-setup/remap.inc, but AIUI you
have to include any default ones (which are mainly those for European
languages's diacriticals) because remap.inc overwrites them. I'm not
certain where the master list is, so   dumpkeys --compose-only   on
an unmodified system is the easiest way I've found to pick them up.

I failed to duplicate the X sequences for one or two characters,
I think because you're limited to two keystrokes after the Compose,
and possibly also to the Basic Multilingual Plane of Unicode. So,
for example, I use -- and __ on VCs in place of --. and --- on X
for the en and em dashes.

Then there are some common characters that aren't defined in X, so
I put those in ~/.XCompose (with matching ones in remap.inc). Again,
you have to respecify the system defaults, but in .XCompose you can
do it with an include (saving 6000 lines).

I also have a few more exotic characters that are only defined in
emacs using its ^X8 method, like diagonal, double, and double-headed
arrows.

All these work pretty much the same across all my machines/keyboards
(though I don't need £ and ¬ on my British ones). However, the fvwm
definitions vary much more because I try to match keys' functions
mnemonically with keycap engravings, and the latter vary widely,
particularly the coloured Fn keys on laptops.

So, for example, typing Sh-Alt-[☼+] or [☼-] (where Fn-[☼+] and [☼-]
increase and decrease brightness) starts or stops ffmpeg recording
of the whole screen as a movie, and Alt-[□■] (I don't remember what
Fn-[□■] is supposed to do) takes a screenshot of the whole screen.
Adding Shift- to the latter takes the screenshot after a delay.
Most keyboards have audio keys which X can recognise.

So my fvwm configuration files contains lines like:

Key F1  A   C   Exec exec amixer -c 1 -- sset Master 0 mute
Key F1  A   S   Exec exec amixer -c 1 -- sset Speaker 0 mute
Key F1  A   CS  Exec exec amixer -c 1 -- sset Headphone 0 mute
Key F2  A   C   Exec exec amixer -c 1 -- sset Master 5%- unmute
Key F2  A   S   Exec exec amixer -c 1 -- sset Speaker 5%- unmute
Key F2  A   CS  Exec exec amixer -c 1 -- sset Headphone 5%- 
unmute
Key F3  A   C   Exec exec amixer -c 1 -- sset Master 5%+ unmute
Key F3  A   S   Exec exec amixer -c 1 -- sset Speaker 5%+ unmute
Key F3  A   CS  Exec exec amixer -c 1 -- sset Headphone 5%+ 
unmute

Key F10 A   4   Maximize 100 100
Key F10 A   M   Exec exec myfvwm-scrot-key-png.sh
Key F10 A   SM  Exec exec myfvwm-scrot-key-png-delayed.sh
Key F10 R   M   Exec exec myfvwm-scrot-key-root-png.sh
Key F10 R   SM  Exec exec myfvwm-scrot-key-root-png-delayed.sh
Key F11 A   4   Raise
Key F11 A   M   -
Key F11 A   SM  Exec exec myfvwm-killcapture.sh
Key F12 A   4   Stick
Key F12 A   M   -
Key F12 A   SM  Exec exec myfvwm-capture.sh

# This performs Left/Right mouse clicks in an application (W: specifically for 
the browser,
# R: Left click in Root, but also activates Ctrl-Right click in Root!)
Key Print   WR  N   FakeClick depth 0 press 1 wait 25 release 1
Key Print   W   C   FakeClick depth 0 press 3 wait 25 release 3

I've attached some files mentioned.

Cheers,
David.
# /etc/console-setup/remap.inc last edited 2019-07-07
# The system-supplied file has only comments, so it can be replaced.
# After editing this file, run the following on a VC:
# dpkg-reconfigure console-setup
# If this file isn't perfectly correct, it will
# at best do nothing, and at worst screw things up.

# Ctrl-arrow keys need to send the same codes in VCs as in X/xterm.
Control 

Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-22 Thread Erik Josefsson

On 5/22/19 12:40 PM, David Wright wrote:

On Wed 22 May 2019 at 04:06:46 (+), Erik Josefsson wrote:

On 5/5/19 7:21 AM, Jonas Smedegaard wrote:

I don't know if there is a screw loose in your laptop, or
warewolves pissed on a USB plugs.

Well, what comes out of one of the keyboards now is p.

In response to your pressing keys, or spontaneously?
Rapidly or intermittently?


I found the laptop "p"-ing when coming back after wiping, among other 
things, baby drool in another room. My daughter is 19 months.


More specifically, I came back to a growing line of p's in an open text 
document in Mousepad (the xfce editor). I did not press any key, nor was 
the p's coming rapidly or intermittently. I just closed Mousepad.



Is this permanent (whenever you switch on) or just occasional?


It continued in Thunderbird, but less aggressive, kind of like at the 
end of the walk with the dog (if the allegory still holds for another joke).



Or did it start mid-session?


I think more like mid session, but not sure. I have now put that laptop 
on the shelf.


If something similar happens with this laptop, we can rule out baby 
drool. I'm keeping it safe from now on.


But it also means I will have to stop testing things and instead find 
for another mode of working with Debian.



After dpkg-reconfigure console-setup or keyboard-configuration?


Probably unrelated.

But you never know (full moons etc).

Best regards.

//Erik



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-22 Thread David Wright
On Wed 22 May 2019 at 15:18:36 (+0200), Jonas Smedegaard wrote:
> Quoting David Wright (2019-05-22 14:40:28)
> > On Wed 22 May 2019 at 04:06:46 (+), Erik Josefsson wrote:
> > > On 5/5/19 7:21 AM, Jonas Smedegaard wrote:
> > > > I don't know if there is a screw loose in your laptop, or
> > > > warewolves pissed on a USB plugs.
> > > 
> > > Well, what comes out of one of the keyboards now is p.
> > 
> > In response to your pressing keys, or spontaneously?
> > Rapidly or intermittently?
> > Is this permanent (whenever you switch on) or just occasional?
> > Or did it start mid-session?
> > After dpkg-reconfigure console-setup or keyboard-configuration?
> 
> or the really scary one: Does it happen only when the moon is full?

:)

But I have a problem with this laptop where these questions would be
answered thus:

Spontaneously. Intermittently. Occasional. Not mid-session.
Not after dpkg-reconfigure. (And the characters typed are NULs.)
"What comes out of one of the keyboards now is ^@^@^@^@^@^@"
wouldn't help much in diagnosing my problem.

Cheers,
David.



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-22 Thread Jonas Smedegaard
Quoting David Wright (2019-05-22 14:40:28)
> On Wed 22 May 2019 at 04:06:46 (+), Erik Josefsson wrote:
> > On 5/5/19 7:21 AM, Jonas Smedegaard wrote:
> > > I don't know if there is a screw loose in your laptop, or
> > > warewolves pissed on a USB plugs.
> > 
> > Well, what comes out of one of the keyboards now is p.
> 
> In response to your pressing keys, or spontaneously?
> Rapidly or intermittently?
> Is this permanent (whenever you switch on) or just occasional?
> Or did it start mid-session?
> After dpkg-reconfigure console-setup or keyboard-configuration?

or the really scary one: Does it happen only when the moon is full?


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-22 Thread David Wright
On Wed 22 May 2019 at 04:06:46 (+), Erik Josefsson wrote:
> On 5/5/19 7:21 AM, Jonas Smedegaard wrote:
> > I don't know if there is a screw loose in your laptop, or
> > warewolves pissed on a USB plugs.
> 
> Well, what comes out of one of the keyboards now is p.

In response to your pressing keys, or spontaneously?
Rapidly or intermittently?
Is this permanent (whenever you switch on) or just occasional?
Or did it start mid-session?
After dpkg-reconfigure console-setup or keyboard-configuration?

Cheers,
David.



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-21 Thread Erik Josefsson

On 5/5/19 7:21 AM, Jonas Smedegaard wrote:

I don't know if there is a screw loose in your laptop, or
warewolves pissed on a USB plugs.


Well, what comes out of one of the keyboards now is p.

Could be warewolf p's, or baby drool.

It's magic either way.

//Erik



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-11 Thread Erik Josefsson

Den 2019-05-11 kl. 01:22, skrev Jonas Smedegaard:

Quoting Erik Josefsson (2019-05-11 00:51:38)

My original problem was that I could not figure out how to get both
Swedish and pipe "|" at all (which Jonas duly noted by removing "¦"
from the original subject line).

I edited the subject line in my posts unrelated to the content of the
thread: Since recently emails sent by my "alot" which is my main Mail
User Agent (MUA) gets rejected by Debian servers if header fields
contain non-ASCII characters.


The unintended consequence of interpreting your slight edit of the 
subject line as a comment on the content of the thread was that I 
learned a lot about my own mistakes :-)


Thank you!

That encourages me to ask another stupid question: I'd like to know why 
the "Keyboard model" has to be set before "Keyboard layout" when walking 
through the dpkg-reconfigure menues?


If it was the other way around, the first choice, "Keyboard layout", 
could perhaps make an informed selection from the list of "Keyboard 
models" that could be relevant at all.


In any case, what you care about as a user is "Keyboard layout", and in 
most cases when you have to make a series of choices, you start with 
your known knowns, not your known unknowns.


Best regards.

//Erik



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-10 Thread Jonas Smedegaard
Quoting Erik Josefsson (2019-05-11 00:51:38)
> My original problem was that I could not figure out how to get both 
> Swedish and pipe "|" at all (which Jonas duly noted by removing "¦" 
> from the original subject line).

I edited the subject line in my posts unrelated to the content of the 
thread: Since recently emails sent by my "alot" which is my main Mail 
User Agent (MUA) gets rejected by Debian servers if header fields 
contain non-ASCII characters.

If someone happen to know the "alot" MUA and can tell the tweaking 
needed to its configuration then great, but I don't have the time for 
broader suggestions requiring me to debug on my own, so I simply try 
avoid non-ASCII characters in header fields :-/


> Den 2019-05-10 kl. 18:21, skrev David Wright:
> > For example, I append lines to /etc/console-setup/remap.inc to do 
> > things like enhancing the navigation keys, and preventing Alt-space 
> > from producing NO-BREAK SPACE (because it's too easy to catch the 
> > Alt by mistake). Little things like that.
> > And in fvwm I have keys for audio control, taking screen shots, 
> > capturing the screen as a movie, rotating the monitor with xrandr, 
> > etc.

@David, if you care to share your personal tweaks then I am interested 
in having a closer look, for inspiration and possibly for more general 
use.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-10 Thread Erik Josefsson

Den 2019-05-10 kl. 18:21, skrev David Wright:

On Fri 10 May 2019 at 15:45:34 (+0200), Erik Josefsson wrote:



https://www.iso.org/standard/57852.html

If it was compliant, then I guess that would make an informed choice
of "Keyboard model" easier than it is now.





The only rule I know is that claiming compliance with standards can
cost serious money.



Thanks for that insight and explanation!



And there's my major hick-up: 7 keys would be plenty if the output
would suffice to consist of about 100 different signals since 2^7=128
(to later map on characters, numbers and whatnot). 8 keys would be
excessive. I do understand the historical reasons for 105 keys (or
80), but how they relate to what really matters (the digital output)
is a mystery.

I don't think that these shifty keys are treated in such a logical
manner. I've always assumed that there's a keyboard controller chip
that's stamping "personality" on the keys, particularly Fn.



Indeed there is a keyboard controller chip that "takes care of all 
keyboard matrix scanning, key de-bouncing and communications with the 
computer, and has an internal buffer if the keystroke data cannot be 
sent immediately. The PC motherboard decodes the data received from the 
keyboard via the PS/2 port using interrupt IRQ1".


More from same source: "If, for example, you press 'shift' and 'A' then 
both keys will generate their own scan codes, the 'A' scan code value is 
not changed if a shift or control key is also pressed. Pressing the 
letter 'A' generates 'lC'h make code and when released the break code is 
'F0'h, 'lC'h.

Pressing 'shift' and 'A' keys will generate the following scan codes:
The make code for the 'shift' key is sent '12'h.
The make code for the 'A' key is sent 'lC'h.
The break code for the 'A' key is sent 'F0'h, 'lC'h.
The break code for the 'shift' key is sent 'F0'h,' 12'h.
If the right shift was pressed then the make code is '59'h and break 
code is 'F0'h, '59'h.
By analysing these scan codes the PC software can determine which key 
was pressed. By looking at the shift keystroke the software can 
distinguish between upper and lower case."


source: 
https://www.isy.liu.se/edu/kurs/TSTE12/laboration/TSTE12_Lab1_170824.pdf


Thanks for the hints leading me to that page.



It cannot really be physicality of the "Keyboard models", nor the
(brand) names of the them, but rather the digital output that is
defining whether one "Keyboard model" is different from the other. Or
am I completely wrong here?

If I am not wrong, the next question is if there are really 193
different keyboard models in that sense?

I mean, with the same keyboard layout (e.g. Finnish), how many of the
193 would give the exact same result on screen with one particular
keyboard (e.g. the Teres laptop)?

I guess more than two (which I now know is the case).

My own take: to be on that list, someone maintaining X has to obtain a
model of that keyboard to map out all the keys. By the time that's
been done, time has past and you likely will find that that model is
history as far as shopping is concerned. Unlike with kernel
development, there's not the pressure to keep up with new models as
they come out. Pruning the list of its older models is not a
priority either.



Unfortunately that makes perfect sense.





I guess that with only 80 keys on your keyboard, many of the
differences between these different models are dealing with keys you
simply don't have. I can use pc105 for all my laptop, however many
keys they have.

As far as I can see, the "source code" to Teres' keyboard does not say
anything about that, but the Schematics file lists 25 different keys
(KBD_X0 to KBD_X16 and KBD_Y0 to KBD_Y7), and there is a micro
controller ATMEGA16U4-AU.

https://github.com/OLIMEX/DIY-LAPTOP/blob/master/HARDWARE/A64-TERES/TERES-PCB5-KEYBOARD/Rev.A/TERES-PCB5-KEYBOARD_Rev.A.sch

I'm fine with thinking that KBD_X0, KBD_X1 etc on the "inside" are
connected to the 40 physical keys on the "outside". Actually with 23
electronic keys to combine, it would be enough with an unique output
per electronic key plus ,  and + to get 92
different combinations. That should be enough, no?

Enough for what? I'm not sure what you mean. But as far as your use of
the keyboard is concerned, the keypresses have been through the
microprocessor, the kernel, and perhaps the xorg driver, so you're
not going to see any one-to-one mapping.



Sorry for writing out loud, I'm not sure what I was thinking. But 
anyway, it should be possible to write a program that listens to 
keypresses and asks you to press different keys like the "left-of-z key" 
and then suggest to you which "Keyboard model" you actually have, 
regardless which "Keyboard model" you have chosen with dpkg-reconfigure. 
Then no pruning of the list would be necessary.


(I mean something like "people who have ¦ left of Z often also have Å to 
the right of P", maybe you'd like a 105 Intl. model?", it doesn't have 
to be exactly right)






What's 

Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-10 Thread David Wright
On Fri 10 May 2019 at 15:45:34 (+0200), Erik Josefsson wrote:
> Thanks for helping me sort out my thoughts!

OK, but I don't claim any expertise here.

> Den 2019-05-06 kl. 22:42, skrev David Wright:
> > [Disclaimer: I'm not familiar with the Teres keyboard beyond looking at
> > https://www.olimex.com/Products/DIY-Laptop/SPARE-PARTS/TERES-006-Keyboard/
> > (assuming this is it), and I've no idea of what keys your USB keyboard
> > has, nor knowledge of Swedish keyboard conventions.]
> 
> Yes, that's the Teres keyboard.
> 
> The wikipedia picture ofISO/IEC 9995-3:2002 applied to the US keyboard
> layout has 3 keys to the left and 4 keys to the right of the spacebar.
> Teres has 4 keys to the left and 3 keys to the right, otherwise they
> look the same (also the print on the keys):
> 
> https://en.wikipedia.org/wiki/ISO/IEC_9995#/media/File:KB_US-ISO9995-3.svg

No surprises there, then. I've never seen R-Win on any keyboards that
aren't full size, nor a laptop without a Fn key, usually on the left.

> This similarity makes me wonder why I cannot find any information from
> Olimex (or elsewhere) whether the Teres keyboard is fully compliant
> with the ISO standard that seems to be the one at hand (and which also
> seems current):
> 
> https://www.iso.org/standard/57852.html
> 
> If it was compliant, then I guess that would make an informed choice
> of "Keyboard model" easier than it is now.
> 
> I also guess that compliance would not only mean that the number of
> keys, their relative positions and the print on the keycaps would be
> defined, but also, and more importantly, that the digital output would
> follow certain rules.

The only rule I know is that claiming compliance with standards can
cost serious money.

> And there's my major hick-up: 7 keys would be plenty if the output
> would suffice to consist of about 100 different signals since 2^7=128
> (to later map on characters, numbers and whatnot). 8 keys would be
> excessive. I do understand the historical reasons for 105 keys (or
> 80), but how they relate to what really matters (the digital output)
> is a mystery.

I don't think that these shifty keys are treated in such a logical
manner. I've always assumed that there's a keyboard controller chip
that's stamping "personality" on the keys, particularly Fn.

> It cannot really be physicality of the "Keyboard models", nor the
> (brand) names of the them, but rather the digital output that is
> defining whether one "Keyboard model" is different from the other. Or
> am I completely wrong here?
> 
> If I am not wrong, the next question is if there are really 193
> different keyboard models in that sense?
> 
> I mean, with the same keyboard layout (e.g. Finnish), how many of the
> 193 would give the exact same result on screen with one particular
> keyboard (e.g. the Teres laptop)?
> 
> I guess more than two (which I now know is the case).

My own take: to be on that list, someone maintaining X has to obtain a
model of that keyboard to map out all the keys. By the time that's
been done, time has past and you likely will find that that model is
history as far as shopping is concerned. Unlike with kernel
development, there's not the pressure to keep up with new models as
they come out. Pruning the list of its older models is not a
priority either.

> > I guess that with only 80 keys on your keyboard, many of the
> > differences between these different models are dealing with keys you
> > simply don't have. I can use pc105 for all my laptop, however many
> > keys they have.
> 
> As far as I can see, the "source code" to Teres' keyboard does not say
> anything about that, but the Schematics file lists 25 different keys
> (KBD_X0 to KBD_X16 and KBD_Y0 to KBD_Y7), and there is a micro
> controller ATMEGA16U4-AU.
> 
> https://github.com/OLIMEX/DIY-LAPTOP/blob/master/HARDWARE/A64-TERES/TERES-PCB5-KEYBOARD/Rev.A/TERES-PCB5-KEYBOARD_Rev.A.sch
> 
> I'm fine with thinking that KBD_X0, KBD_X1 etc on the "inside" are
> connected to the 40 physical keys on the "outside". Actually with 23
> electronic keys to combine, it would be enough with an unique output
> per electronic key plus ,  and + to get 92
> different combinations. That should be enough, no?

Enough for what? I'm not sure what you mean. But as far as your use of
the keyboard is concerned, the keypresses have been through the
microprocessor, the kernel, and perhaps the xorg driver, so you're
not going to see any one-to-one mapping.

> > What's more important is the layout: for example a British layout
> > puts \| left of z, whereas a US one will make that key <> and the
> > \| will be 3 keys right of p. In response to that, and deleting
> > £, many of the other punctuation characters get shuffled around.
> > 
> > The "key that's missing" usually refers to that left-of-z key,
> > (i) because the fact that it's the only punctuation character
> > thereabouts makes it rather obvious that it's missing, (ii) small
> > US keyboards don't have it whereas British (and 

Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-10 Thread Erik Josefsson

Hi David!

Thanks for helping me sort out my thoughts!

Den 2019-05-06 kl. 22:42, skrev David Wright:

On Sun 05 May 2019 at 20:52:40 (+0200), Erik Josefsson wrote:

Den 2019-05-05 kl. 16:26, skrev David Wright:

Is this some sort of ticking off for wondering why the OP is*so*
keen to be able to type ¦ directly on the keyboard that they are
almost willing to use a USB keyboard with a laptop to get it?
Particularly as the wiki page referred to above has a reference to
http://jkorpela.fi/latin1/3.html#A6
which states "It is advisable to avoid using this character, since its
code position is occupied by another character in ISO Latin 9 (alias
ISO 8859-15), which will probably widely replace ISO Latin 1 at least
in European usage."

Now, using Unicode might avoid this danger, but it's still odd to
want this character so much when it appears to be as much of a relic
as the aforementioned ECU is. And, after all, the answer is that
they didn't.

For what it's worth, I had the foggy idea that I had to figure out how
to make the Teres keyboard reproduce the output from the Scandinavian
USB keyboard. What else would be "right"?

[Disclaimer: I'm not familiar with the Teres keyboard beyond looking at
https://www.olimex.com/Products/DIY-Laptop/SPARE-PARTS/TERES-006-Keyboard/
(assuming this is it), and I've no idea of what keys your USB keyboard
has, nor knowledge of Swedish keyboard conventions.]


Yes, that's the Teres keyboard.

The wikipedia picture ofISO/IEC 9995-3:2002 applied to the US keyboard 
layout has 3 keys to the left and 4 keys to the right of the spacebar. 
Teres has 4 keys to the left and 3 keys to the right, otherwise they 
look the same (also the print on the keys):


https://en.wikipedia.org/wiki/ISO/IEC_9995#/media/File:KB_US-ISO9995-3.svg

This similarity makes me wonder why I cannot find any information from 
Olimex (or elsewhere) whether the Teres keyboard is fully compliant with 
the ISO standard that seems to be the one at hand (and which also seems 
current):


https://www.iso.org/standard/57852.html

If it was compliant, then I guess that would make an informed choice of 
"Keyboard model" easier than it is now.


I also guess that compliance would not only mean that the number of 
keys, their relative positions and the print on the keycaps would be 
defined, but also, and more importantly, that the digital output would 
follow certain rules.


And there's my major hick-up: 7 keys would be plenty if the output would 
suffice to consist of about 100 different signals since 2^7=128 (to 
later map on characters, numbers and whatnot). 8 keys would be 
excessive. I do understand the historical reasons for 105 keys (or 80), 
but how they relate to what really matters (the digital output) is a 
mystery.



It cannot really be physicality of the "Keyboard models", nor the 
(brand) names of the them, but rather the digital output that is 
defining whether one "Keyboard model" is different from the other. Or am 
I completely wrong here?


If I am not wrong, the next question is if there are really 193 
different keyboard models in that sense?


I mean, with the same keyboard layout (e.g. Finnish), how many of the 
193 would give the exact same result on screen with one particular 
keyboard (e.g. the Teres laptop)?


I guess more than two (which I now know is the case).



When the 105 and 102 options then gave the same result, it got
completely lost.

And I'm still kind of lost since I don't really understand what a
"Keyboard model" is. So already at the first menu choice of
dpkg-reconfigure keyboard-configuration I don't really know what I'm
doing there.

In the dpkg-reconfigure keyboard-configuration menu there are [193
different keyboard models] to choose from.

But two of them are the same, at least from the point of view of a
Teres laptop.

How does that work?

I guess that with only 80 keys on your keyboard, many of the
differences between these different models are dealing with keys you
simply don't have. I can use pc105 for all my laptop, however many
keys they have.



As far as I can see, the "source code" to Teres' keyboard does not say 
anything about that, but the Schematics file lists 25 different keys 
(KBD_X0 to KBD_X16 and KBD_Y0 to KBD_Y7), and there is a micro 
controller ATMEGA16U4-AU.


https://github.com/OLIMEX/DIY-LAPTOP/blob/master/HARDWARE/A64-TERES/TERES-PCB5-KEYBOARD/Rev.A/TERES-PCB5-KEYBOARD_Rev.A.sch

I'm fine with thinking that KBD_X0, KBD_X1 etc on the "inside" are 
connected to the 40 physical keys on the "outside". Actually with 23 
electronic keys to combine, it would be enough with an unique output per 
electronic key plus ,  and + to get 92 
different combinations. That should be enough, no?




What's more important is the layout: for example a British layout
puts \| left of z, whereas a US one will make that key <> and the
\| will be 3 keys right of p. In response to that, and deleting
£, many of the other punctuation characters get shuffled around.

The "key 

Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-06 Thread David Wright
On Sun 05 May 2019 at 20:52:40 (+0200), Erik Josefsson wrote:
> Den 2019-05-05 kl. 16:26, skrev David Wright:
> > Is this some sort of ticking off for wondering why the OP is*so*
> > keen to be able to type ¦ directly on the keyboard that they are
> > almost willing to use a USB keyboard with a laptop to get it?
> > Particularly as the wiki page referred to above has a reference to
> > http://jkorpela.fi/latin1/3.html#A6
> > which states "It is advisable to avoid using this character, since its
> > code position is occupied by another character in ISO Latin 9 (alias
> > ISO 8859-15), which will probably widely replace ISO Latin 1 at least
> > in European usage."
> > 
> > Now, using Unicode might avoid this danger, but it's still odd to
> > want this character so much when it appears to be as much of a relic
> > as the aforementioned ECU is. And, after all, the answer is that
> > they didn't.
> 
> For what it's worth, I had the foggy idea that I had to figure out how
> to make the Teres keyboard reproduce the output from the Scandinavian
> USB keyboard. What else would be "right"?

[Disclaimer: I'm not familiar with the Teres keyboard beyond looking at
https://www.olimex.com/Products/DIY-Laptop/SPARE-PARTS/TERES-006-Keyboard/
(assuming this is it), and I've no idea of what keys your USB keyboard
has, nor knowledge of Swedish keyboard conventions.]

> When the 105 and 102 options then gave the same result, it got
> completely lost.
> 
> And I'm still kind of lost since I don't really understand what a
> "Keyboard model" is. So already at the first menu choice of
> dpkg-reconfigure keyboard-configuration I don't really know what I'm
> doing there.
> 
> In the dpkg-reconfigure keyboard-configuration menu there are [193
> different keyboard models] to choose from.
> 
> But two of them are the same, at least from the point of view of a
> Teres laptop.
> 
> How does that work?

I guess that with only 80 keys on your keyboard, many of the
differences between these different models are dealing with keys you
simply don't have. I can use pc105 for all my laptop, however many
keys they have.

What's more important is the layout: for example a British layout
puts \| left of z, whereas a US one will make that key <> and the
\| will be 3 keys right of p. In response to that, and deleting
£, many of the other punctuation characters get shuffled around.

The "key that's missing" usually refers to that left-of-z key,
(i) because the fact that it's the only punctuation character
thereabouts makes it rather obvious that it's missing, (ii) small
US keyboards don't have it whereas British (and I assume many
European) ones usually do.

You mentioned your Scandinavian USB keyboard with it's "broken bar"
in that left-of-z position. The "broken" appearance has been a
traditional engraving on the pipe keycap for years and doesn't
have any particular significance significance: the key produces
pipe when typed normally (ie shifted).

I don't know how they decide which glyphs should be typed when
the AltGr key is used. Perhaps it's not too surprising that they
place ¦ on the | key as a mnemonic. To what end, who knows? The
glyph is virtually useless. But what does your USB keyboard produce
when you type this key with just shift pressed?

Cheers,
David.



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-05 Thread Erik Josefsson

Den 2019-05-05 kl. 16:26, skrev David Wright:

Is this some sort of ticking off for wondering why the OP is*so*
keen to be able to type ¦ directly on the keyboard that they are
almost willing to use a USB keyboard with a laptop to get it?
Particularly as the wiki page referred to above has a reference to
http://jkorpela.fi/latin1/3.html#A6
which states "It is advisable to avoid using this character, since its
code position is occupied by another character in ISO Latin 9 (alias
ISO 8859-15), which will probably widely replace ISO Latin 1 at least
in European usage."

Now, using Unicode might avoid this danger, but it's still odd to
want this character so much when it appears to be as much of a relic
as the aforementioned ECU is. And, after all, the answer is that
they didn't.


For what it's worth, I had the foggy idea that I had to figure out how 
to make the Teres keyboard reproduce the output from the Scandinavian 
USB keyboard. What else would be "right"?


When the 105 and 102 options then gave the same result, it got 
completely lost.


And I'm still kind of lost since I don't really understand what a 
"Keyboard model" is. So already at the first menu choice of 
dpkg-reconfigure keyboard-configuration I don't really know what I'm 
doing there.


In the dpkg-reconfigure keyboard-configuration menu there are [193 
different keyboard models] to choose from.


But two of them are the same, at least from the point of view of a Teres 
laptop.


How does that work?

//Erik

[193 different keyboard models]

A4Tech KB-21
A4Tech KBS-8
A4Tech Wireless Desktop RFKB-23 — безжична
Acer AirKey V
Acer C300
Acer Ferrari 4000
Acer portàtil
Advance Scorpius KI
Amiga
Apple
Apple Aluminium (ANSI)
Apple Aluminium (ISO)
Apple Aluminium (JIS)
Apple portàtil
Asus portàtil
Atari TT
Azona RF2300 wireless Internet
BenQ X-Touch
BenQ X-Touch 730
BenQ X-Touch 800
Brother Internet
BTC 5090
BTC 5113RF Multimedia
BTC 5126T
BTC 6301URF
BTC 9000
BTC 9000A
BTC 9001AH
BTC 9019U
BTC 9116U Mini Wireless Internet and Gaming — безжична, за Интернет и игри
Cherry Blue Line CyBo@rd
Cherry Blue Line CyBo@rd (alt.)
Cherry B.UNLIMITED
Cherry CyBo@rd USB-Hub
Cherry CyMotion Expert
Cherry CyMotion Master Linux
Cherry CyMotion Master XPress
Chicony Internet
Chicony KB-9885
Chicony KU-0108
Chicony KU-0420
Chromebook
Classmate PC
Compaq Armada portàtil
Compaq Easy Access
Compaq Internet (13 tecles)
Compaq Internet (18 tecles)
Compaq Internet (7 tecles)
Compaq iPaq
Compaq Presario portàtil
Creative Desktop Wireless 7000 — безжична
Dell
Dell 101-key PC
Dell Inspiron 6000/8000 portàtil
Dell Latitude portàtil
Dell Precision M65 portàtil
Dell Precision M portàtil
Dell SK-8125
Dell SK-8135
Dell USB Multimedia
Dexxa Wireless Desktop
Diamond 9801/9802
DTK2000
eMachines m6800 portàtil
Ennyah DKB-1008
Everex STEPnote
FL90
Fujitsu-Siemens Amilo portàtil
Generies 101-sleutel PC
Generies 104-sleutel PC
Genius Comfy KB-12e
Genius Comfy KB-16M/Multimedia KWD-910
Genius Comfy KB-21e-Scroll
Genius KB-19e NB
Genius KKB-2050HS
Gyration
Happy Hacking
Happy Hacking per Mac
Hewlett-Packard Internet
Hewlett-Packard Mini 110 portàtil
Hewlett-Packard NEC SK-2500 Multimedia
Hewlett-Packard nx9020
Hewlett-Packard Omnibook 500
Hewlett-Packard Omnibook 500 FA
Hewlett-Packard Omnibook 6000/6100
Hewlett-Packard Omnibook XE3 GC
Hewlett-Packard Omnibook XE3 GF
Hewlett-Packard Omnibook XT1000
Hewlett-Packard Pavilion dv5
Hewlett-Packard Pavilion ZT1100
Honeywell Euroboard
HTC Dream
IBM Rapid Access
IBM Rapid Access II
IBM Space Saver
IBM ThinkPad 560Z/600/600E/A22E
IBM ThinkPad R60/T60/R61/T61
IBM ThinkPad Z60m/Z60t/Z61m/Z61t
Keytronic FlexPro
Logitech
Logitech Access
Logitech Cordless Desktop
Logitech Cordless Desktop (alt.)
Logitech Cordless Desktop EX110
Logitech Cordless Desktop iTouch
Logitech Cordless Desktop LX-300 — безжична
Logitech Cordless Desktop Navigator
Logitech Cordless Desktop Optical
Logitech Cordless Desktop Pro (2a. alt.)
Logitech Cordless Freedom/Desktop Navigator
Logitech diNovo
Logitech diNovo Edge
Logitech G15, допълнителни клавиши чрез G15daemon
Logitech Internet
 Logitech Internet 350
Logitech Internet Navigator
Logitech iTouch
Logitech iTouch Cordless Y-RB6
Logitech iTouch Internet Navigator SE
Logitech iTouch Internet Navigator SE USB
Logitech Ultra-X
Logitech Ultra-X Cordless Media Desktop
MacBook/MacBook Pro
MacBook/MacBook Pro (intl.)
Macintosh
Macintosh (oud)
Memorex MX1998
Memorex MX2500 EZ-Access
Memorex MX2750
Microsoft Comfort Curve 2000
Microsoft Internet
Microsoft Internet Pro (Suec)
Microsoft Natural Elite
Microsoft Natural Ergonomic 4000
Microsoft Natural Pro OEM
Microsoft Natural Pro/Internet Pro
Microsoft Natural Pro USB/Internet Pro
Microsoft Natural Wireless Ergonomic 7000
Microsoft Natuurlik
Microsoft Office sleutelbord
Microsoft Wireless Multimedia 1.0A
NEC SK-1300
NEC SK-2500
NEC SK-6200
NEC SK-7100
Northgate OmniKey 101
OLPC
Ortek Multimedia/Internet MCK-800
PC-98
PC genèric de 102 tecles (intl.)
PC genèric de 105 tecles (intl.)

Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-05 Thread Jonas Smedegaard
Quoting David Wright (2019-05-05 16:26:26)
> On Sat 04 May 2019 at 21:16:25 (+0200), Jonas Smedegaard wrote:
> > Quoting David Wright (2019-05-04 20:14:12)
> > > We British are used to having £ available, but US keyboards don't 
> > > even have ¢.
> > 
> > ¢ (ecu) is obsolete since many years.
> 
> Er. Americans still have cents (¢).
> 
> The ECU (₠) was never a real currency anyway.

Whoops - I guess that reveals how rarely (i.e. never) I use cent sign 
:-)

Thanks for the correction!

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-05 Thread David Wright
On Sat 04 May 2019 at 21:16:25 (+0200), Jonas Smedegaard wrote:
> Quoting David Wright (2019-05-04 20:14:12)
> > On Sat 04 May 2019 at 12:23:48 (-0400), Kenneth Parker wrote:
> > > On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:
> > > 
> > > > And it works! Now I am just missing "|" and "¦".
> > > 
> > > With US Keyboards, I see either of those characters, right of the 
> > > "p" key.
> > > I was not aware that there were two, distinct characters.
> > > 
> > > One of them ("|" on my current keyboard) is used as a "Pipe" symbol, 
> > > for when I "pipe" the results of one command into another.
> > > 
> > > Which?
> > 
> > Pipe lies between { and } and is 7-bit ASCII, whereas the other one
> > lies between Yen and Section. I'm not sure why the OP wants to be able
> > to type it directly from one keystroke. Look at the company it keeps:
> > ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À
> > We British are used to having £ available, but US keyboards don't
> > even have ¢.
> 
> ¢ (ecu) is obsolete since many years.

Er. Americans still have cents (¢).

The ECU (₠) was never a real currency anyway. I never saw its symbol
being used in the wild. Its position is way down the Unicode table,
in the company of ₡ ₢ ₣ ₤ ₥ ₦ ₧ ₨ ₩ ₪ ₫ € ₭ ₮ ₯ ₰ ₱, currency signs
that I would have difficulty naming from their symbols, apart from—

> € (euro) is the current currency sign in some of EU.
> 
> As for the original question I simply ignore the odd parts and focus on 
> what I can sensibly contribute to: The pipe sign a.k.a. Unicode 
> "vertical bar": https://en.wikipedia.org/wiki/Vertical_bar

Is this some sort of ticking off for wondering why the OP is *so*
keen to be able to type ¦ directly on the keyboard that they are
almost willing to use a USB keyboard with a laptop to get it?
Particularly as the wiki page referred to above has a reference to
http://jkorpela.fi/latin1/3.html#A6
which states "It is advisable to avoid using this character, since its
code position is occupied by another character in ISO Latin 9 (alias
ISO 8859-15), which will probably widely replace ISO Latin 1 at least
in European usage."

Now, using Unicode might avoid this danger, but it's still odd to
want this character so much when it appears to be as much of a relic
as the aforementioned ECU is. And, after all, the answer is that
they didn't.

Cheers,
David.



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-05 Thread Erik Josefsson

Den 2019-05-05 kl. 12:47, skrev Jonas Smedegaard:

Quoting Erik Josefsson (2019-05-05 12:06:53)

With some stickers to put onto the printed keys I'll be fine. Grateful
for pointers to such.

Did you try search the web e.g. for "keyboard stickers"?

I did! And "swerty" came up!

http://johanegustafsson.net/projects/swerty/

He says "Swerty for Linux" has been tested  on Ubuntu 9.04, 9.10, 10.04, 
and 12.04.


I guess this means I could file a whishlist bug for both "TERES-I 
keyboard" as 'Keyboard model' and and "Swerty" as 'Keyboard layout' as 
choices presented by dpkg-reconfigure keyboard-configuration :-)


Best regards.

//Erik



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-05 Thread Jonas Smedegaard
Quoting Erik Josefsson (2019-05-05 12:06:53)
> With some stickers to put onto the printed keys I'll be fine. Grateful 
> for pointers to such.

Did you try search the web e.g. for "keyboard stickers"?

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-05 Thread Erik Josefsson

Den 2019-05-05 kl. 04:29, skrev Erik Josefsson:

Den 2019-05-04 kl. 21:43, skrev Jonas Smedegaard:

For danish, picking the layout "Danish (Win keys) has pipe key reachable
as AltGr+= (where AltGr is the right Alt key).

I also set "Menu" (which is the key between right Alt and right Ctrl) as
compose key.


So if you were to make a Danish Teres laptop, you'd make the following 
choices in dpkg-reconfigure keyboard-configuration?


Keyboard model:  Generic 102-key PC (intl.)
Keyboard layout: Danish - (Win keys)
Key to function as AltGr:    The default for the keyboard layout
Compose key: Menu key
Use Control+Alt+Backspace to
terminate the X server?  

Those won't work for me, but there are a couple of Finnish options I 
will try. 


Found that keyboard model "Generic 102-key PC (intl.)" and keyboard 
layout "Finnish - Finnish (Winkeys)" works for me (the rest as above).


At last! :-)

With some stickers to put onto the printed keys I'll be fine. Grateful 
for pointers to such.


Sorry for the noise.

//Erik


Configuring keyboard-configuration

Please select the model of the keyboard of this machine.
-Keyboard model: Generic 102-key PC (intl.)
Please select the layout matching the keyboard for this machine.
-Keyboard layout: Danish - Danish (Win keys) [and below "Finnish - 
Finnish (Winkeys)"]
With some keyboard layouts, AltGr is a modifier key used to input some 
characters, primarily ones that are unusual for the language of the 
keyboard layout, such as foreign currency symbols and accented letters. 
These are often printed as an extra symbol on keys.

-Key to function as AltGr:  The default for the keyboard layout
The Compose key (known also as Multi_key) causes the computer to 
interpret the next few keystrokes as a combination in order to produce a 
character not found on the keyboard. On the text console the Compose key 
does not work in Unicode mode. If not in Unicode mode, regardless of 
what you choose here, you can always also use the Control+period 
combination as a Compose key.

-Compose key:  Menu key
By default the combination Control+Alt+Backspace does nothing. If you 
want it can be used to terminate the X server.

-Use Control+Alt+Backspace to terminate the X server? 

Danish - Danish (Win keys)

½½11223344556677889900++´
qqwweerrttyyuuiiooppåå¨''
aassddffgghhjjkkllææøø
zzxxccvvbbnnmm,,..--


§§!!""##¤¤%%&&//(())==??`
QQWWEERRTTYYUUIIOOPPÅÅ^**
AASSDDFFGGHHJJKKLLÆÆØØ
ZZXXCCVVBBNNMM;;::__


¾¾¡¡@@££$$€€¥¥{{[[]]}}±±||
@@łł€€®®þþ←←↓↓→→œœþþ¨~˝
ªªßßððđđŋŋħħ̉ĸĸłł´^
««»»©©““””nnµµ¸··̣

+
¶¶¹¹²²³³¼¼¢¢⅝⅝÷÷««»»°°¿¿¦¦
ΩΩŁŁ¢¢®®ÞÞ¥¥↑↑ııŒŒÞÞ°ˇ××
ºº§§ÐЪªŊŊĦĦ̛&&ŁŁ˝ˇ
<<>>©©‘‘’’NNºº˛˙˙

Finnish - Finnish (Winkeys)

§§11223344556677889900++´
qqwweerrttyyuuiiooppåå¨''
aassddffgghhjjkkllööää
zzxxccvvbbnnmm,,..--


½½!!""##¤¤%%&&//(())==??`
QQWWEERRTTYYUUIIOOPPÅÅ^**
AASSDDFFGGHHJJKKLLÖÖÄÄ
ZZXXCCVVBBNNMM;;::__


/@@££$$€€‚‚{{[[]]}}\\¸
qqww€€rrþþyyuuııœœ̛˝~ˇ
əəßßððffgghhjjĸĸ/øøææ
ʒʒ××ccvvbbŋŋµµ’’̣––

+
¡¡””»»««““„„<<>>°°¿¿˛
QQWWRRÞÞYYUU||ŒŒ̉°ṓ
ƏƏẞẞÐÐFFGGHHJJØØÆÆ
ƷƷ··CCVVBBŊŊ——‘‘˙,



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-05 Thread Jonas Smedegaard
Quoting Erik Josefsson (2019-05-05 03:48:22)
> Den 2019-05-04 kl. 19:08, skrev Jonas Smedegaard:
> > Quoting Kenneth Parker (2019-05-04 18:23:48)
> >> On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:
> >> 
> >>
> >>> -> Generic 105-key PC (intl.)
> >>> -> Other
> >>> -> Swedish
> >>> -> Swedish
> >>> -> The default for the keyboard layout
> >>> -> No compose key
> >>> -> Use Control+Alt+Backspace to terminate the X server? 
> >>> sudo shutdown -h now
> >>>
> >>> And it works! Now I am just missing "|" and "¦".
> > Nothing specific to Teres-I laptop about that.
> 
> How do you know?

Fine.  I don't know if there is a screw loose in your laptop, or 
warewolves pissed on a USB plugs.  Or all those swedish solar flares...

Perhaps you'd better ask a mechanic, a veterinary, and an astronomer for 
help, instead of this mailinglist!


> Please note that both myUSB keyboard and the Teres keyboard delivers 
> identical output with the two dpkg-reconfigure keyboard-configuration 
> options I have tried "Generic 105-key PC (intl.)" and "Generic 102-key 
> PC (intl.)".

If that option works great then don't change that option.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|" and "¦"?)

2019-05-04 Thread Erik Josefsson

Den 2019-05-05 kl. 04:31, skrev Doug:


What is on the last key on the right, directly above the right Enter 
key? On a US keyboard, the is a back slant (unshifted) and the pipe, 
shifted. You haven't mentioned that key at all.


The print on that physical key on the Teres laptop is backslash \ and 
(shifted) pipe | .


The keyboard physically looks like this (also the black letters map on 
the print on the keys):


https://en.wikipedia.org/wiki/ISO/IEC_9995#/media/File:KB_US-ISO9995-3.svg

except for the last row that from left has 
.


Btw, that svg file seems to refer to an ISO standard that looks current:

https://www.iso.org/standard/57852.html

So maybe the Teres keyboard is actually standard compliant, despite (or 
thanks to?) the penguin key?


//Erik








Re: dpkg-reconfigure keyboard-configuration (Swedish with "|" and "¦"?)

2019-05-04 Thread Doug


On 05/04/2019 08:59 PM, Erik Josefsson wrote:

Den 2019-05-04 kl. 18:23, skrev Kenneth Parker:


On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:


-> Generic 105-key PC (intl.)
-> Other
-> Swedish
-> Swedish
-> The default for the keyboard layout
-> No compose key
-> Use Control+Alt+Backspace to terminate the X server? 
sudo shutdown -h now

And it works! Now I am just missing "|" and "¦".


With US Keyboards, I see either of those characters, right of the "p" 
key.  I was not aware that there were two, distinct characters.


One of them ("|" on my current keyboard) is used as a "Pipe" symbol, 
for when I "pipe" the results of one command into another.


Which?



Actually, I'm just missing pipe (for exactly that reason).

The "¦" symbol is apparently called "broken bar" and happens to be the 
what my "scandinavian" USB- keyboard gives when the physical key 
between the  and the  key is pressed together with gr>+. I have never used it before and I don't think it has a 
function in any language, see wikipedia:


https://en.wikipedia.org/wiki/Vertical_bar#Solid_vertical_bar_vs_broken_bar

I have not yet figured out how to make the Teres keyboard do the pipe.

//Erik


What is on the last key on the right, directly above the right Enter 
key? On a US keyboard, the is a back slant (unshifted) and the pipe, 
shifted. You haven't mentioned that key at all.


--doug


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-04 Thread Erik Josefsson

Den 2019-05-04 kl. 21:43, skrev Jonas Smedegaard:

For danish, picking the layout "Danish (Win keys) has pipe key reachable
as AltGr+= (where AltGr is the right Alt key).

I also set "Menu" (which is the key between right Alt and right Ctrl) as
compose key.


So if you were to make a Danish Teres laptop, you'd make the following 
choices in dpkg-reconfigure keyboard-configuration?


Keyboard model:  Generic 102-key PC (intl.)
Keyboard layout: Danish - (Win keys)
Key to function as AltGr:    The default for the keyboard layout
Compose key: Menu key
Use Control+Alt+Backspace to
terminate the X server?  

Those won't work for me, but there are a couple of Finnish options I 
will try.


Thanks for taking time.

//Erik



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-04 Thread Erik Josefsson

Den 2019-05-04 kl. 19:08, skrev Jonas Smedegaard:

Quoting Kenneth Parker (2019-05-04 18:23:48)

On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:



-> Generic 105-key PC (intl.)
-> Other
-> Swedish
-> Swedish
-> The default for the keyboard layout
-> No compose key
-> Use Control+Alt+Backspace to terminate the X server? 
sudo shutdown -h now

And it works! Now I am just missing "|" and "¦".

Nothing specific to Teres-I laptop about that.


How do you know?

There are no signs on the box telling me that the Teres laptop keyboard 
is one or the other of the [keyboards listed] by dpkg-reconfigure 
keyboard-configuration and the link to the hardware source don't say 
either:


https://github.com/OLIMEX/DIY-LAPTOP/tree/master/HARDWARE/A64-TERES/TERES-PCB5-KEYBOARD


Problem is that you want a pipe key "|" reachable


Yes, that is the problem!


on a 102-key keyboard


The Teres laptop keyboard has 80 physical keys. Why do you call it a 
"102-key keyboard"?



with a swedish layout.

Swedish layout is this: https://en.wikipedia.org/wiki/QWERTY#Swedish

Notice how "<" and ">" (on a 105-key US layout is right of "M", shifted)
is left of "Z" on a key which is missing on 102-char keyboards.


Myscandinavian USB keyboard has 105 physical keys, but since the Teres 
laptop keyboard has 80 physical keys I cannot really notice "a key which 
is missing on 102-char keyboards".


Please note that both myUSB keyboard and the Teres keyboard delivers 
identical output with the two dpkg-reconfigure keyboard-configuration 
options I have tried "Generic 105-key PC (intl.)" and "Generic 102-key 
PC (intl.)".


Thanks for feedback!

//Erik


[keyboards listed]

A4Tech KB-21
A4Tech KBS-8
A4Tech Wireless Desktop RFKB-23 — безжична
Acer AirKey V
Acer C300
Acer Ferrari 4000
Acer portàtil
Advance Scorpius KI
Amiga
Apple
Apple
Apple Aluminium (ANSI)
Apple Aluminium (ISO)
Apple Aluminium (JIS)
Apple portàtil
Asus portàtil
Atari TT
Azona RF2300 wireless Internet
BenQ X-Touch
BenQ X-Touch 730
[and more...]



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|" and "¦"?)

2019-05-04 Thread Erik Josefsson

Den 2019-05-04 kl. 18:23, skrev Kenneth Parker:


On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:


-> Generic 105-key PC (intl.)
-> Other
-> Swedish
-> Swedish
-> The default for the keyboard layout
-> No compose key
-> Use Control+Alt+Backspace to terminate the X server? 
sudo shutdown -h now

And it works! Now I am just missing "|" and "¦".


With US Keyboards, I see either of those characters, right of the "p" 
key.  I was not aware that there were two, distinct characters.


One of them ("|" on my current keyboard) is used as a "Pipe" symbol, 
for when I "pipe" the results of one command into another.


Which?



Actually, I'm just missing pipe (for exactly that reason).

The "¦" symbol is apparently called "broken bar" and happens to be the 
what my "scandinavian" USB- keyboard gives when the physical key between 
the  and the  key is pressed together with gr>+. I have never used it before and I don't think it has a 
function in any language, see wikipedia:


https://en.wikipedia.org/wiki/Vertical_bar#Solid_vertical_bar_vs_broken_bar

I have not yet figured out how to make the Teres keyboard do the pipe.

//Erik




Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-04 Thread Jonas Smedegaard
Quoting Jonas Smedegaard (2019-05-04 19:08:19)
> Quoting Kenneth Parker (2019-05-04 18:23:48)
> > On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:
> > 
> > 
> > > -> Generic 105-key PC (intl.)
> > > -> Other
> > > -> Swedish
> > > -> Swedish
> > > -> The default for the keyboard layout
> > > -> No compose key
> > > -> Use Control+Alt+Backspace to terminate the X server? 
> > > sudo shutdown -h now
> > >
> > > And it works! Now I am just missing "|" and "¦".
> 
> Nothing specific to Teres-I laptop about that.
> 
> Problem is that you want a pipe key "|" reachable on a 102-key keyboard 
> with a swedish layout.
> 
> Swedish layout is this: https://en.wikipedia.org/wiki/QWERTY#Swedish
> 
> Notice how "<" and ">" (on a 105-key US layout is right of "M", shifted) 
> is left of "Z" on a key which is missing on 102-char keyboards.

For danish, picking the layout "Danish (Win keys) has pipe key reachable 
as AltGr+= (where AltGr is the right Alt key).

I also set "Menu" (which is the key between right Alt and right Ctrl) as 
compose key.  That enables a range of additional key combos (but pipe 
unreachable as it requires ^ directly reachable which in danish layout 
in Shift'ed).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-04 Thread Jonas Smedegaard
Quoting David Wright (2019-05-04 20:14:12)
> On Sat 04 May 2019 at 12:23:48 (-0400), Kenneth Parker wrote:
> > On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:
> > 
> > > And it works! Now I am just missing "|" and "¦".
> > 
> > With US Keyboards, I see either of those characters, right of the 
> > "p" key.
> > I was not aware that there were two, distinct characters.
> > 
> > One of them ("|" on my current keyboard) is used as a "Pipe" symbol, 
> > for when I "pipe" the results of one command into another.
> > 
> > Which?
> 
> Pipe lies between { and } and is 7-bit ASCII, whereas the other one
> lies between Yen and Section. I'm not sure why the OP wants to be able
> to type it directly from one keystroke. Look at the company it keeps:
> ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À
> We British are used to having £ available, but US keyboards don't
> even have ¢.

¢ (ecu) is obsolete since many years.

€ (euro) is the current currency sign in some of EU.

As for the original question I simply ignore the odd parts and focus on 
what I can sensibly contribute to: The pipe sign a.k.a. Unicode 
"vertical bar": https://en.wikipedia.org/wiki/Vertical_bar


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|" and "¦"?)

2019-05-04 Thread David Wright
On Sat 04 May 2019 at 12:23:48 (-0400), Kenneth Parker wrote:
> On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:
> 
> > And it works! Now I am just missing "|" and "¦".
> 
> With US Keyboards, I see either of those characters, right of the "p" key.
> I was not aware that there were two, distinct characters.
> 
> One of them ("|" on my current keyboard) is used as a "Pipe" symbol, for
> when I "pipe" the results of one command into another.
> 
> Which?

Pipe lies between { and } and is 7-bit ASCII, whereas the other one
lies between Yen and Section. I'm not sure why the OP wants to be able
to type it directly from one keystroke. Look at the company it keeps:
¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À
We British are used to having £ available, but US keyboards don't
even have ¢.

Cheers,
David.



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-04 Thread Jonas Smedegaard
Quoting Kenneth Parker (2019-05-04 18:23:48)
> On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:
> 
> 
> > -> Generic 105-key PC (intl.)
> > -> Other
> > -> Swedish
> > -> Swedish
> > -> The default for the keyboard layout
> > -> No compose key
> > -> Use Control+Alt+Backspace to terminate the X server? 
> > sudo shutdown -h now
> >
> > And it works! Now I am just missing "|" and "¦".

Nothing specific to Teres-I laptop about that.

Problem is that you want a pipe key "|" reachable on a 102-key keyboard 
with a swedish layout.

Swedish layout is this: https://en.wikipedia.org/wiki/QWERTY#Swedish

Notice how "<" and ">" (on a 105-key US layout is right of "M", shifted) 
is left of "Z" on a key which is missing on 102-char keyboards.


> With US Keyboards, I see either of those characters, right of the "p" key.
> I was not aware that there were two, distinct characters.
> 
> One of them ("|" on my current keyboard) is used as a "Pipe" symbol, for
> when I "pipe" the results of one command into another.
> 
> Which?

https://en.wikipedia.org/wiki/Vertical_bar#Solid_vertical_bar_vs_broken_bar

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|" and "¦"?)

2019-05-04 Thread Kenneth Parker
On Sat, May 4, 2019 at 10:37 AM Erik Josefsson  wrote:


> -> Generic 105-key PC (intl.)
> -> Other
> -> Swedish
> -> Swedish
> -> The default for the keyboard layout
> -> No compose key
> -> Use Control+Alt+Backspace to terminate the X server? 
> sudo shutdown -h now
>
> And it works! Now I am just missing "|" and "¦".
>

With US Keyboards, I see either of those characters, right of the "p" key.
I was not aware that there were two, distinct characters.

One of them ("|" on my current keyboard) is used as a "Pipe" symbol, for
when I "pipe" the results of one command into another.

Which?

>
> I have tried "Generic 105-key PC (intl.)" and "Generic 102-key PC
> (intl.)" in the menue following the command 'dpkg-reconfigure
> keyboard-configuration' (see above), but there is no difference between
> 105 and 102 wrt what the Teres keyboard produce on screen (see below).
>
> I have also tried with an USB keyboard which has one extra key between
>  and . That extra key delivers "|") and "¦" with both
> "Generic 105-key PC (intl.)" and "Generic 102-key PC (intl.)" (and
> Swedish).
>
> I can of course use the USB keyboard with my laptop, but it would be
> more convenient if I could get the Teres keyboard to do "|" and "¦".
>
> So, does anyone know how to make the Teres keyboard not only output
> Swedish letters, but also "|" and  "¦"?
>
> Maybe there is a "keyboard model" I can choose that is a better fit than
> "Generic 105-key PC (intl.)" and"Generic 102-key PC (intl.)"?
>

Thanks!

Kenneth Parker

>
> Thank you for your time.
>
> //Erik
>
> 
>
>


Re: dpkg-reconfigure non interractif

2013-01-09 Thread Nicolas PHAM
Bonjour,

rien dans */etc/dpkg/dpkg.cfg ?

@+
*


Le 9 janvier 2013 12:31, Nicolas Roudninski nicor...@gmail.com a écrit :

 Bonjour,

 Je repose la question au cas où quelqu'un aurait une idée, une piste :

 Sur mon serveur debian, depuis quelques jours la commande
 dpkg-reconfigure paquet n'est plus interactive. Par exemple, quand je
 lance dpkg-reconfigure localepurge, rien ne se passe. J'ai tenté un
 dpkg-reconfigure debconf, même résultat.

 Auriez-vous une piste ?

 Merci d'avance.

 --
 Nicolas
 nicor...@gmail.com




-- 
Nicolas PHAM
Powered by GNU/Linux


Re: dpkg-reconfigure n'est plus interactif

2013-01-06 Thread Guy Roussin

Essayes de fixer la priorité (low medium high critical)
dpkg-reconfigure -plow debconf

Guy

On 06/01/2013 11:38, Nicolas Roudninski wrote:

Bonjour à tous et bonne année 2013,

Sur mon serveur debian, depuis quelques jours la commande 
dpkg-reconfigure paquet n'est plus interactive. Par exemple, quand 
je lance dpkg-reconfigure localepurge, rien ne se passe. J'ai tenté 
un dpkg-reconfigure debconf, même résultat.


Auriez-vous une piste ?

Merci d'avance.

--
Nicolas
nicor...@gmail.com mailto:nicor...@gmail.com




Re: dpkg-reconfigure locales et utf8

2012-11-26 Thread Vincent Lefevre
Bonjour,

On 2012-11-24 12:03:32 +0100, fabrice régnier wrote:
 salut la liste,
 
 J'ai décidé de passer complètement une machine en utf8 (j'avais des
 soucis avec mysqladmin qui m'insultait régulièrement).
 
 Un coup de dpkg-reconfigure locales,je vire le fr_FR@euro ISO-8859-15 et
 je mets le fr_FR.UTF-8 UTF-8 uniquement.
 
 maintenant, j'ai bien:
 FA:/tmp# locale
 LANG=fr_FR.UTF-8
 LANGUAGE=
 LC_CTYPE=fr_FR.UTF-8
 LC_NUMERIC=fr_FR.UTF-8
 LC_TIME=fr_FR.UTF-8
 LC_COLLATE=fr_FR.UTF-8
 LC_MONETARY=fr_FR.UTF-8
 LC_MESSAGES=fr_FR.UTF-8
 LC_PAPER=fr_FR.UTF-8
 LC_NAME=fr_FR.UTF-8
 LC_ADDRESS=fr_FR.UTF-8
 LC_TELEPHONE=fr_FR.UTF-8
 LC_MEASUREMENT=fr_FR.UTF-8
 LC_IDENTIFICATION=fr_FR.UTF-8
 LC_ALL=

Il vaut mieux confirmer cette info avec locale charmap, au cas où.

 Mais:
 FA:/tmp# touch /tmp/pépé
 FA:/tmp# ls
 p?p?

Si tu obtiens ça *après* le changement de locales (ce que tu as fait
ci-dessus), ce n'est pas normal. Ton terminal est peut-être toujours
configuré en ISO-8859-15: dans un tel cas, les accents apparaissent
bien quand tu les tapes au clavier et le shell va les accepter
tels quels (même s'ils sont mal encodés), mais le ls va changer les
séquences UTF-8 invalides en ?. Cf sa page man pour le comportement
observé:

   -q, --hide-control-chars
  print ? instead of non graphic characters

   --show-control-chars
  show non graphic characters as-is (default unless program
  is 'ls' and output is a terminal)

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/20121126152314.ga...@xvii.vinc17.org



Re: dpkg-reconfigure locales et utf8

2012-11-25 Thread Jérôme
Le samedi 24 novembre 2012 à 13:44 +0100, Bzzz a écrit :
 Il existe (sous sid) utf8-migration-tool, c'est du python et ça n'est
 pas sûr que ça marche avec une version antérieure de python. 

http://packages.debian.org/search?keywords=utf8-migration-toolsearchon=namessuite=stablesection=all

ça existait déjà au moins sous Lenny, pour etch je ne sais plus.

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/1353835570.14279.1.camel@azuki.jisui



Re: dpkg-reconfigure locales et utf8

2012-11-25 Thread jean
Le Sat, 24 Nov 2012 12:03:32 +0100,
fabrice régnier regnier@free.fr a écrit :

 salut la liste,
 
 J'ai décidé de passer complètement une machine en utf8 (j'avais des
 soucis avec mysqladmin qui m'insultait régulièrement).
 
 Un coup de dpkg-reconfigure locales,je vire le fr_FR@euro ISO-8859-15 et
 je mets le fr_FR.UTF-8 UTF-8 uniquement.
 
 maintenant, j'ai bien:
 FA:/tmp# locale
 LANG=fr_FR.UTF-8
 LANGUAGE=
 LC_CTYPE=fr_FR.UTF-8
 LC_NUMERIC=fr_FR.UTF-8
 LC_TIME=fr_FR.UTF-8
 LC_COLLATE=fr_FR.UTF-8
 LC_MONETARY=fr_FR.UTF-8
 LC_MESSAGES=fr_FR.UTF-8
 LC_PAPER=fr_FR.UTF-8
 LC_NAME=fr_FR.UTF-8
 LC_ADDRESS=fr_FR.UTF-8
 LC_TELEPHONE=fr_FR.UTF-8
 LC_MEASUREMENT=fr_FR.UTF-8
 LC_IDENTIFICATION=fr_FR.UTF-8
 LC_ALL=
 
 Mais:
 FA:/tmp# touch /tmp/pépé
 FA:/tmp# ls
 p?p?
 
 Et dans l'éditeur joe, impossible d'accentuer.
 
 Faut-il que je remette fr_FR@euro ISO-8859-15 ? J'aimerai pourtant bien
 m'en passer.
 
 Merki ;)
 
 f.
 
Il y a pas mal de temps j'avais utilisé convmv qui avait fait le job sans
problème. 


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20121125135524.048d1...@athlon.mbgenetics.dyndns.org



Re: dpkg-reconfigure locales et utf8

2012-11-24 Thread Bzzz
On Sat, 24 Nov 2012 12:03:32 +0100
fabrice régnier regnier@free.fr wrote:

 Un coup de dpkg-reconfigure locales,je vire le fr_FR@euro ISO-8859-15 et
 je mets le fr_FR.UTF-8 UTF-8 uniquement.

O_o, un semblant d'erreur.
 
 Mais:
 FA:/tmp# touch /tmp/pépé
 FA:/tmp# ls
 p?p?

Normal: il ne suffit pas de dire à un livre passe en utf8 pour que
les contenus (antérieurs!) de ses pages migrent également.

Il aussi faut migrer *tous* les fichiers (notamment texte) vers utf8.

 Et dans l'éditeur joe, impossible d'accentuer.
 
 Faut-il que je remette fr_FR@euro ISO-8859-15 ? J'aimerai pourtant bien
 m'en passer.

Vi, c'est plus sage comme décision.

Il existe (sous sid) utf8-migration-tool, c'est du python et ça n'est
pas sûr que ça marche avec une version antérieure de python.
Sinon, la solution la plus rapide est en Gal de faire un backup, 
réinstaller en utf8, ne restaurer que les données voulues et migrer
leurs fichiers vers utf8 en faisant un ch'tit script bash.

-- 
Mauditation: j'ai rien à faire de toute la soirée
Reta: tu voulais pas aller au ciné ?
Mauditation: je crois pas, trop de choses à faire

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/20121124134412.5fcdb31f@anubis.defcon1



Re: dpkg-reconfigure affected by environment variables

2010-01-22 Thread Boyd Stephen Smith Jr.
On Friday 22 January 2010 10:03:07 Vincent Lefevre wrote:
 Is it normal that dpkg-reconfigure can be affected by environment
 variables?

That's pretty normal.  Most programs don't go out of their way to ignore your 
environment settings.

dpkg-reconfigure also uses things like LANG and LC_* for when it invokes 
debconf.

 For instance, I have PERL5LIB set to /home/vlefevre/lib/site_perl,
 and when I do a su, this variable is kept in the environment,
 and in the strace output on a dpkg-reconfigure, I could see that
 $PERL5LIB was searched for Perl modules.

You can use (su -) to get a clean environment.  sudo also has features for 
cleaning the environment when changing users.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: dpkg-reconfigure sysv-rc - error - is this a problem?

2009-10-02 Thread Γιώργος Πάλλας

Charlie wrote:

Hello Everyone,

System Debian Testing [Squeeze] after upgrade:

As root did: dpkg-reconfigure sysv-rc

Got the error messages below:

# dpkg-reconfigure sysv-rc
info: Checking if it is safe to convert to dependency based boot.
error: Unable to migrate to dependency based boot sequencing.
error: Problems detected: insserv: warning: script
'S25libdevmapper1.02' missing LSB tags and overrides,  insserv:
warning: script 'libdevmapper1.02' missing LSB tags and overrides,

[end quote]

Is this a problem?

  


No, it is not a problem: Debian changed its booting philosophy...



smime.p7s
Description: S/MIME Cryptographic Signature


Re: dpkg-reconfigure sysv-rc - error - is this a problem?

2009-10-02 Thread Charlie
On Fri, 02 Oct 2009 09:57:22 +0300 Γιώργος Πάλλας gp...@ccf.auth.gr
sent this information:


Charlie wrote:
 Hello Everyone,

 System Debian Testing [Squeeze] after upgrade:

 As root did: dpkg-reconfigure sysv-rc

 Got the error messages below:

 # dpkg-reconfigure sysv-rc
 info: Checking if it is safe to convert to dependency based boot.
 error: Unable to migrate to dependency based boot sequencing.
 error: Problems detected: insserv: warning: script
 'S25libdevmapper1.02' missing LSB tags and overrides,  insserv:
 warning: script 'libdevmapper1.02' missing LSB tags and overrides,

 [end quote]

 Is this a problem?

   

No, it is not a problem: Debian changed its booting philosophy...


Thank you Γιώργος Πάλλας for your prompt and reassuring reply.

Be well,
Charlie
-- 
Registered Linux User:- 329524
.

I am only one; but still I am one. I cannot do everything, but still
can do something; I will not refuse to do something I can doHelen
Keller

.

Debian GNU/Linux - just the best way to create magic


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: dpkg-reconfigure slapd no hace nada

2009-07-26 Thread BasaBuru
On Domingo 26 Julio 2009 10:01:34 Javier E. Pérez P. escribió:
 hola todos, les para tratar aclarar algo sobre slapd, estaba a punto de
 reportarlo como bug pero primero quería consultar a la audiencia :)

 es que estoy haciendo algo mal?
 es un bug?

No es un bug, tienes que configurar:

/etc/ldap/slapd.conf
/etc/ldap/ldap.conf 
/etc/pam_ldap.conf

Este howto (para etch) que escribí te puede ayudar, es la sección OpenLDAP

http://diariolinux.com/2008/02/22/howto-
debianopensslbind9postfixopenldapcourier-i/

(se parte, pegalo en el navegador)

También se explica como usarlo para autentificar postfix, webdav, etc.

el uso, esta concebido para ser la base de autentificación de todos los 
servicios susceptibles de autentificación.

Un saludo

BasaBuru


signature.asc
Description: This is a digitally signed message part.


Re: Dpkg-reconfigure não funciona!!!

2008-03-05 Thread Bruno Schneider
2008/2/29 Sávio Ramos [EMAIL PROTECTED]:
[...]

  Em nenhuma delas posso ajustar a freqüência do monitor, o driver da
  placa de vídeo etc.


Uma observação que ainda não fizeram: Eu costumo usar sempre drivers
NVidia e não é preciso mais especificar a frequencia do monitor a um
bom tempo. Acho que ela pode ser omitida com qualquer driver (de
outras marcas) atual.

Com relação ao driver, também sinto falta de uma lista para escolher.
Acho que é uma questão de política: assume-se que o usuário não sabe
escolher e o sistema tenta detectar automáticamente. Ao usuário mais
avançado resta a opção de editar o xorg.conf na mão.

-- 
Bruno Schneider
http://www.dcc.ufla.br/~bruno/



Re: Dpkg-reconfigure não funciona!!!

2008-03-02 Thread Fernando Ike
Em Sat, 1 Mar 2008 21:22:01 -0300
Sávio Ramos [EMAIL PROTECTED] escreveu:

 Em Sat, 01 Mar 2008 15:59:44 -0300
 Renato S. Yamane [EMAIL PROTECTED] escreveu:
 
  Então as suas duras críticas sobre o Debian não foram felizes :-)
  SID = Still In Development
 
 Não estou criticando. Estou tentando entender, não quero relatar um
 bug sem antes entender o que está acontecendo.
 
 Já me acostumei com a Sid há mais de cinco anos que a uso. Estou
 acostumado a relatar bugs e este vai um daqueles típicos que vão
 fechar daqui a três meses por falta de informação adicional.
 
 Ah! Existe ainda a opção de que algo mudou no dpkg, no X ou sei lá. O
 arquivo de configuração vem assinalado Configured... donde se pode
 concluir que existe alguma coisa funcionando de forma automática que
 desconsidera o dpkg.


   O que acontece é que a versão que está no SID do Xorg (7.3) tem
reconhecimento automático das configurações de vídeo não necessitando
em princípio do debconf para configurá-lo.

   No wiki do Debian tem um bom texto[1] sobre como modificar resolução
de vídeo e outras coisas.


Referências:

1- http://wiki.debian.org/XStrikeForce/HowToRandR12


[]'s
-- 
Fernando Ike
http://www.midstorm.org/~fike/weblog



Re: Dpkg-reconfigure não funciona!!!

2008-03-01 Thread Renato S. Yamane

Sávio Ramos escreveu:

Renato S. Yamane escreveu:

Estou usando o Debian Etch.


Estou usando a Sid.


Então as suas duras críticas sobre o Debian não foram felizes :-)
SID = Still In Development

Muitas coisas não previsíveis ocorrem na versão SID.

Se não quer ter problemas, use a versão stable (Etch) ou no pior caso 
utilize a versão testing (Lenny).


Att,
Renato



Re: Dpkg-reconfigure não funciona!!!

2008-03-01 Thread Sávio Ramos
Em Sat, 01 Mar 2008 15:59:44 -0300
Renato S. Yamane [EMAIL PROTECTED] escreveu:

 Então as suas duras críticas sobre o Debian não foram felizes :-)
 SID = Still In Development

Não estou criticando. Estou tentando entender, não quero relatar um
bug sem antes entender o que está acontecendo.

Já me acostumei com a Sid há mais de cinco anos que a uso. Estou
acostumado a relatar bugs e este vai um daqueles típicos que vão fechar
daqui a três meses por falta de informação adicional.

Ah! Existe ainda a opção de que algo mudou no dpkg, no X ou sei lá. O
arquivo de configuração vem assinalado Configured... donde se pode
concluir que existe alguma coisa funcionando de forma automática que
desconsidera o dpkg.

-- 
Sávio M Ramos
Arquiteto, Rio, RJ
Só uso Linux desde 2000
www.debian.org



Re: Dpkg-reconfigure não funciona!!!

2008-02-29 Thread Renato S. Yamane

Sávio Ramos escreveu:
Abaixo seguem o conteúdo de todas as telas do comando 
dpkg-reconfigure xserver-xorg


Em nenhuma delas posso ajustar a freqüência do monitor, o driver da
placa de vídeo etc.


Nunca utilizei esse utilitário, mas tentei agora e a primeira coisa que 
ele pediu foi para especificar qual era o modelo da placa de vídeo (ou 
se eu queria habilitar a auto-detecção), ou então selecionar o driver 
apropriado se eu soubesse qual era ele.


O que apareceu para você na primeira tela do dpkg-reconfigure, apareceu 
para mim na quarta-tela.


Não fui adiante pois já notei que há algo diferente entre o seu 
dpkg-reconfigure e o meu.


Estou usando o Debian Etch.

Att,
Renato



Re: Dpkg-reconfigure não funciona!!!

2008-02-29 Thread Krishnamurti L. L. V. Nunes
Em 29/02/08, Renato S. Yamane[EMAIL PROTECTED] escreveu:
 Sávio Ramos escreveu:

  Abaixo seguem o conteúdo de todas as telas do comando
   dpkg-reconfigure xserver-xorg
  
   Em nenhuma delas posso ajustar a freqüência do monitor, o driver da
   placa de vídeo etc.


 Nunca utilizei esse utilitário, mas tentei agora e a primeira coisa que
  ele pediu foi para especificar qual era o modelo da placa de vídeo (ou
  se eu queria habilitar a auto-detecção), ou então selecionar o driver
  apropriado se eu soubesse qual era ele.

  O que apareceu para você na primeira tela do dpkg-reconfigure, apareceu
  para mim na quarta-tela.

  Não fui adiante pois já notei que há algo diferente entre o seu
  dpkg-reconfigure e o meu.

  Estou usando o Debian Etch.

  Att,

 Renato



Experimentem fazer antes um:
# dpkg-reconfigure debconf
e mudar o nível de criticidade das questões que o debconf pergunta.

O padrão é criticidade alta, que quer dizer que apenas perguntas com
prioridade alta ou superior são feitas. Colocando em baixa, todas as
perguntas existentes no template debconf do pacote serão feitas quando
você usar um 'dpkg-reconfigure qualquer-coisa'.

-- 
Krishna



Re: Dpkg-reconfigure não funciona!!!

2008-02-29 Thread Sávio Ramos
Em Fri, 29 Feb 2008 08:24:42 -0300
Renato S. Yamane [EMAIL PROTECTED] escreveu:

 Estou usando o Debian Etch.

Estou usando a Sid.

-- 
Sávio M Ramos
Arquiteto, Rio, RJ
Só uso Linux desde 2000
www.debian.org



Re: Dpkg-reconfigure não funciona!!!

2008-02-29 Thread Sávio Ramos
Em Fri, 29 Feb 2008 13:10:11 -0300
Krishnamurti L. L. V. Nunes [EMAIL PROTECTED] escreveu:

 O padrão é criticidade alta, que quer dizer que apenas perguntas com
 prioridade alta ou superior são feitas. Colocando em baixa, todas as
 perguntas existentes no template debconf do pacote serão feitas quando
 você usar um 'dpkg-reconfigure qualquer-coisa'.

Tentei, mas continua a mesma coisa...

-- 
Sávio M Ramos
Arquiteto, Rio, RJ
Só uso Linux desde 2000
www.debian.org



Re: dpkg-reconfigure locales

2008-02-24 Thread Felipe Augusto van de Wiel (faw)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[ Envie uma nova mensagem para começar uma nova thread ]
[ não roube uma outra thread e troque o assunto dando  ]
[ continuidade a um tema totalmente diferente.   ]

On 22-02-2008 11:47, Tiago Matias - LinuxAP.com.br wrote:
 Amigos estou tentando mudar meu locale mas ele me da esse erro agluém
 pode me ajudar ?
 
 servidor:~# dpkg-reconfigure locales
 Generating locales (this might take a while)...
  pt_BR.ISO-8859-1... done
 Generation complete.
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
LANGUAGE = pt_BR:pt:en,
LC_ALL = (unset),
LANG = pt_BR.UTF-8
are supported and installed on your system.
 perl: warning: Falling back to the standard locale (C).
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
LANGUAGE = pt_BR:pt:en,
LC_ALL = (unset),
LANG = pt_BR.UTF-8
are supported and installed on your system.
 perl: warning: Falling back to the standard locale (C).

Você gerou o pt_BR.ISO-8859-1 mas está configurado
para usar pt_BR e pt_BR.UTF-8, reconfigure as locales e
gere também o local para UTF-8.


Abraço,
- --
Felipe Augusto van de Wiel (faw)
Debian. Freedom to code. Code to freedom!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHwg+BCjAO0JDlykYRAjHDAJ9dn6xjDN0xOINDnexMqTQlgt824wCeLIwB
lVzGpaObeaqX7qqwz0j3DnQ=
=9R7K
-END PGP SIGNATURE-


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



Re: dpkg-reconfigure exim4-config: please help re interfaces to listen on

2008-01-10 Thread Bill Jones
The separator is a dot not a colon or double colon.

1.2.3.4.port  as in 123.123.123.123.2525

HTH/Sx


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



Re: dpkg-reconfigure exim4-config: please help re interfaces to listen on

2008-01-08 Thread Kc9EYE
On Tue, Jan 08, 2008 at 10:14:13AM +, Carr, Chris wrote:
 Hi All,
 
 I can connect to my IMAPS server remotely to read my home email, but
 some places block port 25 outbound so I can't connect to my home SMTP
 server to relay email sent from that account. If I could get exim to
 listen on an unblocked port I could point Outlook at that port and all
 would be well - I could then send email from anywhere.
 
 Using dpkg-reconfigure exim4-config allows me to specify which
 interfaces to listen on - I usually leave it blank to listen on all of
 them, but I guess I need to put any additional ports in here. Can anyone
 tell me the syntax for this? It says Please enter a semicolon-separated
 list of IP addresses. So if my current setup (ie. leaving it blank) is
 effectively the same as
 
 127.0.0.1;192.168.1.1;86.2.3.4
 
 I would expect to just add the additional port like this:
 
 127.0.0.1;192.168.1.1;86.2.3.4;86.2.3.4:2567
 
 but that doesn't work - exim says malformed IP address 86.2.3.4:2567 in
 local_interfaces so that's not how to do it.
 
 Can anybody help me add an extra port for exim to listen on my external
 interface?
 
 Many thanks,
 
 Chris
 
 This e-mail may contain information which is confidential, legally privileged 
 and/or copyright protected. This e-mail is intended for the addressee only. 
 If you receive this in error, please contact the sender and delete the 
 material from your computer 

Hello,
I believe that you need to use double colons to seperate the port 
number and IP address. Example: 192.1968.1.1::995

P. Lane 


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



Re: dpkg-reconfigure xserver-xorg question

2007-10-08 Thread Steven R.
On Thu, Oct 04, 2007 at 08:16:00PM -0500, Jude DaShiell wrote:
 What does it mean when you've got all of the questions answered by 
 dpkg-reconfigure xserver-xorg and dpkg-reconfigure xserver-xorg refuses to 
 create configuration files because pre-existing files were found?

This may be related to bug 443004 [1].  If it sounds like your problem,
there are a couple of workarounds listed in the thread that you can use
until it is fixed.  

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443004


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



Re: dpkg-reconfigure xserver-xorg failed

2007-10-06 Thread Ólafur Jens Sigurðsson
On Sat, Oct 06, 2007 at 05:47:36AM -0500, Jude DaShiell wrote:
 dpkg-reconfigure couldn't reconfigure xserver-xorg because 
 /etc/x11/xorg.conf is being shared by something else on this system. what 
 might be sharing it and how might that be cleared?

I don't know if it is complaining about another application having the
file open or another package sharing that config file (highly unlikely
I think).

If it is the former then then the lsof file can tell you what
applications are using that file at the moment, then just close those
processes that are accessing it.

lsof | grep xorg.conf

should do it.

HTH

Oli


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



Re: dpkg-reconfigure xserver-xorg question

2007-10-05 Thread Douglas A. Tutty
On Thu, Oct 04, 2007 at 08:16:00PM -0500, Jude DaShiell wrote:
 What does it mean when you've got all of the questions answered by 
 dpkg-reconfigure xserver-xorg and dpkg-reconfigure xserver-xorg refuses to 
 create configuration files because pre-existing files were found?

Run dexconf

I don't know why this happens some times, but it does.  I ran into this
and someone here told me to run dexconf and it worked.

Doug.


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



Re: dpkg-reconfigure xserver-xorg question

2007-10-04 Thread B_Kloss
Am Freitag, 5. Oktober 2007 03:16 schrieb Jude DaShiell:
 What does it mean when you've got all of the questions answered by
 dpkg-reconfigure xserver-xorg and dpkg-reconfigure xserver-xorg refuses to
 create configuration files because pre-existing files were found?

Hi,
have you tried this:

# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg


Or try to rename xorg.conf  and move all previous ones somewhere else and then 
start   reconfigure.

Greetings 

Bernd


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



Re: dpkg-reconfigure of xserver-xorg creates problem for users! (Fixed!)

2007-05-20 Thread Bruce M. Ward
Got it!

After removing the problem user from all likely groups, there was no difference 
- still could not run X.

Started getting desparate and deleting anything that looked like a 
configuration file or directory in the user's home directory. It all came right 
when I removed .gconf.

Therefore, it seems that for some reason dpkg-reconfigure fiddles with 
something in the .gconf directory.

Should I file a bug against dpkg-reconfigure?

Many thanks for suggestions from Michael Pobega and Florian Kulzer.

Bruce Ward

= = = = = = = = = = = = = = = = = = = = = = =
Bruce Ward  Christchurch, New Zealand



Re: dpkg-reconfigure of xserver-xorg creates problem for users!

2007-05-17 Thread Florian Kulzer
On Thu, May 17, 2007 at 04:55:53 +, Bruce M. Ward wrote:
 Thanks guys.
 
 Yes, Michael, problem user cannot start using startx.
 
 Since there is a possibility that it may involve groups here are the two 
 users (renamed).
 
 [EMAIL PROTECTED]:~$ groups problem
 problem : problem dialout cdrom floppy audio video plugdev netdev powerdev
 [EMAIL PROTECTED]:~$ groups bruce
 bruce : bruce cdrom floppy audio plugdev
 [EMAIL PROTECTED]:~$
 
 If it is a  permissions problem, dpkg-reconfigure might be the culprit.

The first thing I would try is to remove problem from the video
group. (If that does not fix it, try powerdev.)

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: dpkg-reconfigure of xserver-xorg creates problem for users!

2007-05-16 Thread Florian Kulzer
On Wed, May 16, 2007 at 01:55:35 +, Bruce M. Ward wrote:
 Thanks to those who responded. Unfortunately, on this machine I'm restricted 
 to using web-mail so can't continue the thread ...
 
 Michael - problem user is in same groups (and more) as new user.

Which groups are those? Maybe the problematic user does something during
X startup which the new user cannot do.

 Here follows the output Florian asked for:
 
 egrep '^\((EE|WW)\)' /var/log/Xorg.0.log
 
 (WW) The directory /usr/X11R6/lib/X11/fonts/misc does not exist.

[ snip: more font warnings ]

 (WW) (1600x1200,E70-9) mode clock 175.5MHz exceeds DDC maximum 110MHz

[ snip: more mode clock warnings ]

 (EE) AIGLX: Screen 0 is not DRI capable

The warnings should not keep the X server from starting. The last error
is to be expected with the vesa driver and not critical AFAIK.

 cat .xsession-errors
 
 /etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
 /etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w /var/log/wtmp -u 
 /var/run/utmp -x /var/lib/gdm/:0.Xservers -h  -l :0 student
 /etc/gdm/Xsession: Beginning session setup...
 The application 'x-session-manager' lost its connection to the display :0.0;
 most likely the X server was shut down or you killed/destroyed
 the application.
 Xsession: X session started for student at Wed May 16 13:20:53 NZST 2007

That looks like it is really the X server that crashes and not a user
process. I think Micheal was on the right track when asking about the
detailed group memberships of the two users.

 lspci -i egrep 'vga|video|display|graphic'
 
 01:00.0 VGA compatible controller: VIA Technologies, Inc. Unknown device 3230 
 (rev 11)
 
 (which is why we use the vesa driver)

Yes, it looks like the Chrome 9 support might still take a while:
http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=HardwareCaveats

 awk '/Section Device/,/EndSection/' /etc/X11/xorg.conf
 
 Section Device
   Identifier  Generic Video Card
   Driver  vesa
   BusID   PCI:1:0:0
 EndSection

No obvious problem here. Grasping for straws, you could try if disabling
ShadowFB and/or ModeSetClearScreen makes a difference (see man
vesa).

 Here is the end portion of the Xorg log file:
 
 (II) XINPUT: Adding extended input device Configured Mouse (type: 
 MOUSE)(II) XINPUT: Adding extended input device Generic Keyboard (type: 
 KEYBOARD)xkb_keycodes { include xfree86+aliases(qwerty) };
 xkb_types{ include complete };
 xkb_compatibility{ include complete };
 xkb_symbols  { include pc(pc105)+us };
 xkb_geometry { include pc(pc104) };
 (II) Configured Mouse: ps2EnableDataReporting: succeeded
 (II) VESA(0): VBESetVBEMode failed...Tried again without customized values.
 Backtrace:
 0: /usr/bin/X11/X(xf86SigHandler+0x84) [0x80c4354]
 1: [0xb7fc8420]
 2: /usr/lib/xorg/modules/libfb.so(fbCopyNtoN+0x226) [0xb7b893e6]
 3: /usr/lib/xorg/modules/libfb.so(fbCopyRegion+0x8f) [0xb7b8827f]
 4: /usr/lib/xorg/modules/libfb.so(fbDoCopy+0x498) [0xb7b888e8]
 5: /usr/lib/xorg/modules/libfb.so(fbCopyArea+0x78) [0xb7b88ab8]

Unfortunately this goes beyond my knowledge of X.

[...]

 Fatal server error:
 Caught signal 11.  Server aborting

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: dpkg-reconfigure of xserver-xorg creates problem for users!

2007-05-16 Thread Bruce M. Ward
Thanks guys.

Yes, Michael, problem user cannot start using startx.

Since there is a possibility that it may involve groups here are the two users 
(renamed).

[EMAIL PROTECTED]:~$ groups problem
problem : problem dialout cdrom floppy audio video plugdev netdev powerdev
[EMAIL PROTECTED]:~$ groups bruce
bruce : bruce cdrom floppy audio plugdev
[EMAIL PROTECTED]:~$

If it is a  permissions problem, dpkg-reconfigure might be the culprit.

Thanks, Bruce

= = = = = = = = = = = = = = = = = = = = = = =
Bruce Ward  Christchurch, New Zealand



Re: dpkg-reconfigure of xserver-xorg creates problem for users!

2007-05-15 Thread Bruce M. Ward
Thanks to those who responded. Unfortunately, on this machine I'm restricted to 
using web-mail so can't continue the thread ...

Michael - problem user is in same groups (and more) as new user.

Here follows the output Florian asked for:

egrep '^\((EE|WW)\)' /var/log/Xorg.0.log

(WW) The directory /usr/X11R6/lib/X11/fonts/misc does not exist.
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
(WW) The directory /usr/X11R6/lib/X11/fonts/cyrillic does not exist.
(WW) The directory /usr/X11R6/lib/X11/fonts/100dpi/ does not exist.
(WW) The directory /usr/X11R6/lib/X11/fonts/75dpi/ does not exist.
(WW) The directory /usr/X11R6/lib/X11/fonts/Type1 does not exist.
(WW) The directory /usr/X11R6/lib/X11/fonts/100dpi does not exist.
(WW) The directory /usr/X11R6/lib/X11/fonts/75dpi does not exist.
(WW) (1600x1200,E70-9) mode clock 175.5MHz exceeds DDC maximum 110MHz
(WW) (1600x1200,E70-9) mode clock 189MHz exceeds DDC maximum 110MHz
(WW) (1600x1200,E70-9) mode clock 202.5MHz exceeds DDC maximum 110MHz
(WW) (1600x1200,E70-9) mode clock 229.5MHz exceeds DDC maximum 110MHz
(WW) (1920x1200,E70-9) mode clock 230MHz exceeds DDC maximum 110MHz
(WW) (1920x1440,E70-9) mode clock 297MHz exceeds DDC maximum 110MHz
(WW) (1920x1440,E70-9) mode clock 341.35MHz exceeds DDC maximum 110MHz
(WW) (2048x1536,E70-9) mode clock 340.48MHz exceeds DDC maximum 110MHz
(WW) (2048x1536,E70-9) mode clock 388.04MHz exceeds DDC maximum 110MHz
(WW) (1856x1392,E70-9) mode clock 288MHz exceeds DDC maximum 110MHz
(WW) (1280x1024,E70-9) mode clock 135MHz exceeds DDC maximum 110MHz
(WW) (1280x1024,E70-9) mode clock 157.5MHz exceeds DDC maximum 110MHz
(WW) (1280x960,E70-9) mode clock 148.5MHz exceeds DDC maximum 110MHz
(EE) AIGLX: Screen 0 is not DRI capable


cat .xsession-errors

/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w /var/log/wtmp -u 
/var/run/utmp -x /var/lib/gdm/:0.Xservers -h  -l :0 student
/etc/gdm/Xsession: Beginning session setup...
The application 'x-session-manager' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Xsession: X session started for student at Wed May 16 13:20:53 NZST 2007


lspci -i egrep 'vga|video|display|graphic'

01:00.0 VGA compatible controller: VIA Technologies, Inc. Unknown device 3230 
(rev 11)

(which is why we use the vesa driver)


awk '/Section Device/,/EndSection/' /etc/X11/xorg.conf

Section Device
Identifier  Generic Video Card
Driver  vesa
BusID   PCI:1:0:0
EndSection


Here is the end portion of the Xorg log file:

(II) XINPUT: Adding extended input device Configured Mouse (type: MOUSE)(II) 
XINPUT: Adding extended input device Generic Keyboard (type: KEYBOARD)
xkb_keycodes { include xfree86+aliases(qwerty) };
xkb_types{ include complete };
xkb_compatibility{ include complete };
xkb_symbols  { include pc(pc105)+us };
xkb_geometry { include pc(pc104) };
(II) Configured Mouse: ps2EnableDataReporting: succeeded
(II) VESA(0): VBESetVBEMode failed...Tried again without customized values.
Backtrace:
0: /usr/bin/X11/X(xf86SigHandler+0x84) [0x80c4354]
1: [0xb7fc8420]
2: /usr/lib/xorg/modules/libfb.so(fbCopyNtoN+0x226) [0xb7b893e6]
3: /usr/lib/xorg/modules/libfb.so(fbCopyRegion+0x8f) [0xb7b8827f]
4: /usr/lib/xorg/modules/libfb.so(fbDoCopy+0x498) [0xb7b888e8]
5: /usr/lib/xorg/modules/libfb.so(fbCopyArea+0x78) [0xb7b88ab8]
6: /usr/bin/X11/X [0x815672d]
7: /usr/bin/X11/X [0x8108790]
8: /usr/bin/X11/X [0x8119eb2]
9: /usr/bin/X11/X [0x81543aa]
10: /usr/bin/X11/X [0x8154793]
11: /usr/bin/X11/X(miWindowExposures+0xf6) [0x810a286]
12: /usr/bin/X11/X(miHandleValidateExposures+0x77) [0x8121b17]
13: /usr/bin/X11/X [0x80d1151]
14: /usr/lib/xorg/modules/drivers/vesa_drv.so [0xb7c61236]
15: /usr/bin/X11/X [0x80cc923]
16: /usr/bin/X11/X(xf86SwitchMode+0xd4) [0x80c1a04]
17: /usr/bin/X11/X [0x80e4e18]
18: /usr/bin/X11/X [0x80e5109]
19: /usr/bin/X11/X [0x8151901]
20: /usr/bin/X11/X(Dispatch+0x19b) [0x8086cab]
21: /usr/bin/X11/X(main+0x489) [0x806e699]
22: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7dd3ea8]23: 
/usr/bin/X11/X(FontFileCompleteXLFD+0xa9) [0x806d9d1]

Fatal server error:
Caught signal 11.  Server aborting

I still can't put my finger on the problem! It _may_ happen only when using 
dpkg-reconfigure to increase the screen resolution.

Thanks again
Bruce Ward
= = = = = = = = = = = = = = = = = = = = = = =
Bruce Ward  Christchurch, New Zealand



Re: dpkg-reconfigure of xserver-xorg creates problem for users!

2007-05-15 Thread Michael Pobega
On Wed, May 16, 2007 at 01:55:35AM +, Bruce M. Ward wrote:
 Thanks to those who responded. Unfortunately, on this machine I'm
 restricted to using web-mail so can't continue the thread ...
 
 Michael - problem user is in same groups (and more) as new user.
 
 Here follows the output Florian asked for:
 
 [log files]
 
 I still can't put my finger on the problem! It _may_ happen only when
 using dpkg-reconfigure to increase the screen resolution.
 

Are you running X through GDM or startx? The only errors I can find
(Although, I'll admit, I have the untrained eye) are GDM errors, stating
that it can't find a screen to relay X to.

I seem to remember your original mail saying startx though, so if that's
true I have to say I'm entirely stumped. 

-- 
http://digital-haze.net/~pobega/ - My Website
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs. 
 - Richard Stallman


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



Re: dpkg-reconfigure of xserver-xorg creates problem for users!

2007-05-14 Thread Michael Pobega
On Sun, May 13, 2007 at 10:54:48PM +, Bruce M. Ward wrote:
 Hi all.
 
 A recent install of the Etch release.  Root uses 'dpkg-reconfigure
 xserver-xorg' to change the video resolutions.  Root can start X no
 problems.  Existing user cannot login with gdm - returns to login box.
 User can login at text console but cannot start X (with startx). Gets
 'caught signal 11'. User previously had no problems.  Root creates new
 user. New user has no problem.
 
 It looks like a permissions problem, but I haven't been able to figure
 out where ...
 
 Any ideas anyone?  Can anyone help?

Compare the two accounts by logging into any account and running:

groups oldaccount  groups newaccount

-- 
http://digital-haze.net/~pobega/ - My Website
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs. 
 - Richard Stallman


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



Re: dpkg-reconfigure of xserver-xorg creates problem for users!

2007-05-14 Thread Florian Kulzer
On Sun, May 13, 2007 at 22:54:48 +, Bruce M. Ward wrote:
 Hi all.
 
 A recent install of the Etch release.
 Root uses 'dpkg-reconfigure xserver-xorg' to change the video resolutions.
 Root can start X no problems.
 Existing user cannot login with gdm - returns to login box. User can
 login at text console but cannot start X (with startx). Gets 'caught
 signal 11'. User previously had no problems.
 Root creates new user. New user has no problem.
 
 It looks like a permissions problem, but I haven't been able to figure out 
 where ...
 
 Any ideas anyone?
 Can anyone help?

Log in as the problematic user and startx. After it has crashed run
the following two commands

egrep '^\((EE|WW)\)' /var/log/Xorg.0.log 

tail -n20 ~/.xsession-errors

and post the output here.

I would furthermore like to see the result of these two things:

lspci | egrep -i 'vga|video|display|graphic'

awk '/Section Device/,/EndSection/' /etc/X11/xorg.conf

If you cannot easily copy/paste this output into a mail as long as your
X is not working then you can append   somefile.txt (without the
quotes) to the above commands. This lets you redirect the output to
files which you can copy to another system if necessary.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: dpkg-reconfigure command to reconfigure the network?

2007-01-13 Thread Liam O'Toole
On Sat, 13 Jan 2007 11:28:55 -0200
Bruno Buys [EMAIL PROTECTED] wrote:

 I am missing the dpkg-reconfigure command to reconfigure the network
 interfaces. I am moving from dhcp to static ip address, and I need
 that dpkg dialog.
 Can someone here recall that? The machine is sarge.
 thanks much!
 
 

I don't know the dpkg-reconfigure command, but I do know that it's just
as easy to edit the file /etc/network/interfaces and restart the
network manually (by issuing the command '/etc/init.d/networking
restart' as root). See 'man interfaces' for details of the syntax of the
interfaces file. Useful also for those cases which are not handled by
dpkg-reconfigure.

-- 

Liam


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



Re: dpkg-reconfigure command to reconfigure the network?

2007-01-13 Thread Bruno Buys
Liam O'Toole wrote:

On Sat, 13 Jan 2007 11:28:55 -0200
Bruno Buys [EMAIL PROTECTED] wrote:

  

I am missing the dpkg-reconfigure command to reconfigure the network
interfaces. I am moving from dhcp to static ip address, and I need
that dpkg dialog.
Can someone here recall that? The machine is sarge.
thanks much!





I don't know the dpkg-reconfigure command, but I do know that it's just
as easy to edit the file /etc/network/interfaces and restart the
network manually (by issuing the command '/etc/init.d/networking
restart' as root). See 'man interfaces' for details of the syntax of the
interfaces file. Useful also for those cases which are not handled by
dpkg-reconfigure.

  

Indeed. Thanks, friend.


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



Re: dpkg-reconfigure command to reconfigure the network?

2007-01-13 Thread Francis Healy
--- Bruno Buys [EMAIL PROTECTED] wrote:
 I am missing the dpkg-reconfigure command to
 reconfigure the network
 interfaces. I am moving from dhcp to static ip
 address, and I need that
 dpkg dialog.
 Can someone here recall that? The machine is sarge.
 thanks much!
 
Have you tried editing /etc/network/interfaces?  It
should look something like this:

# This file describes the network interfaces available
on your system
# and how to activate them. For more information, see
interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0

If you edit this file, the changes in settings will be
made the next time you bring the network interfaces up.


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



Re: dpkg-reconfigure command to reconfigure the network?

2007-01-13 Thread Andrei Popescu
On Sat, 13 Jan 2007 11:28:55 -0200
Bruno Buys [EMAIL PROTECTED] wrote:

 I am missing the dpkg-reconfigure command to reconfigure the network
 interfaces. I am moving from dhcp to static ip address, and I need
 that dpkg dialog.
 Can someone here recall that? The machine is sarge.
 thanks much!

I don't think this can be done with debconf. It is only done during
install. Maybe base-config is what you're looking for (but I don't
remember if it configures the network too).

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


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



Re: dpkg-reconfigure command to reconfigure the network?

2007-01-13 Thread Paul Johnson
Bruno Buys wrote:

 I am missing the dpkg-reconfigure command to reconfigure the network
 interfaces. I am moving from dhcp to static ip address, and I need that
 dpkg dialog.

You're overengineering this a little bit.  Check out /etc/network/interfaces
with a text editor and this manual page for examples.  Once you have it
reset how you want it and
saved /etc/networking/interfaces, /etc/init.d/networking restart will apply
your settings.

http://ursine.ca/cgi-bin/dwww?type=runmanlocation=interfaces/5




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



Re: dpkg-reconfigure command to reconfigure the network?

2007-01-13 Thread Bruno Buys
Liam O'Toole wrote:

On Sat, 13 Jan 2007 11:28:55 -0200
Bruno Buys [EMAIL PROTECTED] wrote:

  

I am missing the dpkg-reconfigure command to reconfigure the network
interfaces. I am moving from dhcp to static ip address, and I need
that dpkg dialog.
Can someone here recall that? The machine is sarge.
thanks much!





I don't know the dpkg-reconfigure command, but I do know that it's just
as easy to edit the file /etc/network/interfaces and restart the
network manually (by issuing the command '/etc/init.d/networking
restart' as root). See 'man interfaces' for details of the syntax of the
interfaces file. Useful also for those cases which are not handled by
dpkg-reconfigure.

  

I didn't mean dpkg was the only way. The new config is doing good. Quick
and easy. Thanks all!


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



Re: dpkg-reconfigure locales

2006-10-26 Thread Nilgün Belma Bugüner
Selam,

/etc/locale.gen dosyanızı düzeltin:
-
tr_TR.ISO-8859-9 ISO-8859-9
tr_TR.UTF-8 UTF-8
-

Sonra da şu komutu verin:
locale-gen


Esen kalın,
Nilgün

Cum 27 Eki 2006 02:34 sularında, Yaşar Çınar Nar şunları yazmıştı: 
 dpkg-reconfigure locales  komtundan sonra...
 
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
 LANGUAGE = en_GB:en_US:en,
 LC_ALL = (unset),
 LANG = tr_TR
 are supported and installed on your system.
 perl: warning: Falling back to the standard locale (C).
 locale: Cannot set LC_CTYPE to default locale: No such file or directory
 locale: Cannot set LC_MESSAGES to default locale: No such file or directory
 locale: Cannot set LC_ALL to default locale: No such file or directory
 
 dpkg-query : parse errror in file /var/lib/dpkg/available/ near line 297417
 package 'libcgi-perl' :
 Replaces Field invalid package name 'cg?-modules' :character ? not
 allowed-only letters digits ...vs vs...
 
 
 ? soru işareti ile yazdığım karakter nedir bilmiyorum ascii kodu ama kübik
 highlighted bir cisimcik yani öule tanımliyim ..
 Zaten bu gidişle halüsilasyon görcem,asabım acaip bozuk...Bu arada Gnome da
 menulerde iconlar var ama yazı yok ne ilginç openofice ve firefox da
 çalışıyor..anlamadım gitti
 
 
 ACİL YARDIMLARINIZI BEKLİYORUM..SAYGILARIMLA



Re: dpkg-reconfigure

2006-09-26 Thread Tiago Saboga
Em Segunda 25 Setembro 2006 17:20, Carlos Alberto escreveu:
  Ola lista,
 Alguem sabe se existe uma forma de descobrir todas as possibilidades de
 pacotes que posso usar a opcao dpkg-reconfigure?
 Por exemplo:
 dpkg-reconfigure console-data
 Uma lista do tipo:
 console-data, libpam-ldap, libnss-ldap, ...

Lembrava de já ter visto isso e fui procurar. Segue o log:

[EMAIL PROTECTED]:/tmp$ apt-cache search dpkg-reconfigure
exim4 - metapackage to ease exim MTA (v4) installation
exim4-base - support files for all exim MTA (v4) packages
exim4-config - configuration for the exim MTA (v4)
exim4-daemon-heavy - exim MTA (v4) daemon with extended features, including 
exiscan-acl
exim4-daemon-heavy-dbg - debugging symbols for the exim MTA (v4) packages
exim4-daemon-light - lightweight exim MTA (v4) daemon
exim4-daemon-light-dbg - debugging symbols for the exim MTA (v4) packages
exim4-dbg - debugging symbols for the exim MTA (v4) packages
gkdebconf - Helper to reconfigure packages with Debconf
ttf-arphic-ukai - AR PL ZenKai Uni Chinese Unicode TrueType font Kaiti style
ttf-arphic-uming - AR PL ShanHeiSun Uni Chinese Unicode TrueType font Mingti 
style


[EMAIL PROTECTED]:/tmp$ apt-cache show gkdebconf
Package: gkdebconf
Priority: optional
Section: admin
Installed-Size: 360
Maintainer: Agney Lopes Roth Ferraz [EMAIL PROTECTED]
Architecture: i386
Version: 1.2.64
Depends: libatk1.0-0 (= 1.9.0), libc6 (= 2.3.6-6), libcairo2 (= 1.0.2-2), 
libfontconfig1 (= 2.3.0), libgconf2-4 (= 2.13.5), libglib2.0-0 (= 2.10.0), 
libgtk2.0-0 (= 2.8.0), liborbit2 (= 1:2.10.0), libpango1.0-0 (= 1.12.1), 
libx11-6, libxcursor1 ( 1.1.2), libxext6, libxfixes3, libxi6, libxinerama1, 
libxrandr2, libxrender1, xterm | x-terminal-emulator, debconf (= 1.4.58) | 
debconf-2.0, gettext-base, gksu (= 1.3.5)
Suggests: whiptail | dialog | gnome-utils, liblocale-gettext-perl, 
libterm-readline-gnu-perl, libgnome2-perl, libqt-perl
Filename: pool/main/g/gkdebconf/gkdebconf_1.2.64_i386.deb
Size: 108254
MD5sum: 20380ce363ce2a808b656a3e91d7b619
SHA1: 2c35d5799d1b0ebdec5aff3cf39f2216c71f05ad
SHA256: 269b7c9c88dee3a972404a19f5d367fb3658d270c5a0bdfcec3e5902cd82da22
Description: Helper to reconfigure packages with Debconf
 This is a program that helps one using the dpkg-reconfigure tool.
 It is basically a graphical frontend. It makes life easier showing
 a simple menu of packages which can be reconfigured with Debconf and
 the Debconf frontends that can be used for the reconfiguration.
Tag: admin::configuring, interface::x11, suite::debian, uitoolkit::gtk, 
use::configuring, x11::application

Package: gkdebconf
Priority: optional
Section: admin
Installed-Size: 348
Maintainer: Agney Lopes Roth Ferraz [EMAIL PROTECTED]
Architecture: i386
Version: 1.2.54
Depends: libatk1.0-0 (= 1.7.2), libc6 (= 2.3.2.ds1-4), libgconf2-4 (= 
2.8.1), libglib2.0-0 (= 2.6.0), libgtk2.0-0 (= 2.6.0), liborbit2 (= 
1:2.10.0), libpango1.0-0 (= 1.8.0), xterm | x-terminal-emulator, debconf (= 
1.4.3), gettext-base, gksu (= 0.9.10)
Suggests: whiptail | dialog | gnome-utils, liblocale-gettext-perl, 
libterm-readline-gnu-perl, libgnome2-perl, libqt-perl
Filename: pool/main/g/gkdebconf/gkdebconf_1.2.54_i386.deb
Size: 86802
MD5sum: 7b266e98334047120ff5222a37ef3e19
SHA1: 32cce0ebc159eb04ef5990043e9b2203164647b9
SHA256: a94548c392fca5252c859101b91a6dcc2f8bbd541faa65107d96678c7e1d72a5
Description: Helper to reconfigure packages with Debconf
 This is a program that helps one using the dpkg-reconfigure tool.
 It is basically a graphical frontend. It makes life easier showing
 a simple menu of packages which can be reconfigured with Debconf and
 the Debconf frontends that can be used for the reconfiguration.



Re: dpkg-reconfigure

2006-09-25 Thread Thadeu Penna

Carlos Alberto escreveu:

Ola lista,
Alguem sabe se existe uma forma de descobrir todas as possibilidades de 
pacotes que posso usar a opcao dpkg-reconfigure?

Por exemplo:
dpkg-reconfigure console-data
Uma lista do tipo:
console-data, libpam-ldap, libnss-ldap, ...




As informações do debconf ficam em /var/cache/debconf/config.dat. Lá 
você tem os pacotes e as chaves. Um comando como

grep Name /var/cache/debconf/config.dat | cut -d/ -f1 | uniq
deve dar as informação que você quer, mas só para os pacotes instalados.


--
Thadeu Penna
Instituto de Física da Universidade Federal Fluminense
Linux User #50500 (counter.li.org)
Debian GNU/Linux alpha-amd64-i386



Re: dpkg-reconfigure

2006-07-29 Thread Paul E Condon
On Wed, Jul 26, 2006 at 10:52:05AM +0200, Brent Clark wrote:
 Hi
 
 You know when you install debian and debconf a screen whereby you can add 
 more sources to the sources.list file etc.
 
 Is there a dpkg-reconfigure option for that.
 

If you want to add or edit your /etc/apt/source.list , the best
approach is to simply edit this file with emacs or vi. 

dpkg-reconfigure is very useful for reconfiguring software that has an
extensive collection of set-up scripts that need to be re-run whenever
a configuration change is needed. 

That said, I think the screen you refer to might be part of base-config.
But, I emphasize, you are better off just editing /etc/apt/sources.list
directly. To do this edit you will have to sign on as 'root' or use sudo.

 also, apart from using dpkg -l to see what packages are installed. How 
 would I know what software / packages I can use dpkg-reconfigure with.

Software is a generic term for a large class of digital objects. 

Package is much more specific term for software that is enclosed in
a wrapper spcifically designed to automate installation. 

dpkg-reconfigure is a program for re-running part of the installation
of a package. You only use it when more direct methods are too messy.

HTH

 Is there a list somewhere or something
 
 Just something I was wondering.
 
 Kind Regards
 Brent Clark
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]
 

-- 
Paul E Condon   
[EMAIL PROTECTED]


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



Re: dpkg-reconfigure

2006-07-29 Thread s. keeling
Paul E Condon [EMAIL PROTECTED]:
  On Wed, Jul 26, 2006 at 10:52:05AM +0200, Brent Clark wrote:
  
  You know when you install debian and debconf a screen whereby you can add 
  more sources to the sources.list file etc.
  
  Is there a dpkg-reconfigure option for that.

Try running apt-spy

  also, apart from using dpkg -l to see what packages are installed. How 
  would I know what software / packages I can use dpkg-reconfigure with.
 
  dpkg-reconfigure is a program for re-running part of the installation
  of a package. You only use it when more direct methods are too messy.
 
  Is there a list somewhere or something

Someone recently told me you can use bash TAB completion to answer
this, but it doesn't work for me:

dokg-reconfigureTAB

This is a good question.  I've asked it before too, and I've yet to
see a useful answer.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling   Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.html
   Spammers! http://www.spots.ab.ca/~keeling/emails.html


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



  1   2   3   >