Wednesday, November 23, 2016

Tux Boot Logo Theme for Ubuntu (Plymouth, XSplash, graphical splash)

Tux4Ubuntu Boot Logo Theme (Plymouth Theme)
Here we walk you through how to get Tux on your boot splash. Ubuntu now uses Plymouth to view those loading pages for your OS, which is why we'll walk you through how to install such a theme and adding the official Tux4Ubuntu theme in particular.

The easy way (Use the installer)

1) Copy (Ctrl + C):
sudo apt -y install curl && bash <(curl -s https://raw.githubusercontent.com/tuxedojoe/tux4ubuntu/master/download-tux4ubuntu-installer.sh) 
2) Open a terminal (Ctrl + Alt + T)

3) Paste (Ctrl + Shift + V) and run (ENTER) and choose where you want Tux
If something goes wrong, read our troubleshooting, if that doesn't help leave a comment below

Or, do it yourself

1) Download and unpack the theme:
wget -O ~/Downloads/tux4ubuntu.tar.gz https://github.com/tuxedojoe/tux4ubuntu/archive/master.tar.gz
tar -xzf ~/Downloads/tux4ubuntu.tar.gz -C ~/Downloads
2) Copy the theme to /usr/share/plymouth
If you're not running Ubuntu 16.04 this folder may be somewhere else
sudo cp -r ~/Downloads/tux4ubuntu-master/tux-plymouth-theme /usr/share/plymouth
3) Add tux-plymouth-theme as an alternative to Plymouth:
sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/tux-plymouth-theme/tux.plymouth 100;
4) Set tux-plymouth-theme as Plymouth default:
sudo update-alternatives --config default.plymouth
5) Update initramfs
sudo update-initramfs -u;
6) Reboot and Tux shall appear on next boot

Troubleshooting

Boot interruptions like /dev/sda1: clean, 220240/30269440 file, 2971359/121076736 blocks
This is shown because of a bug in Ubuntu 16.04 Desktop version. If possible, install Ubuntu 16.04 Server edition instead and choose to install Desktop environment when asked. Or run the following command after the installation:
sudo apt-get install ubuntu-desktop
Plymouth theme only shows up on shutdown but not on boot
If you chose to encrypt your home folder when installing Ubuntu that doesn't work well with Plymouth themes because of a Ubuntu bug. We tried installing Tux at boot with a not encrypted installation and then encrypting the start folder without success. So, for now encrypting your home folder breaks Plymouth themes unfortunately. We'll keep you posted.
If this affects you, please press "Affects me" in the official bug which will help it get prioritized:

https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1655180

Want more Tux?

1) Tux Boot Loader Theme for Ubuntu (rEFInd, new GRUB2/BURG)
2) Tux Boot Logo Theme for Ubuntu (Plymouth, XSplash, graphical splash)
3) Tux's classiness to your Ubuntu Login Screen
4) Tux's classiness to your Desktop (Theme, Icons and Fonts)
5) Tux's selection of Wallpapers
6) Tux Games
7) Get the t-shirt
And check out our project on GitHub and contribute. 

Saturday, November 12, 2016

Tux Boot Loader Theme for Ubuntu (rEFInd, new GRUB2/BURG)

Tux4Ubuntu rEFInd bootloader screnshot.

Before even loading an OS, the boot loader usually shows up. GRUB2 bootloader is rock solid but not that graphical. That's why there is a new kid on the block called rEFInd bootloader which does the job brilliantly. Here we show you how to theme it with Tux's own themes.

The easy way (Use the installer)

1) Copy (Ctrl + C):
sudo apt -y install curl && bash <(curl -s https://raw.githubusercontent.com/tuxedojoe/tux4ubuntu/master/download-tux4ubuntu-installer.sh) 
2) Open a terminal (Ctrl + Alt + T)

3) Paste (Ctrl + Shift + V) and run (ENTER) and choose where you want Tux
If something goes wrong, read our troubleshooting, if that doesn't help leave a comment below

Or, do it yourself

It's a fun adventure! If something fails, remember to look at our troubleshooting below. Before we get started, check if your OS was loaded with EFI or regular BIOS:
[ -d /sys/firmware/efi ] && echo "EFI detected"
If that echoes 'EFI detected' then you can carry on with Installing rEFInd bootloader and Tux4Ubuntu rEFInd theme, if not jump to Installing Tux4Ubuntu GRUB2 theme.

