This question already has an answer here:

Some of you may know this from opensuse. There the console is able to have a background. Is Ubuntu also able to have a backround image outside the x window system?

share|improve this question

marked as duplicate by Takkat, Sergiy Kolodyazhnyy, Fabby, Pilot6, Mahesh Dec 5 '15 at 17:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Install FBTerm to have a colored Backround image on console

1. compile fbv - FrameBufferViewer

First of all you need to compile fbv to be able to print the background image to fbterm.

to prepare this go to your conole and enter

apt-get install build-essential checkinstall make

next we need to obtain the fbv source. You can get it from the authors website

now extract the source with

tar xfv fbv-1.0b.tar.gz

go to the directiory and then type ./configure.

as you see there are some dependencies

  • libungif
  • libjpeg and
  • libpng

it's a bit complicated to locate them on ubuntu. Just enter:

apt-get install lipungif lipjpeg-dev libpng12-dev

now you are ready to compile teh fbv "Framebuffer Viewer" enter ./configure again.

now enter

sudo checkinstall

Enter Y for the question after documentation files.

Now enter Framebuffer Viewer and hit return once more.

enter 3 to change the version string to `1.0b' hit return

enter 10 to specify dependencies in a comma seperated list. these are the libs named above

libungif.libjpeg,-dev,libpng12-dev

now you can confirm the rest of the promts with return.

Well done, you've compiled fbv from the source and installed it to your system.

But we like to install FbTerm so this will be the next step

2.Install FBTerm and setup a background image

First we simple install the fbterm package with apt-get

apt-get install fbterm

To grant acess to VESA for fbterm we need to add the user to the video group as explained above. So we need to enter

sudo usermod -a -G video $USER

Now we need to create a shell script that starts fbterm and setup a background image for us. This script can be referd by the FBTerm Man Pages. As you can see this is the part of the installation that needs fbv.

copy and paste the bash script to a new text file or just rewrite the lines and save it with nano.

For example you can save it to

/etc/fbterm

To make sure it is executable chmod it with

sudo chmod 777 /etc/fbterm

The effect of this script is if you go to /etc and enter ./fbterm [path of image] (without brackets) fbterm will start and show up with the given background image.

If you try it you'll notice that fbterm prints an error message about the keymap and not given privileges. This is because fbterm has no root access jet.

to avoid this we'll net to setup an other sh script.

The good part of this second script is you could specify a backround image in here. But let's take a look.

#!bin/sh

# This gives fbterm accesss to change the keymap

setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm

/etc/fbterm ~/Pictures/background.png cd exit

now we will chmod this script to 777 to

chmod 777 /init.d/fbterm

for now I'm not shure if the script works vompleatly enter

sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm

to make it really sure 3. Start FBTerm right after login

Finally we need to start FBTerm with the given background image right after the user is successfully logged in. so we have to edit the .profile in the users homedir.

go to your homedir with 'cd ~' and enter nano .profile

finally ad the line

sh /etc/init.d/fbterm below the last commentary.

Well done! Now you can see your image at console if you log back in

share|improve this answer
    
Have you ever seen fbterm behavior like this? superuser.com/questions/892028/… – dtmland Mar 20 '15 at 18:49
    
No I have not. Maybe this is because the packages to build fb term have evolved and therfore the problem exists. – Josh Mar 21 '15 at 6:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.