Page 3 of 8 FirstFirst 12345 ... LastLast
Results 21 to 30 of 75

Thread: HOWTO: Spice up your boot text [font resolution and color]

  1. #21
    Join Date
    Jul 2005
    Location
    on the edge of reality...
    Beans
    Hidden!

    Re: HOWTO: Spice up your boot text [font resolution and color]

    Nice little hack. Now Ubuntu looks like a Linux box while booting instead of a DOS error. They should make the settings a default for breezy, it would help in smoothing migration by preventing coronary arrest.

    -- UDSF | Tango Desktop Project --

    -- openSUSE 11.3 / Ubuntu 10.04 --

  2. #22
    Join Date
    Jan 2005
    Location
    Tartarus
    Beans
    Hidden!

    Talking Re: HOWTO: Spice up your boot text [font resolution and color]

    Cool idea/thread, thanks.

  3. #23
    Join Date
    Apr 2005
    Location
    Not-So-Sunny Hawaii
    Beans
    Hidden!

    Re: HOWTO: Spice up your boot text [font resolution and color]

    hmm...

    it works, but the resolution is "hourglassing" my screen during bot/shutdown, and in the virtual consoles...

    any way to make the resolution slightly bigger, but still nice and small?

  4. #24
    Join Date
    Apr 2005
    Location
    Parts Unknown
    Beans
    9,213
    Distro
    Ubuntu Development Release

    Re: HOWTO: Spice up your boot text [font resolution and color]

    Thought I would share another little edit...just for fun. I made the brackets that surround the red "fail" or green "ok" blue. Here's the edit to my /lib/lsb/init-functions:

    # Only do the fancy stuff if we have an appropriate terminal
    # and if /usr is already mounted
    TPUT=/usr/bin/tput
    EXPR=/usr/bin/expr
    if [ -x $TPUT ] && [ -x $EXPR ] && $TPUT hpa 60 >/dev/null 2>&1; then
    COLS=`$TPUT cols`
    if [ -n "$COLS" ]; then
    COL=`$EXPR $COLS - 7`
    else
    COL=73
    fi
    UP=`$TPUT cuu1`
    END=`$TPUT hpa $COL`
    START=`$TPUT hpa 0`
    RED=`$TPUT setaf 1`
    GREEN=`$TPUT setaf 2`
    BLUE=`$TPUT setaf 4`
    NORMAL=`$TPUT op`
    if [ $1 -eq 0 ]; then
    echo "$UP$END${BLUE}[ ${GREEN}ok${BLUE} ]${NORMAL}"
    else
    echo -e "$UP$START $RED*$NORMAL$END${BLUE}[${RED}fail${BLUE}]${NORMAL}"
    fi
    else
    if [ $1 -eq 0 ]; then
    echo " ...done."
    else
    echo " ...fail!"
    fi
    fi
    return $1
    }
    The important parts, of course, are where you see "BLUE." You are all smart...probably don't need to say any more. Just be sure to spell TPUT right...I did a typo and had to use a live cd to unmount the hd from read only and remount it as read/write and edit the file because my computer wouldn't boot. Not difficult, but a bit time consuming.
    Last edited by matthew; July 21st, 2005 at 07:13 AM.
    what's a troll? | my blog | my writing | Ubuntu Unleashed

    Don't ask support questions in PMs--post a thread so everyone can benefit!

  5. #25
    Join Date
    Aug 2005
    Location
    Norway
    Beans
    47

    Lightbulb Re: HOWTO: Spice up your boot text [font resolution and color]

    Quote Originally Posted by panickedthumb
    It should be pointed out that the green "ok" messages violate standards for color blindness compatibility, so if you plan on releasing a distro any time soon, don't include that

    I myself kinda like it.
    The director of the it department at my old job told me (if i remember correctly) that ibm had done research on the color use for their terminals (you know as/400?) and found out that green was the color that was minimal on making your eyes tired of all colors
    (\ /)
    (O.o)
    (> <)
    - wabble helping Bunny on his way to world domination-

  6. #26
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: HOWTO: Spice up your boot text [font resolution and color]

    yeah, at one time many computer monitors had a button that changed the image to green/black to save your eyes.

    Anyway, should we bann all colors and meake a B/W distro because everybody can't see every color? I don't think so, as long as the color is not the only thing giving information to user. /I mean using green/red balls at boot instead of ok/failed-text would be a problem to colorblind people, but with text that shouldn't be any problem as long as they can still read And for us that can see all colors green/red texts can be quite helpful, and at least they look better so I think this feature should be used as default..

    Thanks for the tip, I've been missing this feature.

  7. #27
    Join Date
    Aug 2005
    Location
    Indonesia
    Beans
    3
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Spice up your boot text [font resolution and color]

    nice tips...
    i love it

  8. #28
    Join Date
    Jul 2005
    Location
    Ljubljana, Slovenia
    Beans
    124
    Distro
    Ubuntu 6.06

    Re: HOWTO: Spice up your boot text [font resolution and color]

    Hi!

    Awesomw stuff, thanks!

    Does anyone know howto color other console stuff? Like hostname in diffrent color, user,... I know gentoo has this by default.

  9. #29
    Join Date
    Apr 2005
    Location
    El Salvador
    Beans
    80
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Spice up your boot text [font resolution and color]

    Superb, Thanks!
    Last edited by Rodrigo; August 22nd, 2005 at 07:08 PM.

  10. #30
    Join Date
    Aug 2005
    Beans
    47

    Re: HOWTO: Spice up your boot text [font resolution and color]

    If you find the framebuffer to be to sluggish (as I did) you might want to try SVGATextMode instead. Much snappier.

Page 3 of 8 FirstFirst 12345 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •