LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 03-15-2002, 08:08 AM   #1
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
ASCII penguin logo


Does anyone know whether you can change the picture on the console screen so instead of having a ASCII penguin you can have something else?

If so, how?
 
Old 03-15-2002, 08:39 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
that'll be linux_logo. the three logos in it are hardcoded, so you can't change what it does. there's aprolly a program around to do what you want to tho.
 
Old 03-15-2002, 11:49 AM   #3
FlakMagnet72
LQ Newbie
 
Registered: Sep 2001
Location: Metro Detroit, MI
Distribution: Slack, Mdk, Debian
Posts: 1

Rep: Reputation: 0
Changing console Penguin (/etc/issue)

What you describe is the contents of /etc/issue





Prove this to yourself by entering: "cat /etc/issue"





Now open /etc/issue in you favorite text editor. You'll see all kinds of codes that are ASCII color codes. They basically draw the picture of the penguin. Note that there are keywords and whatnot that also call up values hidden in amongst all those color codes.





To change this, you need to edit /etc/issue to your liking. Don't ask me how to create your own color ASCII drawing like the penguin. I don't know.





Note that backing up the old /etc/issue can't hurt, and start off the new /etc/issue with a clear screen control code or when you logoff a terminal it won't clear the screen like it should and someone could see what you were up to before you logged out. You can do this by entering "clear > /etc/issue" and then editing /etc/issue to taste. Make sure you put your customizations after the "^[[H ^[[2" because those are the clear screen codes.





But that's not enough. On Mandrake (what you're running according to your profile) they have a nifty bit of code in /etc/rc.local that takes overwrites /etc/issue when your box boots up, which undoes your editing.





I just nuke that section of code. It's right at the bottom of /etc/rc.local and starts out with these two comments:





# This will overwrite /etc/issue at every boot. So, make any changes you


# want to make to /etc/issue here or you will lose them when you reboot.





So if you delete (or comment out by adding "#" to the beginning of each line) those lines of code until the last "fi" you'll be able to keep your customized /etc/issue. I would keep the last line of /etc/rc.local alone (touch /var/lock/subsys/local), all it does is update the last modified time of a file, but I don't know what effect that would have on anything, if any.





Note that there is an /etc/issue.net that is issued to non-local users and can be different. Altogether a good thing.





--Flak Magnet
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No more Debian ascii logo at login Peff Debian 2 06-30-2005 06:58 AM
y the penguin logo? rgiggs General 3 04-18-2004 09:10 PM
penguin logo during bootup? debuser Linux - General 5 04-05-2004 10:24 AM
The Linux logo - the penguin boku General 12 01-28-2003 04:07 AM
Ascii penguin Stephanie Linux - General 2 02-11-2002 10:32 AM


All times are GMT -5. The time now is 04:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration