Installa la nostra toolbar!
Tips / Linux
addthis
Bash customization tango colors theme
Author: Katrame
Visits: 2289
Date: 05.09.2007

This tips refer the fabulous uwstopia palette:

http://uwstopia.nl/blog/2006/07/tango-terminal

as described we need for first edit gnome terminal configuration:

# gconf-editor /apps/gnome-terminal/profiles/Default/palette

replace your current palette string with this new one:

#2E2E34343636:#CCCC00000000:#4E4E9A9A0606:#C4C4A0A00000:#34346565A4A4:#757550507B7B:#060698209A9A:#D3D3D7D7CFCF:#555557575353:#EFEF29292929:#8A8AE2E23434:#FCFCE9E94F4F:#72729F9FCFCF:#ADAD7F7FA8A8:#3434E2E2E2E2:#EEEEEEEEECEC
copy and paste as is in the textbox.

to check if the changes was applied a nice script could be helpfull
(always thanks to uwstopia: http://uwstopia.nl/files/2006/07/ansicolortable )
#!/bin/sh
#
# Display ANSI colours.
#
export esc="\033["
echo -e "\t 40\t 41\t 42\t 43\t 44 45\t46\t 47"
for fore in 30 31 32 33 34 35 36 37; do
line1="$fore " line2=" "
for back in 40 41 42 43 44 45 46 47; do
line1="${line1}${esc}${back};${fore}m Normal ${esc}0m"
line2="${line2}${esc}${back};${fore};1m Bold ${esc}0m"
done
echo -e "$line1\n$line2"
done

at the end, reload your gnome terminal.

Another addition, sometimes i can find useful to check for the lines below:

# vi /home/${USER}/.bashrc


# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
#alias dir='ls --color=auto --format=vertical'
#alias vdir='ls --color=auto --format=long'
alias l='ls -lah'
fi


To reload your new settings simply strike this on your bash:

# exec bash




Page 1 of 1


Se vuoi discutere con noi su questo articolo o comunque vuoi porci delle domande usa il nostro Forum

COMMENTI

Aggiungi un commento! +
(I commenti verranno moderati prima della pubblicazione)



Top