
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This is my first attempt at a usplash theme. It uses custom animation to get the feel of a mac osx box booting - with the osx spinner. There are 4 different resolution images for use - 1024x768, 1280x1024, 1280x800, and 1440x900. Not sure about getting the widescreen resolutions to work but the 4:3 resolutions work. The default resolution is 1024x768.
*** Added a second theme that will morph the gray apple into a colorized Ubuntu logo.
You can change the code: static int spinner_speed = 2; to a number between 1 and 25 to throttle the speed at which the spinner spins. There are 12 images in the spinner, so a value of 2 will make the spinner go round approximately once per second since the animation function gets called 25 times per second. Of course a larger value will make it move slower.
THANKS
==================================================
A big thanks to the linux community and the authors of other usplash themes for which I learned from reading the code. Also huge thanks to the theme developers as I would not have any graphics if it was not for them.
I am sorry I can't remember who in particular to thank for the insights into the code and the graphics. If you email me I will most certainly give you credit.
QUICK INSTALL (No compiling needed)
==================================================
Included is the splash lib. You can get running quickly by:
1. make install
2. reboot
QUICK BUILD AND INSTALLATION
==================================================
The make file will take care of building, installing and regenerating initrd so the new splash takes effect on reboot.
1. make
2. sudo make install
3. reboot
MANUAL BUILD AND INSTALLATION
==================================================
You will need to appropriate libs and compiler to install.
1. make
2. copy macx-splash.so to your desired location
3. update /etc/alternatives/usplash-artwork.so to point to macx-splash.so
4. regenerate initrd
5. reboot
**** Note: after make and make install you can do 'sudo make test' to see it without rebooting.
**** Note: You will need to have build tools (gcc, make, etc) installed. In addition you will need usplash dev installed (apt-get install libusplash-dev)
Enjoy!!
------------------------------------------------
Added a linux branded splash with tux instead of apple
12 years ago
0.1 - Fixed glitch showing bar under spinner.
1.0 - Fixed glitch where spinner bounced up 1 px on last frame.
1.1 - Moved spinner 1/2 way between bottom of apple and bottom of screen.
1.2 - Added another theme that will morph the gray apple into a color Ubuntu logo.
12 years ago
0.1 - Fixed glitch showing bar under spinner.
1.0 - Fixed glitch where spinner bounced up 1 px on last frame.
1.1 - Moved spinner 1/2 way between bottom of apple and bottom of screen.
1.2 - Added another theme that will morph the gray apple into a color Ubuntu logo.
keyOne
11 years ago
Report
raiderex
11 years ago
Report
Glaedr
11 years ago
usplash: can't get console font: Invalid argument
Report
Glaedr
11 years ago
Report
kamui0523
11 years ago
ubuntu8.04&8.10 workd well.
Report
kamui0523
11 years ago
ubuntu8.04&8.10 workd well.
Report
MyLaMa
11 years ago
Fix:
1 Edit menu.lst:
vim /boot/grub/menu.lst
2: Find the line:
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=51027ea4-0c9e-4cce-81e4-c2de666f2e53 ro quiet splash
add on the end of line Vga=(X)
vga=785 (640x480)
vga=788 (800x600)
vga=791 (1024x768
vga=794 (1280x1024)
this should look like this:
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=51027ea4-0c9e-4cce-81e4-c2de666f2e53 ro quiet splash vga=794
3 install:
splashy_0.3.10-1_i386.deb
libsplashy1_0.3.10-1_i386.deb
Link:
http://alioth.debian.org/frs/download.php/2461/libsplashy1_0.3.10-1_i386.deb
http://alioth.debian.org/frs/download.php/2462/splashy_0.3.10-1_i386.deb
4 : go to usplash-macx directory
apt-get remove usplash --purge
make
apt-get install usplash
make install
update-grub
update-initramfs -u
reboot now!
I hope it works out so well
Report
specialblend
11 years ago
Report
cjohnson6772
11 years ago
Report
kn1gh7h4wk
11 years ago
Report
simples
11 years ago
Report
carloz
12 years ago
A hint re: the makefile - with GNU make (and probably others) you get a lot of warnings over circular dependencies, relating to the generation of .png.c and .bdf.c files from .png and .bdf files. What's happening is make's default rules are trying to generate dependencies for the .png files etc - you can suppress the warnings by either running make with the -r switch (to remove all implicit rules) or by including a non-empty rule for each problematic suffix. A non-empty rule which does nothing is just a semicolon - I added the following two makefile rules:
.png:
<tab>;
.bdf:
<tab>;
at the bottom - no more "circular dependency" warnings.
(Note that the semicolons are preceded by a tab, dunno how to do "code quoting" on this forum, sorry. Blanks just got stripped off.)
Just thought I'd contribute something, however small, in thanks for everyone's efforts!
Report
sosus
12 years ago
I'm new to this, and the way I thought to add a custom image was to change the image I wanted to the file name "macx_1280_1024.png" (Note: the image is the correct resolution), and then just do the normal Make + sudo make install.
What happens, however, is a lot of warning errors like this:
macx_1280_1024.png.c:41525: warning: large integer implicitly truncated to unsigned type
And afterwards trying to do usplash -c I see a messed up mac image (like its using a smaller resolution image... with a black border on all sides)
Can anyone point me in the right direction? What am I doing wrong?
Thanks!
Report
kilo323
12 years ago
You can send me the image and I can see if I can help you out.
Report
sosus
13 years ago
I'm new to this, and the way I thought to add a custom image was to change the image I wanted to the file name "macx_1280_1024.png" (Note: the image is the correct resolution), and then just do the normal Make + sudo make install.
What happens, however, is a lot of warning errors like this:
macx_1280_1024.png.c:41525: warning: large integer implicitly truncated to unsigned type
And afterwards trying to do usplash -c I see a messed up mac image (like its using a smaller resolution image... with a black border on all sides)
Can anyone point me in the right direction? What am I doing wrong?
Thanks!
Report
michaelkrog
13 years ago
Im developing a POS system, and I would like a descent splash for the systems I install.
With your code, it was done within a few hours.
A hint:
I had some problems with the palette. Using Gimp I could'nt figure out how to let the spinner and the bacground use the same colormap, which caused some artifacts with the spinner. Furthermore, creating the backgrounds in different sizes called for some automization.
I created ONE BIG image instead with the spinner in it. I then scripted imagemagick to create all the needed images from it. Now the colormap is intact and new resolutions are easy to add.
The script that does the work: http://qash.googlecode.com/svn/trunk/Qash_Retail/usplash-qash/createimages.sh
The BIG image: http://qash.googlecode.com/svn/trunk/Qash_Retail/usplash-qash/qash.png
Report
Dlinx
13 years ago
I just have a question how do I uninstall It to get the old splash?
Report
kilo323
13 years ago
1. sudo rm /etc/alternatives/usplash-artwork.so
2, sudo ln -s /usr/lib/usplash/usplash-theme-ubuntu.so /etc/alternatives/usplash-artwork.so
3. sudo dpkg-reconfigure usplash
4. sudo usplash -c
Step 2: Modify it for whatever splash you want - the command shown will set it to the default ubuntu splash.
Step 4 will switch to a console and show you what splash is configured without rebooting your machine.
Report
Dlinx
13 years ago
Report
kilo323
13 years ago
Should look more like the real deal now.
Report
hpis2cool
13 years ago
Report
twodogs
13 years ago
Report
kilo323
13 years ago
The thing I have found is the usplash themes did not appear at all like the boot splash for OS X - thus the reason for developing this usplash theme.
Some will like it, some won't. For me it was a great start at tackling custom animation on usplash instead of just using the progress bar.
Report
hpis2cool
13 years ago
Report
kilo323
13 years ago
Would you say perhaps 1/2 way from the bottom of the apple to the bottom of the screen?
Anyone got a screenshot showing the position?
Sorry but I do not have access to an osx box.
Report