#!/usr/bin/perl
use lib qw(/usr/lib/libDrakX);
use standalone; #- warning, standalone must be loaded very first, for 'explanations'
use common;
use interactive;
use modules;
use mouse;
use c;
$ugtk2::wm_icon = "/usr/share/mcc/themes/default/mousedrake-mdk.png";
my $in = 'interactive'->vnew('su');
my $modules_conf = modules::any_conf->read;
begin:
my $mouse = mouse::read();
my %old = %$mouse;
if (!$::noauto) {
my $probed_mouse = mouse::detect($modules_conf);
$mouse = $probed_mouse if !$mouse->{XMOUSETYPE} || !$probed_mouse->{unsafe};
}
if (!$mouse || !$::auto) {
$mouse ||= mouse::fullname2mouse("serial|Generic 2 Button Mouse");
my $test_hbox;
my $name = $in->ask_from_treelistf('mousedrake', N("Please choose your mouse type."), '|',
sub { join '|', map { translate($_) } split '\|', $_[0] },
[ mouse::fullnames() ],
$mouse->{type} . '|' . $mouse->{name});
$name or $in->exit(0);
my $mouse_chosen = mouse::fullname2mouse($name);
$mouse = $mouse_chosen if !($mouse->{type} eq $mouse_chosen->{type} && $mouse->{name} eq $mouse_chosen->{name});
if ($mouse->{device} eq "usbmouse") {
modules::load_category($modules_conf, 'bus/usb') or die 'no usb bus found\n';
modules::load(qw(hid mousedev usbmouse));
}
$mouse->{XEMU3} = 'yes' if $mouse->{nbuttons} < 3 && (!$::noauto || $in->ask_yesorno('', N("Emulate third button?"), 1));
$mouse->{device} = $in->ask_from_listf(N("Mouse Port"),
N("Please choose which serial port your mouse is connected to."),
\&mouse::serial_port2text,
[ mouse::serial_ports ],
$mouse->{device},
) || goto begin if $mouse->{type} eq 'serial';
$test_hbox and $test_hbox->destroy;
}
mouse::write_conf($in->do_pkgs, $modules_conf, $mouse, 1);
if ($in->isa('interactive::gtk') && mouse::change_mouse_live($mouse, \%old)) {
require ugtk2;
ugtk2->import(qw(:wrappers :create));
my $w = ugtk2->new(N("Mouse test"));
gtkadd($w->{window},
gtkpack(Gtk2::VBox->new(0, 5),
Gtk2::Label->new(N("Please test your mouse:")),
my $test_hbox = Gtk2::HBox->new(0, 5),
$w->create_okcancel));
mouse::test_mouse_standalone($mouse, $test_hbox);
$w->main or goto begin;
}
system('service', 'gpm', 'restart') if -e '/var/lock/subsys/gpm';
$in->exit(0);
goto begin;
1_0'>topic/MDKC_1_0
Mageia Installer and base platform for many utilities
dd the different xmodmaps for every languages (maybe gnome-core xmodmaps can help)
xmodmap needed even for english as the backspace is not what it should
timezone using a picture (pb: how to delimit zones)
merge the install(1) of redhat
try detect_devices::floppies (and how are scsi floppies handled?)
have a better time estimation of the remaining time in install packages
look at SuperProbe
add the ability to give arguments to insmod.
update the list of modules (in update_kernel)
look at the pcmcia problem
upgrade
Xconfigurator:
simplify Monitors
possibility to show card autodetected
too slow at startup (when card autodetected)
the wait_message is nasty (just pops half second)
use the VideoRam for skeeping some tests (not all the 32 24 16 15 8)
in package choosing, the group (on the left) is no more `selected' (gtk focus) when clicking on a package (on the right)
install2 sigsegv when leaving :(
(i hacked init to reboot on error)
verify the free space is big enough.
ask realname first, then propose a username using the realname
be able to add more than one normal user
loadFont sucks
trash on the screen when X first starts
finish network configuration
get the error when reading .rpm files fail
ask for notepad (aka portable) or not
ask for hdparm or not
ask for more than the memory size detected
ask for the VGA mode for lilo or vidmode
lilo (ask the timeout, prompt or not)
add a log != tty3 (like /tmp/...)
remove the gray line surrounding the logo
pb with dependencies ``missing'': icewm do not require XFree86 and so you can have icewm but no X server
replace in place catchable die's by cdie's (as in partition_table::load)
rewrite mouseconfig in perl?
cleanup /etc/services & /etc/protocols
maybe remove commented lines in /usr/lib/perl5/... files
look at the generated /etc/conf.modules (redundancies)
handle zip/dat drives
# in 2.3.15 "Silicon Integrated Systems [SiS]|SiS900 10/100 Ethernet" is handled
remove cpio from base when mkbootdisk deps is added