DoudouLinux dev's blog

To content | To menu | To search

Tuesday 1 May 2012

Unique-launch: launch each application once, no more

A current issue with young children is that they often click application launchers several times until the application shows. Depending on the overall system speed, this may lead to 3, 4 or 5 instances of the same application launched in the end… Although desktop environments usually change the mouse cursor while an application is being launched, this is not the case of LXDE sessions, from which advanced DoudouLinux sessions derive, and this may not be sufficient anyway because the meaning of such change is not so obvious for someone who discovers computers.

For these reasons we wanted for DoudouLinux a tool that:

  • avoids applications to be launched more than one time
  • clearly shows that the application is being launched using a notification message
  • brings focus to a previously launched application when it is launched once more, may the application be iconified or wound

To achieve this, we developed a dedicated tool named unique-launch. You can install it using its Debian package.

The result is shown in the screencast below. The user clicks several times to launch an application, but only one instance is actually launched. Later he toggles the window to its wound status (only the title bar is drawn). Clicking the application icon unwinds the application and brings focus to it. This avoids the user doesn't understand why clicking the launch icon doesn't do anything if he forgot the application has been wound.

Fichier vidéo intégré

(download in OGG format, 1.5MB)

All these improvements will be made available in our future stable release, the successor of Gondwana. In the meanwhile, dailybuilds are available for evaluation, their names are of the form doudoulinux-yyyy-mm-dd-ll.iso. We invite everyone to test and give feedback!

Sunday 22 April 2012

UI improvements: new panel design

We are still working on improving the DoudouLinux user interface (UI). The previous work has been focusing on the desktop, made of the LxLauncher tabs. Now we're focusing on the panel LxPanel for a better integration and a better user experience. Several improvements have been achieved:

  • look & feel integrated with the desktop
  • redesign of many network-manager icons because they couldn't be enlarged
  • code backported from the volume plugin to the alsavolume plugin to get a changing volume icon, depending on the volume value
  • nicer icons for the volume icon
  • fixed font size in clock, not correctly following the panel size
  • improved battery look & feel, it still requires some work though
  • the panel can now be covered by application windows

A dailybuild will be soon available in several languages to get feedback from our community. The result of this work is as follows:

New interface (2012-04)

If you're wondering what is the role of the country flag in the panel: this is the keyboard layout. Finally another screenshot with an application window:

New interface, with calculator (2012-04)

Other UI improvements are on the go and will be soon detailed in new posts :). Stay tuned!

Monday 9 April 2012

New DouDouLinux for ARM™ Released

It's time to make a new pre-release of DoudouLinux for ARM™.

Our builds are now available in Efika MX Community Software.

Some news are :

  • a new boot splash screen.
  • a new desktop
  • a new auto maximize feature
  • bug fixes

Still under heavy development you may get some bugs, please report them on our site DoudouLinux project life

And if you still want to contribute, you're welcome to join our community, read more on DoudouLinux - The computer they prefer!

SplashScreen

Soon available in couple of hours at the Daily Builds Download page.

sYs...

Tuesday 27 March 2012

Some news in preview

The new stable version of DoudouLinux is not completely achieved yet but we are happy to present some changes that will be brought to the next stable version of DoudouLinux, which is expected for mid 2012.

DuckDuckGo

The DoudouLinux project wants to be as open and free (freedom) as possible. He also wants to propose a computing experience that is free of advertisement and spywares, may they come from installed software or from visited web pages. But it is sometimes difficult to get rid of few habits… or companies.

Therefore, we are very proud to announce that the Google Co. won't be able to collect and resell our children data anymore! Indeed, the growing spying practices of this great company should be soon bypassed by the use of DuckDuckGo as the default DoudouLinux search engine.

Its speed, its simplicity and its image have been noticed by the project manager who proposed it to the team for integration into the project.

New presentation

The menu LxLauncher (it is the main menu in “Whole DoudouLinux” and “Mini DoudouLinux”) has been reworked. The goal is the accessibility for young children who can't read, plus aesthetic. Henceforth, they will recognize the icons more easily and intuitively: icons have been changed and enlarged.

Look at the screenshot below to see how this new look & feel will be.

New LXLauncher

A new name

Gondwana is the name of the current stable version but… what will be the name of the next stable version? After the letter “G” is the letter “H” and (perhaps) should Hyperborea be a good name for the next DoudouLinux?

Any other idea? Feel free to submit them in comments or on our mailing lists.

Saturday 24 March 2012

Doudoulinux in Linux Pratique Essentiel

Some times ago, we, Xavier, Jean-Michel and Elisa had the idea to make DoudouLinux known to a larger number of people, Boeotian or neophytes of the free and open source world, thanks to Linux-related paper magazines. We have chosen a FLOSS magazine, not technically-oriented and speaking about accessible topics. Our choice has then set on the Diamonds Editions magazines and more particularly on their magazine Linux Pratique Essentiel.

So we started a text document editable by several people simultaneously on etherpad.org and carried out the task and the work. After several days of collaboration we got an article that sounds correct.

The "draft" has then been sent to the magazine editor and was accepted after some minor modifications (mainly screenshots). Today we are very happy to announce that it has been published, with 4 full pages dedicated to Doudoulinux. You can see an overview of the magazine at the following address: Diamonds Editions.

The article is paid and all the collected funds will be given back to our association!

The magazine is distributed in several French-speaking countries (France, Belgium, etc.) and can be ordered in other European countries. It will be available in bookshops in April, we hope that you will enjoy reading it :). Feel free to send us feedback.

Monday 12 March 2012

Using Debian to install DoudouLinux

Many people are trying to install DoudouLinux definitively on hard disk, because they're found of it ;) and have a quite old computer sleeping on a shelf. Some other ones are also willing to install DoudouLinux in schools, which is a great initiative :). Until now we've been only providing a “Live-like” installation which is identical to a Live USB key but on an internal hard disk. This is practical and very easy for users but has several drawbacks:

  • System updates don't replace the Live system files but consume extra space
  • Our installation tool wipes out the entire hard disk
  • Updating to a new version of DoudouLinux is not managed

For these reasons we've started to work on several ways to really install DoudouLinux onto hard disk. In this post we're using a minimal Debian install as a start point to seed DoudouLinux on the computer, which may last up to one hour per computer. This technique can also be used to create a “Live” USB key that is indeed a real system, not a Live system, or derived into a chroot installation process. The first case, real system on USB key, has been successfully tested.

NB: Currently only the development version can be installed as explained in this post.

Installing Debian

We assume that you're perfectly mastering the Debian installation process, so we won't tell too much about this. As we're performing a minimal Debian installation, you shouldn't be afraid of ending with a console-only system. We also recommend to use a wired network connection if you don't want to bother with WiFi credentials from the command line!

To install DoudouLinux, using 3 partitions (system root, home and swap) should be sufficient. However we recommend to select manual partitioning even if you don't want to make a multi-boot system nor install onto an USB key. This way you'll be able to set a root partition that matches your needs or to use an ext4 filesystem. Your root partition should be able to host all the packages downloaded from the Internet (in /var), which requires around 1 GB, and a DoudouLinux system alone requires 3 GB of free disk space. If you want to install additional applications, you should set a larger root partition up to 10 GB.

Install using Debian – disk partionning

When the Debian installer will ask you what kind of system you want to install, deselect “Desktop environment” to avoid installing many applications that are not in DoudouLinux. This will lead to a Debian console-only system.

Install using Debian – selected tasks

Bootloader or not bootloader

Near the end of the Debian installation process, you'll be asked if you want to install the bootloader on the first drive. You need to do this only if you're installing on the internal hard drive of your computer (and don't have a bootloader already installed of course!). If you're installing onto an USB key, answering yes to this question will not install the bootloader on your key but on your internal hard disk instead!

Install using Debian – Grub or not Grub?

In the case of an USB key, you can install the bootloader afterwards by restarting the Debian installation CD but choosing the rescue mode at bootup. When the rescue system will ask you if you want to start a console in a chroot environment, answer yes then choose your USB key root partition as system root. Doing this, the rescue system will be able to install Grub2 onto your USB key with the simple following command:

# grub-install /dev/sdx

where /dev/sdx is the path to your USB key device. As you may understand, you have to write down the path of your USB key during the previous installation process of Debian in order not to make mistakes :).

First reboot

As said above, rebooting your newly installed system should lead you to a minimal command-line system, so log in it as root.

Install using Debian – first reboot

Note that if you hadn't networking or have discarded it during the Debian install process, you'll need to edit /etc/apt/sources.list to add the Debian repositories, and to bring up your networking interface manually:

# dhclient eth0

Of course change the interface number eth0 if needed.

If you don't want to bother with inserting the Debian installation CD/DVD while installing DoudouLinux, also comment or even remove the corresponding lines in /etc/apt/sources.list. Now let's add the DoudouLinux repositories:

# echo "deb http://debian.doudoulinux.org/ squeeze main" > /etc/apt/sources.list.d/doudoulinux.list

You now have to install the repository key:

# apt-get update
# apt-get install --force-yes -y doudoulinux-keyring
# apt-get update

Finally we recommend to disable the installation of recommended packages, which avoids the use of 1.3 GB extra space in our tests. You need to create the file /etc/apt/apt.conf.d/90recommmends-suggests and type:

APT 
{
  Install-Recommends "false";
  Install-Suggests "false";
};

Your system is now ready to install DoudouLinux! Note that you can reactivate recommendations afterwards if you prefer not to bother with missing optional components when installing applications.

Install DoudouLinux

