Re: gtk frontend to the new debian-installer

2004-02-06 Thread Gustavo Noronha Silva
Em Wed, 21 Jan 2004 00:33:01 +0100, Bluefuture <[EMAIL PROTECTED]> escreveu:

> Hi,
> the next debian installer version beta2 has come out.
> Anybody could help continuing the development of the GTK frontend to the
> new d-i?

Hi,

I am interested in that and got cdebconf to install on a chroot to hack on it.
Unfortunatelly I had no success trying to use d-i on bochs yet -- at least
I could not get past some stage, but loading the gtk frontend is still
something I have to investigate how to do. I have worked on porting
the gnome frontend for debconf to debian from progeny and then to
gnome2, so I now some of the basics already.

The current UI is quite poor and the code is a bit messy, but I think I
can get along, and try to grasp d-i in runtime =D.

You can check some progress on the boolean dialog by looking:

before:
http://beterraba.no-ip.org/cdebconf/gtk1.png
after:
http://beterraba.no-ip.org/cdebconf/gtk2.png

Should I request the account now so that I can use the CVS directly
or should I set up my own CVS?

Also, while googling I found this email which brings up some problems
which seem to not yet be fixed and I may not be able to tackle them 
myself, so I still need help:

http://lists.debian.org/debian-boot/2003/debian-boot-200306/msg00139.html

Thanks,

-- 
[EMAIL PROTECTED]: Gustavo Noronha 
Debian:    *  
  "NÃo deixe para amanhÃ, o WML que vocà pode traduzir hoje!"
http://debian-br.alioth.debian.org/?id=WebWML


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



Re: gtk frontend to the new debian-installer

2004-02-06 Thread Gustavo Noronha Silva
Em Fri, 06 Feb 2004 19:43:38 -0500, Alexander Winston <[EMAIL PROTECTED]> escreveu:

> Is there a way to "unwrap" the text? Also, wouldn't switching to a

I hope so. The wrapping seems to be done outside the frontend 
(I'll have to check that, but that's what it seems from looking
at the configure script)

> druid-based interface be more sensical?

Indeed. The debconf's gnome2 frontend is based on
GnomeDruid, but adding a dependency of that size is
not an option. But yes, I am thinking about hacking
a druid-like thing myself.

[]s!

-- 
[EMAIL PROTECTED]: Gustavo Noronha 
Debian:    *  
  "NÃo deixe para amanhÃ, o WML que vocà pode traduzir hoje!"
http://debian-br.alioth.debian.org/?id=WebWML


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



Re: demolinux debian

2001-06-08 Thread Gustavo Noronha Silva

Em Fri, 8 Jun 2001 06:04:10 +0200
Eric Van Buggenhaut <[EMAIL PROTECTED]> escreveu:

let me explain to our friend:

essa lista é a lista onde se coordena o trabalho dos boot-floppies
que é o sistema de instalação do Debian, a língua oficial aqui é o 
inglês porque tem pessoas de diversos países lendo.

 this list is where the work in boot-floppies are coordened,
it is the debian's instalation system, the official language here
is english cause many people from many countries are reading


O Demolinux não é parte do Debian, ele é um esforço externo, baseado no
Debian, ninguem aqui vai, provavelmente, ser capaz de te ajudar nisso
Se você quiser pode se juntar a nós no Debian-BR, visite o site
http://debian-br.sourceforge.net e se inscreva na lista debian-user-portuguese

DemoLinux is not part of Debian, it is an external effort based on
Debian, nobody here will probably be able to help you with your
problem. If you want you can join us in Debian-BR, please go to
Debian-BR's site at http://debian-br.sourceforge.net and subscribe
to the debian-user-portuguese mailing list


> Could you submit your problem in English ?
now let me translate his message...

> On Fri, Jun 08, 2001 at 12:32:20AM -0300, sebatião depaula santos wrote:
> > Tenho a versão demo linux N 4, mais estou com poblemas, o CD da o boot , pelo
> CD-ROOM , mais quando chega no grafico trava, a tela fica toda preta, algumas vezes
> consegui, que tudo funciona se bem.
I have demo linux N4 but I'm having problems, the CD boots but it
freezes when it gets to the graphics, the screen goes blan, sometimes
I have goten it to work

> > Já tentei todas as soluções descritas na revista  nada da certo o que voçê
> recomenda.
> > 
> > Minha placa de video e uma Pine com SIS Chipset, 16M,
> > modelo SIS 305 16M agp.
I've tried all the solutions described in the magazine but nothing
works, what would you recommend?

