MacX Usplash Theme

Usplash Themes

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

1
Score 74%
Description:

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
Last changelog:

10 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

9 years ago

I need a step by step noob style intsallation guide for this. can't get it to work with startupmanager (usplash package installed). thx in advance.

Report

raiderex

9 years ago

When I boot with this usplash theme it shows the theme but in the middle of the screen there is a big black box. Any suggestions? Nothing to do with the source images...

Report

Glaedr

9 years ago

linus-gates@linus-gates-desktop:~/usplash-macx$ sudo usplash -v
usplash: can't get console font: Invalid argument

Report

Glaedr

9 years ago

I add: it looks like very bad with this error...

Report

kamui0523

9 years ago

seems like it cant work on ubuntu 9.04
ubuntu8.04&8.10 workd well.

Report

kamui0523

9 years ago

seems like it cant work on ubuntu 9.04
ubuntu8.04&8.10 workd well.

Report

MyLaMa

9 years ago

This is a problem with "Ubuntu Intrepid".

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

9 years ago

i have the same problem with the morph one, would be awesome to get a fix for it

Report

cjohnson6772

9 years ago

I have downloaded everything here and when I try to install the morphing theme and then check it in terminal via sudo usplash -c i get verbose readout and error messages stating that no suitable theme can be found for my resolution. I get this error regardless of which resolution I try it on. I have tried 800x640, 1024x768, 1280x1024, etc. My current display is 1280x1024 on two displays so 2560x1024. My default ubuntu theme works fine on any resolution. Am I missing something? I tried following both the sudo make install, reboot method and then make, sudo make install, reboot with the same results. Btw I am running 8.10 Intrepid AMD 64. HELP PLEASE!!!!

Report

kn1gh7h4wk

9 years ago

Hello, I have a HP Pavillion dv7-1135nr running Intrepid. Native resolution is 1440x900, but due to ATI GPU issues with Ubuntu, the highest resolution I can get on usplash/console is 1152x864. I have tried all 4:3 resolutions and in each one, the the spinner is lower left of the static apple instead of centered. Also the morphing apple is off to the left, right above the spinner. I have this problem with both Hardy and Intrepid and I cannot seem to move it to the center. I would appreciate any help.

Report

simples

9 years ago

Hi there.. please make this theme for Intrepid Ibex... can't be without this ... I am a relative newbie to the Ubuntu world... so pls take the time to make this for Intrepid Ibex

Report

carloz

10 years ago

Thanks to the various contributers of a nice simple usplash theme, which has got me going with usplash - not for Gnome, but elsewhere - I started with the osx-look usplash theme, since usplash docs seem elusive.

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

10 years ago

I'm trying to add a custom image, in place of the default mac backgrounds (basically, I like the scroll wheel, but want to have a different image when booting up).

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

C

kilo323

10 years ago

You cant just replace the image. You can however change the image by creating one with using indexed colors and using the same pallet as the existing images and spinner.

You can send me the image and I can see if I can help you out.

Report

sosus

10 years ago

I'm trying to add a custom image, in place of the default mac backgrounds (basically, I like the scroll wheel, but want to have a different image when booting up).

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

10 years ago

Thank you for distributing this.

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

10 years ago

Great work I will add it to my tutorial to make ubuntu look like Leopard, It needed something like this.
I just have a question how do I uninstall It to get the old splash?

Report

C

kilo323

10 years ago

To get back to the original splash

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

10 years ago

It works, I'm going to update my tutorial. Thank you for the instructions.

Report

C

kilo323

10 years ago

Made the change requested to move the spinner lower below the apple. It now will show 1/2 way between the bottom of the apple and the bottom of the screen.

Should look more like the real deal now.

Report

hpis2cool

10 years ago

Excellent! Thanks sooo much! My Leopard-themed Ubuntu deff looks great now.

Report

twodogs

10 years ago

why would you want this on your linux box? kinda like making your linux box look like windows... why? anyhow, i got this usplash when i bought my imac and it really isn't all that. imho.

Report

C

kilo323

10 years ago

Point taken - however, there has been significant effort in getting a linux box to have the same look as OS X (icons, wallpapers, dock, themes, etc).

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

10 years ago

I love macs and love what you've done =) Thanks for getting rid of the glitch, btw, that was awesome. But hey, I was messing around with my friend's mac the other day and noticed the circular progress thingy is set lower on the screen on actual macs. This isn't a big problem, of course, but if some users are picky about fidelity...dunno. I'm just wondering if it is actually possible or if all Linux boot images have to have the progress thingy at that height.

Report

C

kilo323

10 years ago

It is possible to position the spinner lower under the apple. Any idea how far down it would need to go?

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

10 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.

product-maker 22 73

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
1.2
updated Feb 14 2008
added Jan 14 2008
downloads today
0
page views today 2