Thanks to all the work done for the migration of DoudouLinux to ARM™, DoudouLinux is more and more a standard system with its own installation packages. Although using the packages is still not leading to an exact copy of the Live system, it is now really very close to it and few details are missing only. Installing the full DoudouLinux environment is now as simple as:

# apt-get install doudoulinux-desktop-environment openbox

That's it! Note that, as of writing, openbox is only needed in this line because of a missing dependency :). This will be fixed soon. During the installation process, Samba will ask you the domain name, just press enter. After a couple of minutes or tens of minutes (depending on your computer and your Internet connection), the job will be done. You can now install packages that are specific to the x86 architecture, among those Plymouth:

# apt-get install doudoulinux-x86

Alternatively, if your system requires additional dirvers and firmware, for network devices for example, you may want to install our meta-package doudoulinux-live-drivers. It depends at least on the non-free section of the Debian repositories:

# sed -i 's/ main/ main contrib non-free/' /etc/apt/sources.list
# apt-get update
# apt-get install doudoulinux-live-drivers

Finally we recommend to add several useful tools:

# apt-get install less bash-completion ntpdate

You'll have to edit /etc/default/ntpdate to tell it not to use the NTPD parameters, since this package is not installed. Finally you may want to manage packages using synaptic and remove orphan packages using gtkorphan:

# apt-get install synaptic gtkorphan libgnome2-perl rarian-compat apt-xapian-index

Now it's time to configure the boot splash. Change the default Plymouth theme to the DoudouLinux one:

# plymouth-set-default-theme doudou-witch

To show Plymouth at boot, you have to add splash to the boot command line. To do this, edit /etc/default/grub and replace “quiet” by “quiet splash”. You'll also need to add modules to your RAM disk image, refer to the Debian wiki page for that since this depends on your hardware. Alternatively, if your video chipset is not recent enough, you might prefer make Plymouth use the framebuffer mode.

You can now regenerate the RAM disk image and the Grub menu:

# update-initramfs -u
# update-grub2

Unfortunately we haven't got a theme packaged for Grub2 yet, the very early boot will then be text only.

Finally you can edit /etc/xdg/user-dirs.defaults to avoid it to create unneeded directories in user's homes, for example Desktop, Template and Share.

Cleaning the system

You may need to remove extra packages that your minimal Debian installation has installed:

# apt-get purge exim4* at cron portmap rpcbind openssh-client

You can then purge the packages that are not necessary to DoudouLinux and clean the package cache directory:

# apt-get autoremove --purge
# apt-get clean
# reboot

GtkOrphan may also help you find additional and uneeded libraries. Your DoudouLinux system is now totally ready for use by children! The final total disk space used on my test machine is 3.1 GB while the maximum disk space needed during the installation was 3.9 GB. And the system boots in 12 seconds in VirtualBox without any special trick!

Have a good DoudouLinux!

Sunday 11 March 2012

New development version available for testing

We are glad to announce that our next development version, number 2012-02, is available for testing from our dailybuild section. Note that you'll also find in this dailybuild section several 486 builds of the stable release, for the oldest computers (our official builds target the 686 architecture). The changes in version 2012-02 are detailed in a recent post on our mailing list. Here is the summary:

  • Deep code refactoring under the skin due to the ARM™ port. As a result installing DoudouLinux on a computer is now just a matter of installing our ultimate meta-package doudoulinux-desktop-environment (blog post to come soon on this topic).
  • Lots of new applications and games, see the updated page New applications. This is not the final application set that will end in our next stable release planned for mid 2012.
  • Improved look & feel compared to the previous development version (window decorations, theme, icons, cursor, buttons, panel layout, etc.). The position of all buttons on window title bars have moved to the left on LTR languages since many OS'es now do this.
  • Size of icons in advanced activities is now computed at boot to occupy around half the screen area (see the related post on this blog).
  • Graphical layout is now adapted to LTR/RTL languages at boot and session start. This is required for ARM™ and a future multi-language DVD.
  • Added playlists for online music and videos using contents from archive.org (browse directories in activity Whole DoudouLinux).
  • Improved system security: now only DoudouLinux activities don't require a password to be started, instead of all users!
  • Several fixes, among those Network-manager unable to store Wifi passphrases and system tools requiring admin password to work, eg. new printer.

We invite everyone to test this version then report issues and suggestions, so download and enjoy!

NB: the development release should be officially published within a week.

Thursday 9 February 2012

FOSDEM 2012

Despite the efforts of the team to be present at the FOSDEM (Free Open Source Developers European Meeting) we have not succeeded this difficult last minute task.

Fortunately thanks to our drawers, we put up twenty colored A4 posters in the 4 buildings of the FOSDEM. This helped make our project known.

Poster FOSDEM (Fred version)
The poster put in the FOSDEM building (by Fred)

Thanks to this, more than 4000 visitors, contributors, volunteers and developers have directly or indirectly received information about the project.

