Announcement

Collapse
No announcement yet.

My Plymouth theme

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #2
    Re: My Plymouth theme

    An example
    (with the Kubuntu 11.04)


    Prerequisites:
    - A working Kubuntu Plymouth theming.
    - Package: plymouth-x11


    Making, installing and testing

    1) Copy the Plymouth theme kubuntu-logo to the my_buntu-logo.

    Code:
    sudo cp -R /lib/plymouth/themes/kubuntu-logo/ /lib/plymouth/themes/my_buntu-logo/

    2) Rename the kubuntu-logo and kubuntu_logo files to the my_buntu-logo files.
    (You are working in the /lib/plymouth/themes/my_buntu-logo/ )

    kubuntu-logo.grub -> my_buntu-logo.grub
    kubuntu-logo.plymouth -> my_buntu-logo.plymouth
    kubuntu-logo.script -> my_buntu-logo.script
    kubuntu_logo16.png -> my_buntu-logo16.png
    kubuntu_logo.png -> my_ubuntu-logo.png


    3) Edit the my_buntu-logo.plymouth.

    Code:
    [Plymouth Theme]
    Name=My buntu Logo
    Description=A theme that features an easy set of own background image and logo.
    ModuleName=script
    
    [script]
    ImageDir=/lib/plymouth/themes/my_buntu-logo
    ScriptFile=/lib/plymouth/themes/my_buntu-logo/my_buntu-logo.script
    Save & Exit.


    4) Edit the my_buntu-logo.script

    Example script attached to the end of the example.
    (> FAQ: Attached files are show only to the members ?)


    5) Get a picture (my_wallpaper.png).

    6) Make My 'buntu logo (my_buntu-logo.png, my_buntu-logo16.png)

    7) Add the my_buntu-logo theme to the plymouth alternatives /1/ .

    Code:
    sudo update-alternatives --install /lib/plymouth/themes/default.plymouth default.plymouth /lib/plymouth/themes/my_buntu-logo/my_buntu-logo.plymouth 50

    8 ) Set the my_buntu-logo theme default /1/,/2/.

    Code:
    sudo update-alternatives --config default.plymouth
    There are 2 choices for the alternative default.plymouth (providing /lib/plymouth/themes/default.plymouth).

    Selection Path Priority Status
    ------------------------------------------------------------
    * 0 /lib/plymouth/themes/kubuntu-logo/kubuntu-logo.plymouth 150 auto mode
    1 /lib/plymouth/themes/kubuntu-logo/kubuntu-logo.plymouth 150 manual mode
    2 /lib/plymouth/themes/my_buntu-logo/my_buntu-logo.plymouth 50 manual mode

    Press enter to keep the current choice[*], or type selection number:2

    update-alternatives: using /lib/plymouth/themes/my_buntu-logo/my_buntu-logo.plymouth to provide /lib/plymouth/themes/default.plymouth (default.plymouth) in manual mode.

    9) Update the initramfs /3/.
    Code:
    sudo update-initramfs -u
    10) Test the plymouth theme.

    Konsole #1
    Code:
    sudo plymouthd --debug --tty=`tty` --no-daemon
    Konsole #2
    Code:
    sudo plymouth show-splash
    There should be two test plymouth theme screens.



    Shut the test off.

    Code:
    sudo plymouth --quit
    and the new plymouth should work - here it does




    Removing

    1) Change the plymouth theme back to the Kubuntu plymouth theme.

    Code:
    sudo update-alternatives --config default.plymouth
    and
    Code:
    sudo update-initramfs -u

    2) Remove the my_buntu-logo plymouth theme from the alternatives.

    Code:
    sudo update-alternatives --remove default.plymouth /lib/plymouth/themes/my_buntu-logo/my_buntu-logo.plymouth

    3) Remove the /lib/plymouth/themes/my_buntu-logo/ directory.



    More Info

    /1/ man update-alternatives:
    NAME
    update-alternatives - maintain symbolic links determining default commands

    SYNOPSIS
    update-alternatives [options] command

    DESCRIPTION
    update-alternatives creates, removes, maintains and displays information about the symbolic
    links comprising the Debian alternatives system.

    It is possible for several programs fulfilling the same or similar functions to be installed
    on a single system at the same time. For example, many systems have several text editors
    installed at once. This gives choice to the users of a system, allowing each to use a differ‐
    ent editor, if desired, but makes it difficult for a program to make a good choice for an edi‐
    tor to invoke if the user has not specified a particular preference.

    Debian's alternatives system aims to solve this problem. A generic name in the filesystem is
    shared by all files providing interchangeable functionality. The alternatives system and the
    system administrator together determine which actual file is referenced by this generic name...
    /2/ There is a gui:
    Description: graphical alternatives system configuration tool
    Kalternatives offers a GUI to configure the alternative systems (a
    system that allows you to select one alternative file for many in the
    filesystem).
    Kalternatives is available as KDE configuration module, integrated by default
    into KDE's System Settings.
    .
    This is an advanced GUI of the update-alternatives program shipped with dpkg.
    /3/ man update-initramfs:
    NAME
    update-initramfs - generate an initramfs image

    SYNOPSIS
    update-initramfs -c|-d|-u [-k version] [-t] [-v] [-b] [-h]

    DESCRIPTION
    The update-initramfs script manages your initramfs images on your local box. It keeps track
    of the existing initramfs archives in /boot. There are three modes of operation create,
    update or delete. You must at least specify one of those modes.

    The initramfs is a gzipped cpio archive. At boot time, the kernel unpacks that archive into
    RAM disk, mounts and uses it as initial root file system. All finding of the root device hap‐
    pens in this early userspace...
    Attached Files
    Last edited by Rog132; Jan 25, 2012, 04:42 AM.
    A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
    Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

    Comment


      #3
      Excellent work Rog132!

      However I would just like to make two points:
      1. I followed your post to a tee, however previews of plymouth did not work for me.
      2. Those who might choose to use the default logo's: re-naming kubuntu_logo.png and kubuntu_logo 16.png to my_buntu-logo.png and my_buntu-logo16.png may result in some people missing the subtle change from underscore to a hyphen towards the end of the file names.


      All working well here. Thank you.
      Kubuntu 12.04 - Acer Aspire 5750G

      "I don't make a great deal of money, but I'm ok with that 'cause I don't hurt a lot of people in the process either"

      Comment


        #4
        The Blue Kubuntu Plymouth

        Side by side
        (with the Kubuntu 12.04 lts b2)

        The Kubuntu plymouth theme with the 12.04 has support for the background image:

        - http://changelogs.ubuntu.com/changel...ntu1/changelog
        - https://bugs.launchpad.net/ubuntu/+s...gs/+bug/979824
        kubuntu-default-settings (1:12.04ubuntu4) precise; urgency=low

        * Align plymouth theme with Ariya (using different splash image as we and
        upstream agree that the stripes are terrible for anything but wallpaper)
        (LP: #979824)
        Kubuntu Forums / Is there way to have the old blue plymouth ? : http://www.kubuntuforums.net/showthr...een-to-Default

        Downloading the plymouth-theme-kubuntu-logo (1:11.10ubuntu4).
        http://packages.ubuntu.com/oneiric/p...e-kubuntu-logo

        Unpacking it - the debian packages are archives...

        plymouth-theme-kubuntu-logo_11.10ubuntu4_amd64.deb
        --> lib
        ------> plymouth
        -----------> themes
        -----------------> kubuntu-logo:
        kubuntu_logo16.png
        kubuntu-logo.grub
        kubuntu-logo.plymouth
        kubuntu_logo.png
        kubuntu-logo.script
        password_field16.png
        password_field.png
        progress_dot_off16.png
        progress_dot_off.png
        progress_dot_on16.png
        progress_dot_on.png
        1) Rename the directory kubuntu-logo to the kubuntu-logo-blue.

        2) Edit the kubuntu-logo.plymouth:

        [Plymouth Theme]
        Name=Kubuntu Logo Blue
        Description=A theme that features a blank background with a logo.
        ModuleName=script

        [script]
        ImageDir=/lib/plymouth/themes/kubuntu-logo-blue
        ScriptFile=/lib/plymouth/themes/kubuntu-logo-blue/kubuntu-logo.script
        3) Copy the kubuntu-logo-blue folder to the /lib/plymouth/themes/.

        4) Add the kubuntu-logo-blue theme to the plymouth alternatives
        Code:
        sudo update-alternatives --install /lib/plymouth/themes/default.plymouth default.plymouth /lib/plymouth/themes/kubuntu-logo-blue/kubuntu-logo.plymouth 50
        5) Set the kubuntu-logo-blue theme default.
        Code:
        sudo update-alternatives --config default.plymouth
        There are 2 choices for the alternative default.plymouth (providing /lib/plymouth/themes/default.plymouth).

        Selection Path Priority Status
        ------------------------------------------------------------
        * 0 /lib/plymouth/themes/kubuntu-logo/kubuntu-logo.plymouth 150 auto mode
        1 /lib/plymouth/themes/kubuntu-logo-blue/kubuntu-logo.plymouth 50 manual mode
        2 /lib/plymouth/themes/kubuntu-logo/kubuntu-logo.plymouth 150 manual mode

        Press enter to keep the current choice[*], or type selection number: 1
        update-alternatives: using /lib/plymouth/themes/kubuntu-logo-blue/kubuntu-logo.plymouth to provide /lib/plymouth/themes/default.plymouth (default.plymouth) in manual mode.
        6) Update the initramfs.
        Code:
        sudo update-initramfs -u
        7) Test.
        Konsole #1
        Code:
        sudo plymouthd --debug --tty=`tty` --no-daemon
        Konsole #2
        Code:
        sudo plymouth show-splash
        Last edited by OneLine; Jun 28, 2012, 12:32 PM.
        Have you tried ?

        - How to Ask a Question on the Internet and Get It Answered
        - How To Ask Questions The Smart Way

        Comment


          #5
          And the laze man's approach.................easy hack ; open a root dolphin
          Code:
          kdesudo dolphin
          go split pane view and open /lib/plymouth/themes/kubuntu-logo in one pane and /usr/share/kde4/apps/kdm/themes/"your theme" in the other.

          Then just rename the /lib/plymouth/themes/kubuntu-logo/background.png ; then copy the /usr/share/kde4/apps/kdm/themes/"your theme"/"whatever the background image is" to the /lib/plymouth/themes/kubuntu-logo/ and rename it background.png ... run in a terminal
          Code:
          sudo update-initramfs -u
          ......easy peasy



          my new plymouth start up splash............................................ .............................



          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            Kubuntu with the Earth-sunrise theme.



            http://askubuntu.com/questions/24857...boot-animation




            Direct link: http://www.dailymotion.com/video/xx3...tu-rising_tech
            Have you tried ?

            - How to Ask a Question on the Internet and Get It Answered
            - How To Ask Questions The Smart Way

            Comment

            Working...
            X