Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

As you can see on this screeshot of Mik's Guake he have a statup message of ascii art when he opens it, and that's what I'd like to do, can someone help me?

Mik's Guake

share|improve this question
    
Please see this question, where I explain one way of doing it. Unfortunately, your question is a possible duplicate of that one. –  user76204 Dec 31 '12 at 16:06
    
@Mik I think my question is a "real" duplicate of this one. Anyway, could you please explain me how to make the text get colored? Is that a argument on echo? –  Zignd Dec 31 '12 at 16:15
    
The prompt is red because I have specified some ANSI escape codes in the PS1 line in my .bash_aliases ; you can do this manually in your bash_aliases or .bashrc for various things. You should also be able to use the preferences in gnome-terminal or guake to alter some of the appearance settings. There's some good answers on this site discussing the use of colour and ANSI escape codes in the terminal. –  user76204 Dec 31 '12 at 16:27
    
@Mik thanks for this information. –  Zignd Dec 31 '12 at 16:33

3 Answers 3

up vote 17 down vote accepted

Open your terminal with CTRL+ALT+T and type as

nano ~/.bashrc

There type as

echo " Hi Zignd" then close and save it.

then type this command to reload bashrc .

source ~/.bashrc

You will what you want.

for example :I made my self.

enter image description here

share|improve this answer

To extend @snow's answer, put the code below from the very first line of your .bashrc. And be proud to be ubuntu user :)

echo "MMMMMMMMMMMMKlxMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0occlxNM"
echo "MMMMMMMMMMMMOcxMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKOXMMMMMMMMMMMMMMMMMNdcoxkOlc0"
echo "MMMMMMMMMMMMOcxMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMdcOMMMMMMMMMMMMMMMMMkoO0lckkcl"
echo "dxWMMMM0d0MMOcoxdooxONMMMOdXMMMMXdkMMWkxdoodxONMMMdcldddkMXdxWMMMM0dKM0coOxk0xcd"
echo "ccNMMMMxckMMOco0XNXkclKMMxc0MMMMKcoMMNllKXXXkclXMMdcxKKKXMKclNMMMMkc0MM0oclldokN"
echo "ccNMMMMxckMMOcxMMMMMOclWMxc0MMMMKcoMMNllWMMMMdcOMMdcOMMMMMKclNMMMMkc0MMMMNXXNWMM"
echo "ccNMMMMxckMMOcxMMMMMKccNMxc0MMMMKcoMMNllWMMMMxckMMdcOMMMMMKclNMMMMkc0MMMMMMMMMMM"
echo "lcKMMMMxckMMOcxMMMMWdcxMMkcxMMMMKcoMMNllWMMMMkckMMxckMMMMMNccKMMMMkc0MMMMMMMMMMM"
echo "0lcxkkklckMMOclkOkxlckWMMNocdkkkdcoMMNllWMMMMkckMMXlcxkkxNM0lcxkkkoc0MMMMMMMMMMM"
echo "MNxlccloxXMMXxolccokNMMMMMWOolclox0MMWxkWMMMM0d0MMMXxlclxNMMNklcclokXMMMMMMMMMMM"

OR

echo "       _                 _         "
echo " _   _| |__  _   _ _ __ | |_ _   _ "
echo "| | | | '_ \| | | | '_ \| __| | | |"
echo "| |_| | |_) | |_| | | | | |_| |_| |"
echo " \__,_|_.__/ \__,_|_| |_|\__|\__,_|"

The secret to these image like characters is to use an image converter to ascii characters. There are lots of free tools in the wild but i personally use jp2a.

You can also use this site for generating text to ascii instead of image to ascii.

share|improve this answer
    
+1 for mentioning the site to generate ascii images –  don.joey Jan 5 '13 at 16:29
    
+1 for jp2a (why use a website?) –  Vreality Oct 5 '13 at 0:20

How do we apply ASCII art into the terminal?

There are numerous ways of generating ASCII art, including specialized software and manual building, but, there are also web-sites that generate ASCII art by simply entering the desired name. first, we need to generate/create the ASCII "code": visit this web-site, type a desired name and copy the "live" generated ASCII result then, create a text file named art and paste into it the above mentioned generated ASCII result copy the art file in your home folder (navigate here by clicking Nautilus sidebar's Home) open the .bashrc file (to make it viewable, press Ctrl+H) and paste on the bottom of the page

cat art

enter image description here Worth mentioning:

The above mentioned site contains hundreds of different fonts for generating ASCII that feature various sizes, 3D-look, etc.

enter image description here

Source

As for images to ascii go to this website

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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