Announcement

Collapse
No announcement yet.

Common Splash From Start To Finish (suggestion/problems)

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

    Common Splash From Start To Finish (suggestion/problems)

    This is part a suggestion, and part me having troubles/annoyances with some of the newer packages.

    NOTE: This really has no practical purpose other than to make me happy (aesthetically anyway 8) )

    In Kubuntu Karmic, I had a consistent splash screen from turning my computer on and ending as my Desktop Wallpaper.
    ie: BIOS->Grub->Usplash->Kdm->Plasma (I have one of those programmable BIOS's that allow you to change the "silent/quick" boot image)

    I've been testing Kubuntu Lucid now for some time (since Alpha1) and I have figured out how to change the Grub2 splash image the "proper way" (ie, not changing the /boot/grub/grub.cfg file, but using the scripts), however this new Plymouth boot-splash has me right confused. I realise that it's a "work in progress" and since Alpha1 boot-splash has worked on and off.

    The release info for Beta 1 says: "Known Issues: Due to the recent changeover to Plymouth, the boot splash shows the Ubuntu logo instead of Kubuntu's. (For now)". I, currently, don't even get that. I get some of the text of the boot process, a black screen, then a (very ugly) purple screen that says "Ubuntu 10.04" in text (no image like there was at one point) and the little dots at the bottom, and finally KDM.

    Relevant System Stuff:
    CPU: AMD 64-bit
    Nvidia-driver: 195.36.15-0ubuntu1
    Grub: 1.98-1ubuntu2
    Plymouth: 0.8.0~-17

    Questions:
    - Am I doing something wrong that I'm not getting even the graphic Ubuntu boot-splash?
    - Am I missing something in the Grub2 configuration? (like --splash="silent" or whatever it used to be in Grub1)
    - Anything I'm not thinking of?

    Suggestions:
    - Would it not be nice to have a unified backdrop from Grub through to the Desktop as a default? The resolutions may be different, but it would give you a continuous look & feel through the entire boot process. It could obviously be customised after. It's just my opinion, but I think it looks pretty sharp (not that it's there very long any more to look at.... )
    - Would be nice to have some scripts and/or programs again (KCM modules would be nice) to configure each splash screen and/or apply an image across the board: select image and apply it to Grub, Plymouth, KDM, and Desktop, or a combination of.


    Any help and/or feedback on the above would be welcomed

    Cheers
    Man by his very nature is dependent on other men.

    #2
    Re: Common Splash From Start To Finish (suggestion/problems)

    The splash screen is about the last thing that goes on prior to release. It's a "cosmetic" item -- not relevant to performance of the OS.

    Comment


      #3
      Re: Common Splash From Start To Finish (suggestion/problems)

      Originally posted by SIR_Taco
      The release info for Beta 1 says: "Known Issues: Due to the recent changeover to Plymouth, the boot splash shows the Ubuntu logo instead of Kubuntu's. (For now)". I, currently, don't even get that. I get some of the text of the boot process, a black screen, then a (very ugly) purple screen that says "Ubuntu 10.04" in text (no image like there was at one point) and the little dots at the bottom, and finally KDM.
      While I understand and agree with dibl...

      Originally posted by dibl
      The splash screen is about the last thing that goes on prior to release. It's a "cosmetic" item -- not relevant to performance of the OS.
      ...However, I have noticed that it matters on which laptop I load the CD as to what I get for an image. I have a P3 laptop that shows what you describe. I also have a P4 laptop that shows 5 little dots instead of 4 and an ubuntu logo to boot (pun purely unintentional). The P3 is a Dell Latitude C610, Pentium III with ATI graphics. The P4 is a Dell Inspiron 8200, Pentium 4 with nVidia graphics. The native resolution on these are 1024x768 and 1400x1050 respectively. Despite the lower resolution, the ATI seems more polished and quicker to respond than the "newer" laptop. (A "which hill is older" sort of new.

      Comment


        #4
        Re: Common Splash From Start To Finish (suggestion/problems)

        Common backgroung from the Grub to the Desktop

        Tinkering with the expendable ( ) Kubuntu 10.04 beta1.

        Using the "Ethais" as an example, the image could be whatever...


        Grub

        Making a directory:
        Code:
        sudo mkdir -p /usr/share/desktop-base/
        Making a file: /usr/share/desktop-base/grub_background.sh. It has:
        Code:
        WALLPAPER="/usr/share/wallpapers/Ethais/contents/images/1920x1200.png"
        COLOR_NORMAL="black/black"
        COLOR_HIGHLIGHT="magenta/black"
        Updating grub:
        Code:
        sudo update-grub
        Generating grub.cfg ...
        Found background image: 1920x1200.png
        ...
        and now the Grub has the ethais background

        A Kubuntu Forums link > GRUB 2: A Guide for Users


        Plymouth

        Earlier
        > Plymouth pre beta1
        > Plymouth & Logo

        Editing the Kubuntu Plymouth Theme (quick&dirty /1/):

        Opening the /lib/plymouth/themes/kubuntu-logo/kubuntu-logo.script and inserting there a background (flower) script from the > Plymouth theming guide (part 3).

        Making a symlink:
        Code:
        sudo ln -s /usr/share/wallpapers/Ethais/contents/images/1920x1200.png /lib/plymouth/themes/kubuntu-logo/flower.png
        Check:
        Code:
        ls -l /lib/plymouth/themes/kubuntu-logo/
        lrwxrwxrwx 1 root root 58 2010-03-30 15:33 flower.png -> /usr/share/wallpapers/Ethais/contents/images/1920x1200.png
        and the Kubuntu plymouth is having the ethais background

        [img width=400 height=270]http://img682.imageshack.us/img682/3465/ethais.png[/img]

        /1/ The right way is to build own plymouth theme. Now the Kubuntu plymouth theme upgrades are overwriting the changes.

        Update

        A "blank" plymouth example package > PPA /2/ >> PPA for Rog131 >>> Package name contains: plymouth

        Description: an alternative plymouth theme
        A plymouth theme that features an easy set of own background image and logo.
        /2/ > FAQ: Repositories and > Using the PPA repositories


        More (KSplashX + Desktop backgrounds)

        > Re: [SOLVED] Ksplash Theme background - can't get it to change

        Few symlinks and you could have same background from the grub to the desktop.


        Problems with the Plymouth

        > Whats happening with Plymouth?
        > Skip Plymouth?
        > Nvidia and Plymouth dont seem to work in sync.
        > Plymouth Tearing
        > Why plymouth and nouveau boots in safe mode?
        > ...
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Common Splash From Start To Finish (suggestion/problems)

          Thank you rog, I would like to expand on this if I may for not so experts.

          Using my favorite KDM and Splash from here:
          http://kde-look.org/content/show.php...content=114234

          and

          http://kde-look.org/content/show.php...content=113319

          you can get both from with in system settings and appearance-> start up screen->get new, resp, advanced->log in -> design-> get new.

          Now using the kubuntu_logo from /lib/plymouth/themes/kubuntu-logo and the background from here:
          http://kde-look.org/content/show.php?content=114975

          I made a grub2 splash with gimp and saved as a .tga file and added as described above.

          Adding KDM and Login splash was easy with system settings.

          Now for plymouth

          I followed rog's instructions and downloaded plymouth from his PPA's

          Open up kdesudo dolphin from krunner (alt+f2 or right click->run command) and navigate to:
          /lib/plymouth/themes
          and you will find the blanco directory.

          Split dolphin and drag your background (without kubuntu logo) from wherever you have it and drop it in /blanco.
          Now do the same with the kubuntu logo in /lib/themes/kubuntu-logo.

          Before rebooting we have to do some editing.

          From kdesudo kate open up /lib/plymouth/themes/default.plymouth and change the file (after backing up!) to:
          [Plymouth Theme]
          Name=Kubuntu Logo
          Description=A theme that features a blank background with a logo.
          ModuleName=script

          [script]
          ImageDir=/lib/plymouth/themes/blanco
          ScriptFile=/lib/plymouth/themes/blanco/blanco.script
          This will point plymouth to blanco for the info it needs.

          Now open up /lib/plymouth/themes/blanco/blanco.script and edit these lines as needed:


          #-----------------------------------------------------------------------------
          #
          # Background image script ("flower") from http://brej.org/blog/?p=197
          # by Charlie Brej
          #

          my_wallpaper_image = Image("flower.png");

          screen_ratio = Window.GetHeight() / Window.GetWidth();
          my_wallpaper_image_ratio = my_wallpaper_image.GetHeight() / my_wallpaper_image.GetWidth();

          if (screen_ratio > my_wallpaper_image_ratio)
          { # Screen ratio is taller than image ratio, we will match the screen height
          scale_factor = Window.GetHeight() / my_wallpaper_image.GetHeight();
          }
          else
          { # Screen ratio is wider than image ratio, we will match the screen width
          scale_factor = Window.GetWidth() / my_wallpaper_image.GetWidth();
          }

          scaled_my_wallpaper_image = my_wallpaper_image.Scale(my_wallpaper_image.GetWid th() * scale_factor,
          my_wallpaper_image.GetHeight() * scale_factor);
          my_wallpaper_sprite = Sprite(scaled_my_wallpaper_image); # Create the a sprite using the scaled image

          my_wallpaper_sprite.SetX(Window.GetWidth() / 2 - scaled_my_wallpaper_image.GetWidth () / 2); # Place in the centre
          my_wallpaper_sprite.SetY(Window.GetHeight() / 2 - scaled_my_wallpaper_image.GetHeight() / 2);
          my_wallpaper_sprite.SetZ(-10000); # Place right at the back

          #-----------------------------------------------------------------------------

          #-----------------------------------------------------------------------------
          #
          # Changing kubuntu_logo.png to my_logo.png
          #

          logo.image = Image ("my_logo.png"); # "special://logo" is a special keyword which finds the logo image
          logo.sprite = Sprite ();
          logo.sprite.SetImage (logo.image);
          logo.width = logo.image.GetWidth ();
          logo.height = logo.image.GetHeight ();
          logo.x = Window.GetX () + Window.GetWidth () / 2 - logo.width / 2;
          logo.y = Window.GetY () + Window.GetHeight () / 2 - logo.height;
          logo.z = 1000;
          logo.sprite.SetX (logo.x);
          logo.sprite.SetY (logo.y);
          logo.sprite.SetZ (logo.z);
          logo.sprite.SetOpacity (1);

          #-----------------------------------------------------------------------------
          As I had saved my background as: background.png and pulled kubuntu_logo.png over I just replaced flower.png with background.png and my_logo.png with kubuntu_logo.png.

          This will vary depending on your taste

          Now reboot and enjoy

          again thank you rog for the ppa and the quide lines
          HP Pavilion dv6 core i7 (Main)
          4 GB Ram
          Kubuntu 18.10

          Comment


            #6
            Re: Common Splash From Start To Finish (suggestion/problems)

            Thanks to everyone that added to this post

            I realise that this is not a necessity nor a high priority for the release. I merely thought it might be something to put some thought into since, as hardware progresses, I can see this being the norm for many computer systems and/or operating systems. Think of your mobile phone, for instance; it boots and loads it's operating system with a single splash screen (there is no BIOS/POST, no kernel messages, etc.).

            I do very much appreciate the additions on customising the Plymouth themes and references to the same, and I hope that it helps others in their tinkering pleasure

            Cheers

            Man by his very nature is dependent on other men.

            Comment

            Working...
            X