• Stars
    star
    1,908
  • Rank 24,105 (Top 0.5 %)
  • Language
    Shell
  • License
    Other
  • Created over 13 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Solarized Gnome Terminal colors, based on http://ethanschoonover.com/solarized

Solarized Colorscheme for Gnome Terminal

Scripts for setting the Solarized color set with Gnome Terminal. To get nicely colored directory listings, you will also need to set up a dircolors solarised color theme.

For Mate Terminal, you can use mate-terminal-colors-solarized, maintained by @cledoux.

Colors

Only the foreground, background and highlight colors are different in the light and dark color sets, as one of the main ideas behind Ethan Schonoovers work is to use the same colors in the palette for both.

See the Solarized homepage for theory behind the colors, screenshots, details and colorscheme versions for Vim, Mutt, popular terminal emulators and other applications.

For the original works of Ethan Schoonover, visit the Solarized repository. The scripts for Gnome Terminal is maintained in Gnome Terminal Colors Solarized repository.

Installation and usage

To be able to uninstall, we highly recommend that you create a new Gnome Terminal profile, using the menus in Gnome Terminal.

You need the dconf command (if you run a recent Gnome version). With Ubuntu, this can be installed by running

$ sudo apt-get install dconf-cli

Then clone the repository and you can run the installation script:

$ git clone https://github.com/aruhier/gnome-terminal-colors-solarized.git
$ cd gnome-terminal-colors-solarized
$ ./install.sh

And just follow the instructions.

You can also run the set_dark.sh or set_light.sh script, to directly set the dark or light solarized theme to the actived gnome-terminal profile. The options --install-dircolors or --skip-dircolors can also be used to install or not the solarized dircolors in a non-interactive mode.

To run this script remotely or via cron (or from any shell where DBUS_SESSION_BUS_ADDRESS is not set), you need to start a dbus connection:

$ dbus-launch ./install.sh

Uninstall

Change to another profile in Gnome Terminal, then remove the Solarized profile by running:

Gnome 3.6 or lower

$ rm -r ~/.gconf/apps/gnome-terminal/profiles/Solarized/
$ gconftool-2 --recursive-unset /apps/gnome-terminal

Gnome 3.8 or higher

Be sure to have the dconf-cli package installed and do:

$ dconf reset -f /org/gnome/terminal/legacy/profiles:/PROFILE_ID"

Replace PROFILE_ID by your profile ID (you can get it in your profile configuration in gnome-terminal).

Themes

Each theme has is own folder in the colors dir. It contains the following files:

  • bd_color: bold color
  • bg_color: background color
  • fg_color: foreground color
  • palette: list of colors for all standard color codes.

No additional configuration is needed to add a theme, the installation script just list at launch the children folders in the colors dir.

Dircolors

The installation script will ask if a solarized dircolors is wanted. It will be downloaded and installed as ~/.dir_colors/dircolors. On CentOS, it can be an issue (see issue #62), as the default setup use ~/.dir_colors as dircolors. In that case, you should manually move ~/.dir_colors as ~/.dir_colors/dircolors before starting the installation script.

If the dircolors is not applied, please check that your shell actually source your dircolors:

if [ -f ~/.dir_colors/dircolors ]
    then eval `dircolors ~/.dir_colors/dircolors`
fi

This should not be necessary on major distributions (such as Ubuntu, Fedora, etc.) but could be on ArchLinux, Gentoo and others.

Contributors

FAQ

Conflicting background colors in VIM

Use the 16 colors terminal option to get VIM to look like GVIM with solarized colors.

set t_Co=16

More Repositories

1

virt-backup

Backup your kvm guests managed by libvirt
Python
104
star
2

ansible-role-systemd-networkd

Ansible role to setup systemd-networkd profiles
Jinja
40
star
3

ansible-role-unbound

Ansible role to setup unbound
Jinja
13
star
4

pyqos

Set your QoS on Linux with tc and Python
Python
11
star
5

gazelle-uploader

Upload release on Gazelle based trackers (apollo, pth)
Python
10
star
6

mpd-muspy

Sync artists of your MPD database with your MuSpy account.
Python
8
star
7

ansible-role-kubernetes-nextcloud

Ansible role to install Nextcloud on Kubernetes
Jinja
8
star
8

dotfiles

Lua
8
star
9

ansible-role-kubernetes-emby

Ansible role to install Emby on Kubernetes
Jinja
7
star
10

jarvis-speech-recognition

Jarvis speech recognition assistant
Python
7
star
11

ansible-role-tlp

Ansible role to setup TLP
HTML
4
star
12

ansible-role-wireguard

Ansible role to setup Wireguard with wg-quick, systemd-networkd or generate a wg configuration
Jinja
3
star
13

ansible-role-kubernetes-netbox

Ansible role to install Netbox on Kubernetes
Jinja
3
star
14

ansible-role-kubernetes-librenms

Ansible role to install Librenms on Kubernetes
3
star
15

clean_rtorrent_watchdir

Python script to clean torrents from a rtorrent watch directory that are not in the session directory anymore
Python
2
star
16

ansible-role-kubernetes-cert-manager-cert

Ansible role to generate a certificate for cert-manager on Kubernetes
Jinja
2
star
17

spawn-archlinux-libvirt

Spawn an ArchLinux libvirt KVM machine
Shell
2
star
18

torrents_dispatcher

Dispatch your torrents between multiple torrent clients
Python
2
star
19

easy-incremental-backups

Incremental backups sorted by date, with an interactive changelog feature and old backups auto-deletion
Shell
1
star
20

cv

CV/Resume in EN,FR
TeX
1
star
21

dhcp_handler

Handle IP reassignment by DHCP for multiple interfaces
Python
1
star
22

ansible-role-kubernetes-kanboard

Ansible role to install Kanboard on Kubernetes
1
star
23

ansible-role-kubernetes-grafana

Ansible role to install Grafana on Kubernetes
Jinja
1
star