Precision color scheme for the Android SSH client
Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
connectbot-solarized.png
connectbot-solarized.sql
install.sh

README.md

ConnectBot Colors Solarized

Priyesh Patel https://github.com/priyeshpatel/connectbot-colors-solarized

Solarized by Ethan Schoonover

Solarized is a sixteen color palette (eight monotones, eight accent colors) designed for use with terminal and gui applications. It has several unique properties. Read more at http://ethanschoonover.com/solarized.

Solarized for ConnectBot

Installing automatically (Linux/Mac only)

  1. Clone this repository: git clone https://github.com/priyeshpatel/connectbot-colors-solarized
  2. Download the Android SDK from http://developer.android.com/sdk/index.html
  3. Enable Root access through ADB from Settings > Developer Tools
  4. Connect the device to the computer
  5. Run connectbot-colors-solarized/install.sh and follow the instructions
  6. Restart ConnectBot by force stopping the app.

Manual Installation

Without ADB

(Instructions provided by @adamgreig)

  1. Download (or copy and paste) the SQL file provided in this repository: https://raw.github.com/priyeshpatel/connectbot-colors-solarized/master/connectbot-solarized.sql.
  2. Open a terminal emulator.
  3. Gain superuser privileges using su.
  4. Navigate to the downloaded .sql file.
  5. Run sqlite3 /data/data/org.connectbot/databases/hosts < path/to/downloaded.sql.
  6. Restart ConnectBot by force stopping the app.

ConnectBot Color Chooser

ConnectBot has a color chooser found under Colors in the menu. You will need to set the following colors on this page:

FG: 13
BG: 1
CONNECTBOT # SOLARIZED HEX     HSB
------------ --------- ------- -----------
1            base03    #002b36 193 100  21
9            base02    #073642 192  90  26
11           base01    #586e75 194  25  46
12           base00    #657b83 195  23  51
13           base0     #839496 186  13  59
15           base1     #93a1a1 180   9  63
8            base2     #eee8d5  44  11  93
16           base3     #fdf6e3  44  10  99
4            yellow    #b58900  45 100  71
10           orange    #cb4b16  18  89  80
2            red       #dc322f   1  79  86
6            magenta   #d33682 331  74  83
14           violet    #6c71c4 237  45  77
5            blue      #268bd2 205  82  82
7            cyan      #2aa198 175  74  63
3            green     #859900  68 100  60

Irssi ConnectBot

(Instructions provided by @hexa} To install Solarized colors on Irssi ConnectBot, replace org.connectbot with org.woltage.irssiconnectbot in the install file.

Uninstalling

To revert to the default color scheme, open ConnectBot and from the Colors page select Reset in the menu.

Recommendations

I recommend you install the latest ConnectBot from http://code.google.com/p/connectbot/downloads/list over any version from the marketplace as these are much newer. There is no need to uninstall the old version as it will be replaced and all settings will be retained. A separate tablet version is also available.