Poster DoudouLinux at the Mozilla stand
A poster of DoudouLinux put in background of one of the most visited stands in the FOSDEM : the Mozilla stand. (Credits : C. Gesché - Moosh.be)

We hope our group is going to grow. Therefore we are recruiting volunteers, developers, graphic designers and other “FLOSS people”. Come and help us too !

Wednesday 25 January 2012

DoudouLinux demo in a Belgian school

The 16th January took place in Brussels the first presentation of DoudouLinux in a Belgian school, at the public school number 13.

A particularity of this school is its exceptional architecture which can welcome more than 1000 pupils with a nursery school division of 100 children. At Belgium level, it is a large capacity institution with high cultural mix, mostly coming from the European Union.

Taking the opportunity of the teachers lunch break, two local representatives of the newly created DoudouLinux association (known as Xavier and Frédéric) presented DoudouLinux to a targeted audience: 7 teachers of the nursery school and its director.

Xavier is presenting DoudouLinux

Equipped with three computers (two of them for demonstration, the latest one running the slide show), bringing improvised “Welcome packs” for each teacher, Xavier and Frédéric began by giving a maximum of information about the spirit of the project and its technical details. The packs contain the French Wikipedia article printed, a non-official leaflet and a CD-ROM of the latest version of DoudouLinux Gondwana.

We have to confess that the audience was a bit cold at first, showing few interest into the small technical details and free culture.

After this brief introduction, putting technical topics aside regained the attention of the teachers. Xavier and Frédéric went on with a question-answer play. They had to improvise primarily on DoudouLinux components: games, educational suites but also the various components, customization of the operating system and emphasis on security (“live-CD” among other things)…

DoudouLinux, a teacher on the computer

The demonstration ended after 45 minutes with a “live demo” of Gondwana. Teachers tried out the DoudouLinux environment by taking place in front of both computers. Finally they all seemed pretty convinced (personal impressions of Frédéric and Xavier).

What’s up next? The future is not waiting to see: an appointment is to be set in order to “deliver” 3 computers with DoudouLinux (installation on hard disk) and we are looking forward to getting feedback from teachers who received the “Welcome pack”.

This, of course, will be the topic of another post.

Tuesday 17 January 2012

First “ready to use” DouDouLinux ARM™ images

Here it is, the promised DoudouLinux for Genesi Efika SmartBooks! It's a 4GB SD card image, ready to boot a DoudouLinux system built on top of Debian ARM™ Squeeze (armel flavour). This is a multi-language version of DoudouLinux (US English/French):

  • For Genesi/Efika SmartBook (armel)
  • Preconfigured for en_US/Qwerty keyboard
  • With iMX video driver
  • With GPU activated

Hare are some additional technical information:

  • root password efika
  • Genesi's Freescale source code
    • from Genesi's GIT
    • compiled by DrEagle
    • license Freescale “accepted”
  • non-free Freescale code (binary)
    • libz160 (GPU)
  • base distribution: Debian Squeeze, with the following sources
    • official Debian repositories
    • additional Debian-multimedia repository
    • custom DoudouLinux repository

You can get it from our official download pages:

If you wish to check the SHA1 sum, just issue the following command:

$ sha1sum efika-ddl-armel-ENU-gpu-4Go_20120116.img.xz
4630401386747fb2c46ef33e663795fd106bde45  efika-ddl-armel-ENU-gpu-4Go_20120116.img.xz

To build your LiveSD disk, you'll need a 4GB SD card. Then use this command:

$ xzcat efika-ddl-armel-ENU-gpu-4Go_20120116.img.xz | pv | sudo dd of=/dev/mmcblk0 bs=8192

Don't forget to replace /dev/mmcblk0 with the actual SD card device path (and please double check you're not using your internal HD!!!).

Sunday 15 January 2012

LxLauncher: automatic icon size for a nicer interface

One issue we had in mind for a while is the fixed size of icons in LxLauncher. Depending on screen resolution, this size can be fitting well (small resolutions) or really too small (large resolutions). In the later case, the interface of advanced activities like “Whole DoudouLinux” and “Mini DoudouLinux” can look very empty, just as the screenshot that is unfortunately available on our DistroWatch page.

With automatic icon size computation, we are now able to get a similar rendering on various screen resolutions as shown on the photo composition below. In this case, screen resolutions are 1280×800 (HP), 1280×1024 (CRT display), 1024×768 (Dell) and 1024×600 (Genesi), leading to screen size ratios 5÷4, 4÷3 or between 16÷10 and 16÷9. If you want to give it a try, just download one of our recent dailybuilds, in English or French only.

Automatic icon size for LxLauncher

We hope then to not see this kind of screenshot anymore:

LxLauncher without automatic icon size

Now few words about the way we achieved it.

