Those that do not use the proprietary graphics drivers can skip this part.
Those that use the proprietary graphics drivers lose a wonderful feature called KMS and anything running outside of X will look like crap because the resolution is way off.
Install v86d and hwinfo. These tools will allow us to discover and set the appropriate framebuffer resolution.
- Code: Select all
# apt-get install v86d hwinfo
now run
- Code: Select all
# hwinfo --framebuffer
to get a list of valid resolutions you can run the framebuffer in. Choose the resolution that is closest to your native screen resolution (what you use in X) and remember or copy it.
Edit the /etc/default/grub file.
Find the line that starts with GRUB_CMDLINE_LINUX_DEFAULT and edit it to
- Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1400x1050-24,mtrr=3,scroll=ywrap"
Then uncomment (remove the hash at the beginning) and edit the GRUB_GFXMODE line to
- Code: Select all
GRUB_GFXMODE=1400x1050
And in both instances replace the "1400x1050" to whatever resolution you got from hwinfo. My screen's native resolution is 1920x1080 and 1400x1050 is the best I got.
Now edit the /etc/initramfs-tools/modules file. Add the following line
- Code: Select all
uvesafb mode_option=1400x1050-24 mtrr=3 scroll=ywrap
Also replacing "1400x1050" for the resolution you got with hwinfo.
Run
- Code: Select all
# echo FRAMEBUFFER=y | tee /etc/initramfs-tools/conf.d/splash
And then
- Code: Select all
# update-grub2
# update-initramfs -u
to apply the changes.
Part 2: Setting up Plymouth
Run
- Code: Select all
# apt-get install plymouth
to install plymouth.
Now run
- Code: Select all
# /usr/sbin/plymouth-set-default-theme --list
to get a list of available theme names. Choose one.
Run
- Code: Select all
# /usr/sbin/plymouth-set-default-theme THEME
replacing THEME with whatever theme name you chose.
Finally, run
- Code: Select all
# update-initramfs -u
now and after every theme change to apply your selection.