WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to set up a splash screen image?  (Read 3810 times)

Offline Ben

  • Newbie
  • *
  • Posts: 2
How to set up a splash screen image?
« on: March 01, 2011, 10:45:12 PM »
Hi there,

I tried to find some info about how to add a customized splash screen image for TC booting process, but cannot find it.
Can someone tell the steps or point out where I can find it?

Thanks   

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: How to set up a splash screen image?
« Reply #1 on: March 02, 2011, 03:56:27 AM »
Are you talking about a splash screen for grub-0.97-splash?

The image has to be 640x480, 14 colors max, saved in xpm format and then gzipped.  On the Gimp menu, use

  Image | Mode | Indexed

select "Generate optimum palette and set maximum number of colors to 14.

The grub line is something like this:
Code: [Select]
splashimage=(hd0,0)/boot/grub/tc_3.4.1_lem_splash_14.xpm.gz

I tried to upload an example but got a message indicating upload directory is full.  Probably just as well, as the TC wallpaper/logo looks like crap in that format (needs more than 14 colors).
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline Ben

  • Newbie
  • *
  • Posts: 2
Re: How to set up a splash screen image?
« Reply #2 on: March 02, 2011, 06:22:28 PM »
thanks a lot.

Offline khamara

  • Newbie
  • *
  • Posts: 2
Re: How to set up a splash screen image?
« Reply #3 on: March 28, 2011, 07:39:30 AM »
I guess the suggested solution worked for you. I believe there is a wiki page for grub2 however (off the top of my head) I was not able to make it work off the bat. I had to modify my grub.cfg from another source. As I recall the image for grub 2 does not have to be 640x480 but as a start I used 640x480 and once it worked I never experimented (minimise the heartache). I can't remember what other heartache was involved but give it a try and complain later. Oh don't forget to run grub-install when done, grub2 seems to require a rerun of grub-install when grub.cfg changes.

tc@box:/mnt/sda1/boot$ identify  wallpaper.jpeg
wallpaper.jpeg JPEG 640x480 640x480+0+0 8-bit DirectClass 22.5KB 0.010u 0:00.000

Snippet from my grub.cfg (from the wiki page with mods):

if loadfont /boot/grub/unicode.pf2 ; then
   set gfxmode="640x480x16"
   insmod gfxterm
   insmod vbe
       if terminal_output gfxterm ; then true ; else
       # For backward compatibility with versions of terminal.mod that don't
       # understand terminal_output
       terminal gfxterm
       fi
fi

insmod jpeg
if background_image /boot/wallpaper.jpeg ; then
    set color_normal=white/black
    set color_highlight=magenta/black
    else
        set menu_color_normal=cyan/blue
        set menu_color_highlight=white/blue
fi