1. Hey Guest Did you know you can win an Honor 10 phone worth ₹33,000 and an additional ₹70,000 in paytm vouchers, just by replying to some threads and taking part in the discussions happening in the Honor Hub?

    What are you waiting for? Start commenting and start winning! Remember to read the instructions posted here.

    Dismiss Notice

bash colors and icewm themes

Discussion in 'Open Source' started by ra_rav, Feb 18, 2006.

Thread Status:
Not open for further replies.
  1. ra_rav

    ra_rav New Member

    Joined:
    Sep 24, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    I innstalled knoppix 4.0 to y hd and have folloeing problems:

    I wnna change color of prompt of my bash to green or sth else how to do it

    I use icew as my desktop manger but i am unable to use themes as the normal user only root is able to switch between various thees. :!:
     
  2. mediator

    mediator New Member

    Joined:
    Mar 18, 2005
    Messages:
    2,491
    Likes Received:
    16
    Trophy Points:
    0
    Location:
    In ur Evil Mind!
    Hi there...ur havin same icon as me...thas cheating..huh..just kiddin!

    OK change the text color!type

    echo -e "\033[33m".......brown fireground
    echo -e "\033[32m".......green foreground
    echo -e "\033[31m".......blood red foregorund
    echo -e "\033[37m".......grey
    echo -e "\033[36m".......blue
    echo -e "\033[35m".......purple
    echo -e "\033[34m".......dark blue

    echo -e "\033[38m".......foreground underlined

    ....checkout 4 white foregound urself by changing last 2 values!

    Now to change backgorund..employe vlaue greater than 40
    echo -e "\033[40m"...black background
    echo -e "\033[41m"....red background
    echo -e "\033[42m"....green bakground!


    To make the foregorund thick issue
    echo -e "\033[1m"

    To normalise everythin issue
    echo -e "\033[0m"

    I hope this helps....mediator!!
     
  3. ujjwal

    ujjwal New Member

    Joined:
    Dec 1, 2003
    Messages:
    780
    Likes Received:
    0
    Trophy Points:
    0
    Check whether the icewm themes have been installed globally (in /usr/share/icewm/themes or /usr/local/share/icewm/themes). Also check that the same directory can be read by normal users (ls -l in that directory should give drwxr-xr-x for all the directories within).
     
  4. OP
    OP
    ra_rav

    ra_rav New Member

    Joined:
    Sep 24, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    I didnt mean this

    thanks ujjwal for restoring my icewm themes, actually i did dis in a diff way but u provided me the trick.

    well I had asked about how 2 change the color of the bash prompt which appears(somewhat) like this: "usr@host[/]" by d change of color i dont want to change d color of of the commands which i typ.
     
  5. OP
    OP
    ra_rav

    ra_rav New Member

    Joined:
    Sep 24, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    huh gimme an answer
     
  6. ujjwal

    ujjwal New Member

    Joined:
    Dec 1, 2003
    Messages:
    780
    Likes Received:
    0
    Trophy Points:
    0
  7. vignesh

    vignesh New Member

    Joined:
    Jul 20, 2004
    Messages:
    1,658
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Chennai
    By default bash has a few variables set eg colour try changing it there
     
Thread Status:
Not open for further replies.

Share This Page