Installing rEFInd bootloader and Tux4Ubuntu rEFInd theme

Be aware that changes to your bootloader can make your OS not load. Backup all your data before you continue and have an extra Ubuntu install USB stick or DVD ready.
1) To install rEFInd we first need to add the ppa, update apt-get and then install it by running the following commands and follow the instructions:
sudo apt-add-repository ppa:rodsmith/refind
sudo apt-get update

sudo apt-get install refind
2) Download and unpack the theme by running:
wget -O ~/Downloads/tux4ubuntu.tar.gz https://github.com/tuxedojoe/tux4ubuntu/archive/master.tar.gz

tar -xzf ~/Downloads/
3) Copy the theme to the rEFInd folder /boot/efi/EFI/refind/
If you're not running Ubuntu 16.04 these files may be somewhere else
sudo mkdir -p /boot/efi/EFI/refind/themes
sudo cp -r ~/Downloads/tux4ubuntu-master/tux-refind-theme /boot/efi/EFI/refind/themes/tux-refind-theme
4) Add the theme to /boot/efi/EFI/refind/refind.conf
sudo grep -q -F 'include themes/tux-refind-theme/theme.conf' /boot/efi/EFI/refind/refind.conf || echo 'include themes/tux-refind-theme/theme.conf' | sudo tee -a /boot/efi/EFI/refind/refind.conf
5) Restart and look out for Tux!

Installing Tux4Ubuntu GRUB2 Theme

Be aware that changes to your bootloader can make your OS not load. Backup all your data before you continue and have an extra Ubuntu install USB stick or DVD ready.
1) Download and unpack theme
wds/tux4ubuntu.tar.gz https://github.com/tuxedojoe/tux4ubuntu/archive/master.tar.gz

tar -xzf ~/Downloads/
tux4ubuntu.tar.gz -C ~/Downloads
2) Copy it to /boot/grub/themes/"
sudo cp -r ~/Downloads/tux4ubuntu-master/tux-grub2-theme /boot/grub/themes/
3) Adding 'GRUB_THEME=/boot/grub/themes/tux-grub2-theme/theme.txt' to '/etc/default/grub'
sudo grep -q -F 'GRUB_THEME="' /etc/default/grub || sudo sh -c "echo 'GRUB_THEME=es/tux-grub2-theme/theme.txt"' >> /etc/default/grub"
4) Tell GRUB2 to make a new cfg file
sudo grub-mkconfig -o /boot/grub/grub.cfg
5) Restart and look out for Tux!

Uninstalling rEFInd theme

0) BACKUP YOUR FILES if you haven't done that already :)
1) Run this in the terminal to open the config file
sudo gedit /boot/efi/EFI/refind/refind.conf

2) Remove the last line looking like this:
include themes/tux-refind-theme/theme.conf

3) Save and exit gedit

4) If you wish to uninstall rEFInd as well run the following command:
sudo rm -r /boot/efi/EFI/refind
5) Reboot and you're done!

Troubleshooting

Can't boot anything
Alt 1) Use a Ubuntu install DVD/USB stick. Once loaded you can edit the rEFInd/GRUB2 config files to what it was before it stopped working.
Alt 2) Check out your BIOS/EFI settings by pressing F2, F8, F12 or Delete directly after you turned on your PC. In the settings that appear, try to change boot to "Legacy". That way your computer will boot using BIOS (if you otherwise are running on EFI) and then Ubuntu will boot using the standard GRUB2 boot loader.

Alt 3) If you're dual booting try to change boot order so that the Windows boot loader starts. You can also try to switch your boot setting to "safe mode". That way Windows will load as well. You can then use Windows to attach your Ubuntu drive and from there edit rEFInd/GRUB2 files. 
Windows boots all the time
You may need to disable "safe boot" under Boot-options. rEFInd is not "safe" according to some manufactures, since its not recognized.

Want more Tux?

1) Tux Boot Loader Theme for Ubuntu (rEFInd, new GRUB2/BURG)
2) Tux Boot Logo Theme for Ubuntu (Plymouth, XSplash, graphical splash)
3) Tux's classiness to your Ubuntu Login Screen
4) Tux's classiness to your Desktop (Theme, Icons and Fonts)
5) Tux's selection of Wallpapers
6) Tux Games
7) Get the t-shirt
And check out our project on GitHub and contribute.