|
Lines 368-372
Link Here
|
| 368 |
<p>Run the command <tt/ xmodmap -e "pointer = 3 2 1"/ from your .xinitrc or .xsession. |
368 |
<p>Run the command <tt/ xmodmap -e "pointer = 3 2 1"/ from your .xinitrc or .xsession. |
| 369 |
</p> |
369 |
</p> |
| 370 |
</sect1> |
370 |
</sect1> |
|
|
371 |
|
| 372 |
<sect1> |
| 373 |
<heading>How do I install a splash screen and where do I find them? |
| 374 |
</heading> |
| 375 |
|
| 376 |
<p>Just prior to the release of FreeBSD 3.1, a new feature was |
| 377 |
added to allow the display of "splash" screens during |
| 378 |
the boot messages. The splash screens currently must be a 256 |
| 379 |
color bitmap (<tt>*.BMP</tt>) or ZSoft PCX |
| 380 |
(<tt>*.PCX</tt>) file. In addition, they must have a |
| 381 |
resolution of 320x200 or less to work on standard VGA adapters. |
| 382 |
If you compile VESA support into your kernel, then you can use |
| 383 |
larger bitmaps up to 1024x768. Note that VESA support requires |
| 384 |
the <tt>VM86</tt> kernel option to be compiled into the |
| 385 |
kernel. The actual VESA support can either be compiled directly |
| 386 |
into the kernel with the <tt>VESA</tt> kernel config option |
| 387 |
or by loading the VESA kld module during bootup.</p> |
| 388 |
|
| 389 |
<p>To use a splash screen, you need to modify the startup files |
| 390 |
that control the boot process for FreeBSD. The files for this |
| 391 |
changed prior to the release of FreeBSD 3.2, so there are now |
| 392 |
two ways of loading a splash screen: |
| 393 |
|
| 394 |
<itemize> |
| 395 |
<item>FreeBSD 3.1 |
| 396 |
|
| 397 |
<p>The first step is to find a bitmap version of your splash |
| 398 |
screen. Release 3.1 only supports Windows bitmap splash |
| 399 |
screens. Once you've found your splash screen of choice |
| 400 |
copy it to <tt>/boot/splash.bmp</tt>. Next, you need to |
| 401 |
have a <tt>/boot/loader.rc</tt> file that contains the |
| 402 |
following lines: |
| 403 |
|
| 404 |
<verb> |
| 405 |
load kernel |
| 406 |
load -t splash_image_data /boot/splash.bmp |
| 407 |
load splash_bmp |
| 408 |
autoboot |
| 409 |
</verb> |
| 410 |
</item> |
| 411 |
|
| 412 |
<item>FreeBSD 3.2+ |
| 413 |
|
| 414 |
<p>In addition to adding support for PCX splash screens, |
| 415 |
FreeBSD 3.2 includes a nicer way of configuring the boot |
| 416 |
process. If you wish, you can use the method listed above |
| 417 |
for FreeBSD 3.1. If you do and you want to use PCX, replace |
| 418 |
<tt>splash_bmp</tt> with <tt>splash_pcx</tt>. If, |
| 419 |
on the other hand, you want to use the newer boot |
| 420 |
configuration, you need to create a |
| 421 |
<tt>/boot/loader.rc</tt> file that contains the |
| 422 |
following lines: |
| 423 |
|
| 424 |
<verb> |
| 425 |
include /boot/loader.4th |
| 426 |
start |
| 427 |
</verb> |
| 428 |
|
| 429 |
<p>and a <tt>/boot/loader.conf</tt> that contains the |
| 430 |
following: |
| 431 |
|
| 432 |
<verb> |
| 433 |
splash_bmp_load="YES" |
| 434 |
bitmap_load="YES" |
| 435 |
</verb> |
| 436 |
|
| 437 |
<p>This assumes you are using <tt>/boot/splash.bmp</tt> |
| 438 |
for your splash screen. If you'd rather use a PCX file, |
| 439 |
copy it to <tt>/boot/splash.pcx</tt>, create a |
| 440 |
<tt>/boot/loader.rc</tt> as instructed above, and |
| 441 |
create a <tt>/boot/loader.conf</tt> that contains: |
| 442 |
|
| 443 |
<verb> |
| 444 |
splash_pcx_load="YES" |
| 445 |
bitmap_load="YES" |
| 446 |
bitmap_name="/boot/splash.pcx" |
| 447 |
</verb> |
| 448 |
</item> |
| 449 |
</itemize> |
| 450 |
|
| 451 |
<p>Now all you need is a splash screen. For that you can surf |
| 452 |
on over to the gallery at <htmlurl |
| 453 |
url="http://www.cslab.vt.edu/~jobaldwi/splash/" |
| 454 |
name="http://www.cslab.vt.edu/~jobaldwi/splash/">.</p> |
| 455 |
|
| 456 |
</sect1> |
| 371 |
</sect> |
457 |
</sect> |