Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boot Splash (background pic ala Suse) TIP of the YEAR!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Thu Jan 02, 2003 5:32 pm    Post subject: Reply with quote

Quote:

You can use the -u option with a number to do the other virtual consoles :)



heh, I did that, yeah it worked but now I want it back :D ... any way to put it back?
Back to top
View user's profile Send private message
progster
Apprentice
Apprentice


Joined: 16 Jul 2002
Posts: 271

PostPosted: Fri Jan 03, 2003 9:04 pm    Post subject: Reply with quote

anyone feels like making an ebuild for it?

~Progster
Back to top
View user's profile Send private message
Kaali
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2002
Posts: 80

PostPosted: Fri Jan 03, 2003 11:33 pm    Post subject: Reply with quote

I'm already doing.. here is work in progress if anyone is interested:

Code:

S=${WORKDIR}/splashutil
DESCRIPTION="Framebuffer splash-screen for bootup."
SRC_URI="ftp://ftp.suse.com/pub/people/stepan/bootsplash/splashutil.tar.bz2
    ftp://ftp.suse.com/pub/people/stepan/bootsplash/bootsplash-config.c
    ftp://ftp.suse.com/pub/people/stepan/bootsplash/bootsplash-config.sh
    ftp://ftp.suse.com/pub/people/stepan/bootsplash/kernel/boot_splash_complete.2.4.19-vanilla.patch
    http://mitglied.lycos.de/miliker/Gentoo/bootsplash.jpg"
HOMEPAGE="http://www.suse.com"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

DEPEND=""

src_unpack () {
    unpack splashutil.tar.bz2
    cp ${DISTDIR}/bootsplash-config.c ${WORKDIR}

}

src_compile () {

    make || die
    cd ${WORKDIR}
    gcc bootsplash-config.c -o bootsplash-config

}


src_install () {

    exeinto /usr/bin
    doexe splash
    dodoc ChangeLog COPYING
    cd ${DISTDIR}
    doexe ${WORKDIR}/bootsplash-config bootsplash-config.sh
    dosed "s:\.\/::g" /usr/bin/bootsplash-config.sh
    dodir /usr/share/splash
    insinto /usr/share/splash
    doins boot_splash_complete.2.4.19-vanilla.patch
    doins bootsplash.jpg

}


pkg_postinst() {

    einfo "Read /usr/doc/splash/README for further installation"
    einfo "instructions."

}


I thought about making a bit manual process of it, because no one wants it to mess with their kernels. At least i wouldn't want it to. So README should have complete instructions on how to use it.

boot_splash_complete.2.4.19-vanilla.patch doesn't need modifying as you can run it directly with 'patch -p1'
Back to top
View user's profile Send private message
heijs
Apprentice
Apprentice


Joined: 12 Jun 2002
Posts: 174
Location: Groningen

PostPosted: Mon Jan 06, 2003 2:22 pm    Post subject: Reply with quote

Thanks for the tip!
My laptop looks so cool now!! :D
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Tue Jan 07, 2003 2:43 pm    Post subject: Re: Boot Splash (background pic ala Suse) TIP of the YEAR! Reply with quote

kachaffeous wrote:

[snip]

bootsplash-config and bootsplash-config.sh make the config file for splash
Code:

[snip]

me@Blazen splash $ mv *.cfg /usr/share/splash/
me@Blazen splash $ cp bootsplash-1024x768.cfg /usr/share/splash/bootsplash.cfg


A bit picky but that should either be inverted (ie do the cp first) or should read 'cp /usr/share/splash/bootsplash-1024x768.cfg /usr/share/splash/bootsplash.cfg' or you could 'cd /usr/share/splash' first... you get the picture.

:)
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
PARENA
Guru
Guru


Joined: 06 Jan 2003
Posts: 349

PostPosted: Tue Jan 07, 2003 3:47 pm    Post subject: Oh sweetness Reply with quote

I was used to a bootsplash in Mandrake by now, but now that I've (almost) converted to Gentoo (still need to get Soldier of Fortune 2 working under WineX, without having to pay $5/month to Transgaming and I need to convert my wife's outlook.pst (barf) to something kmail or evolution can read), I was slightly sad it didn't have the logo... I can't believe I actually got this thing working! :) Thanks...

Well, now for a new boot image, 'coz with the default one the text is slightly too much to the right... or the textbox too much too the left, whatever. :)
Back to top
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Tue Jan 07, 2003 4:01 pm    Post subject: Reply with quote

Is there a patch for 2.4.20 anywhere?
Back to top
View user's profile Send private message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Tue Jan 07, 2003 6:12 pm    Post subject: Reply with quote

