RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    RetroPie on Ubuntu server 24.02

    Scheduled Pinned Locked Moved Help and Support
    ubuntu 24.04splashscreeninstall script
    2 Posts 1 Posters 62 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rens
      last edited by

      I have an old HP DC7900, which is gathering dust, I am now experimenting on it to run RetroPie on it.

      Inter DUO 3Ghz
      8 MB ram
      onboard sound.

      It currently has Ubuntu Server on it....
      i can install and run RetroPie, with lightDM and openbox installed, and removing user from sudo group getting most functionality.

      Doing it this way, sound control is an issue, lightdm gives me only master control and was defaulted to mute. When that is unmuted I get audio simultanious on headphones out and speaker out but volume control through retropie front end does not work.
      I can see all options though alsamixer but can't pick or control them from retropie..

      searching here I found the retropie-for-ubuntu script
      https://github.com/MizterB/RetroPie-Setup-Ubuntu
      starting fresh (reinstall ubuntu reformatting the drive)
      Now the last update to this was for ubuntu 22.04 live server. But thought i'd run it and give it a go.

      This runs through the install nicely, I get the splash screen and openbox does run but retropie does not start.

      Does anyone have any experience with this script on ubuntu server 24.02?

      Or is the splashscreen addition easy to extract and do a manual install as I had with the nice splashscreen and living with or sorting the sound issue?

      R 1 Reply Last reply Reply Quote 0
      • R
        Rens @Rens
        last edited by

        Please ignore, I did what seemed most simple and plucked the functions I needed from the script and that seems to work.

        #! /bin/bash
        
        function enable_plymouth_theme() {
            if [[ -z "$1" ]]; then
                echo "--------------------------------------------------------------------------------"
                echo "| Skipping Plymouth boot splash because no theme name was provided"
                echo "--------------------------------------------------------------------------------"
                echo -e "Skipped\n\n"
                return 255
            fi
            PLYMOUTH_THEME=$1
            echo "--------------------------------------------------------------------------------"
            echo "| Installing Plymouth boot splash and enabling theme '$PLYMOUTH_THEME'"
            echo "--------------------------------------------------------------------------------"
            apt-get install -y $APT_RECOMMENDS plymouth plymouth-themes plymouth-x11
            rm -rf /tmp/plymouth-themes
            git clone --depth=1 https://github.com/HerbFargus/plymouth-themes.git /tmp/plymouth-themes
            mv /tmp/plymouth-themes/* /usr/share/plymouth/themes/
            update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/$PLYMOUTH_THEME/$PLYMOUTH_THEME.plymouth 10
            update-alternatives --set default.plymouth /usr/share/plymouth/themes/$PLYMOUTH_THEME/$PLYMOUTH_THEME.plymouth
            update-initramfs -u
            echo -e "FINISHED enable_plymouth_theme \n\n"
            sleep 2
        }
        
        # Hide Boot Messages
        function hide_boot_messages() {
            echo "--------------------------------------------------------------------------------"
            echo "| Hiding boot messages"
            echo "--------------------------------------------------------------------------------"
            # Hide kernel messages and blinking cursor via GRUB
            sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT=".*"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vt.global_cursor_default=0"/g' /etc/default/grub
            update-grub
        
            # Hide fsck messages after Plymouth splash
            echo 'FRAMEBUFFER=y' > /etc/initramfs-tools/conf.d/splash
            update-initramfs -u
        
            # Remove cloud-init to suppress its boot messages
            apt-get purge cloud-init -y
            rm -rf /etc/cloud/ /var/lib/cloud/
        
            # Disable motd
            touch $USER_HOME/.hushlogin
            chown $USER:$USER $USER_HOME/.hushlogin
            echo -e "FINISHED hide_boot_messages \n\n"
            sleep 2
        }
        
        
        
        enable_plymouth_theme "retropie-pacman"       # See https://github.com/HerbFargus/plymouth-themes.git for other theme names
        hide_boot_messages
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.