<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.36">
<TITLE>Gdk-WARNING **: Everytime i install something from Synaptic Package Manager</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi,<BR>
<BR>
Please help<BR>
<BR>
I get this error message everytime i install something from Synaptic Package Manager.<BR>
<BR>
Gdk-WARNING **: locale not supported by Xlib at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 47 <> line 6<BR>
Gdk-WARNING **: cannot set locale modifiers at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 47 <> line 6<BR>
Gdk-WARNING **: locale not supported by Xlib at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 53 <> line 6<BR>
Gdk-WARNING **: cannot set locale modifiers at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 53 <> line 6<BR>
<BR>
though the install always complete successfully.<BR>
<BR>
Please enlighten me ....<BR>
<BR>
this is the Gnome.pm file<BR>
--------------------------------------------------------------------<BR>
#!/usr/bin/perl -w<BR>
# This file was preprocessed, do not edit!<BR>
package Debconf::FrontEnd::Gnome;<BR>
use strict;<BR>
use utf8;<BR>
use Debconf::Gettext;<BR>
use Debconf::Config;<BR>
use Debconf::Encoding qw(to_Unicode);<BR>
use base qw{Debconf::FrontEnd};<BR>
eval q{<BR>
        use Gtk2;<BR>
        use Gnome2;<BR>
};<BR>
die "Unable to load Gnome -- is libgnome2-perl installed?\n" if $@;<BR>
our @ARGV_for_gnome=('--sm-disable');<BR>
sub create_druid_page {<BR>
        my $this=shift;<BR>
       <BR>
        $this->druid_page(Gnome2::DruidPageStandard->new);<BR>
        $this->druid_page->set_logo($this->logo);<BR>
        $this->druid_page->signal_connect("back", sub {<BR>
                $this->goback(1);<BR>
                Gtk2->main_quit;<BR>
                return 1;<BR>
        });<BR>
        $this->druid_page->signal_connect("next", sub {<BR>
                $this->goback(0);<BR>
                Gtk2->main_quit;<BR>
                return 1;<BR>
        });<BR>
        $this->druid_page->signal_connect("cancel", sub { exit });<BR>
        $this->druid_page->show;<BR>
        $this->druid->append_page($this->druid_page);<BR>
        $this->druid->set_page($this->druid_page);<BR>
}<BR>
sub init {<BR>
        my $this=shift;<BR>
       <BR>
        if (fork) {<BR>
                wait(); # for child<BR>
                if ($? != 0) {<BR>
                        die "DISPLAY problem?\n";<BR>
                }<BR>
        }<BR>
        else {<BR>
                @ARGV=@ARGV_for_gnome; # temporary change at first<BR>
                Gnome2::Program->init('GNOME Debconf', '2.0');<BR>
                exit(0); # success<BR>
        }<BR>
       <BR>
        my @gnome_sucks=@ARGV;<BR>
        @ARGV=@ARGV_for_gnome;<BR>
        Gnome2::Program->init('GNOME Debconf', '2.0');<BR>
        @ARGV=@gnome_sucks;<BR>
       <BR>
        $this->SUPER::init(@_);<BR>
        $this->interactive(1);<BR>
        $this->capb('backup');<BR>
       <BR>
        $this->win(Gtk2::Window->new("toplevel"));<BR>
        $this->win->set_position("center");<BR>
        $this->win->set_default_size(600, 400);<BR>
        my $hostname = `hostname`;<BR>
        chomp $hostname;<BR>
        $this->win->set_title(to_Unicode(sprintf(gettext("Debconf on %s"), $hostname)));<BR>
        $this->win->signal_connect("delete_event", sub { exit });<BR>
       <BR>
       <BR>
        $this->druid(Gnome2::Druid->new);<BR>
        $this->druid->show;<BR>
        $this->win->add($this->druid);<BR>
       <BR>
        $this->create_druid_page ();<BR>
}<BR>
sub go {<BR>
        my $this=shift;<BR>
        my @elements=@{$this->elements};<BR>
       <BR>
        my $interactive='';<BR>
        foreach my $element (@elements) {<BR>
                next unless $element->hbox;<BR>
                $interactive=1;<BR>
                $this->druid_page->vbox->pack_start($element->hbox, $element->fill, $element->expand, 0);<BR>
        }<BR>
        if ($interactive) {<BR>
                $this->druid_page->set_title(to_Unicode($this->title));<BR>
                if ($this->capb_backup) {<BR>
                        $this->druid->set_buttons_sensitive(1, 1, 1, 1);<BR>
                }<BR>
                else {<BR>
                        $this->druid->set_buttons_sensitive(0, 1, 1, 1);<BR>
                }<BR>
                $this->win->show;<BR>
                Gtk2->main;<BR>
                $this->create_druid_page ();<BR>
        }<BR>
        foreach my $element (@elements) {<BR>
                $element->show;<BR>
        }<BR>
        return '' if $this->goback;<BR>
        return 1;<BR>
}<BR>
sub progress_start {<BR>
        my $this=shift;<BR>
        $this->SUPER::progress_start(@_);<BR>
        my $element=$this->progress_bar;<BR>
        $this->druid_page->vbox->pack_start($element->hbox, $element->fill, $element->expand, 0);<BR>
        $this->druid_page->set_title(to_Unicode($this->title));<BR>
        $this->druid->set_buttons_sensitive(0, 0, 1, 1);<BR>
        $this->win->show;<BR>
        while (Gtk2->events_pending) {<BR>
                Gtk2->main_iteration;<BR>
        }<BR>
}<BR>
sub progress_set {<BR>
        my $this=shift;<BR>
        $this->SUPER::progress_set(@_);<BR>
        while (Gtk2->events_pending) {<BR>
                Gtk2->main_iteration;<BR>
        }<BR>
}<BR>
sub progress_info {<BR>
        my $this=shift;<BR>
        $this->SUPER::progress_info(@_);<BR>
        while (Gtk2->events_pending) {<BR>
                Gtk2->main_iteration;<BR>
        }<BR>
}<BR>
sub progress_stop {<BR>
        my $this=shift;<BR>
        $this->SUPER::progress_stop(@_);<BR>
        while (Gtk2->events_pending) {<BR>
                Gtk2->main_iteration;<BR>
        }<BR>
        $this->create_druid_page();<BR>
}<BR>
--------------------------------------------------------------------<BR>
Regards<BR>
Danny Wong</FONT>
</P>

</BODY>
</HTML>