In Debian Squeeze, the LxLauncher version, v0.2.1, features icon size tuning in a configuration file, /etc/xdg/lxlauncher/settings.conf. This is an easy way to change the icon size but, of course, requires user action. This is why we've developed a shell script that is called during GDM initialization to adapt the icon size to the actual screen resolution. The algorithm is the following:

  1. compute screen surface in pixels-square
  2. compute the width of icons to have a given number of them in a given portion of the screen (45% in our script)
  3. compute the rounded number of icons per row using the previous width
  4. compute the final icon width using screen width and number of icons per row

This script is available on our SVN server. Its algorithm is designed to be independent of screen orientation since it does not uses the screen width to compute the icon size but the screen surface. We hope then to be able to run DoudouLinux on any device in the future, from the smallest handheld devices to the largest TV screens :).

Finally, what about the stable DoudouLinux release Gondwana? Well it is shipping with LxLauncher v0.2.0 which does not allow to set icon size (it is hard-coded). Nevertheless trials have been performed to backport icon size setting from 0.2.1 and it seems to work! We should then release the latest update of Gondwana, v1.2, with this new feature :).

Thursday 12 January 2012

DoudouLinux environment on Genesi Efika: we did it!

We're very glad to announce that our work to have DoudouLinux running on ARM™ devices has much progressed during the past few weeks. As shown on the photo below, we're now able to run the full DoudouLinux environment on the Efika MX smartbooks that Genesi graciously offered our project. Although not everything is perfect right now, this is an important step forward on our way to ARM™. We're now planning to upload a first Genesi/Efika disk image quite soon, to let enthusiastic people test and hopefully enjoy :).

DoudouLinux on Genesi/Efika

This work has been achieved by DrEagle for the Debian ARM™ base image and Jean-Michel (me) for the packaging of DoudouLinux tricks that turn a light installation of Debian Squeeze armel into a DoudouLinux environment. DrEagle has worked on writing a generic disk image generation process in order to be able to address any ARM™ hardware in the future. He first focused on producing a standard Debian image and he's now moving on to producing an armel DoudouLinux image directly. In the meanwhile I focused on splitting the DoudouLinux environment tricks into generic tricks and live-specific tricks[1], then put them into standard Debian packages. As a result, installing our latest custom packages should be enough to turn any Debian or Debian-like machine into a DoudouLinux computer, whatever the target architecture (no real test has been performed though ;) ). A dedicated post will be written soon.

Now next steps are the following:

  1. Setup a buildd package server in order to ease our work of releasing binary packages for 4 architectures and 3 distribution code names.
  2. Move from the slow armel port to the faster armhf port[2].
  3. Terminate the migration of the live environment tricks into Debian packages.
  4. Build images for other ARM™ hardware, especially the new Genesi hardware to come.
  5. Prepare our next official, stable release that will be the base for a first official ARM™ release.
  6. Test and debug – not too much we hope!

As you can see there is still quite a long way to go but we've shown that this is not wishes only but rather a matter of perseverance and hardware availability. Of course we're very thankful to Genesi to have supported us in our early ARM™ development stages. We're now eager to test DoudouLinux on the very latest ARM™ hardware available :). Stay tuned!

Notes

[1] Recall that DoudouLinux was basically designed to be a LiveCD, not a standard Linux system.

[2] We have to confess that currently the armel port combined with the quite low graphic performances of the old generation of ARM™ smartbooks doesn't allow all the DoudouLinux applications to run smoothly. While there is still uncertainty for real 3D games like SuperTuxKart, we believe that armhf on the latest generation of hardware should lead to a really attractive environment for children and… parents!

Saturday 17 December 2011

New architectures armel and armhf in our repository

Thanks to Genesi who graciously donated smartbooks to our project, porting DoudouLinux to ARM™ has started. It is then time to host new architectures in our Debian package repository: armel for both squeeze and wheezy, armhf for wheezy only.

Although we haven't started to generate ARM™-specific packages, we can first copy our architecture independent packages. The tool reprepro that we're using to make our own repository provides a convenient function flood that copies all the packages of architecture all from one architecture to another, in the same distribution codename. The following command is copying existing squeeze packages of architecture all to armel:

$ reprepro -V --basedir debian/ flood squeeze armel

As the previous command is not talkative at all, let's check it worked well:

$ reprepro -V --basedir debian/ --architecture armel list squeeze
squeeze|main|armel: childsplay-session 1.1-1
squeeze|main|armel: dansguardian-squid 1.0-2
squeeze|main|armel: doudou-hwreport 1.1-1
squeeze|main|armel: doudou-icons-extra 1.0-1
squeeze|main|armel: doudou-installer 1.0-3
squeeze|main|armel: doudoulinux-base 1.0-2
squeeze|main|armel: doudoulinux-desktop-environment 1.0-2
squeeze|main|armel: doudoulinux-dev-artists 1.0-1
squeeze|main|armel: doudoulinux-dev-build 1.0-1
squeeze|main|armel: doudoulinux-dev-l10n 1.0-1
squeeze|main|armel: doudoulinux-dev-system 1.0-1
squeeze|main|armel: doudoulinux-games 1.0-1
squeeze|main|armel: doudoulinux-keyring 2011.01.10
squeeze|main|armel: doudoulinux-kids 1.0-2
squeeze|main|armel: doudoulinux-mouse 2.1-1
squeeze|main|armel: doudoulinux-multimedia 1.0-2
squeeze|main|armel: doudoulinux-sessions 1.1-1
squeeze|main|armel: doudoulinux-sound 2.1-1
squeeze|main|armel: doudoulinux-splashimages 1.0-4
squeeze|main|armel: doudoulinux-timezone 1.0-2
squeeze|main|armel: doudoulinux-utils 1.4-1
squeeze|main|armel: doudoulinux-work 1.0-2
squeeze|main|armel: empathy-salut-nickname 1.0-3
squeeze|main|armel: epiphany-adblock-lists 1.0-1~20111122
squeeze|main|armel: gamine-session 1.0-3
squeeze|main|armel: gcompris-session 1.0-3
squeeze|main|armel: gdm-theme-doudoulinux 1.2-1
squeeze|main|armel: gnome-backgrounds-doudoulinux 1.0-3
squeeze|main|armel: grub-splashimages-doudoulinux 2.0-1
squeeze|main|armel: kde-l10n-doudou-es 4:4.4.5-1
squeeze|main|armel: kde-l10n-doudou-fr 4:4.4.5-1
squeeze|main|armel: kde-l10n-doudou-it 4:4.4.5-1
squeeze|main|armel: kde-l10n-doudou-ru 4:4.4.5-1
squeeze|main|armel: live-boot 2.0.15-1doudou1
squeeze|main|armel: live-boot-initramfs-tools 2.0.15-1doudou1
squeeze|main|armel: live-persistence 1.0-7
squeeze|main|armel: liveusb-write 1.0-14
squeeze|main|armel: lxlauncher-session 1.8-2
squeeze|main|armel: plymouth-themes-all 0.8.3-20doudou1
squeeze|main|armel: plymouth-themes-doudoulinux 1.0-1
squeeze|main|armel: plymouth-themes-fade-in 0.8.3-20doudou1
squeeze|main|armel: plymouth-themes-glow 0.8.3-20doudou1
squeeze|main|armel: plymouth-themes-script 0.8.3-20doudou1
squeeze|main|armel: plymouth-themes-solar 0.8.3-20doudou1
squeeze|main|armel: plymouth-themes-spinfinity 0.8.3-20doudou1
squeeze|main|armel: pysycache-session 1.0-4
squeeze|main|armel: python-editobj2 0.3-1.1
squeeze|main|armel: songwrite2 0.4.1-1+0.4.2
squeeze|main|armel: soundsetting-session 1.0-1
squeeze|main|armel: tbo-common-data 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-accesories 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-all 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-arcadia 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-bubble 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-dgm 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-doodle1 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-facilware 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-guadalinex 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-linuxhispano 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-political 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-southpark 0.98~git20110321-0doudou2
squeeze|main|armel: tbo-data-doodle-tbo 0.98~git20110321-0doudou2
squeeze|main|armel: ttf-lohit-font 2.4.6-1
squeeze|main|armel: tuxpaint-session 1.1-1

Everything is fine :). So now we can copy the squeeze packages to wheezy, still for the architecture all. The tool reprepro provides another convenient function copy that performs copies across different distribution code names. As we want to copy the architecture all only, we'll feed this copy command with the list of packages from the newly created armel architecture in squeeze:

$ reprepro -V --basedir debian/ copy wheezy squeeze \
    $(reprepro -V --basedir debian/ --architecture armel list squeeze | cut -d ' ' -f 2)

Finally, as wheezy has armhf while squeeze doesn't, we need to use flood again to populate armhf in wheezy:

$ reprepro -V --basedir debian/ flood wheezy armhf
$ reprepro --basedir debian/ list wheezy tuxpaint-session
wheezy|main|i386: tuxpaint-session 1.1-1
wheezy|main|amd64: tuxpaint-session 1.1-1
wheezy|main|armel: tuxpaint-session 1.1-1
wheezy|main|armhf: tuxpaint-session 1.1-1
wheezy|main|any: tuxpaint-session 1.1-1
wheezy|main|source: tuxpaint-session 1.1-1

That's it! Our first ARM™ repository is online and can be tested. Note however that all the wheezy packages may not be relevant (eg. Plymouth packages or KDE language packages). The objective is to start to play with packages that are really DoudouLinux-specific. Later we'll work on refining our ARM™ repository. We also plan to move it to a custom buildd server to avoid all the manual operations that reprepro is currently needing.

