Thanks Xavier.

I looked on the web and understood that the progress text is automatically 
displayed by the boot scripts. If you read the theme XML file of various 
splashy theme, none of them is specifying any text message. Indeed the splashy 
XML schema is not specifying any message for the text box either, only font and 
color.

However there remains a chance to do what we need :). I've downloaded the 
splashy source code from the Debian website and the file HACKING is telling the 
following:

================
When talking to the Splashy server you can use the following commands:
[…]
  print         <string>  Print <string> in the text box.
  scroll        <string>  Print <string> in the text box and scroll down.
  repaint                 Redraw the background image.
  TEXT          <string>  Same as "print". For compatibility with usplash.
  SCROLL        <string>  Same as "scroll".
[…]
Sending commands to the Splashy server is then as simple as:

splashy_update exit

or

splashy_update getpass "Type your resume password"

These commands will not block. Commands that expect answer will output the 
string to stdout.
================

So it seems that our shutdown script, which is now playing audio messages to 
inform about taking the CD, could send a splashy command to tell this on screen 
too.

NB: I also saw translation PO files in the source code of splashy ;).

JM.


> Hi,
> 
> I think this is possible.
> Some persons can boot with a progress bar (
> http://ubuntuforums.org/showthread.php?t=41709 ), and some text line :
> http://splashy.alioth.debian.org/wiki/_detail/themes/mepis_baghira_boot.jpg?id=themes%3Acontrib
> ...
> 
> I view the documentation on the website of Splashy.
> I think if you edit the "config.xml" and you change the parameters
> "autoverbose" on "no" (<autoverboseonerror>no</autoverboseonerror>)
> and in the background section the tags <shutdown> much have a valid
> pictures... (of course).
> But in this section you have a textbox tags too. I think this part is
> for the messages and the personnalisation of the shutdown.
> 
> I hope to help you :) (sorry for the moment I don't have my Linux
> distribution).
> 
> See u :)
> Xavier
> 
> 
> 
> 2011/5/13 < [email protected] >
> 
> 
> You got it! I still haven't looked at how to translate such message in
> the image easily. I hope we can add text in the image using the
> splashy engine. This would avoid the necessity of generating
> translated images while building the CD…
> 
> JM.
> 
> 
> 
> 
> > For the problem of the message "Please remove CD", why not just
> write
> > on the "splash screen " picture, the following : "Don't forgot to
> > remove the CD - ROM " ?!
> > Easy... But the problem is for the language... (Fr/Uk/Ru... etc.)
> >
> > Xavier

_______________________________________________
Doudoulinux-dev mailing list
[email protected]
https://mail.gna.org/listinfo/doudoulinux-dev

Reply via email to