[Ubuntu] Customizing usplash

No Gravatar

I quote here a guide that I have a few days ago on the project wiki Gurubuntu of which I mentioned earlier today ...

Happy reading!

You mean the usplash theme chart that shows the progress of the loading of services by the system (at startup) and their closing (shutting down the machine).

The easiest way to create a theme for usplash is to base the default theme of Ubuntu, usplash-theme-ubuntu, edit and recompile everything with a new name.


First you must download the source code of usplash-theme-ubuntu from terminal by typing:

$ Apt-get source usplash-theme-ubuntu

Obviously you must have previously enabled the repositories relating to the sources.

You will then create a folder named usplash-theme-ubuntu-(version) inside which are the files needed to create the new theme. What we want to change are the images here (usplash_640_480.png, usplash_1024_768.png etc.).

Images must necessarily be saved in PNG (indexed to 256 colors)

Once you have finished making changes, you must make some changes in the code of the programs. Folder usplash-theme-ubuntu-version, change the name of the file usplash-theme-ubuntu.c in the name you want to give the package. Eg

$ Mv usplash-theme usplash-theme-ubuntu.c-gurubuntu ~ 1.c

Other files are amended accordingly: Makefile, rules, postinst where it is necessary to replace all occurrences of usplash-theme-ubuntu usplash-theme-gurubuntu with ~ 1 (or whatever name you gave the file renamed).
Now, if not already installed on your system should be installed the programs needed to complete the theme for usplash.

$ Sudo apt-get install checkinstall build-essential libusplash-dev

We now proceed to fill up with:

$ Make

When finished we create and install the deb package with:

$ Sudo checkinstall

The program will ask the checkinstall specify the name of the new package (eg. Usplash-theme-gurubuntu ~ 1) and other information, then create and install it. Installation is complete, we can only activate the new theme. This can be done graphically with the use of usplash-switcher.

Before starting this program is in any case necessary to give the terminal the following command:

$ Sudo update-alternatives-install / usr / lib / usplash / usplash-artwork.so
usplash-artwork.so / usr / lib / usplash / usplash-theme-nomedelmiotema.so 10

Notes:

  • To index an image you use this function in Gimp "Image-> Mode-> Indexed"
    • To make sure that the bars are the same pallet load of background colors once indexed (and avoid horrific effects ..) you may want to paste on one of the first background image indexing, indexing everything, cut the component and save it a new image the correct size. After this operation, the throbber may be re-re-index and will maintain the scoop before.

Popularity: 46% [?]

Tags:


leave a response , or trackback from your own site. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

This website uses IntenseDebate comments, but they are not currently loaded Because either your browser does not support JavaScript, or they did not load fast enough.

to “[Ubuntu] Personalizzare Usplash” One Response to "[Ubuntu] Customize usplash "

  1. Maurizio Says:

    Thanks for the guide.
    But would a few more details on the final notes ... for example, I understand you take my picture. Png, pasted it on the throbber (vertical, so that all their colors are indexed) [*], apply the indexation , remove the throbber and save the image in various formats (1024 × 768, 1365 × 768, etc).
    The [*] was to say that I used a second layer on which I glued different throbber. May be why I still get the effects horrific? Or is it because the throbber should be re-indexed? I did not understand, and since the driving is done well, if I put the facts straight on this part, it would be perfect ;)

Leave a Reply