Wednesday 30 November 2011

Custom Cross Debian Squeeze on Efika

The POC is here, all cross compilate; our first custom armel Debian Squeeze 6.0.3 with Gnome 2.30.2, Genesi 2.6.31 kernel and iMX Video Driver.

Debian Squeeze ARMEL

Linux (none) 2.6.31.14.27dreagle-efikamx #1 Sun Nov 27 10:44:17 CET 2011 armv7l GNU/Linux
Processor	: ARMv7 Processor rev 5 (v7l)
BogoMIPS	: 799.53
Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0xc08
CPU revision	: 5

Hardware	: Genesi Efika MX (Smartbook)
Revision	: 51030
Serial		: 0000000000000000

This is a SDCard boot ready system...

Stay Tuned !

Friday 25 November 2011

Automatic login now available

The default behavior of DoudouLinux is to show the menu of activities (see below) after the system has started and as soon as any activity is leaved. This is good for small children because the activities menu offers activities in the increasing order of difficulties, from top to bottom. However, for older children, the first activities are or will quickly become of poor interest. This is why the list of activities shown – but not their order – can be changed with the activities menu editor .

Activities menu (small)

However the oldest children may still have no interest at all in seeing a menu of activities, since they will surely login into “Whole DoudouLinux”. The new version of the activities menu editor can now do this. The trick is quite simple: if only one activity is selected in the menu, DoudouLinux will not show the activities menu but instead will enter this activity directly. Activities menu settings are recorded in the directory /home/etc/, which means that any data persistence (user data or user+system) is sufficient to make settings survive a reboot or a shutdown.

This new version of the activities menu editor will be available with next releases: the coming development release numbered 2011-11 and the planned official release update Gondwana 1.2, due to mid January.

Saturday 19 November 2011

Efika MX SmartBook

Here they are,

3 Genesi Efika MX SMARTBOOK for the DouDouLinux Dev Team.

IMG_0114.JPG

Thanks again to Genesi for supporting us in this challenge.

IMG_0117.JPG

Just needed some work now from the dev team to make the first DouDouLinux release available on ARM.

Sunday 13 November 2011

Source package repository now online

We've been providing a DoudouLinux Debian repository for binary packages since the beginning of the project but no source package repository. As we're now part of Debian Derivatives and as we're also moving to ARM™ architecture, we needed to setup a source repository too. For Debian Derivatives, this will allow our father project Debian to automatically fetch all our patches of standard Debian packages. For our ARM™ port, this will ease the compilation of binary packages targeting either the armel or armhf flavor.

Our source package is now online, although it is not complete yet. It can be fetched using the standard way to add source repositories, in /etc/apt/sources.list or /etc/apt/sources.list.d/:

deb-src http://debian.doudoulinux.org/ lenny main
deb-src http://debian.doudoulinux.org/ squeeze main

The source repository is completed for the stable version of DoudouLinux, based on Debian Lenny. The development branch, based on Squeeze is not completed yet, due to difficulties to deal with the new package format Quilt 3. Most of packages have their sources for the development version however :). Finally we now have to set up an experimental branch based on Wheezy to be able to build armhf packages (only armel can be built upon Squeeze).

The way we built the source repository consisted in changing first our package build script to make it automatically generate and collect source packages, then our repository build script to make it handle source packages too. To build the Debian repository, we're using reprepro, an official Debian tool which is quite simple to use:

  1. Create a directory for your Debian repository, say debian/.
  2. Create a file debian/conf/distributions that sets your repository parameters (name, architectures, codename, etc.).
  3. Invoke reprepro for each package to be added, with the options matching your package.

For a binary package:

reprepro -V --basedir debian/ --architecture <arch> includedeb <codename> <debfile>

where <arch> is i386, amd64, armel, etc., <codename> is your distribution codename and <debfile> the binary package to be added.

For a source package the command is slightly different:

reprepro -V --basedir debian/ --type dsc includedsc <codename> <dscfile>

where <dscfile> the DSC file of your source package. It will copy the corresponding .tar.gz file and .diff.gz file (whenever available) that are used to restore the patched source code.

In the future we intend to setup a buildd or buildd-like server that will build all our packages transparently, automatically from source code, whatever the target architecture and the distribution flavor. This way we won't have to do manual operations to update our repository any more.

Saturday 5 November 2011

Genesi supports DoudouLinux ARM™ port

Genesi logo We are very glad to announce that Genesi, which makes computing products using ARM™ and Power Architecture™ technology, has accepted our project DoudouLinux in its latest sponsorship program around the i.MX53 chip from Freescale. The team will benefit from Genesi hardware, graciously donated to help us port DoudouLinux on ARM™. Moreover, as Genesi is already running Debian on its ARM™ devices, this collaboration will undoubtedly speedup our work :).