shm, the patch works with 2.4.20. I'm using it in 2.4.20-ck2 sources.
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Wed Jan 08, 2003 9:36 am    Post subject: What can I say Reply with quote

It worked like a dream.

The only trivial complaint is the original image... the white area isn't wide enough (the [ok] right bracket touches the edge!!!!) hehe.

:D
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Wed Jan 08, 2003 9:37 am    Post subject: Ah, almost forgot Reply with quote

tojo wrote:
And here's my grub.conf file, if someone has use for it:

Code:
default 0
timeout 15
splashimage=(hd0,5)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,5)
kernel /bzImage root=/dev/hda3 vga=791 video=vesa:1024x768@70
initrd=/initrd

title=Gentoo Linux (wo splash)
root (hd0,5)
kernel /bzImage.work001 root=/dev/hda3 vga=791 video=vesa:1024x768@70

title=Windows XP
root (hd0,0)
chainloader +1


Anyone know where to find "lighter color" background image? This is too dark for me, but better than nothing..


This grub.conf won't work for people who partitioned as per the docs. You'll need a /boot in front of /bzImage and /initrd.
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Wed Jan 08, 2003 3:05 pm    Post subject: Re: Oh sweetness Reply with quote

PARENA wrote:
I was used to a bootsplash in Mandrake by now, but now that I've (almost) converted to Gentoo (still need to get Soldier of Fortune 2 working under WineX, without having to pay $5/month to Transgaming and I need to convert my wife's outlook.pst (barf) to something kmail or evolution can read), I was slightly sad it didn't have the logo... I can't believe I actually got this thing working! :) Thanks...

Well, now for a new boot image, 'coz with the default one the text is slightly too much to the right... or the textbox too much too the left, whatever. :)


A little off topic, but what's wrong with paying Transgaming $5 a month? They work hard to get the game to you and you'd not reward them for it? If you object to paying fees then stick with GPL software. You'll find, especially with games, it narrows your choice considerably.
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
The One
n00b
n00b


Joined: 24 Sep 2002
Posts: 20

PostPosted: Wed Jan 08, 2003 11:08 pm    Post subject: Reply with quote

okey ;) darth vader is smiling at me and i'm binding the ring at the moment *gg*

i found the solution:
the images don't get stretched, so it is important that you resize the picture to the desired framebuffer resolution.

i was always using 1280x1024 resolution, but with all pictures having 1024x768 it just didn't work => resized the bootsplash.jpg with GIMP and now everything is fine @1280 ;)))
(except that the text color doesn't fit to the lotr_ring logo, too dark... ;))

---
@kachaffeous
could you please edit your first post and mention this info...
---

the one
Back to top
View user's profile Send private message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Thu Jan 09, 2003 12:04 am    Post subject: Reply with quote

Is there a way to change the text colour to white? wouldnt mind using some dark backgrounds :)
Back to top
View user's profile Send private message
PARENA
Guru
Guru


Joined: 06 Jan 2003
Posts: 349

PostPosted: Thu Jan 09, 2003 2:26 am    Post subject: Re: Oh sweetness Reply with quote

charlieg wrote:
A little off topic, but what's wrong with paying Transgaming $5 a month? They work hard to get the game to you and you'd not reward them for it? If you object to paying fees then stick with GPL software. You'll find, especially with games, it narrows your choice considerably.


Nothing wrong with paying for software. Hey, I bought the game I want to play. :) But they want you to subscribe for a minimum of 3 months, paying $5/month and that I object to. And so far, they're not giving anything back to the Wine project, which they said they would. But that's a whole different discussion. Anyway, with a simple "emerge winex" I got Soldier of Fortune 2 to work on my machine, so I'm happy. :)

Progster: Why does my Mozilla 1.2.1 crash when going to http://members.lycos.co.uk/ellenfeis/images.html ???
Back to top
View user's profile Send private message
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Thu Jan 09, 2003 6:55 am    Post subject: Re: Oh sweetness Reply with quote

Quote:

Progster: Why does my Mozilla 1.2.1 crash when going to http://members.lycos.co.uk/ellenfeis/images.html ???


No problems here with either Phoenix 0.5 or Mozilla 1.2.1

[edit]
My fault: Phoenix 0.5 works great, Mozilla 1.2.1 crashes when loading the flash.

cvk


Last edited by cvk on Fri Jan 10, 2003 1:54 am; edited 1 time in total
Back to top
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Thu Jan 09, 2003 3:37 pm    Post subject: Reply with quote

Hmm I crash there as well. Does it contain any flash or java?
Back to top
View user's profile Send private message
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Thu Jan 09, 2003 3:41 pm    Post subject: Reply with quote

