Changing terminal colors in Urxvt
On my Arch Linux machines, I really like to use the terminal emulator Urxvt and Redshift, which makes the screen surprisingly soft on the eyes after sundown. As a result, the blue color found of the default terminal color scheme is next to unreadable. Unfortunately it is used frequently on most unmodified linux distributions, for example to signify directories in a colored ls output.
One solution is to modify the ls_colors and other relevant settings by hand, on every machine you frequent via ssh. A preferable way to solve this issue once and for all is described in the following answer by sarnold to a question on Stack Overflow.
Just change the terminal emulator interpretation of colors by specifying them in the ~/.Xresources file. For Urxvt, the offending color can be subdued by adding the following line:
the changes can be applied and tested immediately by running:
$ xrdb -merge ~/.Xresources
Join the mailing list!
Subscribe to get notified about future articles and stay in touch via email.
I write about Kubernetes, Docker, automation- and deployment topics, but would also like to keep you up to date about news around the business-side of things.