This first partnership is just the beginning of our move to ARM™ architecture. As this platform is quickly increasing in popularity, we have understood during the early stages of the project that we could not miss this opportunity to provide children all around the world with adapted, efficient, easy, pleasant and… free software. Of course any volunteer willing to help the project is welcome! We are impatient to have DoudouLinux on ARM™: the more developers we are, the faster it will occur.

Stay tuned!

Saturday 9 April 2011

Clean install of DoudouLinux on hard disk

Currently the DoudouLinux installer just copies onto disk the Live media as is. While this is very practical for us and brings interesting features to users (rock-solid read-only system), this also has drawbacks:

  • the system is still compressed and slows down startup on old computers
  • you can not remove software
  • upgrading software creates a duplicate version of each software
  • many boot parameters cannot be changed (they're not persistent)

One of our most active contributors, Richard, suggested to use Remastersys. This is a tool whose goal is to perform full system backup onto a Live CD for Debian-based distributions. One of its features is to let users re-install a clean system onto hard disk from the Live CD: just what we need!

Thanks to it, on a laptop from 2003-2004, DoudouLinux is now booting in 40s instead of 120s from CD. I installed the system in 3 separate partitions: root, home and swap. The root system needs 1.9 GB so you have to setup at least a 2.5 GB root partition. Of course if you want to add software or don't want a separated home partition (bad idea), make it larger! Now let's look at the recipe :).

Remastersys is offered as a Debian package. The package provides a shell script to install the running Live system on disk: “remastersys-installer”. Reading the script showed that it is doing what we need. We have then successfully performed a clean install of DoudouLinux with the following operations:

  1. add Remastersys repository to a running DoudouLinux
  2. install Remastersys
  3. run the Remastersys script called “remastersys-installer”
  4. reboot!

Note that there are some issues to be corrected after the first boot (see after the source code below). We also have to customize the Remastersys script for use in an official future DoudouLinux release. In the meanwhile, if you want to test it by yourself, you need to type several code lines as root then as the main user to be able to use the graphical Gtk interface:

# log as root
su -

# define parameters
SOURCESLIST=/etc/apt/sources.list
DANSREGEXPEXCEPT=/etc/dansguardian/lists/exceptionregexpurllist
DANSSERVICE=/etc/init.d/dansguardian

# register remastersys repository
echo 'deb http://www.geekconnection.org/remastersys/repository debian/' >> $SOURCESLIST

# fix bug DansGuardian blocking some deb's files
# see: https://gna.org/bugs/index.php?18003
echo '\\.deb$' >> $DANSREGEXPEXCEPT
$DANSSERVICE restart

# install remastersys
apt-get update
apt-get install --assume-yes --force-yes remastersys

# call installer as normal user
exit
sudo remastersys-installer gui

Once completed, if you see messages complaining about the impossibility to unmount /TARGET and /TARGET/home, just unmount them manually in the console:

sudo umount /TARGET/home/
sudo umount /TARGET/

Finally please note that there are few details to be corrected:

  • at boot GRUB is complaining about a missing splash image
  • network may not work because the file /etc/network/interfaces is appended with another network configuration at each boot (which causes inconsistencies)
  • boot is hanging tens of seconds when network is not plugged because it is waiting for a DHCP lease

The first point can be solved by editing /boot/grub/menu.lst and adding “boot” between the double slash (//) in the line speaking of splash. Note that the Remastersys splash image is not childish at all. Prefer installing the package grub-splashimages-doudoulinux instead! (and replace the file /boot/grub/splash.xpm.gz)

The second one can be solved by removing the for loop of the 3rd block of code in /etc/rc.local.

The last one cannot be simply solved. We have to achieve additional experiments to find a solution. They'll be reported in the ticket related to this topic: Provide a way to do a real DDL installation.

Have nice DoudouLinux installs! ;)

Tuesday 1 February 2011

Graphical interface to set the session menu

A new tool to set the session menu has been developed. It has been designed to be dead easy to use: you are shown the list of possible sessions and just check or uncheck the sessions that you want to see or hide. You can then easily adapt the main screen to the audience: small or big children (or adults ;) ). In the future we may add an option to force autologin for a given activity.

Please note that sessions are called activities in the interface, which is certainly more easy to understand for people who are not familiar with computers. Here is a screenshot:

doudoulinux-sessions

The tool is not available in CD's yet but will be added to next release, the 2011-02, due to late February. It is already available on our Debian package repository. In the meanwhile, if you really feel the need to use it, you can install it manually in a running DoudouLinux:

$ wget http://debian.doudoulinux.org/pool/main/d/doudoulinux-sessions/doudoulinux-sessions_1.0-3_all.deb
$ sudo dpkg -i doudoulinux-sessions_1.0-3_all.deb

Of course everything is lost at shutdown if you have not activated persistence or not installed DoudouLinux definitively.

- page 1 of 3