You are not logged in.

#1 2013-12-01 20:27:07

Tid91
Member
Registered: 2013-12-01
Posts: 35
Website

[SOLVED] Apply Solarized Color Scheme to Guake and gnome-terminal

Hi Guys,
it's all the day I'm struggling to understand how to apply the solarized colorscheme to my terminal environment.

I'm following this instructions (running ./install.sh instead of set_dark.sh because of the version of the terminal, as written here).

The problem is that my ls command is not showing colors correctly, compared to this site screens.

Same thing for Guake...

Any suggestions? What Am I doing wrong?

http://img36.imageshack.us/img36/9425/i0ja.png



-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Last edited by Tid91 (2013-12-07 16:07:46)

Offline

#2 2013-12-01 21:31:41

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [SOLVED] Apply Solarized Color Scheme to Guake and gnome-terminal

Oh yes, I have that installed. It looks nice.

Git it and install it

sudo mkdir /usr/src/dicolors
sudo chown bobby:root /usr/src/dicolors
cd /usr/src/dicolors
git clone https://github.com/seebi/dircolors-solarized.git

Add this to your .zprofile or .bash_profile or /etc/profile or .profile

TERM='xterm-256color'

Add this to your bashrc or zshrc file

eval `dircolors /usr/src/dircolors/dircolors-solarized/dircolors.256dark`
alias grep='grep --color'
alias ls='ls --color=auto'

Add this to the home dir of whatever user ... well just do this

ls /home | while read -r i
do
    sudo ln -s /usr/src/dircolors/dircolors-solarized/dircolors.256dark /home/${i}/.dir_colors
done

Then log out of everything and log back in, or reboot for good mesure

Last edited by hunterthomson (2013-12-01 21:34:23)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#3 2013-12-02 08:58:32

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [SOLVED] Apply Solarized Color Scheme to Guake and gnome-terminal

Hum, I just noticed that on one of my server I didn't put that soft link in my home directory and it works fine; at least with zsh.

Also, on second thought. It may be better for me to suggest you don't use 256 colors for your dircolor.
/usr/src/dircolors/dircolors-solarized/dircolors.ansi-dark

256color schema will look like crap in a terminal that dose not have 256 colors, like /dev/tty* by default. All your desktop terminals will support the xterm-256color upgrade.

Last edited by hunterthomson (2013-12-02 09:00:31)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#4 2013-12-05 20:43:14

Tid91
Member
Registered: 2013-12-01
Posts: 35
Website

Re: [SOLVED] Apply Solarized Color Scheme to Guake and gnome-terminal

hunterthomson wrote:

Oh yes, I have that installed. It looks nice.

Git it and install it

sudo mkdir /usr/src/dicolors
sudo chown bobby:root /usr/src/dicolors
cd /usr/src/dicolors
git clone https://github.com/seebi/dircolors-solarized.git

Add this to your .zprofile or .bash_profile or /etc/profile or .profile

TERM='xterm-256color'

Add this to your bashrc or zshrc file

eval `dircolors /usr/src/dircolors/dircolors-solarized/dircolors.256dark`
alias grep='grep --color'
alias ls='ls --color=auto'

Add this to the home dir of whatever user ... well just do this

ls /home | while read -r i
do
    sudo ln -s /usr/src/dircolors/dircolors-solarized/dircolors.256dark /home/${i}/.dir_colors
done

Then log out of everything and log back in, or reboot for good mesure

This worked like a charm... Thank you so much...

Offline

Board footer

Powered by FluxBB