My video board is a Pine with SiS Chipset, 16MB,
SiS 305 16MB agp...

[]s!

-- 
   Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
*--*
|  .''`.  | Debian GNU/Linux: <http://www.debian.org>|  (___)  |
| : :'  : | Debian BR...: <http://debian-br.sourceforge.net> | < o o > |
| `. `'`  |  Be Happy! Be FREE!  |  \ ^ /  |
|   `-| "Think globally, act locally!"   |   (")   |
*--*


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




Re: Ftp

2001-06-13 Thread Gustavo Noronha Silva

Em Wed, 13 Jun 2001 22:51:42 -0300 (Hora padrão leste da Am. Sul)
"l0k0" <[EMAIL PROTECTED]> escreveu:

> Eu gostaria de puxar a instalação so debian pela internet mas parece que o
> indereço FTP onde tinha a instalalação não está funcionando, não está sendo
> viável para mim no momento comprar os cd's...
> Por favor, se der responda a este mail: [EMAIL PROTECTED]
olá amigo, há vários lugares onde você pode encontrar essas imagens...
recomendo que você leia o manual de instalação do Debian em português
no site do debian-br: http://debian-br.sourceforge.net

esse não é o melhor lugar para se fazer perguntas em português, 
essa é a lista de desenvolvimento do sistema de instalação...
para listas em português visite a seção IRC/Listas no site do debian-br

[]s!

-- 
Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
**
|  .''`.  | Debian GNU/Linux: <http://www.debian.org>|
| : :'  : | Debian BR...: <http://debian-br.sourceforge.net> |
| `. `'`  |  Be Happy! Be FREE!  |
|   `-| "Think globally, act locally!"   |
**


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




Re: what is ,and were?

2001-06-25 Thread Gustavo Noronha Silva

Em Mon, 25 Jun 2001 06:10:17 -0800
"skipe" <[EMAIL PROTECTED]> escreveu:

> i have installed Libranet Linux version 1.9.1
uh... what about getting support from them?

> Cdmod: /etc/resolv.conf
> how do i fix this?
touch /etc/resolv.conf should do it... maybe you don't have this
file

> doe's it have anything to do with that when i start(startx)
> the text in the program looks like it's encripted.i can hardly make it out.if i put
> my mouse over it, i can read it a little better.
> if you have any info that could help would be appreciated.
no, it doesn't... I suggest you subscribe to the debian-user
mailing list as it is the right place for asking this...
this mailing list is for discussion about the debian instalation
system...

[]s!

-- 
Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
**
|  .''`.  | Debian GNU/Linux: <http://www.debian.org>|
| : :'  : | Debian BR...: <http://debian-br.sourceforge.net> |
| `. `'`  |  Be Happy! Be FREE!  |
|   `-| "Think globally, act locally!"   |
**


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




Instalation report

2001-07-12 Thread Gustavo Noronha Silva

Hello all, this is a little installation report:

I got the latest woody root and rescue floppies, dd'ed them into
two floppies

The F5 help screen at boot time is fscked, the colors doesn't get
shown... I booted normally, when asked to insert root.bin, it
could not load the floppy... it gave me: floppy0 detect failed
or such...

I went to the net and got root.bin and drivers1.bin flavor 'compact'
the installation proceeded but when I went to configure the device
drivers it claimed that /lib/modules/2.2.19 had no modules for 
configuring... 

Of course, I was using rescue from the normal install system and
drivers from compact... I linked /lib/modules/2.2.19-compact to
/lib/modules/2.2.19, I forgot the io of my ne2000 isa card
so I decided to go back and get the rescue from the compact
directory...

rescue booted with the penguin logo with wrong colors... (is the
compact rescue.bin really meant to be fbuffer?)

After booting I get some number codes and then:

status=0
fdc_busy=0
cont=
CURRENT=00
command_status=-1

floppy0: unexpected interrupt
VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER
floppy0: unexpected interrupt
floppy0: sensei repl[0]=c0 repl[1]=0
floppy0: sensei repl[0]=c1 repl[1]=0
floppy0: sensei repl[0]=c2 repl[1]=0
floppy0: sensei repl[0]=c3 repl[1]=0

I ignored this and inserted the root.bin disk after that it
detected RAMDISK: Compressed image found at block 0... but it
gave me errors while reading the floppy... I rebooted and went through
the process again... 

The same things ocurred 'till it asked the root disk but it now
loaded it cleanly...

I chose my keyboard layout (where's the language selection? =()
used my old partitions for swap (/dev/hda6) and / (/dev/hda2)

went to install device drivers, it asked me for inserting rescue.bin,
did that, installed cleanly... asked drivers disk, inserted... it gave
me this error:

Floppy read error: the floppy unexpectedly ended.

how could that be? I used the same floppy the first time and
all went fine!

tried again... it went fine... quite strange went to configure
device drivers and modules... selected net/ne2000 and installed
it fine... installed some other modules

the network configuration went fine... now it was time to install
the base system... I wanted to install from network... it asked
me about what site to download from, I left it default, configured a
proxy (my main computer) and began downloading things...

when dbootstrap was downloading Packages.gz I stoped the process
to rebegin at night when telephone bills are cheap hehee =)

I'll send a new message as soon as I complete the whole process to
inform you how well it was...

thanks for the great work =)

-- 
Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
**
|  .''`.  | Debian GNU/Linux: <http://www.debian.org>|
| : :'  : | Debian BR...: <http://debian-br.sourceforge.net> |
| `. `'`  |  Be Happy! Be FREE!  |
|   `-| "Think globally, act locally!"   |
**


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




Re: Help with boot floppies wanted?

2001-08-17 Thread Gustavo Noronha Silva

Em Fri, 17 Aug 2001 12:55:47 -0300
Rogério Brito <[EMAIL PROTECTED]> escreveu:

>   I might even help with some translations to Brazilian
>   Portuguese, if wanted (and the deadlines allow me to -- I'm
>   quite swamped with work right now).
uh! I don't know about boot-floppies, but Debian-BR needs you very much =)

see my signature, contact me if you want any information =)

[]s!

-- 
Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
**
|  .''`.  | Debian GNU/Linux: <http://www.debian.org>|
| : :'  : | Debian BR...: <http://debian-br.sourceforge.net> |
| `. `'`  |  Be Happy! Be FREE!  |
|   `-| "Think globally, act locally!"   |
**


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




an important patch (at least for non-english users ;))

2002-01-21 Thread Gustavo Noronha Silva

[CC me on replies, I'm not on the list]

Hello team,

thanks for the good work! here's an important patch for us translators/users of a 
non-english language:


--- boxes.c.old   Wed Dec 12 02:27:47 2001
+++ boxes.c Mon Jan 21 11:31:38 2002
@@ -108,7 +108,7 @@
  * stuff is called BEFORE language chooser (or something else)
  * allowed the user to choose the language.
  */ 
-   msg = "Debian GNU/Linux System Installation";
+   msg = _("Debian GNU/Linux System Installation");
newtDrawRootText((w-strlen(msg))/2, -5, msg);
stderrToTTY(3);
 }
--------

[]s!

-- 
Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
*-* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+
|  .''`.  | Debian GNU/Linux: <http://www.debian.org> |
| : :'  : + Debian BR...: <http://debian-br.cipsga.org.br>+
| `. `'`  + Q: "Why did the chicken cross the road?"  +
|   `-| A: "Upstream's decision." -- hmh  |
*-* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+


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




Re: an important patch (at least for non-english users ;))

2002-01-21 Thread Gustavo Noronha Silva

On Mon, 21 Jan 2002 16:39:08 +0300
Mikhail Sobolev <[EMAIL PROTECTED]> wrote:

> On Mon, Jan 21, 2002 at 11:38:37AM -0200, Gustavo Noronha Silva wrote:
> > [CC me on replies, I'm not on the list]
> > 
> > Hello team,
> > 
> > thanks for the good work! here's an important patch for us translators/users
> > of a non-english language:
> I'm sorry.  Did you read the comment right before the line you modified?
I'm sorry, I didn't read that, ok, my patch is not useful, but I propose that that 
message be written in other place, after boxInit... it is really awful to see the 
instalation in pt_BR and that message in english below

I'll check that later if I have time, but don't care to waste time on it if you have 
real bugs to fix (and I know they exist)

[]s!

-- 
Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
*-* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+
|  .''`.  | Debian GNU/Linux: <http://www.debian.org> |
| : :'  : + Debian BR...: <http://debian-br.cipsga.org.br>+
| `. `'`  + Q: "Why did the chicken cross the road?"  +
|   `-| A: "Upstream's decision." -- hmh  |
*-* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+


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




a new patch and a warning about the gettext patch

2002-01-22 Thread Gustavo Noronha Silva

[cc me on replies, I am not subscribed to this list]

Hello Boot-floppies team!

When I am installing a system using boot floppies with language set to
pt, some boxes won't disapear completely (the box in wich you choose 
where to mount a new partition, for example (/var, /home)), this patch
seems to fix this:


--- boxes.c.old Wed Dec 12 02:27:47 2001
+++ boxes.c Tue Jan 22 17:40:59 2002
@@ -465,6 +465,8 @@
 result=-1;
   else
 result=*rs;
+
+  newtCls();
 
   newtPopWindow();
   newtFormDestroy(form);


by the way, did anyone care to test my patch using gettext in boxInit?
calling gettext there caused some problems here...

[]s!

-- 
Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
*-* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+
|  .''`.  | Debian GNU/Linux: <http://www.debian.org> |
| : :'  : + Debian BR...: <http://debian-br.cipsga.org.br>+
| `. `'`  + Q: "Why did the chicken cross the road?"  +
|   `-| A: "Upstream's decision." -- hmh  |
*-* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+


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




problem with debootstrap and boot-floppies

2002-01-24 Thread Gustavo Noronha Silva

[cc me on replies]

Hello friends!

I found out that debootstrap 0.1.16 uses mkfifo on its
scripts (/usr/lib/debootstrap/scripts/{woody,sid})
but it is not available on the boof-floppies' system

I worked it around using mknod $i p, I didn't file
a bug on it, do what you think that it is needed

[]s!

-- 
    Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
*-* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+
|  .''`.  | Debian GNU/Linux: <http://www.debian.org> |
| : :'  : + Debian BR...: <http://debian-br.cipsga.org.br>+
| `. `'`  + Q: "Why did the chicken cross the road?"  +
|   `-| A: "Upstream's decision." -- hmh  |
*-* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+


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




Re: State of graphical installer

2004-10-10 Thread Gustavo Noronha Silva
On Tue, 28 Sep 2004 09:27:35 -0300
Andre Luis Lopes <[EMAIL PROTECTED]> wrote:

> I know that Gustavo <[EMAIL PROTECTED]> was working on the gtk frontend
> sometime ago. Last time I meet him personally (around a month ago) he
> told me he was too busy to continue hacking on it.
> 
> I'm CC'ing him just in case, anyway.

I think I sent some patches to the debian-desktop mailing list. I'm
resending them here anyway:

http://people.debian.org/~kov/d-i-patches/

Maybe they'll be useful for something... at least I was able to get a
segfault after seeing the directfb mouse =D

Thanks,

-- 
[EMAIL PROTECTED]: Gustavo Noronha 
Debian:    *  
  "Não deixe para amanhã, o WML que você pode traduzir hoje!"
http://debian-br.alioth.debian.org/?id=WebWML



New desktop features provided by new version of update-notifier

2006-08-12 Thread Gustavo Noronha Silva
Fellow Debianers,

I'm writing to you all in order to present some new features added to
the Debian Desktop, and to discuss how we could make use of them in
some of our subsystems.

I just uploaded update-notifier 0.42.12-1 to unstable. Unfortunately I
lost dinstall for the day, so we'll only see the results in unstable
many hours from now, though I've uploaded them to a public location[0].

update-notifier is a program made by the Ubuntu guys which puts a
notification icon in the notification area and warns the user about
updates being available, and allowing them to run update-manager (a
simple upgrade manager tool based on Synaptic).

This version of the Debian package brings some more robust utnubu work,
such as making the reboot required notification and Debian CD insertion
detection work.

The first feature is useful for those packages which are critical, and
which really want a reboot after upgrade, such as kernel, perhaps libc,
and any library or package fixing security problems. These simply need
to run /usr/share/update-notifier/notify-reboot-required (which will
touch /var/run/reboot-required) on postinst, and a notification will
appear to the user at his desktop telling them that a reboot is
required, and allowing them after the package manager is done "applying
changes".

This is done in Ubuntu by communicating with GDM through a nice program
called gdm-signal, which was built using code from gnome-panel and some
more written by Rob Taylor, and which is distributed in Ubuntu's
powermanagement-interface package; I included this work in
update-notifier as a private program, for now, but maybe we should add
it to our gdm package? Ubuntu does not seem to have provisions for KDE;
if our KDE guys know how we'd go about doing the same for KDM, let me
know; same goes for XFCE and other desktops which support the
notification area protocol, and would, thus, be able to run
update-notifier.

The second feature is quite cool; update-notifier uses hal to detect
that a new CD/DVD was inserted and tries to figure out whether that is
a Ubuntu CD; I patched the program to also look for Debian CDs, and to
avoid messing with translations, the messages have Ubuntu replaced by
Debian in runtime, after the translation is got from gettext if the CD
that was inserted is a Debian CD.

I'm writing to all of you so that you are aware that these nice desktop
features are now included in Debian, and so we can discuss whether and
how we'll make use of them to accomplish a nicer Debian Desktop. Please
follow up issues related to a specific "subteam" in the approppriate
mailing list, but please keep me CC'ed.

For coolness effect, here's the first time I saw a Debian CD being
detected in my desktop:

http://kov.eti.br/~kov/update-notifier-debian-cd.png

See you,

[0]: http://people.debian.org/~kov/stuff/

-- 
Gustavo Noronha Silva <[EMAIL PROTECTED]>
http://people.debian.org/~kov/


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



Bug#382670: debian-installer: Sudo not properly configured

2006-08-22 Thread Gustavo Noronha Silva
Em Tue, 22 Aug 2006 17:06:48 -0400
Joey Hess <[EMAIL PROTECTED]> escreveu:

> > Though, maybe that is easier said than done. Thanks.
> 
> We really can't make that kind of change at install time in d-i.

Can we provide a default gconf setting at install time, though? The
'gksu' application decides whether it should use su or sudo as a
backend by looking at the /apps/gksu/sudo-mode gconf key.

> We could probably get away with calling update-alternatives, if gksu
> and gksudo were changed to both provide an alternative
> (gtk-su-command or something), and if all the necessary desktop files
> could be changed to use the alternative.

Could be done, as well, but I'd prefer the gconf route, since that
doesn't require patching .desktop files. Something that comes to my mind
is providing a debconf key in the gksu packge that would never be asked,
or would be 'low', and that would be used to decide which gconf schema
should be installed as default (using alternatives, I don't know), one
of the schemas would have sudo-mode on by default.

Does that sound overengineered to you Joey? I guess that would work if
we don't have a easy way of setting a default gconf setting at install
time.

I'll get some advice from other GNOME maintainers on this.

Thanks for involving me, I'm interested in helping solve this!

See you,

-- 
Gustavo Noronha Silva <[EMAIL PROTECTED]>
http://people.debian.org/~kov/


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



Bug#382670: debian-installer: Sudo not properly configured

2006-09-02 Thread Gustavo Noronha Silva
Em Wed, 23 Aug 2006 02:29:27 -0400
Joey Hess <[EMAIL PROTECTED]> escreveu:

> If the schema file is managed by alternatives, I think it would be
> better to let d-i detect this case and switch to the sudo
> alternative. Users can choose to use a sudo-only setup in expert mode
> so a hidden question isn't the best approach.

Indeed! I am now better informed, after asking the rest of the GNOME
team and doing some research.

So, we have two options and I would like to count with your experience
on deciding which one is best:


Using an alternative


I install two gconf defaults files, one containing this (save the
markers):

-- begin
/apps/gksu/sudo-mode false
-- end

The other one this:

-- begin
/apps/gksu/sudo-mode true
-- end

Installing an alternative to the path actually used
by /usr/sbin/update-gconf-defaults; The drawback here is we need to be
careful to always call update-gconf-defaults after setting this
alternative.

=
d-i installs an override file
=

Prior to the installation of libgksu2-0 d-i installs a file
called 11_libgksu2-0 to /usr/share/gconf/defaults/ containing the
follwing:

-- begin
/apps/gksu/sudo-mode true
-- end

The only change to the libgksu2-0 package (which is the responsible for
the gconf stuff and does all the gksu magic these days) is making it
call update-gconf-defaults. Another option would be to do nothing to
the libgksu2-0 package and have d-i call that script itself, which
removes the 'Prior to the installation' requirement.

The number 11 seems like the best choice; priority 10 is for the
package to use, the [20-50[ range is for derived distributions and the
[50-...] range for CDDs according to dh_gconf's manpage. We could use
15 as well, and leave [11-15[ for other packaging tricks that may be
necessary.

This way, when libgksu2-0's postinst is called the 11_libgksu2-0 setup
will override the one distributed by the package and we're set. I'd
even suggest that this is done regardless of libgksu2-0 being installed
in the d-i install process, so that if the user decides to install
gksu or some other thing that uses libgksu2-0 later on, the defaults
are already sane.

Both solutions sound simple, and require only minor intervention in the
package; I cannot say what's best for d-i, though, since I'm not
up-to-date with how it is working. I don't know, for instance, if the
installer is allowed to install files to /usr/share itself to modify
package behavior like this.

Whatever you say, I plan to implement it this week (this weekend if
possible =)).

Abraço,

-- 
Gustavo Noronha Silva <[EMAIL PROTECTED]>
http://people.debian.org/~kov/



Bug#382670: debian-installer: Sudo not properly configured

2006-09-04 Thread Gustavo Noronha Silva
Em Mon, 04 Sep 2006 09:46:10 -0300
Otavio Salvador <[EMAIL PROTECTED]> escreveu:

> Gustavo Noronha Silva <[EMAIL PROTECTED]> writes:
> 
> > 
> > Using an alternative
> > 
> >
> > I install two gconf defaults files, one containing this (save the
> > markers):
> 
> Well all good here but then on d-i side we'll need to configure the
> default one?

Yes, using the alternative, and then calling the update-gconf-defaults
script, like I said in that email. It's ready and documented (in
README.Debian) in libgksu2-0 version 1.9.8-2, which should be in
unstable right now.

[EMAIL PROTECTED]:~$ update-alternatives --display libgksu-gconf-defaults
libgksu-gconf-defaults - status is manual.
link currently points to /usr/share/libgksu/debian/gconf-defaults.libgksu-su
 /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo - priority 10
 /usr/share/libgksu/debian/gconf-defaults.libgksu-su -priority 20
Current `best' version is /usr/share/libgksu/debian/gconf-defaults.libgksu-su.

See you,

-- 
Gustavo Noronha Silva <[EMAIL PROTECTED]>
http://people.debian.org/~kov/


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



Keyboard preseed for X

2005-01-06 Thread Gustavo Noronha Silva
[Please, CC me on replies, I'm not currently subscribed]

Hello,

I was talking to sjoerd on #gnome-debian about keyboard setup just after
the Debian Instalation, and he said he got the us keyboard on GNOME even
though he had selected the british keymap on install time.

This reminded me that my last sarge install gave me my X setup using
abnt2 instead of us_intl, which it even auto-detected successfuly at
install time. The console keymap is correctly configured, so I went to
investigate. fjp told me on #debian-boot that localization-config was
the responsible for the preseeding and I got its source code.

The way it works today, it is mapping locale names to keyboard setups,
so you have:

'pt_BR' => { LAYOUT => 'br', XKBOPTIONS => '', XKBMODEL => 'abnt2', XKBVARIANT 
=> 'abnt2' },

(I don't even think we need a XKBVARIANT here for abnt2, but then...)

So I was thinking about hacking on localization-config so that it will
use the debconf key obtained during installation to set up the keyboard
and map that one to the keyboard setup for X instead. The debconf
question is answered like this on my new install:

Name: debian-installer/keymap
Template: debian-installer/keymap
Value: br-latin1
Owners: base-config, d-i, unknown

So I would map br-latin1 to pc105/us_intl and br-abnt2 to abnt2/br. Does
this make sense? Does it make sense for locales other than pt_BR? That
would, of course, help those who would like to have the system display
messages in pt_BR and use a 'us' keymap or other keymaps.

Thanks,

-- 
[EMAIL PROTECTED]: Gustavo Noronha 
Debian:    *  



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



Re: Keyboard preseed for X

2005-01-06 Thread Gustavo Noronha Silva
Em Qui, 2005-01-06 Ãs 18:36 -0200, Otavio Salvador escreveu:
> gns> So I would map br-latin1 to pc105/us_intl and br-abnt2 to abnt2/br. Does
> gns> this make sense? Does it make sense for locales other than pt_BR? That
> gns> would, of course, help those who would like to have the system display
> gns> messages in pt_BR and use a 'us' keymap or other keymaps.
> 
> Sure it makes sense but it have problems with others languages. Some
> languages the translation between kbdchooser and X is not direct.

I don't understand what you mean with the translation not being direct,
but if we cannot use this approach for every language, then we need a
mixed solution. I talked to markos_ on IRC and he said he was planning
to implement the 'grab from console' method; maybe we'll be able to come
up with something during the weekend.

> Take a look in archives, it was discussed here before.

Will do.

See ya,

-- 
[EMAIL PROTECTED]: Gustavo Noronha 
Debian:    *