
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.
hpis2cool
13 years ago
screen is correct ;)
That would be fantastic.
Report
mr-andrek
13 years ago
make: Circular macx_1024_768.png <- macx_1024_768.png.c dependency dropped.
pngtousplash macx_1024_768.png > macx_1024_768.png.c
/bin/sh: pngtousplash: command not found
make: *** [macx_1024_768.png.c] Error 127
rm macx_1024_768.png.c
and that's all..
Report
legluondunet
13 years ago
On debian (Ubuntu....), you could install it like this:
apt-get install libusplash-dev
with the administrator rights.
Report
kilo323
13 years ago
Report
Lutzi
13 years ago
thx
Report
kilo323
13 years ago
Anyone have any ideas what is causing this? It looks like the y coordinate jumps up a pixel?
Any help would be greatly appreciated!!
Report
hpis2cool
13 years ago
Report
kilo323
13 years ago
However, it still appears to jump up a pixel at the last frame of the spinner. I will have to look into that when I get more time.
Report