Iustin Pop: Solarized colour theme
Solarized
A while back I was looking for some information on the web, and
happened upon a blog post about the subject. I don't remember what I
was looking for, but on the same blog, there was a screen shot of what
I then learned was the
Solarized theme. This caught
my eye that I decided to try it myself ASAP.
Up until last year, I've been using for many years the 'black on
light yellow' xterm scheme. This is good during the day, but too strong
during night, so on some machines I switched to 'white on black', but
this was not entirely satisfying.
The solarized theme promises to have consistent colours over both
light and dark background, which would help to make my setups finally
consistent, and extends to a number of programs. Amongst these, there
are themes for mutt on both light and dark backgrounds using only 16
colours. This was good, as my current hand-built theme is based on 256
colours, and this doesn't work well in the Linux console.
So I tried changing my terminal to the custom colours, played with it
for about 10 minutes, then decided that its contrast is too low,
bordering on unreadable. I switch to another desktop where I still had
open an xterm using white-on-black, and this being at night my eyes
immediately go 'no no no too high contrast'. In about ten minutes I
got so used to it that the old theme was really really
uncomfortable. There was no turning back now
Interestingly, the light theme was not that much better than
black-on-light-yellow, as that theme is already pretty well
behaved. But I still migrated for consistency.
Programs/configs
Starting from the home page
and the internet, I found resources for:
- Vim and Emacs
(for which I use the debian package
elpa-solarized-theme). - Midnight Commander, for which I currently use peel's theme, although I'm not happy with it; interestingly, the default theme almost works on 16-custom-colours light terminal scheme, but not quite on the dark one.
- Mutt, which is both in the main combined repository but also on the separate one. I'm not really happy with mutt's theme either, but that seems mostly because I was using a quite different theme before. I'll try to improve what I feel is missing over time.
- dircolors; I found
this to be an absolute requirement for good readability of
ls --color, as the defaults are too bad - I also took the opportunity to unify my
git diffandcolordifftheme, but this was not really something that I found and took 'as-is' from some repository; I basically built my own theme.
- by changing the Xresources/terminal 16 basic colours to custom RGB values, or:
- by using approximations from the fixed 256 colours available in the xterm-256color terminfo
- using customised 16-colour means that all terminal programs get the new colours scheme, even if they were designed (colour-wise) based on the standard values; this makes some things pretty unreadable (hence the need to fix dircolors), but at least somewhat consistent.
- using 256-colour palette, unchanged programs stay the same, but now they look very different than the programs that were updated to solarized; note thought I haven't tested this, but that's how I understand things would be.
. Sharing a small clip I had seen few months back.
Just to give a bit of context, the law as has been shared as passed in 2015 has happened after the
or for that matter any part of the body. If more people thought like that, probably we wouldn t have to specially grow and then kill lab mice and guinea-pigs to test out theories. Possibly medical innovations would probably be a lot faster than now. Ironically, most medical innovations have happened during
I was an happy user of
On Friday night I attended a talk by Sherry Turkle called Reclaiming
Conversation: The Power of Talk in a Digital Age . Here are my notes.
Last week, while working on
My WordPress blog got hacked two days ago and now twice today. This morning I
purged MySQL and restored a good backup from three days ago, changed all DB and
WordPress passwords (both the old and new ones were long and autogenerated
ones), but not even an hour after the redeploy the hack was back. (It can still
be seen on
Welcome to gambaru.de. Here is my monthly report that covers what I have been doing for Debian. If you re interested in Java, Games and LTS topics, this might be interesting for you.
Debian Games
A major new update of the
It's that time of the year :-) And FOSDEM is fun. But this year I won't be
going; there was a scheduling conflict, and I didn't really have anything
new to present (although I probably could have shifted around priorities
to get something).
But FOSDEM 2017 also means there's a year since FOSDEM 2016, where I
presented
Debian LTS
November marked the 21st month I contributed to
It is a new month, and time to publish the next chapter in