timmfin wrote:
Hmm I crash there as well. Does it contain any flash or java?


Just the usual terribly annoying lycos flash banner.

cvk
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7212
Location: Pelotas, BR

PostPosted: Thu Jan 09, 2003 8:22 pm    Post subject: Reply with quote

Is it the same tip of this thread?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
kachaffeous
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jun 2002
Posts: 86

PostPosted: Fri Jan 10, 2003 1:31 am    Post subject: Reply with quote

Quote:

Is it the same tip of this thread?


I believe that thread just deals with the grub splash screen. This tip puts a splash screen on your tty's.
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7212
Location: Pelotas, BR

PostPosted: Fri Jan 10, 2003 2:15 am    Post subject: Reply with quote

kachaffeous wrote:

I believe that thread just deals with the grub splash screen. This tip puts a splash screen on your tty's.



Thanks, I was having difficulties to see the difference
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
yngwin
Developer
Developer


Joined: 19 Dec 2002
Posts: 4394
Location: Suzhou, China

PostPosted: Fri Jan 10, 2003 2:38 pm    Post subject: Reply with quote

port001 wrote:
Is there a way to change the text colour to white? wouldnt mind using some dark backgrounds :)


I second that! It must be possible, so does anyone know how to change the text colour?
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Fri Jan 10, 2003 4:10 pm    Post subject: Reply with quote

Remember to compile Ram disk support into the kernel. You won't get the Initial Ram disk (initrd) support as an option without doing so.
Back to top
View user's profile Send private message
kachaffeous
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jun 2002
Posts: 86

PostPosted: Fri Jan 10, 2003 6:51 pm    Post subject: Reply with quote

Added the following to the tip

To auto update your other tty's (on boot) you can do the following

Code:

cd /usr/share/splash
for i in 1 2 3 4 5; do mkdir $i ; cp boot* $i ; done


add the following lines to /etc/conf.d/local.start
Code:

/bin/splash -s -u 1 /usr/share/splash/1/bootsplash.cfg         
/bin/splash -s -u 2 /usr/share/splash/2/bootsplash.cfg         
/bin/splash -s -u 3 /usr/share/splash/3/bootsplash.cfg         
/bin/splash -s -u 4 /usr/share/splash/4/bootsplash.cfg         
/bin/splash -s -u 5 /usr/share/splash/5/bootsplash.cfg


NOTE: You can copy different pictures (in each of the dir's)on top of bootsplash.jpg to
have a different splash on each tty.

If you have problems look at dmesg for a clue.
Code:

dmesg
Looking for splash picture.... found (1024x768, 27481 bytes).
Splash status on console 1 changed to on
Looking for splash picture.... found (1024x768, 89306 bytes).
Splash status on console 2 changed to on
Looking for splash picture.... found (1024x768, 68567 bytes).
Splash status on console 3 changed to on
Looking for splash picture.... found (1024x768, 66762 bytes).
Splash status on console 4 changed to on
Looking for splash picture.... found (1024x768, 59607 bytes).
Splash status on console 5 changed to on


reboot and enjoy!
Back to top
View user's profile Send private message
The One
n00b
n00b


Joined: 24 Sep 2002
Posts: 20

PostPosted: Fri Jan 10, 2003 10:18 pm    Post subject: Reply with quote

kachaffeous wrote:
Added the following to the tip
To auto update your other tty's (on boot) you can do the following
[snip]


yees ;) that is great!!
now if you can tell us how to animate the framebuffer pictures as SuSE does, i don't know how to thank you anymore *gg*

thanks very much for this tip!!

the one
Back to top
View user's profile Send private message
kachaffeous
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jun 2002
Posts: 86

PostPosted: Sat Jan 11, 2003 1:51 am    Post subject: Reply with quote

Quote:
now if you can tell us how to animate the framebuffer pictures as SuSE does,


Everything you need is on that Suse ftp site :)

You just need to compile the fbmngplay program, get some mng files and edit your
startup scripts. :)

Download this
ftp://ftp.suse.com/pub/people/stepan/bootsplash/mng/fbmngplay.tar.bz2
Code:

#emerge libmng
#tar xjvf fbmngplay.tar.bz2
 *cd to where you unpacked the tar file*
# make fbmngplay
# cp fbmngplay /bin/


then edit your startup scripts to play your mng files (you can download the suse package splashanim.rpm for some nice mng's fyi). Suse has some nice startup scripts that kick off different mng files based on what is being currently loaded. I'm not gonna use the animation, and don't have the desire to hack up the startup scripts atm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 2 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum